]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/_windows_wrap.cpp
Update virtuals to new API
[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]
580080c5
RD
2617#define SWIGTYPE_p_wxTGAHandler swig_types[151]
2618#define SWIGTYPE_p_wxTIFFHandler swig_types[152]
2619#define SWIGTYPE_p_wxTaskBarIcon swig_types[153]
2620#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[154]
2621#define SWIGTYPE_p_wxTextEntryDialog swig_types[155]
2622#define SWIGTYPE_p_wxTipWindow swig_types[156]
2623#define SWIGTYPE_p_wxToolBar swig_types[157]
2624#define SWIGTYPE_p_wxTopLevelWindow swig_types[158]
2625#define SWIGTYPE_p_wxUpdateUIEvent swig_types[159]
2626#define SWIGTYPE_p_wxValidator swig_types[160]
2627#define SWIGTYPE_p_wxVisualAttributes swig_types[161]
2628#define SWIGTYPE_p_wxWindow swig_types[162]
2629#define SWIGTYPE_p_wxWindowCreateEvent swig_types[163]
2630#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[164]
2631#define SWIGTYPE_p_wxXPMHandler swig_types[165]
2632static swig_type_info *swig_types[167];
2633static swig_module_info swig_module = {swig_types, 166, 0, 0, 0, 0};
32fe5131
RD
2634#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2635#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
36ed4f51
RD
2636
2637/* -------- TYPES TABLE (END) -------- */
2638
1bd55598
RD
2639#if (PY_VERSION_HEX <= 0x02000000)
2640# if !defined(SWIG_PYTHON_CLASSIC)
2641# error "This python version requires to use swig with the '-classic' option"
2642# endif
2643#endif
2644#if (PY_VERSION_HEX <= 0x02020000)
2645# error "This python version requires to use swig with the '-nomodern' option"
2646#endif
2647#if (PY_VERSION_HEX <= 0x02020000)
2648# error "This python version requires to use swig with the '-nomodernargs' option"
2649#endif
2650#ifndef METH_O
2651# error "This python version requires to use swig with the '-nofastunpack' option"
2652#endif
36ed4f51
RD
2653
2654/*-----------------------------------------------
2655 @(target):= _windows_.so
2656 ------------------------------------------------*/
2657#define SWIG_init init_windows_
2658
2659#define SWIG_name "_windows_"
2660
1bd55598 2661#define SWIGVERSION 0x010329
36ed4f51 2662
36ed4f51 2663
1bd55598
RD
2664#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2665#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
36ed4f51
RD
2666
2667
1bd55598 2668#include <stdexcept>
36ed4f51
RD
2669
2670
1bd55598
RD
2671namespace swig {
2672 class PyObject_ptr {
2673 protected:
2674 PyObject *_obj;
36ed4f51 2675
1bd55598
RD
2676 public:
2677 PyObject_ptr() :_obj(0)
2678 {
2679 }
36ed4f51 2680
1bd55598
RD
2681 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2682 {
2683 Py_XINCREF(_obj);
36ed4f51 2684 }
1bd55598
RD
2685
2686 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2687 {
2688 if (initial_ref) Py_XINCREF(_obj);
36ed4f51 2689 }
1bd55598
RD
2690
2691 PyObject_ptr & operator=(const PyObject_ptr& item)
2692 {
2693 Py_XINCREF(item._obj);
2694 Py_XDECREF(_obj);
2695 _obj = item._obj;
2696 return *this;
2697 }
2698
2699 ~PyObject_ptr()
2700 {
2701 Py_XDECREF(_obj);
2702 }
2703
2704 operator PyObject *() const
2705 {
2706 return _obj;
2707 }
2708
2709 PyObject *operator->() const
2710 {
2711 return _obj;
2712 }
2713 };
36ed4f51
RD
2714}
2715
2716
1bd55598
RD
2717namespace swig {
2718 struct PyObject_var : PyObject_ptr {
2719 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2720
2721 PyObject_var & operator = (PyObject* obj)
2722 {
2723 Py_XDECREF(_obj);
2724 _obj = obj;
2725 return *this;
36ed4f51 2726 }
1bd55598 2727 };
36ed4f51 2728}
36ed4f51
RD
2729
2730
1bd55598
RD
2731#include "wx/wxPython/wxPython.h"
2732#include "wx/wxPython/pyclasses.h"
2733
36ed4f51 2734
1bd55598
RD
2735 static const wxString wxPyEmptyString(wxEmptyString);
2736 static const wxString wxPyPanelNameStr(wxPanelNameStr);
36ed4f51 2737
36ed4f51 2738
1bd55598
RD
2739
2740#include <limits.h>
2741#ifndef LLONG_MIN
2742# define LLONG_MIN LONG_LONG_MIN
2743#endif
2744#ifndef LLONG_MAX
2745# define LLONG_MAX LONG_LONG_MAX
2746#endif
2747#ifndef ULLONG_MAX
2748# define ULLONG_MAX ULONG_LONG_MAX
2749#endif
2750
2751
2752SWIGINTERN int
2753SWIG_AsVal_long (PyObject* obj, long* val)
36ed4f51 2754{
1bd55598
RD
2755 if (PyNumber_Check(obj)) {
2756 if (val) *val = PyInt_AsLong(obj);
2757 return SWIG_OK;
2758 }
2759 return SWIG_TypeError;
36ed4f51
RD
2760}
2761
1bd55598
RD
2762
2763SWIGINTERN int
2764SWIG_AsVal_int (PyObject * obj, int *val)
36ed4f51 2765{
1bd55598
RD
2766 long v;
2767 int res = SWIG_AsVal_long (obj, &v);
2768 if (SWIG_IsOK(res)) {
2769 if ((v < INT_MIN || v > INT_MAX)) {
2770 return SWIG_OverflowError;
2771 } else {
2772 if (val) *val = static_cast< int >(v);
2773 }
2774 }
2775 return res;
36ed4f51
RD
2776}
2777
2778
2779SWIGINTERN int
1bd55598 2780SWIG_AsVal_bool (PyObject *obj, bool *val)
36ed4f51
RD
2781{
2782 if (obj == Py_True) {
2783 if (val) *val = true;
1bd55598
RD
2784 return SWIG_OK;
2785 } else if (obj == Py_False) {
36ed4f51 2786 if (val) *val = false;
1bd55598 2787 return SWIG_OK;
36ed4f51 2788 } else {
1bd55598
RD
2789 long v = 0;
2790 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2791 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2792 return res;
36ed4f51 2793 }
36ed4f51
RD
2794}
2795
2796
1bd55598 2797 #define SWIG_From_long PyInt_FromLong
36ed4f51
RD
2798
2799
1bd55598
RD
2800SWIGINTERNINLINE PyObject *
2801SWIG_From_int (int value)
2802{
2803 return SWIG_From_long (value);
2804}
36ed4f51
RD
2805
2806
2807SWIGINTERN int
1bd55598 2808SWIG_AsVal_double (PyObject *obj, double* val)
36ed4f51
RD
2809{
2810 if (PyNumber_Check(obj)) {
2811 if (val) *val = PyFloat_AsDouble(obj);
1bd55598 2812 return SWIG_OK;
36ed4f51 2813 }
1bd55598 2814 return SWIG_TypeError;
36ed4f51
RD
2815}
2816
2817
1bd55598 2818 #define SWIG_From_double PyFloat_FromDouble
36ed4f51
RD
2819
2820 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2821 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2822 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2823 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1bd55598
RD
2824SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){
2825 int style = self->GetExtraStyle();
2826 if ( on )
2827 style |= wxFRAME_EX_METAL;
2828 else
2829 style &= ~wxFRAME_EX_METAL;
2830 self->SetExtraStyle(style);
2831 }
10044bf1 2832
5eb8189c
RD
2833#define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2834
2835
36ed4f51 2836
1bd55598 2837SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
36ed4f51
RD
2838 wxRect r;
2839 self->GetFieldRect(i, r);
2840 return r;
2841 }
2842 static const wxString wxPySplitterNameStr(wxT("splitter"));
2843 static const wxString wxPySashNameStr(wxT("sashWindow"));
2844 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2845
2846#include <wx/popupwin.h>
2847
2848
2849class wxPopupWindow : public wxWindow {
2850public:
2851 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2852 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2853};
2854
2855class wxPyPopupTransientWindow : public wxPopupWindow
2856{
2857public:
2858 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2859 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2860};
2861
2862
2863#include <wx/tipwin.h>
2864
1bd55598 2865SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
36ed4f51
RD
2866 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2867 }
2868
2869#include <wx/tipwin.h>
2870
2871
2872#include <wx/vscroll.h>
2873
2874
2875class wxPyVScrolledWindow : public wxVScrolledWindow
2876{
32fe5131 2877 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
36ed4f51
RD
2878public:
2879 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2880
2881 wxPyVScrolledWindow(wxWindow *parent,
2882 wxWindowID id = wxID_ANY,
2883 const wxPoint& pos = wxDefaultPosition,
2884 const wxSize& size = wxDefaultSize,
2885 long style = 0,
2886 const wxString& name = wxPyPanelNameStr)
2887 : wxVScrolledWindow(parent, id, pos, size, style, name)
2888 {}
2889
2890 // Overridable virtuals
2891
2892 // this function must be overridden in the derived class and it should
2893 // return the height of the given line in pixels
2894 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2895
2896
2897 // this function doesn't have to be overridden but it may be useful to do
2898 // it if calculating the lines heights is a relatively expensive operation
2899 // as it gives the user code a possibility to calculate several of them at
2900 // once
2901 //
2902 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2903 // shouldn't rely on the latter being called for all lines in the interval
2904 // specified here. It is also possible that OnGetLineHeight() will be
2905 // called for the lines outside of this interval, so this is really just a
2906 // hint, not a promise.
2907 //
2908 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2909 // usual
2910 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2911
2912
2913 // when the number of lines changes, we try to estimate the total height
2914 // of all lines which is a rather expensive operation in terms of lines
2915 // access, so if the user code may estimate the average height
2916 // better/faster than we do, it should override this function to implement
2917 // its own logic
2918 //
2919 // this function should return the best guess for the total height it may
2920 // make
2921 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2922
2923
2924 // Also expose some other interesting protected methods
2925
2926
2927 // find the index of the line we need to show at the top of the window such
2928 // that the last (fully or partially) visible line is the given one
2929 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2930 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2931
2932 // get the total height of the lines between lineMin (inclusive) and
2933 // lineMax (exclusive)
2934 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2935 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2936
2131d850
RD
2937 // update the thumb size shown by the scrollbar
2938 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2939
2940 // remove the scrollbar completely because we don't need it
2941 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
36ed4f51
RD
2942
2943 PYPRIVATE;
2944};
2945
2946IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
d55e5bfc
RD
2947
2948IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2949IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2950IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2951
2952
fc46b7f3
RD
2953SWIGINTERN int
2954SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2955{
2956 long v = 0;
2957 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2958 return SWIG_TypeError;
2959 }
2960 else if (val)
2961 *val = (unsigned long)v;
2962 return SWIG_OK;
2963}
2964
2965
32fe5131 2966SWIGINTERNINLINE int
1bd55598 2967SWIG_AsVal_size_t (PyObject * obj, size_t *val)
c370783e 2968{
1bd55598
RD
2969 unsigned long v;
2970 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2971 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2972 return res;
d55e5bfc
RD
2973}
2974
2975
32fe5131 2976SWIGINTERNINLINE PyObject*
1bd55598 2977SWIG_From_unsigned_SS_long (unsigned long value)
d55e5bfc
RD
2978{
2979 return (value > LONG_MAX) ?
1bd55598
RD
2980 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2981}
2982
2983
2984SWIGINTERNINLINE PyObject *
2985SWIG_From_size_t (size_t value)
2986{
2987 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
d55e5bfc
RD
2988}
2989
2990
2991#include <wx/vlbox.h>
2992
2993 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2994
2995class wxPyVListBox : public wxVListBox
2996{
32fe5131 2997 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
d55e5bfc
RD
2998public:
2999 wxPyVListBox() : wxVListBox() {}
3000
3001 wxPyVListBox(wxWindow *parent,
3002 wxWindowID id = wxID_ANY,
3003 const wxPoint& pos = wxDefaultPosition,
3004 const wxSize& size = wxDefaultSize,
3005 long style = 0,
3006 const wxString& name = wxPyVListBoxNameStr)
3007 : wxVListBox(parent, id, pos, size, style, name)
3008 {}
3009
3010 // Overridable virtuals
3011
3012 // the derived class must implement this function to actually draw the item
3013 // with the given index on the provided DC
3014 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3015 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3016
3017
3018 // the derived class must implement this method to return the height of the
3019 // specified item
3020 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3021 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3022
3023
3024 // this method may be used to draw separators between the lines; note that
3025 // the rectangle may be modified, typically to deflate it a bit before
3026 // passing to OnDrawItem()
3027 //
3028 // the base class version doesn't do anything
3029 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1c71765a 3030 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
d55e5bfc
RD
3031
3032
3033 // this method is used to draw the items background and, maybe, a border
3034 // around it
3035 //
3036 // the base class version implements a reasonable default behaviour which
3037 // consists in drawing the selected item with the standard background
3038 // colour and drawing a border around the item if it is either selected or
3039 // current
3040 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3041 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3042
3043
3044 PYPRIVATE;
3045};
3046
3047IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3048
3049IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3050IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
1c71765a 3051IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
d55e5bfc
RD
3052IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3053
3054
1bd55598 3055SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
09c21d3b
RD
3056 unsigned long cookie = 0;
3057 int selected = self->GetFirstSelected(cookie);
5a446332 3058 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
3059 PyObject* tup = PyTuple_New(2);
3060 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3061 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3062 wxPyEndBlockThreads(blocked);
3063 return tup;
3064 }
1bd55598 3065SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
09c21d3b 3066 int selected = self->GetNextSelected(cookie);
5a446332 3067 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
3068 PyObject* tup = PyTuple_New(2);
3069 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3070 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3071 wxPyEndBlockThreads(blocked);
3072 return tup;
3073 }
d55e5bfc
RD
3074
3075#include <wx/htmllbox.h>
3076
3077
3078class wxPyHtmlListBox : public wxHtmlListBox
3079{
32fe5131 3080 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
d55e5bfc
RD
3081public:
3082 wxPyHtmlListBox() : wxHtmlListBox() {}
3083
3084 wxPyHtmlListBox(wxWindow *parent,
3085 wxWindowID id = wxID_ANY,
3086 const wxPoint& pos = wxDefaultPosition,
3087 const wxSize& size = wxDefaultSize,
3088 long style = 0,
3089 const wxString& name = wxPyVListBoxNameStr)
3090 : wxHtmlListBox(parent, id, pos, size, style, name)
3091 {}
3092
3093 // Overridable virtuals
3094
3095 // this method must be implemented in the derived class and should return
3096 // the body (i.e. without <html>) of the HTML for the given item
3097 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3098
3099 // this function may be overridden to decorate HTML returned by OnGetItem()
3100 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3101
1c71765a
RD
3102 // These are from wxVListBox
3103 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3104 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3105
d55e5bfc
RD
3106// TODO:
3107// // this method allows to customize the selection appearance: it may be used
3108// // to specify the colour of the text which normally has the given colour
3109// // colFg when it is inside the selection
3110// //
3111// // by default, the original colour is not used at all and all text has the
3112// // same (default for this system) colour inside selection
3113// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3114
3115// // this is the same as GetSelectedTextColour() but allows to customize the
3116// // background colour -- this is even more rarely used as you can change it
3117// // globally using SetSelectionBackground()
3118// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3119
e9d6f3a4
RD
3120
3121 // This method may be overriden to handle clicking on a link in
3122 // the listbox. By default, clicking links is ignored.
3123 virtual void OnLinkClicked(size_t n,
3124 const wxHtmlLinkInfo& link);
d55e5bfc
RD
3125
3126 PYPRIVATE;
3127};
3128
3129
3130IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3131
3132IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3133IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
1c71765a
RD
3134IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3135IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
d55e5bfc
RD
3136
3137
e9d6f3a4
RD
3138void wxPyHtmlListBox::OnLinkClicked(size_t n,
3139 const wxHtmlLinkInfo& link) {
3140 bool found;
3141 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3142 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3143 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3144 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3145 Py_DECREF(obj);
3146 }
3147 wxPyEndBlockThreads(blocked);
3148 if (! found)
3149 wxPyHtmlListBox::OnLinkClicked(n, link);
3150}
3151
3152
d55e5bfc
RD
3153
3154
3155
b411df4a
RD
3156#ifndef wxHAS_TASK_BAR_ICON
3157// implement dummy classes for platforms that don't have it
d55e5bfc
RD
3158
3159class wxTaskBarIcon : public wxEvtHandler
3160{
3161public:
3162 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3163};
09c21d3b 3164
d55e5bfc
RD
3165
3166class wxTaskBarIconEvent : public wxEvent
3167{
3168public:
3169 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3170 { wxPyRaiseNotImplemented(); }
3171 virtual wxEvent* Clone() const { return NULL; }
b411df4a
RD
3172 bool IsOk() const { return false; }
3173 bool IsIconInstalled() const { return false; }
3174 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3175 bool RemoveIcon() { return false; }
3176 bool PopupMenu(wxMenu *menu) { return false; }
d55e5bfc
RD
3177};
3178
3179enum {
3180 wxEVT_TASKBAR_MOVE = 0,
3181 wxEVT_TASKBAR_LEFT_DOWN = 0,
3182 wxEVT_TASKBAR_LEFT_UP = 0,
3183 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3184 wxEVT_TASKBAR_RIGHT_UP = 0,
3185 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3186 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3187};
09c21d3b
RD
3188
3189
3190#else
5e483524
RD
3191// Otherwise make a class that can virtualize CreatePopupMenu
3192class wxPyTaskBarIcon : public wxTaskBarIcon
3193{
32fe5131 3194 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
5e483524
RD
3195public:
3196 wxPyTaskBarIcon() : wxTaskBarIcon()
3197 {}
09c21d3b 3198
5e483524
RD
3199 wxMenu* CreatePopupMenu() {
3200 wxMenu *rval = NULL;
3201 bool found;
5a446332 3202 wxPyBlock_t blocked = wxPyBeginBlockThreads();
5e483524
RD
3203 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3204 PyObject* ro;
3205 wxMenu* ptr;
3206 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3207 if (ro) {
3208 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3209 rval = ptr;
3210 Py_DECREF(ro);
3211 }
3212 }
3213 wxPyEndBlockThreads(blocked);
3214 if (! found)
3215 rval = wxTaskBarIcon::CreatePopupMenu();
3216 return rval;
3217 }
d55e5bfc 3218
5e483524
RD
3219 PYPRIVATE;
3220};
d55e5bfc 3221
5e483524 3222IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
d55e5bfc 3223
5e483524
RD
3224#endif
3225
1bd55598 3226SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
5e483524
RD
3227 self->RemoveIcon();
3228 delete self;
d55e5bfc
RD
3229 }
3230 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3231 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3232 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3233 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3234 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3235 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
b02396e8
RD
3236
3237// for compatibility only
3238#define wxHIDE_READONLY 0
3239
1bd55598 3240SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
d55e5bfc
RD
3241 wxArrayString arr;
3242 self->GetFilenames(arr);
3243 return wxArrayString2PyList_helper(arr);
3244 }
1bd55598 3245SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
d55e5bfc
RD
3246 wxArrayString arr;
3247 self->GetPaths(arr);
3248 return wxArrayString2PyList_helper(arr);
3249 }
1bd55598 3250SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
d55e5bfc
RD
3251 return wxArrayInt2PyList_helper(self->GetSelections());
3252 }
1bd55598 3253SWIGINTERN 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
3254 return new wxSingleChoiceDialog(parent, message, caption,
3255 choices, choices_array, NULL, style, pos);
3256 }
070c48b4 3257 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
d55e5bfc 3258
2131d850
RD
3259SWIGINTERNINLINE PyObject*
3260 SWIG_From_bool (bool value)
3261{
3262 return PyBool_FromLong(value ? 1 : 0);
3263}
3264
3265
d55e5bfc
RD
3266#include <wx/mdi.h>
3267
3268 // C++ version of Python aware wxWindow
3269class wxPyWindow : public wxWindow
3270{
3271 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3272public:
3273 wxPyWindow() : wxWindow() {}
3274 wxPyWindow(wxWindow* parent, const wxWindowID id,
3275 const wxPoint& pos = wxDefaultPosition,
3276 const wxSize& size = wxDefaultSize,
3277 long style = 0,
3278 const wxString& name = wxPyPanelNameStr)
3279 : wxWindow(parent, id, pos, size, style, name) {}
3280
3281
976dbff5
RD
3282 bool DoEraseBackground(wxDC* dc) {
3283#ifdef __WXMSW__
3284 return wxWindow::DoEraseBackground(dc->GetHDC());
3285#else
3286 dc->SetBackground(wxBrush(GetBackgroundColour()));
3287 dc->Clear();
3288 return true;
3289#endif
3290 }
3291
d55e5bfc
RD
3292 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3293 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3294 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3295 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3296
3297 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3298 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3299 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3300
3301 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3302 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3303
3304 DEC_PYCALLBACK__(InitDialog);
3305 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3306 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3307 DEC_PYCALLBACK_BOOL_(Validate);
3308
3309 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3310 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3311 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3312
3313 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3314 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3315
a5ee0656 3316 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
a5ee0656 3317 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3318
51b83b37
RD
3319 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3320
8d38bd1d
RD
3321 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3322
d55e5bfc
RD
3323 PYPRIVATE;
3324};
3325
3326IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3327
3328IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3329IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3330IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3331IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3332
3333IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3334IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3335IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3336
3337IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3338IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3339
3340IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3341IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3342IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3343IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3344
3345IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3346IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3347IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3348
3349IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3350IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3351
a5ee0656 3352IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
a5ee0656 3353IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
51b83b37
RD
3354
3355IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
d55e5bfc 3356
8d38bd1d
RD
3357IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3358
d55e5bfc
RD
3359 // C++ version of Python aware wxPanel
3360class wxPyPanel : public wxPanel
3361{
3362 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3363public:
3364 wxPyPanel() : wxPanel() {}
3365 wxPyPanel(wxWindow* parent, const wxWindowID id,
3366 const wxPoint& pos = wxDefaultPosition,
3367 const wxSize& size = wxDefaultSize,
3368 long style = 0,
3369 const wxString& name = wxPyPanelNameStr)
3370 : wxPanel(parent, id, pos, size, style, name) {}
3371
976dbff5
RD
3372 bool DoEraseBackground(wxDC* dc) {
3373#ifdef __WXMSW__
3374 return wxWindow::DoEraseBackground(dc->GetHDC());
3375#else
3376 dc->SetBackground(wxBrush(GetBackgroundColour()));
3377 dc->Clear();
3378 return true;
3379#endif
3380 }
a5ee0656 3381
d55e5bfc
RD
3382
3383 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3384 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3385 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3386 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3387
3388 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3389 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3390 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3391
3392 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3393 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3394
3395 DEC_PYCALLBACK__(InitDialog);
3396 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3397 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3398 DEC_PYCALLBACK_BOOL_(Validate);
3399
3400 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3401 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3402 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3403
3404 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3405 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3406
a5ee0656 3407 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
a5ee0656 3408 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3409
51b83b37
RD
3410 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3411
8d38bd1d
RD
3412 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3413
d55e5bfc
RD
3414 PYPRIVATE;
3415};
3416
3417IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3418
3419IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3420IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3421IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3422IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3423
3424IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3425IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3426IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3427
3428IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3429IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3430
3431IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3432IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3433IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3434IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3435
3436IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3437IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3438IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3439
3440IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3441IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3442
a5ee0656 3443IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
a5ee0656 3444IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
d55e5bfc 3445
51b83b37
RD
3446IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3447
8d38bd1d
RD
3448IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3449
d55e5bfc
RD
3450 // C++ version of Python aware wxScrolledWindow
3451class wxPyScrolledWindow : public wxScrolledWindow
3452{
3453 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3454public:
3455 wxPyScrolledWindow() : wxScrolledWindow() {}
3456 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3457 const wxPoint& pos = wxDefaultPosition,
3458 const wxSize& size = wxDefaultSize,
3459 long style = 0,
3460 const wxString& name = wxPyPanelNameStr)
3461 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3462
976dbff5
RD
3463 bool DoEraseBackground(wxDC* dc) {
3464#ifdef __WXMSW__
3465 return wxWindow::DoEraseBackground(dc->GetHDC());
3466#else
3467 dc->SetBackground(wxBrush(GetBackgroundColour()));
3468 dc->Clear();
3469 return true;
3470#endif
3471 }
d55e5bfc
RD
3472
3473 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3474 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3475 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3476 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3477
3478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3479 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3480 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3481
3482 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3483 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3484
3485 DEC_PYCALLBACK__(InitDialog);
3486 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3487 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3488 DEC_PYCALLBACK_BOOL_(Validate);
3489
3490 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3491 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3492 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3493
3494 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3495 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3496
a5ee0656 3497 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
a5ee0656 3498 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3499
51b83b37
RD
3500 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3501
8d38bd1d
RD
3502 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3503
d55e5bfc
RD
3504 PYPRIVATE;
3505};
3506
3507IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3508
3509IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3510IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3511IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3512IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3513
3514IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3515IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3516IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3517
3518IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3519IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3520
3521IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3522IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3523IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3524IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3525
3526IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3527IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3528IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3529
3530IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3531IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3532
a5ee0656 3533IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
a5ee0656
RD
3534IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3535
51b83b37 3536IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
d55e5bfc 3537
8d38bd1d
RD
3538IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3539
d55e5bfc
RD
3540
3541#include "wx/wxPython/printfw.h"
3542
3543
3544 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3545 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1bd55598 3546SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
7fbf8399 3547 PyObject* data;
5a446332 3548 wxPyBlock_t blocked = wxPyBeginBlockThreads();
7fbf8399
RD
3549 data = PyString_FromStringAndSize(self->GetPrivData(),
3550 self->GetPrivDataLen());
3551 wxPyEndBlockThreads(blocked);
3552 return data;
3553 }
1bd55598 3554SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
7fbf8399
RD
3555 if (! PyString_Check(data)) {
3556 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3557 "Expected string object"));
3558 return /* NULL */ ;
3559 }
3560
5a446332 3561 wxPyBlock_t blocked = wxPyBeginBlockThreads();
7fbf8399
RD
3562 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3563 wxPyEndBlockThreads(blocked);
3564 }
d55e5bfc
RD
3565
3566
070c48b4 3567IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
d55e5bfc
RD
3568
3569// Since this one would be tough and ugly to do with the Macros...
3570void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
b411df4a 3571 bool hadErr = false;
d55e5bfc
RD
3572 bool found;
3573
5a446332 3574 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
3575 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3576 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3577 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3578 PyObject* val;
3579
3580 val = PyTuple_GetItem(result, 0);
3581 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
b411df4a 3582 else hadErr = true;
d55e5bfc
RD
3583
3584 val = PyTuple_GetItem(result, 1);
3585 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
b411df4a 3586 else hadErr = true;
d55e5bfc
RD
3587
3588 val = PyTuple_GetItem(result, 2);
3589 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
b411df4a 3590 else hadErr = true;
d55e5bfc
RD
3591
3592 val = PyTuple_GetItem(result, 3);
3593 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
b411df4a 3594 else hadErr = true;
d55e5bfc
RD
3595 }
3596 else
b411df4a 3597 hadErr = true;
d55e5bfc
RD
3598
3599 if (hadErr) {
3600 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3601 PyErr_Print();
3602 }
3603 Py_DECREF(result);
3604 }
3605 wxPyEndBlockThreads(blocked);
3606 if (! found)
3607 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3608}
3609
d55e5bfc
RD
3610
3611
3612IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3613IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3614IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3615IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3616IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3617IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3618IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3619
3620
3621
3622
3623
b411df4a 3624#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
7f7aa166 3625 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
d55e5bfc
RD
3626
3627
b411df4a
RD
3628#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3629 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3630 bool rval=false; \
3631 bool found; \
32fe5131 3632 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
b411df4a
RD
3633 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3634 PyObject* win = wxPyMake_wxObject(a,false); \
3635 PyObject* dc = wxPyMake_wxObject(&b,false); \
3636 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3637 Py_DECREF(win); \
3638 Py_DECREF(dc); \
3639 } \
3640 wxPyEndBlockThreads(blocked); \
3641 if (! found) \
3642 rval = PCLASS::CBNAME(a, b); \
3643 return rval; \
7f7aa166 3644 }
d55e5bfc
RD
3645
3646
3647
3648
3649class wxPyPrintPreview : public wxPrintPreview
3650{
3651 DECLARE_CLASS(wxPyPrintPreview)
3652public:
3653 wxPyPrintPreview(wxPyPrintout* printout,
3654 wxPyPrintout* printoutForPrinting,
3655 wxPrintDialogData* data=NULL)
3656 : wxPrintPreview(printout, printoutForPrinting, data)
3657 {}
3658 wxPyPrintPreview(wxPyPrintout* printout,
3659 wxPyPrintout* printoutForPrinting,
32fe5131 3660 wxPrintData* data)
d55e5bfc
RD
3661 : wxPrintPreview(printout, printoutForPrinting, data)
3662 {}
3663
3664 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3665 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3666 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3667 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3668 DEC_PYCALLBACK_VOID_INT(SetZoom);
3669 DEC_PYCALLBACK_BOOL_BOOL(Print);
3670 DEC_PYCALLBACK_VOID_(DetermineScaling);
3671
3672 PYPRIVATE;
3673};
3674
3675// Stupid renamed classes... Fix this in 2.5...
3676#if defined(__WXMSW__)
3677IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3678#elif defined(__WXMAC__)
3679IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3680#else
3681IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3682#endif
3683
3684IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3685IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3686IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3687IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3688IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3689IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3690IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3691
3692
3693class wxPyPreviewFrame : public wxPreviewFrame
3694{
32fe5131 3695 DECLARE_CLASS(wxPyPreviewFrame)
d55e5bfc
RD
3696public:
3697 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3698 const wxString& title,
3699 const wxPoint& pos = wxDefaultPosition,
3700 const wxSize& size = wxDefaultSize,
3701 long style = wxDEFAULT_FRAME_STYLE,
3702 const wxString& name = wxPyFrameNameStr)
3703 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3704 {}
3705
3706 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3707 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3708
3709 DEC_PYCALLBACK_VOID_(Initialize);
3710 DEC_PYCALLBACK_VOID_(CreateCanvas);
3711 DEC_PYCALLBACK_VOID_(CreateControlBar);
3712
3713 PYPRIVATE;
3714};
3715
3716IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3717
3718IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3719IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3720IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3721
3722
3723class wxPyPreviewControlBar : public wxPreviewControlBar
3724{
32fe5131 3725 DECLARE_CLASS(wxPyPreviewControlBar)
d55e5bfc
RD
3726public:
3727 wxPyPreviewControlBar(wxPrintPreview *preview,
3728 long buttons,
3729 wxWindow *parent,
3730 const wxPoint& pos = wxDefaultPosition,
3731 const wxSize& size = wxDefaultSize,
3732 long style = 0,
3733 const wxString& name = wxPyPanelNameStr)
3734 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3735 {}
3736
3737 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3738
3739 DEC_PYCALLBACK_VOID_(CreateButtons);
3740 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3741
3742 PYPRIVATE;
3743};
3744
3745IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3746IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3747IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3748
3749#ifdef __cplusplus
3750extern "C" {
3751#endif
1bd55598
RD
3752SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3753 PyObject *resultobj = 0;
3754 wxWindow *arg1 = (wxWindow *) 0 ;
3755 int arg2 = (int) (int)-1 ;
3756 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3757 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3758 wxSize const &arg4_defvalue = wxDefaultSize ;
3759 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3760 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3761 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3762 wxString *arg6 = (wxString *) &arg6_defvalue ;
3763 wxPanel *result = 0 ;
3764 void *argp1 = 0 ;
3765 int res1 = 0 ;
3766 int val2 ;
3767 int ecode2 = 0 ;
3768 wxPoint temp3 ;
3769 wxSize temp4 ;
3770 long val5 ;
3771 int ecode5 = 0 ;
3772 bool temp6 = false ;
3773 PyObject * obj0 = 0 ;
3774 PyObject * obj1 = 0 ;
3775 PyObject * obj2 = 0 ;
3776 PyObject * obj3 = 0 ;
3777 PyObject * obj4 = 0 ;
3778 PyObject * obj5 = 0 ;
3779 char * kwnames[] = {
3780 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3781 };
3782
3783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3785 if (!SWIG_IsOK(res1)) {
3786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3787 }
3788 arg1 = reinterpret_cast< wxWindow * >(argp1);
3789 if (obj1) {
3790 ecode2 = SWIG_AsVal_int(obj1, &val2);
3791 if (!SWIG_IsOK(ecode2)) {
3792 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3793 }
3794 arg2 = static_cast< int >(val2);
3795 }
3796 if (obj2) {
d55e5bfc 3797 {
1bd55598
RD
3798 arg3 = &temp3;
3799 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 3800 }
1bd55598
RD
3801 }
3802 if (obj3) {
d55e5bfc 3803 {
1bd55598
RD
3804 arg4 = &temp4;
3805 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3806 }
1bd55598
RD
3807 }
3808 if (obj4) {
3809 ecode5 = SWIG_AsVal_long(obj4, &val5);
3810 if (!SWIG_IsOK(ecode5)) {
3811 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3812 }
3813 arg5 = static_cast< long >(val5);
3814 }
3815 if (obj5) {
d55e5bfc 3816 {
1bd55598
RD
3817 arg6 = wxString_in_helper(obj5);
3818 if (arg6 == NULL) SWIG_fail;
3819 temp6 = true;
3820 }
3821 }
3822 {
3823 if (!wxPyCheckForApp()) SWIG_fail;
3824 PyThreadState* __tstate = wxPyBeginAllowThreads();
3825 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3826 wxPyEndAllowThreads(__tstate);
3827 if (PyErr_Occurred()) SWIG_fail;
3828 }
3829 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3830 {
3831 if (temp6)
3832 delete arg6;
3833 }
3834 return resultobj;
3835fail:
3836 {
3837 if (temp6)
3838 delete arg6;
3839 }
3840 return NULL;
d55e5bfc
RD
3841}
3842
3843
1bd55598
RD
3844SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3845 PyObject *resultobj = 0;
3846 wxPanel *result = 0 ;
3847
3848 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3849 {
3850 if (!wxPyCheckForApp()) SWIG_fail;
3851 PyThreadState* __tstate = wxPyBeginAllowThreads();
3852 result = (wxPanel *)new wxPanel();
3853 wxPyEndAllowThreads(__tstate);
3854 if (PyErr_Occurred()) SWIG_fail;
3855 }
3856 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3857 return resultobj;
3858fail:
3859 return NULL;
3860}
3861
3862
3863SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3864 PyObject *resultobj = 0;
3865 wxPanel *arg1 = (wxPanel *) 0 ;
3866 wxWindow *arg2 = (wxWindow *) 0 ;
3867 int arg3 = (int) (int)-1 ;
3868 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3869 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3870 wxSize const &arg5_defvalue = wxDefaultSize ;
3871 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3872 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3873 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3874 wxString *arg7 = (wxString *) &arg7_defvalue ;
3875 bool result;
3876 void *argp1 = 0 ;
3877 int res1 = 0 ;
3878 void *argp2 = 0 ;
3879 int res2 = 0 ;
3880 int val3 ;
3881 int ecode3 = 0 ;
3882 wxPoint temp4 ;
3883 wxSize temp5 ;
3884 long val6 ;
3885 int ecode6 = 0 ;
3886 bool temp7 = false ;
3887 PyObject * obj0 = 0 ;
3888 PyObject * obj1 = 0 ;
3889 PyObject * obj2 = 0 ;
3890 PyObject * obj3 = 0 ;
3891 PyObject * obj4 = 0 ;
3892 PyObject * obj5 = 0 ;
3893 PyObject * obj6 = 0 ;
3894 char * kwnames[] = {
3895 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3896 };
3897
3898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3900 if (!SWIG_IsOK(res1)) {
3901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3902 }
3903 arg1 = reinterpret_cast< wxPanel * >(argp1);
3904 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3905 if (!SWIG_IsOK(res2)) {
3906 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3907 }
3908 arg2 = reinterpret_cast< wxWindow * >(argp2);
3909 if (obj2) {
3910 ecode3 = SWIG_AsVal_int(obj2, &val3);
3911 if (!SWIG_IsOK(ecode3)) {
3912 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3913 }
3914 arg3 = static_cast< int >(val3);
3915 }
3916 if (obj3) {
d55e5bfc 3917 {
1bd55598
RD
3918 arg4 = &temp4;
3919 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3920 }
1bd55598
RD
3921 }
3922 if (obj4) {
d55e5bfc 3923 {
1bd55598
RD
3924 arg5 = &temp5;
3925 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3926 }
1bd55598
RD
3927 }
3928 if (obj5) {
3929 ecode6 = SWIG_AsVal_long(obj5, &val6);
3930 if (!SWIG_IsOK(ecode6)) {
3931 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3932 }
3933 arg6 = static_cast< long >(val6);
3934 }
3935 if (obj6) {
d55e5bfc 3936 {
1bd55598
RD
3937 arg7 = wxString_in_helper(obj6);
3938 if (arg7 == NULL) SWIG_fail;
3939 temp7 = true;
d55e5bfc 3940 }
1bd55598
RD
3941 }
3942 {
3943 PyThreadState* __tstate = wxPyBeginAllowThreads();
3944 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3945 wxPyEndAllowThreads(__tstate);
3946 if (PyErr_Occurred()) SWIG_fail;
3947 }
3948 {
3949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3950 }
3951 {
3952 if (temp7)
3953 delete arg7;
3954 }
3955 return resultobj;
3956fail:
3957 {
3958 if (temp7)
3959 delete arg7;
3960 }
3961 return NULL;
5cbf236d
RD
3962}
3963
3964
1bd55598
RD
3965SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3966 PyObject *resultobj = 0;
3967 wxPanel *arg1 = (wxPanel *) 0 ;
3968 void *argp1 = 0 ;
3969 int res1 = 0 ;
3970 PyObject *swig_obj[1] ;
3971
3972 if (!args) SWIG_fail;
3973 swig_obj[0] = args;
3974 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3975 if (!SWIG_IsOK(res1)) {
3976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3977 }
3978 arg1 = reinterpret_cast< wxPanel * >(argp1);
3979 {
3980 PyThreadState* __tstate = wxPyBeginAllowThreads();
3981 (arg1)->SetFocusIgnoringChildren();
3982 wxPyEndAllowThreads(__tstate);
3983 if (PyErr_Occurred()) SWIG_fail;
3984 }
3985 resultobj = SWIG_Py_Void();
3986 return resultobj;
3987fail:
3988 return NULL;
3989}
3990
3991
3992SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3993 PyObject *resultobj = 0;
3994 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3995 SwigValueWrapper<wxVisualAttributes > result;
3996 int val1 ;
3997 int ecode1 = 0 ;
3998 PyObject * obj0 = 0 ;
3999 char * kwnames[] = {
4000 (char *) "variant", NULL
4001 };
4002
4003 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4004 if (obj0) {
4005 ecode1 = SWIG_AsVal_int(obj0, &val1);
4006 if (!SWIG_IsOK(ecode1)) {
4007 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4008 }
4009 arg1 = static_cast< wxWindowVariant >(val1);
4010 }
4011 {
4012 if (!wxPyCheckForApp()) SWIG_fail;
4013 PyThreadState* __tstate = wxPyBeginAllowThreads();
4014 result = wxPanel::GetClassDefaultAttributes(arg1);
4015 wxPyEndAllowThreads(__tstate);
4016 if (PyErr_Occurred()) SWIG_fail;
4017 }
4018 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4019 return resultobj;
4020fail:
4021 return NULL;
4022}
4023
4024
4025SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4026 PyObject *obj;
4027 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4028 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4029 return SWIG_Py_Void();
4030}
4031
4032SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4033 return SWIG_Python_InitShadowInstance(args);
4034}
4035
4036SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4037 PyObject *resultobj = 0;
4038 wxWindow *arg1 = (wxWindow *) 0 ;
4039 int arg2 = (int) (int)-1 ;
4040 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4041 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4042 wxSize const &arg4_defvalue = wxDefaultSize ;
4043 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4044 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4045 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4046 wxString *arg6 = (wxString *) &arg6_defvalue ;
4047 wxScrolledWindow *result = 0 ;
4048 void *argp1 = 0 ;
4049 int res1 = 0 ;
4050 int val2 ;
4051 int ecode2 = 0 ;
4052 wxPoint temp3 ;
4053 wxSize temp4 ;
4054 long val5 ;
4055 int ecode5 = 0 ;
4056 bool temp6 = false ;
4057 PyObject * obj0 = 0 ;
4058 PyObject * obj1 = 0 ;
4059 PyObject * obj2 = 0 ;
4060 PyObject * obj3 = 0 ;
4061 PyObject * obj4 = 0 ;
4062 PyObject * obj5 = 0 ;
4063 char * kwnames[] = {
4064 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4065 };
4066
4067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4068 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4069 if (!SWIG_IsOK(res1)) {
4070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4071 }
4072 arg1 = reinterpret_cast< wxWindow * >(argp1);
4073 if (obj1) {
4074 ecode2 = SWIG_AsVal_int(obj1, &val2);
4075 if (!SWIG_IsOK(ecode2)) {
4076 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4077 }
4078 arg2 = static_cast< int >(val2);
4079 }
4080 if (obj2) {
5cbf236d 4081 {
1bd55598
RD
4082 arg3 = &temp3;
4083 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
f20a2e1f 4084 }
1bd55598
RD
4085 }
4086 if (obj3) {
f20a2e1f 4087 {
1bd55598
RD
4088 arg4 = &temp4;
4089 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
f20a2e1f 4090 }
1bd55598
RD
4091 }
4092 if (obj4) {
4093 ecode5 = SWIG_AsVal_long(obj4, &val5);
4094 if (!SWIG_IsOK(ecode5)) {
4095 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4096 }
4097 arg5 = static_cast< long >(val5);
4098 }
4099 if (obj5) {
f20a2e1f 4100 {
1bd55598
RD
4101 arg6 = wxString_in_helper(obj5);
4102 if (arg6 == NULL) SWIG_fail;
4103 temp6 = true;
f20a2e1f 4104 }
1bd55598
RD
4105 }
4106 {
4107 if (!wxPyCheckForApp()) SWIG_fail;
4108 PyThreadState* __tstate = wxPyBeginAllowThreads();
4109 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4110 wxPyEndAllowThreads(__tstate);
4111 if (PyErr_Occurred()) SWIG_fail;
4112 }
4113 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4114 {
4115 if (temp6)
4116 delete arg6;
4117 }
4118 return resultobj;
4119fail:
4120 {
4121 if (temp6)
4122 delete arg6;
4123 }
4124 return NULL;
f20a2e1f
RD
4125}
4126
4127
1bd55598
RD
4128SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4129 PyObject *resultobj = 0;
4130 wxScrolledWindow *result = 0 ;
4131
4132 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4133 {
4134 if (!wxPyCheckForApp()) SWIG_fail;
4135 PyThreadState* __tstate = wxPyBeginAllowThreads();
4136 result = (wxScrolledWindow *)new wxScrolledWindow();
4137 wxPyEndAllowThreads(__tstate);
4138 if (PyErr_Occurred()) SWIG_fail;
4139 }
4140 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4141 return resultobj;
4142fail:
4143 return NULL;
4144}
4145
4146
4147SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4148 PyObject *resultobj = 0;
4149 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4150 wxWindow *arg2 = (wxWindow *) 0 ;
4151 int arg3 = (int) (int)-1 ;
4152 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4153 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4154 wxSize const &arg5_defvalue = wxDefaultSize ;
4155 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4156 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4157 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4158 wxString *arg7 = (wxString *) &arg7_defvalue ;
4159 bool result;
4160 void *argp1 = 0 ;
4161 int res1 = 0 ;
4162 void *argp2 = 0 ;
4163 int res2 = 0 ;
4164 int val3 ;
4165 int ecode3 = 0 ;
4166 wxPoint temp4 ;
4167 wxSize temp5 ;
4168 long val6 ;
4169 int ecode6 = 0 ;
4170 bool temp7 = false ;
4171 PyObject * obj0 = 0 ;
4172 PyObject * obj1 = 0 ;
4173 PyObject * obj2 = 0 ;
4174 PyObject * obj3 = 0 ;
4175 PyObject * obj4 = 0 ;
4176 PyObject * obj5 = 0 ;
4177 PyObject * obj6 = 0 ;
4178 char * kwnames[] = {
4179 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4180 };
4181
4182 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4183 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4184 if (!SWIG_IsOK(res1)) {
4185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4186 }
4187 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4188 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4189 if (!SWIG_IsOK(res2)) {
4190 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4191 }
4192 arg2 = reinterpret_cast< wxWindow * >(argp2);
4193 if (obj2) {
4194 ecode3 = SWIG_AsVal_int(obj2, &val3);
4195 if (!SWIG_IsOK(ecode3)) {
4196 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4197 }
4198 arg3 = static_cast< int >(val3);
4199 }
4200 if (obj3) {
d55e5bfc 4201 {
1bd55598
RD
4202 arg4 = &temp4;
4203 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 4204 }
1bd55598
RD
4205 }
4206 if (obj4) {
d55e5bfc 4207 {
1bd55598
RD
4208 arg5 = &temp5;
4209 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 4210 }
1bd55598
RD
4211 }
4212 if (obj5) {
4213 ecode6 = SWIG_AsVal_long(obj5, &val6);
4214 if (!SWIG_IsOK(ecode6)) {
4215 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4216 }
4217 arg6 = static_cast< long >(val6);
4218 }
4219 if (obj6) {
d55e5bfc 4220 {
1bd55598
RD
4221 arg7 = wxString_in_helper(obj6);
4222 if (arg7 == NULL) SWIG_fail;
4223 temp7 = true;
4224 }
4225 }
4226 {
4227 PyThreadState* __tstate = wxPyBeginAllowThreads();
4228 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4229 wxPyEndAllowThreads(__tstate);
4230 if (PyErr_Occurred()) SWIG_fail;
4231 }
4232 {
4233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4234 }
4235 {
4236 if (temp7)
4237 delete arg7;
4238 }
4239 return resultobj;
4240fail:
4241 {
4242 if (temp7)
4243 delete arg7;
4244 }
4245 return NULL;
4246}
4247
4248
4249SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4250 PyObject *resultobj = 0;
4251 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4252 int arg2 ;
4253 int arg3 ;
4254 int arg4 ;
4255 int arg5 ;
4256 int arg6 = (int) 0 ;
4257 int arg7 = (int) 0 ;
4258 bool arg8 = (bool) false ;
4259 void *argp1 = 0 ;
4260 int res1 = 0 ;
4261 int val2 ;
4262 int ecode2 = 0 ;
4263 int val3 ;
4264 int ecode3 = 0 ;
4265 int val4 ;
4266 int ecode4 = 0 ;
4267 int val5 ;
4268 int ecode5 = 0 ;
4269 int val6 ;
4270 int ecode6 = 0 ;
4271 int val7 ;
4272 int ecode7 = 0 ;
4273 bool val8 ;
4274 int ecode8 = 0 ;
4275 PyObject * obj0 = 0 ;
4276 PyObject * obj1 = 0 ;
4277 PyObject * obj2 = 0 ;
4278 PyObject * obj3 = 0 ;
4279 PyObject * obj4 = 0 ;
4280 PyObject * obj5 = 0 ;
4281 PyObject * obj6 = 0 ;
4282 PyObject * obj7 = 0 ;
4283 char * kwnames[] = {
4284 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4285 };
4286
4287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4289 if (!SWIG_IsOK(res1)) {
4290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4291 }
4292 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4293 ecode2 = SWIG_AsVal_int(obj1, &val2);
4294 if (!SWIG_IsOK(ecode2)) {
4295 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4296 }
4297 arg2 = static_cast< int >(val2);
4298 ecode3 = SWIG_AsVal_int(obj2, &val3);
4299 if (!SWIG_IsOK(ecode3)) {
4300 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4301 }
4302 arg3 = static_cast< int >(val3);
4303 ecode4 = SWIG_AsVal_int(obj3, &val4);
4304 if (!SWIG_IsOK(ecode4)) {
4305 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4306 }
4307 arg4 = static_cast< int >(val4);
4308 ecode5 = SWIG_AsVal_int(obj4, &val5);
4309 if (!SWIG_IsOK(ecode5)) {
4310 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4311 }
4312 arg5 = static_cast< int >(val5);
4313 if (obj5) {
4314 ecode6 = SWIG_AsVal_int(obj5, &val6);
4315 if (!SWIG_IsOK(ecode6)) {
4316 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4317 }
4318 arg6 = static_cast< int >(val6);
4319 }
4320 if (obj6) {
4321 ecode7 = SWIG_AsVal_int(obj6, &val7);
4322 if (!SWIG_IsOK(ecode7)) {
4323 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4324 }
4325 arg7 = static_cast< int >(val7);
4326 }
4327 if (obj7) {
4328 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4329 if (!SWIG_IsOK(ecode8)) {
4330 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4331 }
4332 arg8 = static_cast< bool >(val8);
4333 }
4334 {
4335 PyThreadState* __tstate = wxPyBeginAllowThreads();
4336 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4337 wxPyEndAllowThreads(__tstate);
4338 if (PyErr_Occurred()) SWIG_fail;
4339 }
4340 resultobj = SWIG_Py_Void();
4341 return resultobj;
4342fail:
4343 return NULL;
4344}
4345
4346
4347SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4348 PyObject *resultobj = 0;
4349 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4350 int arg2 ;
4351 int arg3 ;
4352 void *argp1 = 0 ;
4353 int res1 = 0 ;
4354 int val2 ;
4355 int ecode2 = 0 ;
4356 int val3 ;
4357 int ecode3 = 0 ;
4358 PyObject * obj0 = 0 ;
4359 PyObject * obj1 = 0 ;
4360 PyObject * obj2 = 0 ;
4361 char * kwnames[] = {
4362 (char *) "self",(char *) "x",(char *) "y", NULL
4363 };
4364
4365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4366 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4367 if (!SWIG_IsOK(res1)) {
4368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4369 }
4370 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4371 ecode2 = SWIG_AsVal_int(obj1, &val2);
4372 if (!SWIG_IsOK(ecode2)) {
4373 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4374 }
4375 arg2 = static_cast< int >(val2);
4376 ecode3 = SWIG_AsVal_int(obj2, &val3);
4377 if (!SWIG_IsOK(ecode3)) {
4378 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4379 }
4380 arg3 = static_cast< int >(val3);
4381 {
4382 PyThreadState* __tstate = wxPyBeginAllowThreads();
4383 (arg1)->Scroll(arg2,arg3);
4384 wxPyEndAllowThreads(__tstate);
4385 if (PyErr_Occurred()) SWIG_fail;
4386 }
4387 resultobj = SWIG_Py_Void();
4388 return resultobj;
4389fail:
4390 return NULL;
4391}
4392
4393
4394SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4395 PyObject *resultobj = 0;
4396 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4397 int arg2 ;
4398 int result;
4399 void *argp1 = 0 ;
4400 int res1 = 0 ;
4401 int val2 ;
4402 int ecode2 = 0 ;
4403 PyObject * obj0 = 0 ;
4404 PyObject * obj1 = 0 ;
4405 char * kwnames[] = {
4406 (char *) "self",(char *) "orient", NULL
4407 };
4408
4409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4411 if (!SWIG_IsOK(res1)) {
4412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4413 }
4414 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4415 ecode2 = SWIG_AsVal_int(obj1, &val2);
4416 if (!SWIG_IsOK(ecode2)) {
4417 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4418 }
4419 arg2 = static_cast< int >(val2);
4420 {
4421 PyThreadState* __tstate = wxPyBeginAllowThreads();
4422 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4423 wxPyEndAllowThreads(__tstate);
4424 if (PyErr_Occurred()) SWIG_fail;
4425 }
4426 resultobj = SWIG_From_int(static_cast< int >(result));
4427 return resultobj;
4428fail:
4429 return NULL;
4430}
4431
4432
4433SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4434 PyObject *resultobj = 0;
4435 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4436 int arg2 ;
4437 int arg3 ;
4438 void *argp1 = 0 ;
4439 int res1 = 0 ;
4440 int val2 ;
4441 int ecode2 = 0 ;
4442 int val3 ;
4443 int ecode3 = 0 ;
4444 PyObject * obj0 = 0 ;
4445 PyObject * obj1 = 0 ;
4446 PyObject * obj2 = 0 ;
4447 char * kwnames[] = {
4448 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4449 };
4450
4451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4453 if (!SWIG_IsOK(res1)) {
4454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4455 }
4456 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4457 ecode2 = SWIG_AsVal_int(obj1, &val2);
4458 if (!SWIG_IsOK(ecode2)) {
4459 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4460 }
4461 arg2 = static_cast< int >(val2);
4462 ecode3 = SWIG_AsVal_int(obj2, &val3);
4463 if (!SWIG_IsOK(ecode3)) {
4464 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4465 }
4466 arg3 = static_cast< int >(val3);
4467 {
4468 PyThreadState* __tstate = wxPyBeginAllowThreads();
4469 (arg1)->SetScrollPageSize(arg2,arg3);
4470 wxPyEndAllowThreads(__tstate);
4471 if (PyErr_Occurred()) SWIG_fail;
4472 }
4473 resultobj = SWIG_Py_Void();
4474 return resultobj;
4475fail:
4476 return NULL;
4477}
4478
4479
4480SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4481 PyObject *resultobj = 0;
4482 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4483 int arg2 ;
4484 int arg3 ;
4485 void *argp1 = 0 ;
4486 int res1 = 0 ;
4487 int val2 ;
4488 int ecode2 = 0 ;
4489 int val3 ;
4490 int ecode3 = 0 ;
4491 PyObject * obj0 = 0 ;
4492 PyObject * obj1 = 0 ;
4493 PyObject * obj2 = 0 ;
4494 char * kwnames[] = {
4495 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4496 };
4497
4498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4500 if (!SWIG_IsOK(res1)) {
4501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4502 }
4503 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4504 ecode2 = SWIG_AsVal_int(obj1, &val2);
4505 if (!SWIG_IsOK(ecode2)) {
4506 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4507 }
4508 arg2 = static_cast< int >(val2);
4509 ecode3 = SWIG_AsVal_int(obj2, &val3);
4510 if (!SWIG_IsOK(ecode3)) {
4511 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4512 }
4513 arg3 = static_cast< int >(val3);
4514 {
4515 PyThreadState* __tstate = wxPyBeginAllowThreads();
4516 (arg1)->SetScrollRate(arg2,arg3);
4517 wxPyEndAllowThreads(__tstate);
4518 if (PyErr_Occurred()) SWIG_fail;
4519 }
4520 resultobj = SWIG_Py_Void();
4521 return resultobj;
4522fail:
4523 return NULL;
4524}
4525
4526
4527SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4528 PyObject *resultobj = 0;
4529 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4530 int *arg2 = (int *) 0 ;
4531 int *arg3 = (int *) 0 ;
4532 void *argp1 = 0 ;
4533 int res1 = 0 ;
4534 int temp2 ;
4535 int res2 = SWIG_TMPOBJ ;
4536 int temp3 ;
4537 int res3 = SWIG_TMPOBJ ;
4538 PyObject *swig_obj[1] ;
4539
4540 arg2 = &temp2;
4541 arg3 = &temp3;
4542 if (!args) SWIG_fail;
4543 swig_obj[0] = args;
4544 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4545 if (!SWIG_IsOK(res1)) {
4546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4547 }
4548 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4549 {
4550 PyThreadState* __tstate = wxPyBeginAllowThreads();
4551 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4552 wxPyEndAllowThreads(__tstate);
4553 if (PyErr_Occurred()) SWIG_fail;
4554 }
4555 resultobj = SWIG_Py_Void();
4556 if (SWIG_IsTmpObj(res2)) {
4557 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4558 } else {
4559 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4560 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4561 }
4562 if (SWIG_IsTmpObj(res3)) {
4563 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4564 } else {
4565 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4566 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4567 }
4568 return resultobj;
4569fail:
4570 return NULL;
4571}
4572
4573
4574SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4575 PyObject *resultobj = 0;
4576 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4577 bool arg2 ;
4578 bool arg3 ;
4579 void *argp1 = 0 ;
4580 int res1 = 0 ;
4581 bool val2 ;
4582 int ecode2 = 0 ;
4583 bool val3 ;
4584 int ecode3 = 0 ;
4585 PyObject * obj0 = 0 ;
4586 PyObject * obj1 = 0 ;
4587 PyObject * obj2 = 0 ;
4588 char * kwnames[] = {
4589 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4590 };
4591
4592 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4593 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4594 if (!SWIG_IsOK(res1)) {
4595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4596 }
4597 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4598 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4599 if (!SWIG_IsOK(ecode2)) {
4600 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4601 }
4602 arg2 = static_cast< bool >(val2);
4603 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4604 if (!SWIG_IsOK(ecode3)) {
4605 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4606 }
4607 arg3 = static_cast< bool >(val3);
4608 {
4609 PyThreadState* __tstate = wxPyBeginAllowThreads();
4610 (arg1)->EnableScrolling(arg2,arg3);
4611 wxPyEndAllowThreads(__tstate);
4612 if (PyErr_Occurred()) SWIG_fail;
4613 }
4614 resultobj = SWIG_Py_Void();
4615 return resultobj;
4616fail:
4617 return NULL;
4618}
4619
4620
4621SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4622 PyObject *resultobj = 0;
4623 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4624 int *arg2 = (int *) 0 ;
4625 int *arg3 = (int *) 0 ;
4626 void *argp1 = 0 ;
4627 int res1 = 0 ;
4628 int temp2 ;
4629 int res2 = SWIG_TMPOBJ ;
4630 int temp3 ;
4631 int res3 = SWIG_TMPOBJ ;
4632 PyObject *swig_obj[1] ;
4633
4634 arg2 = &temp2;
4635 arg3 = &temp3;
4636 if (!args) SWIG_fail;
4637 swig_obj[0] = args;
4638 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4639 if (!SWIG_IsOK(res1)) {
4640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4641 }
4642 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4643 {
4644 PyThreadState* __tstate = wxPyBeginAllowThreads();
4645 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4646 wxPyEndAllowThreads(__tstate);
4647 if (PyErr_Occurred()) SWIG_fail;
4648 }
4649 resultobj = SWIG_Py_Void();
4650 if (SWIG_IsTmpObj(res2)) {
4651 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4652 } else {
4653 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4654 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4655 }
4656 if (SWIG_IsTmpObj(res3)) {
4657 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4658 } else {
4659 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4660 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4661 }
4662 return resultobj;
4663fail:
4664 return NULL;
4665}
4666
4667
4668SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4669 PyObject *resultobj = 0;
4670 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4671 double arg2 ;
4672 double arg3 ;
4673 void *argp1 = 0 ;
4674 int res1 = 0 ;
4675 double val2 ;
4676 int ecode2 = 0 ;
4677 double val3 ;
4678 int ecode3 = 0 ;
4679 PyObject * obj0 = 0 ;
4680 PyObject * obj1 = 0 ;
4681 PyObject * obj2 = 0 ;
4682 char * kwnames[] = {
4683 (char *) "self",(char *) "xs",(char *) "ys", NULL
4684 };
4685
4686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4688 if (!SWIG_IsOK(res1)) {
4689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4690 }
4691 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4692 ecode2 = SWIG_AsVal_double(obj1, &val2);
4693 if (!SWIG_IsOK(ecode2)) {
4694 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4695 }
4696 arg2 = static_cast< double >(val2);
4697 ecode3 = SWIG_AsVal_double(obj2, &val3);
4698 if (!SWIG_IsOK(ecode3)) {
4699 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4700 }
4701 arg3 = static_cast< double >(val3);
4702 {
4703 PyThreadState* __tstate = wxPyBeginAllowThreads();
4704 (arg1)->SetScale(arg2,arg3);
4705 wxPyEndAllowThreads(__tstate);
4706 if (PyErr_Occurred()) SWIG_fail;
4707 }
4708 resultobj = SWIG_Py_Void();
4709 return resultobj;
4710fail:
4711 return NULL;
d55e5bfc
RD
4712}
4713
4714
1bd55598
RD
4715SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4716 PyObject *resultobj = 0;
4717 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4718 double result;
4719 void *argp1 = 0 ;
4720 int res1 = 0 ;
4721 PyObject *swig_obj[1] ;
4722
4723 if (!args) SWIG_fail;
4724 swig_obj[0] = args;
4725 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4726 if (!SWIG_IsOK(res1)) {
4727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4728 }
4729 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4730 {
4731 PyThreadState* __tstate = wxPyBeginAllowThreads();
4732 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4733 wxPyEndAllowThreads(__tstate);
4734 if (PyErr_Occurred()) SWIG_fail;
4735 }
4736 resultobj = SWIG_From_double(static_cast< double >(result));
4737 return resultobj;
4738fail:
4739 return NULL;
d55e5bfc
RD
4740}
4741
4742
1bd55598
RD
4743SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4744 PyObject *resultobj = 0;
4745 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4746 double result;
4747 void *argp1 = 0 ;
4748 int res1 = 0 ;
4749 PyObject *swig_obj[1] ;
4750
4751 if (!args) SWIG_fail;
4752 swig_obj[0] = args;
4753 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4754 if (!SWIG_IsOK(res1)) {
4755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4756 }
4757 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4758 {
4759 PyThreadState* __tstate = wxPyBeginAllowThreads();
4760 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4761 wxPyEndAllowThreads(__tstate);
4762 if (PyErr_Occurred()) SWIG_fail;
4763 }
4764 resultobj = SWIG_From_double(static_cast< double >(result));
4765 return resultobj;
4766fail:
4767 return NULL;
d55e5bfc
RD
4768}
4769
4770
1bd55598
RD
4771SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4772 PyObject *resultobj = 0;
4773 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4774 wxPoint *arg2 = 0 ;
4775 wxPoint result;
4776 void *argp1 = 0 ;
4777 int res1 = 0 ;
4778 wxPoint temp2 ;
4779
4780 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4781 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4782 if (!SWIG_IsOK(res1)) {
4783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4784 }
4785 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4786 {
4787 arg2 = &temp2;
4788 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4789 }
4790 {
4791 PyThreadState* __tstate = wxPyBeginAllowThreads();
4792 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4793 wxPyEndAllowThreads(__tstate);
4794 if (PyErr_Occurred()) SWIG_fail;
4795 }
4796 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4797 return resultobj;
4798fail:
4799 return NULL;
4800}
4801
4802
4803SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4804 PyObject *resultobj = 0;
4805 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4806 int arg2 ;
4807 int arg3 ;
4808 int *arg4 = (int *) 0 ;
4809 int *arg5 = (int *) 0 ;
4810 void *argp1 = 0 ;
4811 int res1 = 0 ;
4812 int val2 ;
4813 int ecode2 = 0 ;
4814 int val3 ;
4815 int ecode3 = 0 ;
4816 int temp4 ;
4817 int res4 = SWIG_TMPOBJ ;
4818 int temp5 ;
4819 int res5 = SWIG_TMPOBJ ;
4820
4821 arg4 = &temp4;
4822 arg5 = &temp5;
4823 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4824 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4825 if (!SWIG_IsOK(res1)) {
4826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4827 }
4828 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4829 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4830 if (!SWIG_IsOK(ecode2)) {
4831 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4832 }
4833 arg2 = static_cast< int >(val2);
4834 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4835 if (!SWIG_IsOK(ecode3)) {
4836 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4837 }
4838 arg3 = static_cast< int >(val3);
4839 {
4840 PyThreadState* __tstate = wxPyBeginAllowThreads();
4841 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4842 wxPyEndAllowThreads(__tstate);
4843 if (PyErr_Occurred()) SWIG_fail;
4844 }
4845 resultobj = SWIG_Py_Void();
4846 if (SWIG_IsTmpObj(res4)) {
4847 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4848 } else {
4849 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4850 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4851 }
4852 if (SWIG_IsTmpObj(res5)) {
4853 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4854 } else {
4855 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4856 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4857 }
4858 return resultobj;
4859fail:
4860 return NULL;
d55e5bfc
RD
4861}
4862
4863
1bd55598
RD
4864SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4865 int argc;
4866 PyObject *argv[4];
4867
4868 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4869 --argc;
4870 if (argc == 2) {
4871 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4872 }
4873 if (argc == 3) {
4874 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4875 }
4876
4877fail:
4878 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4879 return NULL;
d55e5bfc
RD
4880}
4881
4882
1bd55598
RD
4883SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4884 PyObject *resultobj = 0;
4885 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4886 wxPoint *arg2 = 0 ;
4887 wxPoint result;
4888 void *argp1 = 0 ;
4889 int res1 = 0 ;
4890 wxPoint temp2 ;
4891
4892 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4893 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4894 if (!SWIG_IsOK(res1)) {
4895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4896 }
4897 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4898 {
4899 arg2 = &temp2;
4900 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4901 }
4902 {
4903 PyThreadState* __tstate = wxPyBeginAllowThreads();
4904 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4905 wxPyEndAllowThreads(__tstate);
4906 if (PyErr_Occurred()) SWIG_fail;
4907 }
4908 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4909 return resultobj;
4910fail:
4911 return NULL;
4912}
4913
4914
4915SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4916 PyObject *resultobj = 0;
4917 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4918 int arg2 ;
4919 int arg3 ;
4920 int *arg4 = (int *) 0 ;
4921 int *arg5 = (int *) 0 ;
4922 void *argp1 = 0 ;
4923 int res1 = 0 ;
4924 int val2 ;
4925 int ecode2 = 0 ;
4926 int val3 ;
4927 int ecode3 = 0 ;
4928 int temp4 ;
4929 int res4 = SWIG_TMPOBJ ;
4930 int temp5 ;
4931 int res5 = SWIG_TMPOBJ ;
4932
4933 arg4 = &temp4;
4934 arg5 = &temp5;
4935 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4936 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4937 if (!SWIG_IsOK(res1)) {
4938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4939 }
4940 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4941 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4942 if (!SWIG_IsOK(ecode2)) {
4943 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4944 }
4945 arg2 = static_cast< int >(val2);
4946 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4947 if (!SWIG_IsOK(ecode3)) {
4948 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4949 }
4950 arg3 = static_cast< int >(val3);
4951 {
4952 PyThreadState* __tstate = wxPyBeginAllowThreads();
4953 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4954 wxPyEndAllowThreads(__tstate);
4955 if (PyErr_Occurred()) SWIG_fail;
4956 }
4957 resultobj = SWIG_Py_Void();
4958 if (SWIG_IsTmpObj(res4)) {
4959 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4960 } else {
4961 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4962 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4963 }
4964 if (SWIG_IsTmpObj(res5)) {
4965 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4966 } else {
4967 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4968 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4969 }
4970 return resultobj;
4971fail:
4972 return NULL;
d55e5bfc
RD
4973}
4974
4975
1bd55598
RD
4976SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4977 int argc;
4978 PyObject *argv[4];
4979
4980 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4981 --argc;
4982 if (argc == 2) {
4983 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4984 }
4985 if (argc == 3) {
4986 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4987 }
4988
4989fail:
4990 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4991 return NULL;
d55e5bfc
RD
4992}
4993
4994
1bd55598
RD
4995SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4996 PyObject *resultobj = 0;
4997 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4998 void *argp1 = 0 ;
4999 int res1 = 0 ;
5000 PyObject *swig_obj[1] ;
5001
5002 if (!args) SWIG_fail;
5003 swig_obj[0] = args;
5004 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5005 if (!SWIG_IsOK(res1)) {
5006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5007 }
5008 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5009 {
5010 PyThreadState* __tstate = wxPyBeginAllowThreads();
5011 (arg1)->AdjustScrollbars();
5012 wxPyEndAllowThreads(__tstate);
5013 if (PyErr_Occurred()) SWIG_fail;
5014 }
5015 resultobj = SWIG_Py_Void();
5016 return resultobj;
5017fail:
5018 return NULL;
5019}
5020
5021
5022SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5023 PyObject *resultobj = 0;
5024 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5025 wxScrollWinEvent *arg2 = 0 ;
5026 int result;
5027 void *argp1 = 0 ;
5028 int res1 = 0 ;
5029 void *argp2 = 0 ;
5030 int res2 = 0 ;
5031 PyObject * obj0 = 0 ;
5032 PyObject * obj1 = 0 ;
5033 char * kwnames[] = {
5034 (char *) "self",(char *) "event", NULL
5035 };
5036
5037 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5038 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5039 if (!SWIG_IsOK(res1)) {
5040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5041 }
5042 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5043 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5044 if (!SWIG_IsOK(res2)) {
5045 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5046 }
5047 if (!argp2) {
5048 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5049 }
5050 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5051 {
5052 PyThreadState* __tstate = wxPyBeginAllowThreads();
5053 result = (int)(arg1)->CalcScrollInc(*arg2);
5054 wxPyEndAllowThreads(__tstate);
5055 if (PyErr_Occurred()) SWIG_fail;
5056 }
5057 resultobj = SWIG_From_int(static_cast< int >(result));
5058 return resultobj;
5059fail:
5060 return NULL;
5061}
5062
5063
5064SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5065 PyObject *resultobj = 0;
5066 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5067 wxWindow *arg2 = (wxWindow *) 0 ;
5068 void *argp1 = 0 ;
5069 int res1 = 0 ;
5070 void *argp2 = 0 ;
5071 int res2 = 0 ;
5072 PyObject * obj0 = 0 ;
5073 PyObject * obj1 = 0 ;
5074 char * kwnames[] = {
5075 (char *) "self",(char *) "target", NULL
5076 };
5077
5078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5080 if (!SWIG_IsOK(res1)) {
5081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5082 }
5083 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5084 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5085 if (!SWIG_IsOK(res2)) {
5086 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5087 }
5088 arg2 = reinterpret_cast< wxWindow * >(argp2);
5089 {
5090 PyThreadState* __tstate = wxPyBeginAllowThreads();
5091 (arg1)->SetTargetWindow(arg2);
5092 wxPyEndAllowThreads(__tstate);
5093 if (PyErr_Occurred()) SWIG_fail;
5094 }
5095 resultobj = SWIG_Py_Void();
5096 return resultobj;
5097fail:
5098 return NULL;
d55e5bfc
RD
5099}
5100
5101
1bd55598
RD
5102SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5103 PyObject *resultobj = 0;
5104 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5105 wxWindow *result = 0 ;
5106 void *argp1 = 0 ;
5107 int res1 = 0 ;
5108 PyObject *swig_obj[1] ;
5109
5110 if (!args) SWIG_fail;
5111 swig_obj[0] = args;
5112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5113 if (!SWIG_IsOK(res1)) {
5114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5115 }
5116 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5117 {
5118 PyThreadState* __tstate = wxPyBeginAllowThreads();
5119 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5120 wxPyEndAllowThreads(__tstate);
5121 if (PyErr_Occurred()) SWIG_fail;
5122 }
5123 {
5124 resultobj = wxPyMake_wxObject(result, 0);
5125 }
5126 return resultobj;
5127fail:
5128 return NULL;
5129}
5130
5131
5132SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5133 PyObject *resultobj = 0;
5134 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5135 wxRect *arg2 = 0 ;
5136 void *argp1 = 0 ;
5137 int res1 = 0 ;
5138 wxRect temp2 ;
5139 PyObject * obj0 = 0 ;
5140 PyObject * obj1 = 0 ;
5141 char * kwnames[] = {
5142 (char *) "self",(char *) "rect", NULL
5143 };
5144
5145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5147 if (!SWIG_IsOK(res1)) {
5148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5149 }
5150 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5151 {
5152 arg2 = &temp2;
5153 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5154 }
5155 {
5156 PyThreadState* __tstate = wxPyBeginAllowThreads();
5157 (arg1)->SetTargetRect((wxRect const &)*arg2);
5158 wxPyEndAllowThreads(__tstate);
5159 if (PyErr_Occurred()) SWIG_fail;
5160 }
5161 resultobj = SWIG_Py_Void();
5162 return resultobj;
5163fail:
5164 return NULL;
d55e5bfc
RD
5165}
5166
5167
1bd55598
RD
5168SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5169 PyObject *resultobj = 0;
5170 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5171 wxRect result;
5172 void *argp1 = 0 ;
5173 int res1 = 0 ;
5174 PyObject *swig_obj[1] ;
5175
5176 if (!args) SWIG_fail;
5177 swig_obj[0] = args;
5178 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5179 if (!SWIG_IsOK(res1)) {
5180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5181 }
5182 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5183 {
5184 PyThreadState* __tstate = wxPyBeginAllowThreads();
5185 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5186 wxPyEndAllowThreads(__tstate);
5187 if (PyErr_Occurred()) SWIG_fail;
5188 }
5189 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5190 return resultobj;
5191fail:
5192 return NULL;
5193}
5194
5195
5196SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5197 PyObject *resultobj = 0;
5198 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5199 wxDC *arg2 = 0 ;
5200 void *argp1 = 0 ;
5201 int res1 = 0 ;
5202 void *argp2 = 0 ;
5203 int res2 = 0 ;
5204 PyObject * obj0 = 0 ;
5205 PyObject * obj1 = 0 ;
5206 char * kwnames[] = {
5207 (char *) "self",(char *) "dc", NULL
5208 };
5209
5210 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5211 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5212 if (!SWIG_IsOK(res1)) {
5213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5214 }
5215 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5216 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5217 if (!SWIG_IsOK(res2)) {
5218 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5219 }
5220 if (!argp2) {
5221 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5222 }
5223 arg2 = reinterpret_cast< wxDC * >(argp2);
5224 {
5225 PyThreadState* __tstate = wxPyBeginAllowThreads();
5226 (arg1)->DoPrepareDC(*arg2);
5227 wxPyEndAllowThreads(__tstate);
5228 if (PyErr_Occurred()) SWIG_fail;
5229 }
5230 resultobj = SWIG_Py_Void();
5231 return resultobj;
5232fail:
5233 return NULL;
5234}
5235
5236
5237SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5238 PyObject *resultobj = 0;
5239 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5240 SwigValueWrapper<wxVisualAttributes > result;
5241 int val1 ;
5242 int ecode1 = 0 ;
5243 PyObject * obj0 = 0 ;
5244 char * kwnames[] = {
5245 (char *) "variant", NULL
5246 };
5247
5248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5249 if (obj0) {
5250 ecode1 = SWIG_AsVal_int(obj0, &val1);
5251 if (!SWIG_IsOK(ecode1)) {
5252 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5253 }
5254 arg1 = static_cast< wxWindowVariant >(val1);
5255 }
5256 {
5257 if (!wxPyCheckForApp()) SWIG_fail;
5258 PyThreadState* __tstate = wxPyBeginAllowThreads();
5259 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5260 wxPyEndAllowThreads(__tstate);
5261 if (PyErr_Occurred()) SWIG_fail;
5262 }
5263 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5264 return resultobj;
5265fail:
5266 return NULL;
d55e5bfc
RD
5267}
5268
5269
1bd55598
RD
5270SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5271 PyObject *obj;
5272 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5273 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5274 return SWIG_Py_Void();
d55e5bfc
RD
5275}
5276
1bd55598
RD
5277SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5278 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
5279}
5280
1bd55598
RD
5281SWIGINTERN int FrameNameStr_set(PyObject *) {
5282 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5283 return 1;
d55e5bfc
RD
5284}
5285
5286
1bd55598
RD
5287SWIGINTERN PyObject *FrameNameStr_get(void) {
5288 PyObject *pyobj = 0;
5289
5290 {
5291#if wxUSE_UNICODE
5292 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5293#else
5294 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5295#endif
5296 }
5297 return pyobj;
d55e5bfc
RD
5298}
5299
5300
1bd55598
RD
5301SWIGINTERN int DialogNameStr_set(PyObject *) {
5302 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5303 return 1;
d55e5bfc
RD
5304}
5305
5306
1bd55598
RD
5307SWIGINTERN PyObject *DialogNameStr_get(void) {
5308 PyObject *pyobj = 0;
5309
5310 {
5311#if wxUSE_UNICODE
5312 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5313#else
5314 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5315#endif
5316 }
5317 return pyobj;
d55e5bfc
RD
5318}
5319
5320
1bd55598
RD
5321SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5322 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5323 return 1;
d55e5bfc
RD
5324}
5325
5326
1bd55598
RD
5327SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5328 PyObject *pyobj = 0;
5329
5330 {
5331#if wxUSE_UNICODE
5332 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5333#else
5334 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5335#endif
5336 }
5337 return pyobj;
d55e5bfc
RD
5338}
5339
5340
1bd55598
RD
5341SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5342 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5343 return 1;
d55e5bfc
RD
5344}
5345
5346
1bd55598
RD
5347SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5348 PyObject *pyobj = 0;
5349
5350 {
5351#if wxUSE_UNICODE
5352 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5353#else
5354 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5355#endif
5356 }
5357 return pyobj;
5358}
5359
5360
5361SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5362 PyObject *resultobj = 0;
5363 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5364 bool arg2 = (bool) true ;
5365 void *argp1 = 0 ;
5366 int res1 = 0 ;
5367 bool val2 ;
5368 int ecode2 = 0 ;
5369 PyObject * obj0 = 0 ;
5370 PyObject * obj1 = 0 ;
5371 char * kwnames[] = {
5372 (char *) "self",(char *) "maximize", NULL
5373 };
5374
5375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5377 if (!SWIG_IsOK(res1)) {
5378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5379 }
5380 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5381 if (obj1) {
5382 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5383 if (!SWIG_IsOK(ecode2)) {
5384 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5385 }
5386 arg2 = static_cast< bool >(val2);
5387 }
5388 {
5389 PyThreadState* __tstate = wxPyBeginAllowThreads();
5390 (arg1)->Maximize(arg2);
5391 wxPyEndAllowThreads(__tstate);
5392 if (PyErr_Occurred()) SWIG_fail;
5393 }
5394 resultobj = SWIG_Py_Void();
5395 return resultobj;
5396fail:
5397 return NULL;
d55e5bfc
RD
5398}
5399
5400
1bd55598
RD
5401SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5402 PyObject *resultobj = 0;
5403 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5404 void *argp1 = 0 ;
5405 int res1 = 0 ;
5406 PyObject *swig_obj[1] ;
5407
5408 if (!args) SWIG_fail;
5409 swig_obj[0] = args;
5410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5411 if (!SWIG_IsOK(res1)) {
5412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5413 }
5414 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5415 {
5416 PyThreadState* __tstate = wxPyBeginAllowThreads();
5417 (arg1)->Restore();
5418 wxPyEndAllowThreads(__tstate);
5419 if (PyErr_Occurred()) SWIG_fail;
5420 }
5421 resultobj = SWIG_Py_Void();
5422 return resultobj;
5423fail:
5424 return NULL;
5425}
5426
5427
5428SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5429 PyObject *resultobj = 0;
5430 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5431 bool arg2 = (bool) true ;
5432 void *argp1 = 0 ;
5433 int res1 = 0 ;
5434 bool val2 ;
5435 int ecode2 = 0 ;
5436 PyObject * obj0 = 0 ;
5437 PyObject * obj1 = 0 ;
5438 char * kwnames[] = {
5439 (char *) "self",(char *) "iconize", NULL
5440 };
5441
5442 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5443 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5444 if (!SWIG_IsOK(res1)) {
5445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5446 }
5447 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5448 if (obj1) {
5449 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5450 if (!SWIG_IsOK(ecode2)) {
5451 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5452 }
5453 arg2 = static_cast< bool >(val2);
5454 }
5455 {
5456 PyThreadState* __tstate = wxPyBeginAllowThreads();
5457 (arg1)->Iconize(arg2);
5458 wxPyEndAllowThreads(__tstate);
5459 if (PyErr_Occurred()) SWIG_fail;
5460 }
5461 resultobj = SWIG_Py_Void();
5462 return resultobj;
5463fail:
5464 return NULL;
d55e5bfc
RD
5465}
5466
5467
1bd55598
RD
5468SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5469 PyObject *resultobj = 0;
5470 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5471 bool result;
5472 void *argp1 = 0 ;
5473 int res1 = 0 ;
5474 PyObject *swig_obj[1] ;
5475
5476 if (!args) SWIG_fail;
5477 swig_obj[0] = args;
5478 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5479 if (!SWIG_IsOK(res1)) {
5480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5481 }
5482 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5483 {
5484 PyThreadState* __tstate = wxPyBeginAllowThreads();
5485 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5486 wxPyEndAllowThreads(__tstate);
5487 if (PyErr_Occurred()) SWIG_fail;
5488 }
5489 {
5490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5491 }
5492 return resultobj;
5493fail:
5494 return NULL;
d55e5bfc
RD
5495}
5496
5497
2131d850
RD
5498SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5499 PyObject *resultobj = 0;
5500 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5501 bool result;
5502 void *argp1 = 0 ;
5503 int res1 = 0 ;
5504 PyObject *swig_obj[1] ;
5505
5506 if (!args) SWIG_fail;
5507 swig_obj[0] = args;
5508 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5509 if (!SWIG_IsOK(res1)) {
5510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5511 }
5512 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5513 {
5514 PyThreadState* __tstate = wxPyBeginAllowThreads();
5515 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5516 wxPyEndAllowThreads(__tstate);
5517 if (PyErr_Occurred()) SWIG_fail;
5518 }
5519 {
5520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5521 }
5522 return resultobj;
5523fail:
5524 return NULL;
5525}
5526
5527
1bd55598
RD
5528SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5529 PyObject *resultobj = 0;
5530 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5531 bool result;
5532 void *argp1 = 0 ;
5533 int res1 = 0 ;
5534 PyObject *swig_obj[1] ;
5535
5536 if (!args) SWIG_fail;
5537 swig_obj[0] = args;
5538 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5539 if (!SWIG_IsOK(res1)) {
5540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5541 }
5542 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5543 {
5544 PyThreadState* __tstate = wxPyBeginAllowThreads();
5545 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5546 wxPyEndAllowThreads(__tstate);
5547 if (PyErr_Occurred()) SWIG_fail;
5548 }
5549 {
5550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5551 }
5552 return resultobj;
5553fail:
5554 return NULL;
f5b96ee1
RD
5555}
5556
5557
1bd55598
RD
5558SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5559 PyObject *resultobj = 0;
5560 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5561 wxIcon result;
5562 void *argp1 = 0 ;
5563 int res1 = 0 ;
5564 PyObject *swig_obj[1] ;
5565
5566 if (!args) SWIG_fail;
5567 swig_obj[0] = args;
5568 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5569 if (!SWIG_IsOK(res1)) {
5570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5571 }
5572 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5573 {
5574 PyThreadState* __tstate = wxPyBeginAllowThreads();
5575 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5576 wxPyEndAllowThreads(__tstate);
5577 if (PyErr_Occurred()) SWIG_fail;
5578 }
5579 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5580 return resultobj;
5581fail:
5582 return NULL;
5583}
5584
5585
5586SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5587 PyObject *resultobj = 0;
5588 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5589 wxIcon *arg2 = 0 ;
5590 void *argp1 = 0 ;
5591 int res1 = 0 ;
5592 void *argp2 = 0 ;
5593 int res2 = 0 ;
5594 PyObject * obj0 = 0 ;
5595 PyObject * obj1 = 0 ;
5596 char * kwnames[] = {
5597 (char *) "self",(char *) "icon", NULL
5598 };
5599
5600 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5601 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5602 if (!SWIG_IsOK(res1)) {
5603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5604 }
5605 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5606 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5607 if (!SWIG_IsOK(res2)) {
5608 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5609 }
5610 if (!argp2) {
5611 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5612 }
5613 arg2 = reinterpret_cast< wxIcon * >(argp2);
5614 {
5615 PyThreadState* __tstate = wxPyBeginAllowThreads();
5616 (arg1)->SetIcon((wxIcon const &)*arg2);
5617 wxPyEndAllowThreads(__tstate);
5618 if (PyErr_Occurred()) SWIG_fail;
5619 }
5620 resultobj = SWIG_Py_Void();
5621 return resultobj;
5622fail:
5623 return NULL;
5624}
5625
5626
5627SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5628 PyObject *resultobj = 0;
5629 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5630 wxIconBundle *arg2 = 0 ;
5631 void *argp1 = 0 ;
5632 int res1 = 0 ;
5633 void *argp2 = 0 ;
5634 int res2 = 0 ;
5635 PyObject * obj0 = 0 ;
5636 PyObject * obj1 = 0 ;
5637 char * kwnames[] = {
5638 (char *) "self",(char *) "icons", NULL
5639 };
5640
5641 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5642 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5643 if (!SWIG_IsOK(res1)) {
5644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5645 }
5646 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5647 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5648 if (!SWIG_IsOK(res2)) {
5649 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5650 }
5651 if (!argp2) {
5652 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5653 }
5654 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5655 {
5656 PyThreadState* __tstate = wxPyBeginAllowThreads();
5657 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5658 wxPyEndAllowThreads(__tstate);
5659 if (PyErr_Occurred()) SWIG_fail;
5660 }
5661 resultobj = SWIG_Py_Void();
5662 return resultobj;
5663fail:
5664 return NULL;
5665}
5666
5667
5668SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5669 PyObject *resultobj = 0;
5670 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5671 bool arg2 ;
5672 long arg3 = (long) wxFULLSCREEN_ALL ;
5673 bool result;
5674 void *argp1 = 0 ;
5675 int res1 = 0 ;
5676 bool val2 ;
5677 int ecode2 = 0 ;
5678 long val3 ;
5679 int ecode3 = 0 ;
5680 PyObject * obj0 = 0 ;
5681 PyObject * obj1 = 0 ;
5682 PyObject * obj2 = 0 ;
5683 char * kwnames[] = {
5684 (char *) "self",(char *) "show",(char *) "style", NULL
5685 };
5686
5687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5689 if (!SWIG_IsOK(res1)) {
5690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5691 }
5692 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5693 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5694 if (!SWIG_IsOK(ecode2)) {
5695 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5696 }
5697 arg2 = static_cast< bool >(val2);
5698 if (obj2) {
5699 ecode3 = SWIG_AsVal_long(obj2, &val3);
5700 if (!SWIG_IsOK(ecode3)) {
5701 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5702 }
5703 arg3 = static_cast< long >(val3);
5704 }
5705 {
5706 PyThreadState* __tstate = wxPyBeginAllowThreads();
5707 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5708 wxPyEndAllowThreads(__tstate);
5709 if (PyErr_Occurred()) SWIG_fail;
5710 }
5711 {
5712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5713 }
5714 return resultobj;
5715fail:
5716 return NULL;
f20a2e1f
RD
5717}
5718
5719
1bd55598
RD
5720SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5721 PyObject *resultobj = 0;
5722 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5723 bool result;
5724 void *argp1 = 0 ;
5725 int res1 = 0 ;
5726 PyObject *swig_obj[1] ;
5727
5728 if (!args) SWIG_fail;
5729 swig_obj[0] = args;
5730 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5731 if (!SWIG_IsOK(res1)) {
5732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5733 }
5734 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5735 {
5736 PyThreadState* __tstate = wxPyBeginAllowThreads();
5737 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5738 wxPyEndAllowThreads(__tstate);
5739 if (PyErr_Occurred()) SWIG_fail;
5740 }
5741 {
5742 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5743 }
5744 return resultobj;
5745fail:
5746 return NULL;
5747}
5748
5749
5750SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5751 PyObject *resultobj = 0;
5752 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5753 wxString *arg2 = 0 ;
5754 void *argp1 = 0 ;
5755 int res1 = 0 ;
5756 bool temp2 = false ;
5757 PyObject * obj0 = 0 ;
5758 PyObject * obj1 = 0 ;
5759 char * kwnames[] = {
5760 (char *) "self",(char *) "title", NULL
5761 };
5762
5763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5765 if (!SWIG_IsOK(res1)) {
5766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5767 }
5768 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5769 {
5770 arg2 = wxString_in_helper(obj1);
5771 if (arg2 == NULL) SWIG_fail;
5772 temp2 = true;
5773 }
5774 {
5775 PyThreadState* __tstate = wxPyBeginAllowThreads();
5776 (arg1)->SetTitle((wxString const &)*arg2);
5777 wxPyEndAllowThreads(__tstate);
5778 if (PyErr_Occurred()) SWIG_fail;
5779 }
5780 resultobj = SWIG_Py_Void();
5781 {
5782 if (temp2)
5783 delete arg2;
5784 }
5785 return resultobj;
5786fail:
5787 {
5788 if (temp2)
5789 delete arg2;
5790 }
5791 return NULL;
d55e5bfc
RD
5792}
5793
5794
1bd55598
RD
5795SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5796 PyObject *resultobj = 0;
5797 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5798 wxString result;
5799 void *argp1 = 0 ;
5800 int res1 = 0 ;
5801 PyObject *swig_obj[1] ;
5802
5803 if (!args) SWIG_fail;
5804 swig_obj[0] = args;
5805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5806 if (!SWIG_IsOK(res1)) {
5807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5808 }
5809 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5810 {
5811 PyThreadState* __tstate = wxPyBeginAllowThreads();
5812 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5813 wxPyEndAllowThreads(__tstate);
5814 if (PyErr_Occurred()) SWIG_fail;
5815 }
5816 {
d55e5bfc 5817#if wxUSE_UNICODE
1bd55598 5818 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 5819#else
1bd55598 5820 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc 5821#endif
1bd55598
RD
5822 }
5823 return resultobj;
5824fail:
5825 return NULL;
5826}
5827
5828
70d7cb34
RD
5829SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5830 PyObject *resultobj = 0;
5831 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5832 bool arg2 ;
5833 bool result;
5834 void *argp1 = 0 ;
5835 int res1 = 0 ;
5836 bool val2 ;
5837 int ecode2 = 0 ;
5838 PyObject * obj0 = 0 ;
5839 PyObject * obj1 = 0 ;
5840 char * kwnames[] = {
5841 (char *) "self",(char *) "enable", NULL
5842 };
5843
5844 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
5845 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5846 if (!SWIG_IsOK(res1)) {
5847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5848 }
5849 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5850 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5851 if (!SWIG_IsOK(ecode2)) {
5852 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5853 }
5854 arg2 = static_cast< bool >(val2);
5855 {
5856 PyThreadState* __tstate = wxPyBeginAllowThreads();
5857 result = (bool)(arg1)->EnableCloseButton(arg2);
5858 wxPyEndAllowThreads(__tstate);
5859 if (PyErr_Occurred()) SWIG_fail;
5860 }
5861 {
5862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5863 }
5864 return resultobj;
5865fail:
5866 return NULL;
5867}
5868
5869
1bd55598
RD
5870SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5871 PyObject *resultobj = 0;
5872 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5873 wxRegion *arg2 = 0 ;
5874 bool result;
5875 void *argp1 = 0 ;
5876 int res1 = 0 ;
5877 void *argp2 = 0 ;
5878 int res2 = 0 ;
5879 PyObject * obj0 = 0 ;
5880 PyObject * obj1 = 0 ;
5881 char * kwnames[] = {
5882 (char *) "self",(char *) "region", NULL
5883 };
5884
5885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5887 if (!SWIG_IsOK(res1)) {
5888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5889 }
5890 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5891 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5892 if (!SWIG_IsOK(res2)) {
5893 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5894 }
5895 if (!argp2) {
5896 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5897 }
5898 arg2 = reinterpret_cast< wxRegion * >(argp2);
5899 {
5900 PyThreadState* __tstate = wxPyBeginAllowThreads();
5901 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5902 wxPyEndAllowThreads(__tstate);
5903 if (PyErr_Occurred()) SWIG_fail;
5904 }
5905 {
5906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5907 }
5908 return resultobj;
5909fail:
5910 return NULL;
5911}
5912
5913
5914SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5915 PyObject *resultobj = 0;
5916 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5917 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5918 void *argp1 = 0 ;
5919 int res1 = 0 ;
5920 int val2 ;
5921 int ecode2 = 0 ;
5922 PyObject * obj0 = 0 ;
5923 PyObject * obj1 = 0 ;
5924 char * kwnames[] = {
5925 (char *) "self",(char *) "flags", NULL
5926 };
5927
5928 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5929 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5930 if (!SWIG_IsOK(res1)) {
5931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5932 }
5933 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5934 if (obj1) {
5935 ecode2 = SWIG_AsVal_int(obj1, &val2);
5936 if (!SWIG_IsOK(ecode2)) {
5937 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5938 }
5939 arg2 = static_cast< int >(val2);
5940 }
5941 {
5942 PyThreadState* __tstate = wxPyBeginAllowThreads();
5943 (arg1)->RequestUserAttention(arg2);
5944 wxPyEndAllowThreads(__tstate);
5945 if (PyErr_Occurred()) SWIG_fail;
5946 }
5947 resultobj = SWIG_Py_Void();
5948 return resultobj;
5949fail:
5950 return NULL;
d55e5bfc
RD
5951}
5952
5953
1bd55598
RD
5954SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5955 PyObject *resultobj = 0;
5956 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5957 bool result;
5958 void *argp1 = 0 ;
5959 int res1 = 0 ;
5960 PyObject *swig_obj[1] ;
5961
5962 if (!args) SWIG_fail;
5963 swig_obj[0] = args;
5964 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5965 if (!SWIG_IsOK(res1)) {
5966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5967 }
5968 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5969 {
5970 PyThreadState* __tstate = wxPyBeginAllowThreads();
5971 result = (bool)(arg1)->IsActive();
5972 wxPyEndAllowThreads(__tstate);
5973 if (PyErr_Occurred()) SWIG_fail;
5974 }
5975 {
5976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5977 }
5978 return resultobj;
5979fail:
5980 return NULL;
5981}
5982
5983
5984SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5985 PyObject *resultobj = 0;
5986 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5987 bool arg2 ;
5988 void *argp1 = 0 ;
5989 int res1 = 0 ;
5990 bool val2 ;
5991 int ecode2 = 0 ;
5992 PyObject * obj0 = 0 ;
5993 PyObject * obj1 = 0 ;
5994 char * kwnames[] = {
5995 (char *) "self",(char *) "on", NULL
5996 };
5997
5998 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6000 if (!SWIG_IsOK(res1)) {
6001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6002 }
6003 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6004 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6005 if (!SWIG_IsOK(ecode2)) {
6006 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
6007 }
6008 arg2 = static_cast< bool >(val2);
6009 {
6010 PyThreadState* __tstate = wxPyBeginAllowThreads();
6011 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
6012 wxPyEndAllowThreads(__tstate);
6013 if (PyErr_Occurred()) SWIG_fail;
6014 }
6015 resultobj = SWIG_Py_Void();
6016 return resultobj;
6017fail:
6018 return NULL;
d55e5bfc
RD
6019}
6020
6021
1bd55598
RD
6022SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6023 PyObject *resultobj = 0;
6024 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6025 bool result;
6026 void *argp1 = 0 ;
6027 int res1 = 0 ;
6028 PyObject *swig_obj[1] ;
6029
6030 if (!args) SWIG_fail;
6031 swig_obj[0] = args;
6032 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6033 if (!SWIG_IsOK(res1)) {
6034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6035 }
6036 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6037 {
6038 PyThreadState* __tstate = wxPyBeginAllowThreads();
6039 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
6040 wxPyEndAllowThreads(__tstate);
6041 if (PyErr_Occurred()) SWIG_fail;
6042 }
6043 {
6044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6045 }
6046 return resultobj;
6047fail:
6048 return NULL;
6049}
6050
6051
6052SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6053 PyObject *resultobj = 0;
6054 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6055 int arg2 = (int) wxBOTH ;
6056 void *argp1 = 0 ;
6057 int res1 = 0 ;
6058 int val2 ;
6059 int ecode2 = 0 ;
6060 PyObject * obj0 = 0 ;
6061 PyObject * obj1 = 0 ;
6062 char * kwnames[] = {
6063 (char *) "self",(char *) "dir", NULL
6064 };
6065
6066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6068 if (!SWIG_IsOK(res1)) {
6069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6070 }
6071 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6072 if (obj1) {
6073 ecode2 = SWIG_AsVal_int(obj1, &val2);
6074 if (!SWIG_IsOK(ecode2)) {
6075 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6076 }
6077 arg2 = static_cast< int >(val2);
6078 }
6079 {
6080 PyThreadState* __tstate = wxPyBeginAllowThreads();
6081 (arg1)->CenterOnScreen(arg2);
6082 wxPyEndAllowThreads(__tstate);
6083 if (PyErr_Occurred()) SWIG_fail;
6084 }
6085 resultobj = SWIG_Py_Void();
6086 return resultobj;
6087fail:
6088 return NULL;
6089}
6090
6091
1eeb270e
RD
6092SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6093 PyObject *resultobj = 0;
6094 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6095 wxWindow *result = 0 ;
6096 void *argp1 = 0 ;
6097 int res1 = 0 ;
6098 PyObject *swig_obj[1] ;
6099
6100 if (!args) SWIG_fail;
6101 swig_obj[0] = args;
6102 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6103 if (!SWIG_IsOK(res1)) {
6104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6105 }
6106 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6107 {
6108 PyThreadState* __tstate = wxPyBeginAllowThreads();
6109 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6110 wxPyEndAllowThreads(__tstate);
6111 if (PyErr_Occurred()) SWIG_fail;
6112 }
6113 {
6114 resultobj = wxPyMake_wxObject(result, 0);
6115 }
6116 return resultobj;
6117fail:
6118 return NULL;
6119}
6120
6121
6122SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6123 PyObject *resultobj = 0;
6124 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6125 wxWindow *arg2 = (wxWindow *) 0 ;
6126 wxWindow *result = 0 ;
6127 void *argp1 = 0 ;
6128 int res1 = 0 ;
6129 void *argp2 = 0 ;
6130 int res2 = 0 ;
6131 PyObject * obj0 = 0 ;
6132 PyObject * obj1 = 0 ;
6133 char * kwnames[] = {
6134 (char *) "self",(char *) "child", NULL
6135 };
6136
6137 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6138 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6139 if (!SWIG_IsOK(res1)) {
6140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6141 }
6142 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6143 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6144 if (!SWIG_IsOK(res2)) {
6145 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6146 }
6147 arg2 = reinterpret_cast< wxWindow * >(argp2);
6148 {
6149 PyThreadState* __tstate = wxPyBeginAllowThreads();
6150 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6151 wxPyEndAllowThreads(__tstate);
6152 if (PyErr_Occurred()) SWIG_fail;
6153 }
6154 {
6155 resultobj = wxPyMake_wxObject(result, 0);
6156 }
6157 return resultobj;
6158fail:
6159 return NULL;
6160}
6161
6162
6163SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6164 PyObject *resultobj = 0;
6165 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6166 wxWindow *arg2 = (wxWindow *) 0 ;
6167 void *argp1 = 0 ;
6168 int res1 = 0 ;
6169 void *argp2 = 0 ;
6170 int res2 = 0 ;
6171 PyObject * obj0 = 0 ;
6172 PyObject * obj1 = 0 ;
6173 char * kwnames[] = {
6174 (char *) "self",(char *) "win", NULL
6175 };
6176
6177 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6178 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6179 if (!SWIG_IsOK(res1)) {
6180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6181 }
6182 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6183 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6184 if (!SWIG_IsOK(res2)) {
6185 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6186 }
6187 arg2 = reinterpret_cast< wxWindow * >(argp2);
6188 {
6189 PyThreadState* __tstate = wxPyBeginAllowThreads();
6190 (arg1)->SetTmpDefaultItem(arg2);
6191 wxPyEndAllowThreads(__tstate);
6192 if (PyErr_Occurred()) SWIG_fail;
6193 }
6194 resultobj = SWIG_Py_Void();
6195 return resultobj;
6196fail:
6197 return NULL;
6198}
6199
6200
6201SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6202 PyObject *resultobj = 0;
6203 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6204 wxWindow *result = 0 ;
6205 void *argp1 = 0 ;
6206 int res1 = 0 ;
6207 PyObject *swig_obj[1] ;
6208
6209 if (!args) SWIG_fail;
6210 swig_obj[0] = args;
6211 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6212 if (!SWIG_IsOK(res1)) {
6213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6214 }
6215 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6216 {
6217 PyThreadState* __tstate = wxPyBeginAllowThreads();
6218 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6219 wxPyEndAllowThreads(__tstate);
6220 if (PyErr_Occurred()) SWIG_fail;
6221 }
6222 {
6223 resultobj = wxPyMake_wxObject(result, 0);
6224 }
6225 return resultobj;
6226fail:
6227 return NULL;
6228}
6229
6230
1bd55598
RD
6231SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6232 PyObject *obj;
6233 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6234 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6235 return SWIG_Py_Void();
6236}
6237
6238SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6239 PyObject *resultobj = 0;
6240 wxWindow *arg1 = (wxWindow *) 0 ;
6241 int arg2 = (int) (int)-1 ;
6242 wxString const &arg3_defvalue = wxPyEmptyString ;
6243 wxString *arg3 = (wxString *) &arg3_defvalue ;
6244 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6245 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6246 wxSize const &arg5_defvalue = wxDefaultSize ;
6247 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6248 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6249 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6250 wxString *arg7 = (wxString *) &arg7_defvalue ;
6251 wxFrame *result = 0 ;
6252 void *argp1 = 0 ;
6253 int res1 = 0 ;
6254 int val2 ;
6255 int ecode2 = 0 ;
6256 bool temp3 = false ;
6257 wxPoint temp4 ;
6258 wxSize temp5 ;
6259 long val6 ;
6260 int ecode6 = 0 ;
6261 bool temp7 = false ;
6262 PyObject * obj0 = 0 ;
6263 PyObject * obj1 = 0 ;
6264 PyObject * obj2 = 0 ;
6265 PyObject * obj3 = 0 ;
6266 PyObject * obj4 = 0 ;
6267 PyObject * obj5 = 0 ;
6268 PyObject * obj6 = 0 ;
6269 char * kwnames[] = {
6270 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6271 };
6272
6273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6275 if (!SWIG_IsOK(res1)) {
6276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6277 }
6278 arg1 = reinterpret_cast< wxWindow * >(argp1);
6279 if (obj1) {
6280 ecode2 = SWIG_AsVal_int(obj1, &val2);
6281 if (!SWIG_IsOK(ecode2)) {
6282 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6283 }
6284 arg2 = static_cast< int >(val2);
6285 }
6286 if (obj2) {
d55e5bfc 6287 {
1bd55598
RD
6288 arg3 = wxString_in_helper(obj2);
6289 if (arg3 == NULL) SWIG_fail;
6290 temp3 = true;
d55e5bfc 6291 }
1bd55598
RD
6292 }
6293 if (obj3) {
d55e5bfc 6294 {
1bd55598
RD
6295 arg4 = &temp4;
6296 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 6297 }
1bd55598
RD
6298 }
6299 if (obj4) {
d55e5bfc 6300 {
1bd55598
RD
6301 arg5 = &temp5;
6302 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 6303 }
1bd55598
RD
6304 }
6305 if (obj5) {
6306 ecode6 = SWIG_AsVal_long(obj5, &val6);
6307 if (!SWIG_IsOK(ecode6)) {
6308 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6309 }
6310 arg6 = static_cast< long >(val6);
6311 }
6312 if (obj6) {
d55e5bfc 6313 {
1bd55598
RD
6314 arg7 = wxString_in_helper(obj6);
6315 if (arg7 == NULL) SWIG_fail;
6316 temp7 = true;
6317 }
6318 }
6319 {
6320 if (!wxPyCheckForApp()) SWIG_fail;
6321 PyThreadState* __tstate = wxPyBeginAllowThreads();
6322 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6323 wxPyEndAllowThreads(__tstate);
6324 if (PyErr_Occurred()) SWIG_fail;
6325 }
6326 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6327 {
6328 if (temp3)
6329 delete arg3;
6330 }
6331 {
6332 if (temp7)
6333 delete arg7;
6334 }
6335 return resultobj;
6336fail:
6337 {
6338 if (temp3)
6339 delete arg3;
6340 }
6341 {
6342 if (temp7)
6343 delete arg7;
6344 }
6345 return NULL;
d55e5bfc
RD
6346}
6347
6348
1bd55598
RD
6349SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6350 PyObject *resultobj = 0;
6351 wxFrame *result = 0 ;
6352
6353 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6354 {
6355 if (!wxPyCheckForApp()) SWIG_fail;
6356 PyThreadState* __tstate = wxPyBeginAllowThreads();
6357 result = (wxFrame *)new wxFrame();
6358 wxPyEndAllowThreads(__tstate);
6359 if (PyErr_Occurred()) SWIG_fail;
6360 }
6361 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6362 return resultobj;
6363fail:
6364 return NULL;
6365}
6366
6367
6368SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6369 PyObject *resultobj = 0;
6370 wxFrame *arg1 = (wxFrame *) 0 ;
6371 wxWindow *arg2 = (wxWindow *) 0 ;
6372 int arg3 = (int) (int)-1 ;
6373 wxString const &arg4_defvalue = wxPyEmptyString ;
6374 wxString *arg4 = (wxString *) &arg4_defvalue ;
6375 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6376 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6377 wxSize const &arg6_defvalue = wxDefaultSize ;
6378 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6379 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6380 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6381 wxString *arg8 = (wxString *) &arg8_defvalue ;
6382 bool result;
6383 void *argp1 = 0 ;
6384 int res1 = 0 ;
6385 void *argp2 = 0 ;
6386 int res2 = 0 ;
6387 int val3 ;
6388 int ecode3 = 0 ;
6389 bool temp4 = false ;
6390 wxPoint temp5 ;
6391 wxSize temp6 ;
6392 long val7 ;
6393 int ecode7 = 0 ;
6394 bool temp8 = false ;
6395 PyObject * obj0 = 0 ;
6396 PyObject * obj1 = 0 ;
6397 PyObject * obj2 = 0 ;
6398 PyObject * obj3 = 0 ;
6399 PyObject * obj4 = 0 ;
6400 PyObject * obj5 = 0 ;
6401 PyObject * obj6 = 0 ;
6402 PyObject * obj7 = 0 ;
6403 char * kwnames[] = {
6404 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6405 };
6406
6407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6409 if (!SWIG_IsOK(res1)) {
6410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6411 }
6412 arg1 = reinterpret_cast< wxFrame * >(argp1);
6413 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6414 if (!SWIG_IsOK(res2)) {
6415 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6416 }
6417 arg2 = reinterpret_cast< wxWindow * >(argp2);
6418 if (obj2) {
6419 ecode3 = SWIG_AsVal_int(obj2, &val3);
6420 if (!SWIG_IsOK(ecode3)) {
6421 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6422 }
6423 arg3 = static_cast< int >(val3);
6424 }
6425 if (obj3) {
d55e5bfc 6426 {
1bd55598
RD
6427 arg4 = wxString_in_helper(obj3);
6428 if (arg4 == NULL) SWIG_fail;
6429 temp4 = true;
d55e5bfc 6430 }
1bd55598
RD
6431 }
6432 if (obj4) {
d55e5bfc 6433 {
1bd55598
RD
6434 arg5 = &temp5;
6435 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6436 }
6437 }
6438 if (obj5) {
d55e5bfc 6439 {
1bd55598
RD
6440 arg6 = &temp6;
6441 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 6442 }
1bd55598
RD
6443 }
6444 if (obj6) {
6445 ecode7 = SWIG_AsVal_long(obj6, &val7);
6446 if (!SWIG_IsOK(ecode7)) {
6447 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6448 }
6449 arg7 = static_cast< long >(val7);
6450 }
6451 if (obj7) {
d55e5bfc 6452 {
1bd55598
RD
6453 arg8 = wxString_in_helper(obj7);
6454 if (arg8 == NULL) SWIG_fail;
6455 temp8 = true;
d55e5bfc 6456 }
1bd55598
RD
6457 }
6458 {
6459 PyThreadState* __tstate = wxPyBeginAllowThreads();
6460 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6461 wxPyEndAllowThreads(__tstate);
6462 if (PyErr_Occurred()) SWIG_fail;
6463 }
6464 {
6465 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6466 }
6467 {
6468 if (temp4)
6469 delete arg4;
6470 }
6471 {
6472 if (temp8)
6473 delete arg8;
6474 }
6475 return resultobj;
6476fail:
6477 {
6478 if (temp4)
6479 delete arg4;
6480 }
6481 {
6482 if (temp8)
6483 delete arg8;
6484 }
6485 return NULL;
d55e5bfc
RD
6486}
6487
6488
1bd55598
RD
6489SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6490 PyObject *resultobj = 0;
6491 wxFrame *arg1 = (wxFrame *) 0 ;
6492 void *argp1 = 0 ;
6493 int res1 = 0 ;
6494 PyObject *swig_obj[1] ;
6495
6496 if (!args) SWIG_fail;
6497 swig_obj[0] = args;
6498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6499 if (!SWIG_IsOK(res1)) {
6500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6501 }
6502 arg1 = reinterpret_cast< wxFrame * >(argp1);
6503 {
6504 PyThreadState* __tstate = wxPyBeginAllowThreads();
6505 (arg1)->SendSizeEvent();
6506 wxPyEndAllowThreads(__tstate);
6507 if (PyErr_Occurred()) SWIG_fail;
6508 }
6509 resultobj = SWIG_Py_Void();
6510 return resultobj;
6511fail:
6512 return NULL;
6513}
6514
6515
6516SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6517 PyObject *resultobj = 0;
6518 wxFrame *arg1 = (wxFrame *) 0 ;
6519 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6520 void *argp1 = 0 ;
6521 int res1 = 0 ;
6522 void *argp2 = 0 ;
6523 int res2 = 0 ;
6524 PyObject * obj0 = 0 ;
6525 PyObject * obj1 = 0 ;
6526 char * kwnames[] = {
6527 (char *) "self",(char *) "menubar", NULL
6528 };
6529
6530 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6531 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6532 if (!SWIG_IsOK(res1)) {
6533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6534 }
6535 arg1 = reinterpret_cast< wxFrame * >(argp1);
6536 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6537 if (!SWIG_IsOK(res2)) {
6538 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6539 }
6540 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6541 {
6542 PyThreadState* __tstate = wxPyBeginAllowThreads();
6543 (arg1)->SetMenuBar(arg2);
6544 wxPyEndAllowThreads(__tstate);
6545 if (PyErr_Occurred()) SWIG_fail;
6546 }
6547 resultobj = SWIG_Py_Void();
6548 return resultobj;
6549fail:
6550 return NULL;
d55e5bfc
RD
6551}
6552
6553
1bd55598
RD
6554SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6555 PyObject *resultobj = 0;
6556 wxFrame *arg1 = (wxFrame *) 0 ;
6557 wxMenuBar *result = 0 ;
6558 void *argp1 = 0 ;
6559 int res1 = 0 ;
6560 PyObject *swig_obj[1] ;
6561
6562 if (!args) SWIG_fail;
6563 swig_obj[0] = args;
6564 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6565 if (!SWIG_IsOK(res1)) {
6566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6567 }
6568 arg1 = reinterpret_cast< wxFrame * >(argp1);
6569 {
6570 PyThreadState* __tstate = wxPyBeginAllowThreads();
6571 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6572 wxPyEndAllowThreads(__tstate);
6573 if (PyErr_Occurred()) SWIG_fail;
6574 }
6575 {
6576 resultobj = wxPyMake_wxObject(result, 0);
6577 }
6578 return resultobj;
6579fail:
6580 return NULL;
6581}
6582
6583
6584SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6585 PyObject *resultobj = 0;
6586 wxFrame *arg1 = (wxFrame *) 0 ;
6587 int arg2 ;
6588 bool result;
6589 void *argp1 = 0 ;
6590 int res1 = 0 ;
6591 int val2 ;
6592 int ecode2 = 0 ;
6593 PyObject * obj0 = 0 ;
6594 PyObject * obj1 = 0 ;
6595 char * kwnames[] = {
6596 (char *) "self",(char *) "winid", NULL
6597 };
6598
6599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6601 if (!SWIG_IsOK(res1)) {
6602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6603 }
6604 arg1 = reinterpret_cast< wxFrame * >(argp1);
6605 ecode2 = SWIG_AsVal_int(obj1, &val2);
6606 if (!SWIG_IsOK(ecode2)) {
6607 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6608 }
6609 arg2 = static_cast< int >(val2);
6610 {
6611 PyThreadState* __tstate = wxPyBeginAllowThreads();
6612 result = (bool)(arg1)->ProcessCommand(arg2);
6613 wxPyEndAllowThreads(__tstate);
6614 if (PyErr_Occurred()) SWIG_fail;
6615 }
6616 {
6617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6618 }
6619 return resultobj;
6620fail:
6621 return NULL;
6622}
6623
6624
6625SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6626 PyObject *resultobj = 0;
6627 wxFrame *arg1 = (wxFrame *) 0 ;
6628 int arg2 = (int) 1 ;
6629 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6630 int arg4 = (int) 0 ;
6631 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6632 wxString *arg5 = (wxString *) &arg5_defvalue ;
6633 wxStatusBar *result = 0 ;
6634 void *argp1 = 0 ;
6635 int res1 = 0 ;
6636 int val2 ;
6637 int ecode2 = 0 ;
6638 long val3 ;
6639 int ecode3 = 0 ;
6640 int val4 ;
6641 int ecode4 = 0 ;
6642 bool temp5 = false ;
6643 PyObject * obj0 = 0 ;
6644 PyObject * obj1 = 0 ;
6645 PyObject * obj2 = 0 ;
6646 PyObject * obj3 = 0 ;
6647 PyObject * obj4 = 0 ;
6648 char * kwnames[] = {
6649 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6650 };
6651
6652 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6653 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6654 if (!SWIG_IsOK(res1)) {
6655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6656 }
6657 arg1 = reinterpret_cast< wxFrame * >(argp1);
6658 if (obj1) {
6659 ecode2 = SWIG_AsVal_int(obj1, &val2);
6660 if (!SWIG_IsOK(ecode2)) {
6661 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6662 }
6663 arg2 = static_cast< int >(val2);
6664 }
6665 if (obj2) {
6666 ecode3 = SWIG_AsVal_long(obj2, &val3);
6667 if (!SWIG_IsOK(ecode3)) {
6668 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6669 }
6670 arg3 = static_cast< long >(val3);
6671 }
6672 if (obj3) {
6673 ecode4 = SWIG_AsVal_int(obj3, &val4);
6674 if (!SWIG_IsOK(ecode4)) {
6675 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6676 }
6677 arg4 = static_cast< int >(val4);
6678 }
6679 if (obj4) {
d55e5bfc 6680 {
1bd55598
RD
6681 arg5 = wxString_in_helper(obj4);
6682 if (arg5 == NULL) SWIG_fail;
6683 temp5 = true;
d55e5bfc 6684 }
1bd55598
RD
6685 }
6686 {
6687 PyThreadState* __tstate = wxPyBeginAllowThreads();
6688 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6689 wxPyEndAllowThreads(__tstate);
6690 if (PyErr_Occurred()) SWIG_fail;
6691 }
6692 {
6693 resultobj = wxPyMake_wxObject(result, (bool)0);
6694 }
6695 {
6696 if (temp5)
6697 delete arg5;
6698 }
6699 return resultobj;
6700fail:
6701 {
6702 if (temp5)
6703 delete arg5;
6704 }
6705 return NULL;
d55e5bfc
RD
6706}
6707
6708
1bd55598
RD
6709SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6710 PyObject *resultobj = 0;
6711 wxFrame *arg1 = (wxFrame *) 0 ;
6712 wxStatusBar *result = 0 ;
6713 void *argp1 = 0 ;
6714 int res1 = 0 ;
6715 PyObject *swig_obj[1] ;
6716
6717 if (!args) SWIG_fail;
6718 swig_obj[0] = args;
6719 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6720 if (!SWIG_IsOK(res1)) {
6721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6722 }
6723 arg1 = reinterpret_cast< wxFrame * >(argp1);
6724 {
6725 PyThreadState* __tstate = wxPyBeginAllowThreads();
6726 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6727 wxPyEndAllowThreads(__tstate);
6728 if (PyErr_Occurred()) SWIG_fail;
6729 }
6730 {
6731 resultobj = wxPyMake_wxObject(result, (bool)0);
6732 }
6733 return resultobj;
6734fail:
6735 return NULL;
6736}
6737
6738
6739SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6740 PyObject *resultobj = 0;
6741 wxFrame *arg1 = (wxFrame *) 0 ;
6742 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6743 void *argp1 = 0 ;
6744 int res1 = 0 ;
6745 void *argp2 = 0 ;
6746 int res2 = 0 ;
6747 PyObject * obj0 = 0 ;
6748 PyObject * obj1 = 0 ;
6749 char * kwnames[] = {
6750 (char *) "self",(char *) "statBar", NULL
6751 };
6752
6753 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6754 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6755 if (!SWIG_IsOK(res1)) {
6756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6757 }
6758 arg1 = reinterpret_cast< wxFrame * >(argp1);
6759 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6760 if (!SWIG_IsOK(res2)) {
6761 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6762 }
6763 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6764 {
6765 PyThreadState* __tstate = wxPyBeginAllowThreads();
6766 (arg1)->SetStatusBar(arg2);
6767 wxPyEndAllowThreads(__tstate);
6768 if (PyErr_Occurred()) SWIG_fail;
6769 }
6770 resultobj = SWIG_Py_Void();
6771 return resultobj;
6772fail:
6773 return NULL;
6774}
6775
6776
6777SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6778 PyObject *resultobj = 0;
6779 wxFrame *arg1 = (wxFrame *) 0 ;
6780 wxString *arg2 = 0 ;
6781 int arg3 = (int) 0 ;
6782 void *argp1 = 0 ;
6783 int res1 = 0 ;
6784 bool temp2 = false ;
6785 int val3 ;
6786 int ecode3 = 0 ;
6787 PyObject * obj0 = 0 ;
6788 PyObject * obj1 = 0 ;
6789 PyObject * obj2 = 0 ;
6790 char * kwnames[] = {
6791 (char *) "self",(char *) "text",(char *) "number", NULL
6792 };
6793
6794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6796 if (!SWIG_IsOK(res1)) {
6797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6798 }
6799 arg1 = reinterpret_cast< wxFrame * >(argp1);
6800 {
6801 arg2 = wxString_in_helper(obj1);
6802 if (arg2 == NULL) SWIG_fail;
6803 temp2 = true;
6804 }
6805 if (obj2) {
6806 ecode3 = SWIG_AsVal_int(obj2, &val3);
6807 if (!SWIG_IsOK(ecode3)) {
6808 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6809 }
6810 arg3 = static_cast< int >(val3);
6811 }
6812 {
6813 PyThreadState* __tstate = wxPyBeginAllowThreads();
6814 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6815 wxPyEndAllowThreads(__tstate);
6816 if (PyErr_Occurred()) SWIG_fail;
6817 }
6818 resultobj = SWIG_Py_Void();
6819 {
6820 if (temp2)
6821 delete arg2;
6822 }
6823 return resultobj;
6824fail:
6825 {
6826 if (temp2)
6827 delete arg2;
6828 }
6829 return NULL;
d55e5bfc
RD
6830}
6831
6832
1bd55598
RD
6833SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6834 PyObject *resultobj = 0;
6835 wxFrame *arg1 = (wxFrame *) 0 ;
6836 int arg2 ;
6837 int *arg3 = (int *) 0 ;
6838 void *argp1 = 0 ;
6839 int res1 = 0 ;
6840 PyObject * obj0 = 0 ;
6841 PyObject * obj1 = 0 ;
6842 char * kwnames[] = {
6843 (char *) "self",(char *) "widths", NULL
6844 };
6845
6846 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6847 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6848 if (!SWIG_IsOK(res1)) {
6849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6850 }
6851 arg1 = reinterpret_cast< wxFrame * >(argp1);
6852 {
6853 arg2 = PyList_Size(obj1);
6854 arg3 = int_LIST_helper(obj1);
6855 if (arg3 == NULL) SWIG_fail;
6856 }
6857 {
6858 PyThreadState* __tstate = wxPyBeginAllowThreads();
6859 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6860 wxPyEndAllowThreads(__tstate);
6861 if (PyErr_Occurred()) SWIG_fail;
6862 }
6863 resultobj = SWIG_Py_Void();
6864 {
6865 if (arg3) delete [] arg3;
6866 }
6867 return resultobj;
6868fail:
6869 {
6870 if (arg3) delete [] arg3;
6871 }
6872 return NULL;
6873}
6874
6875
6876SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6877 PyObject *resultobj = 0;
6878 wxFrame *arg1 = (wxFrame *) 0 ;
6879 wxString *arg2 = 0 ;
6880 int arg3 = (int) 0 ;
6881 void *argp1 = 0 ;
6882 int res1 = 0 ;
6883 bool temp2 = false ;
6884 int val3 ;
6885 int ecode3 = 0 ;
6886 PyObject * obj0 = 0 ;
6887 PyObject * obj1 = 0 ;
6888 PyObject * obj2 = 0 ;
6889 char * kwnames[] = {
6890 (char *) "self",(char *) "text",(char *) "number", NULL
6891 };
6892
6893 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6894 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6895 if (!SWIG_IsOK(res1)) {
6896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6897 }
6898 arg1 = reinterpret_cast< wxFrame * >(argp1);
6899 {
6900 arg2 = wxString_in_helper(obj1);
6901 if (arg2 == NULL) SWIG_fail;
6902 temp2 = true;
6903 }
6904 if (obj2) {
6905 ecode3 = SWIG_AsVal_int(obj2, &val3);
6906 if (!SWIG_IsOK(ecode3)) {
6907 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6908 }
6909 arg3 = static_cast< int >(val3);
6910 }
6911 {
6912 PyThreadState* __tstate = wxPyBeginAllowThreads();
6913 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6914 wxPyEndAllowThreads(__tstate);
6915 if (PyErr_Occurred()) SWIG_fail;
6916 }
6917 resultobj = SWIG_Py_Void();
6918 {
6919 if (temp2)
6920 delete arg2;
6921 }
6922 return resultobj;
6923fail:
6924 {
6925 if (temp2)
6926 delete arg2;
6927 }
6928 return NULL;
6929}
6930
6931
6932SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6933 PyObject *resultobj = 0;
6934 wxFrame *arg1 = (wxFrame *) 0 ;
6935 int arg2 = (int) 0 ;
6936 void *argp1 = 0 ;
6937 int res1 = 0 ;
6938 int val2 ;
6939 int ecode2 = 0 ;
6940 PyObject * obj0 = 0 ;
6941 PyObject * obj1 = 0 ;
6942 char * kwnames[] = {
6943 (char *) "self",(char *) "number", NULL
6944 };
6945
6946 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6948 if (!SWIG_IsOK(res1)) {
6949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6950 }
6951 arg1 = reinterpret_cast< wxFrame * >(argp1);
6952 if (obj1) {
6953 ecode2 = SWIG_AsVal_int(obj1, &val2);
6954 if (!SWIG_IsOK(ecode2)) {
6955 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6956 }
6957 arg2 = static_cast< int >(val2);
6958 }
6959 {
6960 PyThreadState* __tstate = wxPyBeginAllowThreads();
6961 (arg1)->PopStatusText(arg2);
6962 wxPyEndAllowThreads(__tstate);
6963 if (PyErr_Occurred()) SWIG_fail;
6964 }
6965 resultobj = SWIG_Py_Void();
6966 return resultobj;
6967fail:
6968 return NULL;
6969}
6970
6971
6972SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6973 PyObject *resultobj = 0;
6974 wxFrame *arg1 = (wxFrame *) 0 ;
6975 int arg2 ;
6976 void *argp1 = 0 ;
6977 int res1 = 0 ;
6978 int val2 ;
6979 int ecode2 = 0 ;
6980 PyObject * obj0 = 0 ;
6981 PyObject * obj1 = 0 ;
6982 char * kwnames[] = {
6983 (char *) "self",(char *) "n", NULL
6984 };
6985
6986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6988 if (!SWIG_IsOK(res1)) {
6989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6990 }
6991 arg1 = reinterpret_cast< wxFrame * >(argp1);
6992 ecode2 = SWIG_AsVal_int(obj1, &val2);
6993 if (!SWIG_IsOK(ecode2)) {
6994 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6995 }
6996 arg2 = static_cast< int >(val2);
6997 {
6998 PyThreadState* __tstate = wxPyBeginAllowThreads();
6999 (arg1)->SetStatusBarPane(arg2);
7000 wxPyEndAllowThreads(__tstate);
7001 if (PyErr_Occurred()) SWIG_fail;
7002 }
7003 resultobj = SWIG_Py_Void();
7004 return resultobj;
7005fail:
7006 return NULL;
d55e5bfc
RD
7007}
7008
7009
1bd55598
RD
7010SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7011 PyObject *resultobj = 0;
7012 wxFrame *arg1 = (wxFrame *) 0 ;
7013 int result;
7014 void *argp1 = 0 ;
7015 int res1 = 0 ;
7016 PyObject *swig_obj[1] ;
7017
7018 if (!args) SWIG_fail;
7019 swig_obj[0] = args;
7020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7021 if (!SWIG_IsOK(res1)) {
7022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7023 }
7024 arg1 = reinterpret_cast< wxFrame * >(argp1);
7025 {
7026 PyThreadState* __tstate = wxPyBeginAllowThreads();
7027 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
7028 wxPyEndAllowThreads(__tstate);
7029 if (PyErr_Occurred()) SWIG_fail;
7030 }
7031 resultobj = SWIG_From_int(static_cast< int >(result));
7032 return resultobj;
7033fail:
7034 return NULL;
7035}
7036
7037
7038SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7039 PyObject *resultobj = 0;
7040 wxFrame *arg1 = (wxFrame *) 0 ;
7041 long arg2 = (long) -1 ;
7042 int arg3 = (int) -1 ;
7043 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
7044 wxString *arg4 = (wxString *) &arg4_defvalue ;
7045 wxToolBar *result = 0 ;
7046 void *argp1 = 0 ;
7047 int res1 = 0 ;
7048 long val2 ;
7049 int ecode2 = 0 ;
7050 int val3 ;
7051 int ecode3 = 0 ;
7052 bool temp4 = false ;
7053 PyObject * obj0 = 0 ;
7054 PyObject * obj1 = 0 ;
7055 PyObject * obj2 = 0 ;
7056 PyObject * obj3 = 0 ;
7057 char * kwnames[] = {
7058 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7059 };
7060
7061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7063 if (!SWIG_IsOK(res1)) {
7064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7065 }
7066 arg1 = reinterpret_cast< wxFrame * >(argp1);
7067 if (obj1) {
7068 ecode2 = SWIG_AsVal_long(obj1, &val2);
7069 if (!SWIG_IsOK(ecode2)) {
7070 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7071 }
7072 arg2 = static_cast< long >(val2);
7073 }
7074 if (obj2) {
7075 ecode3 = SWIG_AsVal_int(obj2, &val3);
7076 if (!SWIG_IsOK(ecode3)) {
7077 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7078 }
7079 arg3 = static_cast< int >(val3);
7080 }
7081 if (obj3) {
d55e5bfc 7082 {
1bd55598
RD
7083 arg4 = wxString_in_helper(obj3);
7084 if (arg4 == NULL) SWIG_fail;
7085 temp4 = true;
d55e5bfc 7086 }
1bd55598
RD
7087 }
7088 {
7089 PyThreadState* __tstate = wxPyBeginAllowThreads();
7090 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7091 wxPyEndAllowThreads(__tstate);
7092 if (PyErr_Occurred()) SWIG_fail;
7093 }
7094 {
7095 resultobj = wxPyMake_wxObject(result, (bool)0);
7096 }
7097 {
7098 if (temp4)
7099 delete arg4;
7100 }
7101 return resultobj;
7102fail:
7103 {
7104 if (temp4)
7105 delete arg4;
7106 }
7107 return NULL;
d55e5bfc
RD
7108}
7109
7110
1bd55598
RD
7111SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7112 PyObject *resultobj = 0;
7113 wxFrame *arg1 = (wxFrame *) 0 ;
7114 wxToolBar *result = 0 ;
7115 void *argp1 = 0 ;
7116 int res1 = 0 ;
7117 PyObject *swig_obj[1] ;
7118
7119 if (!args) SWIG_fail;
7120 swig_obj[0] = args;
7121 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7122 if (!SWIG_IsOK(res1)) {
7123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7124 }
7125 arg1 = reinterpret_cast< wxFrame * >(argp1);
7126 {
7127 PyThreadState* __tstate = wxPyBeginAllowThreads();
7128 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7129 wxPyEndAllowThreads(__tstate);
7130 if (PyErr_Occurred()) SWIG_fail;
7131 }
7132 {
7133 resultobj = wxPyMake_wxObject(result, (bool)0);
7134 }
7135 return resultobj;
7136fail:
7137 return NULL;
7138}
7139
7140
7141SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7142 PyObject *resultobj = 0;
7143 wxFrame *arg1 = (wxFrame *) 0 ;
7144 wxToolBar *arg2 = (wxToolBar *) 0 ;
7145 void *argp1 = 0 ;
7146 int res1 = 0 ;
7147 void *argp2 = 0 ;
7148 int res2 = 0 ;
7149 PyObject * obj0 = 0 ;
7150 PyObject * obj1 = 0 ;
7151 char * kwnames[] = {
7152 (char *) "self",(char *) "toolbar", NULL
7153 };
7154
7155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7157 if (!SWIG_IsOK(res1)) {
7158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7159 }
7160 arg1 = reinterpret_cast< wxFrame * >(argp1);
7161 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7162 if (!SWIG_IsOK(res2)) {
7163 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7164 }
7165 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7166 {
7167 PyThreadState* __tstate = wxPyBeginAllowThreads();
7168 (arg1)->SetToolBar(arg2);
7169 wxPyEndAllowThreads(__tstate);
7170 if (PyErr_Occurred()) SWIG_fail;
7171 }
7172 resultobj = SWIG_Py_Void();
7173 return resultobj;
7174fail:
7175 return NULL;
7176}
7177
7178
7179SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7180 PyObject *resultobj = 0;
7181 wxFrame *arg1 = (wxFrame *) 0 ;
7182 wxString *arg2 = 0 ;
7183 bool arg3 ;
7184 void *argp1 = 0 ;
7185 int res1 = 0 ;
7186 bool temp2 = false ;
7187 bool val3 ;
7188 int ecode3 = 0 ;
7189 PyObject * obj0 = 0 ;
7190 PyObject * obj1 = 0 ;
7191 PyObject * obj2 = 0 ;
7192 char * kwnames[] = {
7193 (char *) "self",(char *) "text",(char *) "show", NULL
7194 };
7195
7196 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7197 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7198 if (!SWIG_IsOK(res1)) {
7199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7200 }
7201 arg1 = reinterpret_cast< wxFrame * >(argp1);
7202 {
7203 arg2 = wxString_in_helper(obj1);
7204 if (arg2 == NULL) SWIG_fail;
7205 temp2 = true;
7206 }
7207 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7208 if (!SWIG_IsOK(ecode3)) {
7209 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7210 }
7211 arg3 = static_cast< bool >(val3);
7212 {
7213 PyThreadState* __tstate = wxPyBeginAllowThreads();
7214 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7215 wxPyEndAllowThreads(__tstate);
7216 if (PyErr_Occurred()) SWIG_fail;
7217 }
7218 resultobj = SWIG_Py_Void();
7219 {
7220 if (temp2)
7221 delete arg2;
7222 }
7223 return resultobj;
7224fail:
7225 {
7226 if (temp2)
7227 delete arg2;
7228 }
7229 return NULL;
7230}
7231
7232
7233SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7234 PyObject *resultobj = 0;
7235 wxFrame *arg1 = (wxFrame *) 0 ;
7236 wxMenu *arg2 = (wxMenu *) NULL ;
7237 void *argp1 = 0 ;
7238 int res1 = 0 ;
7239 void *argp2 = 0 ;
7240 int res2 = 0 ;
7241 PyObject * obj0 = 0 ;
7242 PyObject * obj1 = 0 ;
7243 char * kwnames[] = {
7244 (char *) "self",(char *) "menu", NULL
7245 };
7246
7247 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7248 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7249 if (!SWIG_IsOK(res1)) {
7250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7251 }
7252 arg1 = reinterpret_cast< wxFrame * >(argp1);
7253 if (obj1) {
7254 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7255 if (!SWIG_IsOK(res2)) {
7256 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
d55e5bfc 7257 }
1bd55598
RD
7258 arg2 = reinterpret_cast< wxMenu * >(argp2);
7259 }
7260 {
7261 PyThreadState* __tstate = wxPyBeginAllowThreads();
7262 (arg1)->DoMenuUpdates(arg2);
7263 wxPyEndAllowThreads(__tstate);
7264 if (PyErr_Occurred()) SWIG_fail;
7265 }
7266 resultobj = SWIG_Py_Void();
7267 return resultobj;
7268fail:
7269 return NULL;
7270}
7271
7272
7273SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7274 PyObject *resultobj = 0;
7275 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7276 SwigValueWrapper<wxVisualAttributes > result;
7277 int val1 ;
7278 int ecode1 = 0 ;
7279 PyObject * obj0 = 0 ;
7280 char * kwnames[] = {
7281 (char *) "variant", NULL
7282 };
7283
7284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7285 if (obj0) {
7286 ecode1 = SWIG_AsVal_int(obj0, &val1);
7287 if (!SWIG_IsOK(ecode1)) {
7288 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7289 }
7290 arg1 = static_cast< wxWindowVariant >(val1);
7291 }
7292 {
7293 if (!wxPyCheckForApp()) SWIG_fail;
7294 PyThreadState* __tstate = wxPyBeginAllowThreads();
7295 result = wxFrame::GetClassDefaultAttributes(arg1);
7296 wxPyEndAllowThreads(__tstate);
7297 if (PyErr_Occurred()) SWIG_fail;
7298 }
7299 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7300 return resultobj;
7301fail:
7302 return NULL;
7303}
7304
7305
7306SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7307 PyObject *obj;
7308 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7309 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7310 return SWIG_Py_Void();
7311}
7312
7313SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7314 return SWIG_Python_InitShadowInstance(args);
7315}
7316
7317SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7318 PyObject *resultobj = 0;
7319 wxWindow *arg1 = (wxWindow *) 0 ;
7320 int arg2 = (int) (int)-1 ;
7321 wxString const &arg3_defvalue = wxPyEmptyString ;
7322 wxString *arg3 = (wxString *) &arg3_defvalue ;
7323 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7324 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7325 wxSize const &arg5_defvalue = wxDefaultSize ;
7326 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7327 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7328 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7329 wxString *arg7 = (wxString *) &arg7_defvalue ;
7330 wxDialog *result = 0 ;
7331 void *argp1 = 0 ;
7332 int res1 = 0 ;
7333 int val2 ;
7334 int ecode2 = 0 ;
7335 bool temp3 = false ;
7336 wxPoint temp4 ;
7337 wxSize temp5 ;
7338 long val6 ;
7339 int ecode6 = 0 ;
7340 bool temp7 = false ;
7341 PyObject * obj0 = 0 ;
7342 PyObject * obj1 = 0 ;
7343 PyObject * obj2 = 0 ;
7344 PyObject * obj3 = 0 ;
7345 PyObject * obj4 = 0 ;
7346 PyObject * obj5 = 0 ;
7347 PyObject * obj6 = 0 ;
7348 char * kwnames[] = {
7349 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7350 };
7351
7352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7354 if (!SWIG_IsOK(res1)) {
7355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7356 }
7357 arg1 = reinterpret_cast< wxWindow * >(argp1);
7358 if (obj1) {
7359 ecode2 = SWIG_AsVal_int(obj1, &val2);
7360 if (!SWIG_IsOK(ecode2)) {
7361 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7362 }
7363 arg2 = static_cast< int >(val2);
7364 }
7365 if (obj2) {
d55e5bfc 7366 {
1bd55598
RD
7367 arg3 = wxString_in_helper(obj2);
7368 if (arg3 == NULL) SWIG_fail;
7369 temp3 = true;
d55e5bfc 7370 }
1bd55598
RD
7371 }
7372 if (obj3) {
d55e5bfc 7373 {
1bd55598
RD
7374 arg4 = &temp4;
7375 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 7376 }
1bd55598
RD
7377 }
7378 if (obj4) {
d55e5bfc 7379 {
1bd55598
RD
7380 arg5 = &temp5;
7381 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7382 }
1bd55598
RD
7383 }
7384 if (obj5) {
7385 ecode6 = SWIG_AsVal_long(obj5, &val6);
7386 if (!SWIG_IsOK(ecode6)) {
7387 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7388 }
7389 arg6 = static_cast< long >(val6);
7390 }
7391 if (obj6) {
d55e5bfc 7392 {
1bd55598
RD
7393 arg7 = wxString_in_helper(obj6);
7394 if (arg7 == NULL) SWIG_fail;
7395 temp7 = true;
d55e5bfc 7396 }
1bd55598
RD
7397 }
7398 {
7399 if (!wxPyCheckForApp()) SWIG_fail;
7400 PyThreadState* __tstate = wxPyBeginAllowThreads();
7401 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7402 wxPyEndAllowThreads(__tstate);
7403 if (PyErr_Occurred()) SWIG_fail;
7404 }
7405 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7406 {
7407 if (temp3)
7408 delete arg3;
7409 }
7410 {
7411 if (temp7)
7412 delete arg7;
7413 }
7414 return resultobj;
7415fail:
7416 {
7417 if (temp3)
7418 delete arg3;
7419 }
7420 {
7421 if (temp7)
7422 delete arg7;
7423 }
7424 return NULL;
d55e5bfc
RD
7425}
7426
7427
1bd55598
RD
7428SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7429 PyObject *resultobj = 0;
7430 wxDialog *result = 0 ;
7431
7432 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7433 {
7434 if (!wxPyCheckForApp()) SWIG_fail;
7435 PyThreadState* __tstate = wxPyBeginAllowThreads();
7436 result = (wxDialog *)new wxDialog();
7437 wxPyEndAllowThreads(__tstate);
7438 if (PyErr_Occurred()) SWIG_fail;
7439 }
7440 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7441 return resultobj;
7442fail:
7443 return NULL;
7444}
7445
7446
7447SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7448 PyObject *resultobj = 0;
7449 wxDialog *arg1 = (wxDialog *) 0 ;
7450 wxWindow *arg2 = (wxWindow *) 0 ;
7451 int arg3 = (int) (int)-1 ;
7452 wxString const &arg4_defvalue = wxPyEmptyString ;
7453 wxString *arg4 = (wxString *) &arg4_defvalue ;
7454 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7455 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7456 wxSize const &arg6_defvalue = wxDefaultSize ;
7457 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7458 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7459 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7460 wxString *arg8 = (wxString *) &arg8_defvalue ;
7461 bool result;
7462 void *argp1 = 0 ;
7463 int res1 = 0 ;
7464 void *argp2 = 0 ;
7465 int res2 = 0 ;
7466 int val3 ;
7467 int ecode3 = 0 ;
7468 bool temp4 = false ;
7469 wxPoint temp5 ;
7470 wxSize temp6 ;
7471 long val7 ;
7472 int ecode7 = 0 ;
7473 bool temp8 = false ;
7474 PyObject * obj0 = 0 ;
7475 PyObject * obj1 = 0 ;
7476 PyObject * obj2 = 0 ;
7477 PyObject * obj3 = 0 ;
7478 PyObject * obj4 = 0 ;
7479 PyObject * obj5 = 0 ;
7480 PyObject * obj6 = 0 ;
7481 PyObject * obj7 = 0 ;
7482 char * kwnames[] = {
7483 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7484 };
7485
7486 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7487 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7488 if (!SWIG_IsOK(res1)) {
7489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7490 }
7491 arg1 = reinterpret_cast< wxDialog * >(argp1);
7492 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7493 if (!SWIG_IsOK(res2)) {
7494 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7495 }
7496 arg2 = reinterpret_cast< wxWindow * >(argp2);
7497 if (obj2) {
7498 ecode3 = SWIG_AsVal_int(obj2, &val3);
7499 if (!SWIG_IsOK(ecode3)) {
7500 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7501 }
7502 arg3 = static_cast< int >(val3);
7503 }
7504 if (obj3) {
d55e5bfc 7505 {
1bd55598
RD
7506 arg4 = wxString_in_helper(obj3);
7507 if (arg4 == NULL) SWIG_fail;
7508 temp4 = true;
d55e5bfc 7509 }
1bd55598
RD
7510 }
7511 if (obj4) {
36ed4f51 7512 {
1bd55598
RD
7513 arg5 = &temp5;
7514 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7515 }
1bd55598
RD
7516 }
7517 if (obj5) {
d55e5bfc 7518 {
1bd55598
RD
7519 arg6 = &temp6;
7520 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 7521 }
1bd55598
RD
7522 }
7523 if (obj6) {
7524 ecode7 = SWIG_AsVal_long(obj6, &val7);
7525 if (!SWIG_IsOK(ecode7)) {
7526 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7527 }
7528 arg7 = static_cast< long >(val7);
7529 }
7530 if (obj7) {
d55e5bfc 7531 {
1bd55598
RD
7532 arg8 = wxString_in_helper(obj7);
7533 if (arg8 == NULL) SWIG_fail;
7534 temp8 = true;
d55e5bfc 7535 }
1bd55598
RD
7536 }
7537 {
7538 PyThreadState* __tstate = wxPyBeginAllowThreads();
7539 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7540 wxPyEndAllowThreads(__tstate);
7541 if (PyErr_Occurred()) SWIG_fail;
7542 }
7543 {
7544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7545 }
7546 {
7547 if (temp4)
7548 delete arg4;
7549 }
7550 {
7551 if (temp8)
7552 delete arg8;
7553 }
7554 return resultobj;
7555fail:
7556 {
7557 if (temp4)
7558 delete arg4;
7559 }
7560 {
7561 if (temp8)
7562 delete arg8;
7563 }
7564 return NULL;
7565}
7566
7567
7568SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7569 PyObject *resultobj = 0;
7570 wxDialog *arg1 = (wxDialog *) 0 ;
7571 int arg2 ;
7572 void *argp1 = 0 ;
7573 int res1 = 0 ;
7574 int val2 ;
7575 int ecode2 = 0 ;
7576 PyObject * obj0 = 0 ;
7577 PyObject * obj1 = 0 ;
7578 char * kwnames[] = {
7579 (char *) "self",(char *) "returnCode", NULL
7580 };
7581
7582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7584 if (!SWIG_IsOK(res1)) {
7585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7586 }
7587 arg1 = reinterpret_cast< wxDialog * >(argp1);
7588 ecode2 = SWIG_AsVal_int(obj1, &val2);
7589 if (!SWIG_IsOK(ecode2)) {
7590 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7591 }
7592 arg2 = static_cast< int >(val2);
7593 {
7594 PyThreadState* __tstate = wxPyBeginAllowThreads();
7595 (arg1)->SetReturnCode(arg2);
7596 wxPyEndAllowThreads(__tstate);
7597 if (PyErr_Occurred()) SWIG_fail;
7598 }
7599 resultobj = SWIG_Py_Void();
7600 return resultobj;
7601fail:
7602 return NULL;
c370783e
RD
7603}
7604
7605
1bd55598
RD
7606SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7607 PyObject *resultobj = 0;
7608 wxDialog *arg1 = (wxDialog *) 0 ;
7609 int result;
7610 void *argp1 = 0 ;
7611 int res1 = 0 ;
7612 PyObject *swig_obj[1] ;
7613
7614 if (!args) SWIG_fail;
7615 swig_obj[0] = args;
7616 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7617 if (!SWIG_IsOK(res1)) {
7618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7619 }
7620 arg1 = reinterpret_cast< wxDialog * >(argp1);
7621 {
7622 PyThreadState* __tstate = wxPyBeginAllowThreads();
7623 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7624 wxPyEndAllowThreads(__tstate);
7625 if (PyErr_Occurred()) SWIG_fail;
7626 }
7627 resultobj = SWIG_From_int(static_cast< int >(result));
7628 return resultobj;
7629fail:
7630 return NULL;
7631}
7632
7633
7634SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7635 PyObject *resultobj = 0;
7636 wxDialog *arg1 = (wxDialog *) 0 ;
7637 int arg2 ;
7638 void *argp1 = 0 ;
7639 int res1 = 0 ;
7640 int val2 ;
7641 int ecode2 = 0 ;
7642 PyObject * obj0 = 0 ;
7643 PyObject * obj1 = 0 ;
7644 char * kwnames[] = {
7645 (char *) "self",(char *) "affirmativeId", NULL
7646 };
7647
7648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7650 if (!SWIG_IsOK(res1)) {
7651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7652 }
7653 arg1 = reinterpret_cast< wxDialog * >(argp1);
7654 ecode2 = SWIG_AsVal_int(obj1, &val2);
7655 if (!SWIG_IsOK(ecode2)) {
7656 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7657 }
7658 arg2 = static_cast< int >(val2);
7659 {
7660 PyThreadState* __tstate = wxPyBeginAllowThreads();
7661 (arg1)->SetAffirmativeId(arg2);
7662 wxPyEndAllowThreads(__tstate);
7663 if (PyErr_Occurred()) SWIG_fail;
7664 }
7665 resultobj = SWIG_Py_Void();
7666 return resultobj;
7667fail:
7668 return NULL;
5e483524
RD
7669}
7670
7671
1bd55598
RD
7672SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7673 PyObject *resultobj = 0;
7674 wxDialog *arg1 = (wxDialog *) 0 ;
7675 int result;
7676 void *argp1 = 0 ;
7677 int res1 = 0 ;
7678 PyObject *swig_obj[1] ;
7679
7680 if (!args) SWIG_fail;
7681 swig_obj[0] = args;
7682 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7683 if (!SWIG_IsOK(res1)) {
7684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7685 }
7686 arg1 = reinterpret_cast< wxDialog * >(argp1);
7687 {
7688 PyThreadState* __tstate = wxPyBeginAllowThreads();
7689 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7690 wxPyEndAllowThreads(__tstate);
7691 if (PyErr_Occurred()) SWIG_fail;
7692 }
7693 resultobj = SWIG_From_int(static_cast< int >(result));
7694 return resultobj;
7695fail:
7696 return NULL;
7697}
7698
7699
7700SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7701 PyObject *resultobj = 0;
7702 wxDialog *arg1 = (wxDialog *) 0 ;
7703 int arg2 ;
7704 void *argp1 = 0 ;
7705 int res1 = 0 ;
7706 int val2 ;
7707 int ecode2 = 0 ;
7708 PyObject * obj0 = 0 ;
7709 PyObject * obj1 = 0 ;
7710 char * kwnames[] = {
7711 (char *) "self",(char *) "escapeId", NULL
7712 };
7713
7714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7716 if (!SWIG_IsOK(res1)) {
7717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7718 }
7719 arg1 = reinterpret_cast< wxDialog * >(argp1);
7720 ecode2 = SWIG_AsVal_int(obj1, &val2);
7721 if (!SWIG_IsOK(ecode2)) {
7722 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7723 }
7724 arg2 = static_cast< int >(val2);
7725 {
7726 PyThreadState* __tstate = wxPyBeginAllowThreads();
7727 (arg1)->SetEscapeId(arg2);
7728 wxPyEndAllowThreads(__tstate);
7729 if (PyErr_Occurred()) SWIG_fail;
7730 }
7731 resultobj = SWIG_Py_Void();
7732 return resultobj;
7733fail:
7734 return NULL;
d55e5bfc
RD
7735}
7736
7737
1bd55598
RD
7738SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7739 PyObject *resultobj = 0;
7740 wxDialog *arg1 = (wxDialog *) 0 ;
7741 int result;
7742 void *argp1 = 0 ;
7743 int res1 = 0 ;
7744 PyObject *swig_obj[1] ;
7745
7746 if (!args) SWIG_fail;
7747 swig_obj[0] = args;
7748 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7749 if (!SWIG_IsOK(res1)) {
7750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7751 }
7752 arg1 = reinterpret_cast< wxDialog * >(argp1);
7753 {
7754 PyThreadState* __tstate = wxPyBeginAllowThreads();
7755 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7756 wxPyEndAllowThreads(__tstate);
7757 if (PyErr_Occurred()) SWIG_fail;
7758 }
7759 resultobj = SWIG_From_int(static_cast< int >(result));
7760 return resultobj;
7761fail:
7762 return NULL;
7763}
7764
7765
7766SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7767 PyObject *resultobj = 0;
7768 wxDialog *arg1 = (wxDialog *) 0 ;
7769 wxString *arg2 = 0 ;
7770 wxSizer *result = 0 ;
7771 void *argp1 = 0 ;
7772 int res1 = 0 ;
7773 bool temp2 = false ;
7774 PyObject * obj0 = 0 ;
7775 PyObject * obj1 = 0 ;
7776 char * kwnames[] = {
7777 (char *) "self",(char *) "message", NULL
7778 };
7779
7780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7782 if (!SWIG_IsOK(res1)) {
7783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7784 }
7785 arg1 = reinterpret_cast< wxDialog * >(argp1);
7786 {
7787 arg2 = wxString_in_helper(obj1);
7788 if (arg2 == NULL) SWIG_fail;
7789 temp2 = true;
7790 }
7791 {
7792 PyThreadState* __tstate = wxPyBeginAllowThreads();
7793 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7794 wxPyEndAllowThreads(__tstate);
7795 if (PyErr_Occurred()) SWIG_fail;
7796 }
7797 {
7798 resultobj = wxPyMake_wxObject(result, (bool)0);
7799 }
7800 {
7801 if (temp2)
7802 delete arg2;
7803 }
7804 return resultobj;
7805fail:
7806 {
7807 if (temp2)
7808 delete arg2;
7809 }
7810 return NULL;
7811}
7812
7813
b39fe951 7814SWIGINTERN PyObject *_wrap_Dialog__CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
1bd55598
RD
7815 PyObject *resultobj = 0;
7816 wxDialog *arg1 = (wxDialog *) 0 ;
7817 long arg2 ;
1bd55598
RD
7818 wxSizer *result = 0 ;
7819 void *argp1 = 0 ;
7820 int res1 = 0 ;
7821 long val2 ;
7822 int ecode2 = 0 ;
1bd55598
RD
7823 PyObject * obj0 = 0 ;
7824 PyObject * obj1 = 0 ;
1bd55598 7825 char * kwnames[] = {
b39fe951 7826 (char *) "self",(char *) "flags", NULL
1bd55598
RD
7827 };
7828
b39fe951 7829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog__CreateButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
1bd55598
RD
7830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7831 if (!SWIG_IsOK(res1)) {
b39fe951 7832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
1bd55598
RD
7833 }
7834 arg1 = reinterpret_cast< wxDialog * >(argp1);
7835 ecode2 = SWIG_AsVal_long(obj1, &val2);
7836 if (!SWIG_IsOK(ecode2)) {
b39fe951 7837 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
1bd55598
RD
7838 }
7839 arg2 = static_cast< long >(val2);
b39fe951
RD
7840 {
7841 PyThreadState* __tstate = wxPyBeginAllowThreads();
7842 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
7843 wxPyEndAllowThreads(__tstate);
7844 if (PyErr_Occurred()) SWIG_fail;
1bd55598 7845 }
b39fe951
RD
7846 {
7847 resultobj = wxPyMake_wxObject(result, (bool)0);
1bd55598 7848 }
b39fe951
RD
7849 return resultobj;
7850fail:
7851 return NULL;
7852}
7853
7854
7855SWIGINTERN PyObject *_wrap_Dialog_CreateSeparatedButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7856 PyObject *resultobj = 0;
7857 wxDialog *arg1 = (wxDialog *) 0 ;
7858 long arg2 ;
7859 wxSizer *result = 0 ;
7860 void *argp1 = 0 ;
7861 int res1 = 0 ;
7862 long val2 ;
7863 int ecode2 = 0 ;
7864 PyObject * obj0 = 0 ;
7865 PyObject * obj1 = 0 ;
7866 char * kwnames[] = {
7867 (char *) "self",(char *) "flags", NULL
7868 };
7869
7870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7872 if (!SWIG_IsOK(res1)) {
7873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7874 }
7875 arg1 = reinterpret_cast< wxDialog * >(argp1);
7876 ecode2 = SWIG_AsVal_long(obj1, &val2);
7877 if (!SWIG_IsOK(ecode2)) {
7878 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7879 }
7880 arg2 = static_cast< long >(val2);
1bd55598
RD
7881 {
7882 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 7883 result = (wxSizer *)(arg1)->CreateSeparatedButtonSizer(arg2);
1bd55598
RD
7884 wxPyEndAllowThreads(__tstate);
7885 if (PyErr_Occurred()) SWIG_fail;
7886 }
7887 {
7888 resultobj = wxPyMake_wxObject(result, (bool)0);
7889 }
7890 return resultobj;
7891fail:
7892 return NULL;
7893}
7894
7895
7896SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7897 PyObject *resultobj = 0;
7898 wxDialog *arg1 = (wxDialog *) 0 ;
7899 long arg2 ;
7900 wxStdDialogButtonSizer *result = 0 ;
7901 void *argp1 = 0 ;
7902 int res1 = 0 ;
7903 long val2 ;
7904 int ecode2 = 0 ;
7905 PyObject * obj0 = 0 ;
7906 PyObject * obj1 = 0 ;
7907 char * kwnames[] = {
7908 (char *) "self",(char *) "flags", NULL
7909 };
7910
7911 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7912 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7913 if (!SWIG_IsOK(res1)) {
7914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7915 }
7916 arg1 = reinterpret_cast< wxDialog * >(argp1);
7917 ecode2 = SWIG_AsVal_long(obj1, &val2);
7918 if (!SWIG_IsOK(ecode2)) {
7919 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7920 }
7921 arg2 = static_cast< long >(val2);
7922 {
7923 PyThreadState* __tstate = wxPyBeginAllowThreads();
7924 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7925 wxPyEndAllowThreads(__tstate);
7926 if (PyErr_Occurred()) SWIG_fail;
7927 }
7928 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7929 return resultobj;
7930fail:
7931 return NULL;
d55e5bfc
RD
7932}
7933
7934
1bd55598
RD
7935SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7936 PyObject *resultobj = 0;
7937 wxDialog *arg1 = (wxDialog *) 0 ;
7938 bool result;
7939 void *argp1 = 0 ;
7940 int res1 = 0 ;
7941 PyObject *swig_obj[1] ;
7942
7943 if (!args) SWIG_fail;
7944 swig_obj[0] = args;
7945 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7946 if (!SWIG_IsOK(res1)) {
7947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7948 }
7949 arg1 = reinterpret_cast< wxDialog * >(argp1);
7950 {
7951 PyThreadState* __tstate = wxPyBeginAllowThreads();
7952 result = (bool)((wxDialog const *)arg1)->IsModal();
7953 wxPyEndAllowThreads(__tstate);
7954 if (PyErr_Occurred()) SWIG_fail;
7955 }
7956 {
7957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7958 }
7959 return resultobj;
7960fail:
7961 return NULL;
b1fcee84
RD
7962}
7963
7964
1bd55598
RD
7965SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7966 PyObject *resultobj = 0;
7967 wxDialog *arg1 = (wxDialog *) 0 ;
7968 int result;
7969 void *argp1 = 0 ;
7970 int res1 = 0 ;
7971 PyObject *swig_obj[1] ;
7972
7973 if (!args) SWIG_fail;
7974 swig_obj[0] = args;
7975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7976 if (!SWIG_IsOK(res1)) {
7977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7978 }
7979 arg1 = reinterpret_cast< wxDialog * >(argp1);
7980 {
7981 PyThreadState* __tstate = wxPyBeginAllowThreads();
7982 result = (int)(arg1)->ShowModal();
7983 wxPyEndAllowThreads(__tstate);
7984 if (PyErr_Occurred()) SWIG_fail;
7985 }
7986 resultobj = SWIG_From_int(static_cast< int >(result));
7987 return resultobj;
7988fail:
7989 return NULL;
7990}
7991
7992
7993SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7994 PyObject *resultobj = 0;
7995 wxDialog *arg1 = (wxDialog *) 0 ;
7996 int arg2 ;
7997 void *argp1 = 0 ;
7998 int res1 = 0 ;
7999 int val2 ;
8000 int ecode2 = 0 ;
8001 PyObject * obj0 = 0 ;
8002 PyObject * obj1 = 0 ;
8003 char * kwnames[] = {
8004 (char *) "self",(char *) "retCode", NULL
8005 };
8006
8007 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
8008 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8009 if (!SWIG_IsOK(res1)) {
8010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8011 }
8012 arg1 = reinterpret_cast< wxDialog * >(argp1);
8013 ecode2 = SWIG_AsVal_int(obj1, &val2);
8014 if (!SWIG_IsOK(ecode2)) {
8015 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8016 }
8017 arg2 = static_cast< int >(val2);
8018 {
8019 PyThreadState* __tstate = wxPyBeginAllowThreads();
8020 (arg1)->EndModal(arg2);
8021 wxPyEndAllowThreads(__tstate);
8022 if (PyErr_Occurred()) SWIG_fail;
8023 }
8024 resultobj = SWIG_Py_Void();
8025 return resultobj;
8026fail:
8027 return NULL;
8028}
8029
8030
8031SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8032 PyObject *resultobj = 0;
8033 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8034 SwigValueWrapper<wxVisualAttributes > result;
8035 int val1 ;
8036 int ecode1 = 0 ;
8037 PyObject * obj0 = 0 ;
8038 char * kwnames[] = {
8039 (char *) "variant", NULL
8040 };
8041
8042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8043 if (obj0) {
8044 ecode1 = SWIG_AsVal_int(obj0, &val1);
8045 if (!SWIG_IsOK(ecode1)) {
8046 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8047 }
8048 arg1 = static_cast< wxWindowVariant >(val1);
8049 }
8050 {
8051 if (!wxPyCheckForApp()) SWIG_fail;
8052 PyThreadState* __tstate = wxPyBeginAllowThreads();
8053 result = wxDialog::GetClassDefaultAttributes(arg1);
8054 wxPyEndAllowThreads(__tstate);
8055 if (PyErr_Occurred()) SWIG_fail;
8056 }
8057 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8058 return resultobj;
8059fail:
8060 return NULL;
8061}
8062
8063
8064SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8065 PyObject *obj;
8066 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8067 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8068 return SWIG_Py_Void();
8069}
8070
8071SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8072 return SWIG_Python_InitShadowInstance(args);
8073}
8074
8075SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8076 PyObject *resultobj = 0;
8077 wxWindow *arg1 = (wxWindow *) 0 ;
8078 int arg2 = (int) (int)-1 ;
8079 wxString const &arg3_defvalue = wxPyEmptyString ;
8080 wxString *arg3 = (wxString *) &arg3_defvalue ;
8081 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8082 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8083 wxSize const &arg5_defvalue = wxDefaultSize ;
8084 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5eb8189c 8085 long arg6 = (long) wxDEFAULT_MINIFRAME_STYLE ;
1bd55598
RD
8086 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8087 wxString *arg7 = (wxString *) &arg7_defvalue ;
8088 wxMiniFrame *result = 0 ;
8089 void *argp1 = 0 ;
8090 int res1 = 0 ;
8091 int val2 ;
8092 int ecode2 = 0 ;
8093 bool temp3 = false ;
8094 wxPoint temp4 ;
8095 wxSize temp5 ;
8096 long val6 ;
8097 int ecode6 = 0 ;
8098 bool temp7 = false ;
8099 PyObject * obj0 = 0 ;
8100 PyObject * obj1 = 0 ;
8101 PyObject * obj2 = 0 ;
8102 PyObject * obj3 = 0 ;
8103 PyObject * obj4 = 0 ;
8104 PyObject * obj5 = 0 ;
8105 PyObject * obj6 = 0 ;
8106 char * kwnames[] = {
8107 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8108 };
8109
8110 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8111 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8112 if (!SWIG_IsOK(res1)) {
8113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8114 }
8115 arg1 = reinterpret_cast< wxWindow * >(argp1);
8116 if (obj1) {
8117 ecode2 = SWIG_AsVal_int(obj1, &val2);
8118 if (!SWIG_IsOK(ecode2)) {
8119 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8120 }
8121 arg2 = static_cast< int >(val2);
8122 }
8123 if (obj2) {
d55e5bfc 8124 {
1bd55598
RD
8125 arg3 = wxString_in_helper(obj2);
8126 if (arg3 == NULL) SWIG_fail;
8127 temp3 = true;
d55e5bfc 8128 }
1bd55598
RD
8129 }
8130 if (obj3) {
d55e5bfc 8131 {
1bd55598
RD
8132 arg4 = &temp4;
8133 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8134 }
1bd55598
RD
8135 }
8136 if (obj4) {
d55e5bfc 8137 {
1bd55598
RD
8138 arg5 = &temp5;
8139 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8140 }
1bd55598
RD
8141 }
8142 if (obj5) {
8143 ecode6 = SWIG_AsVal_long(obj5, &val6);
8144 if (!SWIG_IsOK(ecode6)) {
8145 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8146 }
8147 arg6 = static_cast< long >(val6);
8148 }
8149 if (obj6) {
d55e5bfc 8150 {
1bd55598
RD
8151 arg7 = wxString_in_helper(obj6);
8152 if (arg7 == NULL) SWIG_fail;
8153 temp7 = true;
d55e5bfc 8154 }
1bd55598
RD
8155 }
8156 {
8157 if (!wxPyCheckForApp()) SWIG_fail;
8158 PyThreadState* __tstate = wxPyBeginAllowThreads();
8159 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8160 wxPyEndAllowThreads(__tstate);
8161 if (PyErr_Occurred()) SWIG_fail;
8162 }
8163 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8164 {
8165 if (temp3)
8166 delete arg3;
8167 }
8168 {
8169 if (temp7)
8170 delete arg7;
8171 }
8172 return resultobj;
8173fail:
8174 {
8175 if (temp3)
8176 delete arg3;
8177 }
8178 {
8179 if (temp7)
8180 delete arg7;
8181 }
8182 return NULL;
d55e5bfc
RD
8183}
8184
8185
1bd55598
RD
8186SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8187 PyObject *resultobj = 0;
8188 wxMiniFrame *result = 0 ;
8189
8190 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8191 {
8192 if (!wxPyCheckForApp()) SWIG_fail;
8193 PyThreadState* __tstate = wxPyBeginAllowThreads();
8194 result = (wxMiniFrame *)new wxMiniFrame();
8195 wxPyEndAllowThreads(__tstate);
8196 if (PyErr_Occurred()) SWIG_fail;
8197 }
8198 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8199 return resultobj;
8200fail:
8201 return NULL;
8202}
8203
8204
8205SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8206 PyObject *resultobj = 0;
8207 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8208 wxWindow *arg2 = (wxWindow *) 0 ;
8209 int arg3 = (int) (int)-1 ;
8210 wxString const &arg4_defvalue = wxPyEmptyString ;
8211 wxString *arg4 = (wxString *) &arg4_defvalue ;
8212 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8213 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8214 wxSize const &arg6_defvalue = wxDefaultSize ;
8215 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5eb8189c 8216 long arg7 = (long) wxDEFAULT_MINIFRAME_STYLE ;
1bd55598
RD
8217 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8218 wxString *arg8 = (wxString *) &arg8_defvalue ;
8219 bool result;
8220 void *argp1 = 0 ;
8221 int res1 = 0 ;
8222 void *argp2 = 0 ;
8223 int res2 = 0 ;
8224 int val3 ;
8225 int ecode3 = 0 ;
8226 bool temp4 = false ;
8227 wxPoint temp5 ;
8228 wxSize temp6 ;
8229 long val7 ;
8230 int ecode7 = 0 ;
8231 bool temp8 = false ;
8232 PyObject * obj0 = 0 ;
8233 PyObject * obj1 = 0 ;
8234 PyObject * obj2 = 0 ;
8235 PyObject * obj3 = 0 ;
8236 PyObject * obj4 = 0 ;
8237 PyObject * obj5 = 0 ;
8238 PyObject * obj6 = 0 ;
8239 PyObject * obj7 = 0 ;
8240 char * kwnames[] = {
8241 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8242 };
8243
8244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8246 if (!SWIG_IsOK(res1)) {
8247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8248 }
8249 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8250 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8251 if (!SWIG_IsOK(res2)) {
8252 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8253 }
8254 arg2 = reinterpret_cast< wxWindow * >(argp2);
8255 if (obj2) {
8256 ecode3 = SWIG_AsVal_int(obj2, &val3);
8257 if (!SWIG_IsOK(ecode3)) {
8258 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8259 }
8260 arg3 = static_cast< int >(val3);
8261 }
8262 if (obj3) {
d55e5bfc 8263 {
1bd55598
RD
8264 arg4 = wxString_in_helper(obj3);
8265 if (arg4 == NULL) SWIG_fail;
8266 temp4 = true;
d55e5bfc 8267 }
1bd55598
RD
8268 }
8269 if (obj4) {
d55e5bfc 8270 {
1bd55598
RD
8271 arg5 = &temp5;
8272 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8273 }
1bd55598
RD
8274 }
8275 if (obj5) {
d55e5bfc 8276 {
1bd55598
RD
8277 arg6 = &temp6;
8278 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 8279 }
1bd55598
RD
8280 }
8281 if (obj6) {
8282 ecode7 = SWIG_AsVal_long(obj6, &val7);
8283 if (!SWIG_IsOK(ecode7)) {
8284 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8285 }
8286 arg7 = static_cast< long >(val7);
8287 }
8288 if (obj7) {
d55e5bfc 8289 {
1bd55598
RD
8290 arg8 = wxString_in_helper(obj7);
8291 if (arg8 == NULL) SWIG_fail;
8292 temp8 = true;
d55e5bfc 8293 }
1bd55598
RD
8294 }
8295 {
8296 PyThreadState* __tstate = wxPyBeginAllowThreads();
8297 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8298 wxPyEndAllowThreads(__tstate);
8299 if (PyErr_Occurred()) SWIG_fail;
8300 }
8301 {
8302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8303 }
8304 {
8305 if (temp4)
8306 delete arg4;
8307 }
8308 {
8309 if (temp8)
8310 delete arg8;
8311 }
8312 return resultobj;
8313fail:
8314 {
8315 if (temp4)
8316 delete arg4;
8317 }
8318 {
8319 if (temp8)
8320 delete arg8;
8321 }
8322 return NULL;
8323}
8324
8325
8326SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8327 PyObject *obj;
8328 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8329 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8330 return SWIG_Py_Void();
8331}
8332
8333SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8334 return SWIG_Python_InitShadowInstance(args);
8335}
8336
8337SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8338 PyObject *resultobj = 0;
8339 wxBitmap *arg1 = 0 ;
8340 wxWindow *arg2 = (wxWindow *) 0 ;
8341 int arg3 ;
8342 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8343 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8344 wxSize const &arg5_defvalue = wxDefaultSize ;
8345 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8346 long arg6 = (long) wxNO_BORDER ;
8347 wxSplashScreenWindow *result = 0 ;
8348 void *argp1 = 0 ;
8349 int res1 = 0 ;
8350 void *argp2 = 0 ;
8351 int res2 = 0 ;
8352 int val3 ;
8353 int ecode3 = 0 ;
8354 wxPoint temp4 ;
8355 wxSize temp5 ;
8356 long val6 ;
8357 int ecode6 = 0 ;
8358 PyObject * obj0 = 0 ;
8359 PyObject * obj1 = 0 ;
8360 PyObject * obj2 = 0 ;
8361 PyObject * obj3 = 0 ;
8362 PyObject * obj4 = 0 ;
8363 PyObject * obj5 = 0 ;
8364 char * kwnames[] = {
8365 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8366 };
8367
8368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8369 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8370 if (!SWIG_IsOK(res1)) {
8371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8372 }
8373 if (!argp1) {
8374 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8375 }
8376 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8377 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8378 if (!SWIG_IsOK(res2)) {
8379 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8380 }
8381 arg2 = reinterpret_cast< wxWindow * >(argp2);
8382 ecode3 = SWIG_AsVal_int(obj2, &val3);
8383 if (!SWIG_IsOK(ecode3)) {
8384 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8385 }
8386 arg3 = static_cast< int >(val3);
8387 if (obj3) {
d55e5bfc 8388 {
1bd55598
RD
8389 arg4 = &temp4;
8390 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8391 }
1bd55598
RD
8392 }
8393 if (obj4) {
d55e5bfc 8394 {
1bd55598
RD
8395 arg5 = &temp5;
8396 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8397 }
1bd55598
RD
8398 }
8399 if (obj5) {
8400 ecode6 = SWIG_AsVal_long(obj5, &val6);
8401 if (!SWIG_IsOK(ecode6)) {
8402 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8403 }
8404 arg6 = static_cast< long >(val6);
8405 }
8406 {
8407 if (!wxPyCheckForApp()) SWIG_fail;
8408 PyThreadState* __tstate = wxPyBeginAllowThreads();
8409 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8410 wxPyEndAllowThreads(__tstate);
8411 if (PyErr_Occurred()) SWIG_fail;
8412 }
8413 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8414 return resultobj;
8415fail:
8416 return NULL;
8417}
8418
8419
8420SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8421 PyObject *resultobj = 0;
8422 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8423 wxBitmap *arg2 = 0 ;
8424 void *argp1 = 0 ;
8425 int res1 = 0 ;
8426 void *argp2 = 0 ;
8427 int res2 = 0 ;
8428 PyObject * obj0 = 0 ;
8429 PyObject * obj1 = 0 ;
8430 char * kwnames[] = {
8431 (char *) "self",(char *) "bitmap", NULL
8432 };
8433
8434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8436 if (!SWIG_IsOK(res1)) {
8437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8438 }
8439 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8440 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8441 if (!SWIG_IsOK(res2)) {
8442 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8443 }
8444 if (!argp2) {
8445 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8446 }
8447 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8448 {
8449 PyThreadState* __tstate = wxPyBeginAllowThreads();
8450 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8451 wxPyEndAllowThreads(__tstate);
8452 if (PyErr_Occurred()) SWIG_fail;
8453 }
8454 resultobj = SWIG_Py_Void();
8455 return resultobj;
8456fail:
8457 return NULL;
d55e5bfc
RD
8458}
8459
8460
1bd55598
RD
8461SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8462 PyObject *resultobj = 0;
8463 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8464 wxBitmap *result = 0 ;
8465 void *argp1 = 0 ;
8466 int res1 = 0 ;
8467 PyObject *swig_obj[1] ;
8468
8469 if (!args) SWIG_fail;
8470 swig_obj[0] = args;
8471 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8472 if (!SWIG_IsOK(res1)) {
8473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8474 }
8475 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8476 {
8477 PyThreadState* __tstate = wxPyBeginAllowThreads();
8478 {
8479 wxBitmap &_result_ref = (arg1)->GetBitmap();
8480 result = (wxBitmap *) &_result_ref;
8481 }
8482 wxPyEndAllowThreads(__tstate);
8483 if (PyErr_Occurred()) SWIG_fail;
8484 }
8485 {
8486 wxBitmap* resultptr = new wxBitmap(*result);
8487 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8488 }
8489 return resultobj;
8490fail:
8491 return NULL;
8492}
8493
8494
8495SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8496 PyObject *obj;
8497 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8498 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8499 return SWIG_Py_Void();
8500}
8501
8502SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8503 return SWIG_Python_InitShadowInstance(args);
8504}
8505
8506SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8507 PyObject *resultobj = 0;
8508 wxBitmap *arg1 = 0 ;
8509 long arg2 ;
8510 int arg3 ;
8511 wxWindow *arg4 = (wxWindow *) 0 ;
8512 int arg5 = (int) -1 ;
8513 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8514 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8515 wxSize const &arg7_defvalue = wxDefaultSize ;
8516 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8517 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8518 wxSplashScreen *result = 0 ;
8519 void *argp1 = 0 ;
8520 int res1 = 0 ;
8521 long val2 ;
8522 int ecode2 = 0 ;
8523 int val3 ;
8524 int ecode3 = 0 ;
8525 void *argp4 = 0 ;
8526 int res4 = 0 ;
8527 int val5 ;
8528 int ecode5 = 0 ;
8529 wxPoint temp6 ;
8530 wxSize temp7 ;
8531 long val8 ;
8532 int ecode8 = 0 ;
8533 PyObject * obj0 = 0 ;
8534 PyObject * obj1 = 0 ;
8535 PyObject * obj2 = 0 ;
8536 PyObject * obj3 = 0 ;
8537 PyObject * obj4 = 0 ;
8538 PyObject * obj5 = 0 ;
8539 PyObject * obj6 = 0 ;
8540 PyObject * obj7 = 0 ;
8541 char * kwnames[] = {
8542 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8543 };
8544
8545 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8546 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8547 if (!SWIG_IsOK(res1)) {
8548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8549 }
8550 if (!argp1) {
8551 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8552 }
8553 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8554 ecode2 = SWIG_AsVal_long(obj1, &val2);
8555 if (!SWIG_IsOK(ecode2)) {
8556 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8557 }
8558 arg2 = static_cast< long >(val2);
8559 ecode3 = SWIG_AsVal_int(obj2, &val3);
8560 if (!SWIG_IsOK(ecode3)) {
8561 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8562 }
8563 arg3 = static_cast< int >(val3);
8564 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8565 if (!SWIG_IsOK(res4)) {
8566 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8567 }
8568 arg4 = reinterpret_cast< wxWindow * >(argp4);
8569 if (obj4) {
8570 ecode5 = SWIG_AsVal_int(obj4, &val5);
8571 if (!SWIG_IsOK(ecode5)) {
8572 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8573 }
8574 arg5 = static_cast< int >(val5);
8575 }
8576 if (obj5) {
d55e5bfc 8577 {
1bd55598
RD
8578 arg6 = &temp6;
8579 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 8580 }
1bd55598
RD
8581 }
8582 if (obj6) {
d55e5bfc 8583 {
1bd55598
RD
8584 arg7 = &temp7;
8585 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
d55e5bfc 8586 }
1bd55598
RD
8587 }
8588 if (obj7) {
8589 ecode8 = SWIG_AsVal_long(obj7, &val8);
8590 if (!SWIG_IsOK(ecode8)) {
8591 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8592 }
8593 arg8 = static_cast< long >(val8);
8594 }
8595 {
8596 if (!wxPyCheckForApp()) SWIG_fail;
8597 PyThreadState* __tstate = wxPyBeginAllowThreads();
8598 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8599 wxPyEndAllowThreads(__tstate);
8600 if (PyErr_Occurred()) SWIG_fail;
8601 }
8602 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8603 return resultobj;
8604fail:
8605 return NULL;
d55e5bfc
RD
8606}
8607
8608
1bd55598
RD
8609SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8610 PyObject *resultobj = 0;
8611 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8612 long result;
8613 void *argp1 = 0 ;
8614 int res1 = 0 ;
8615 PyObject *swig_obj[1] ;
8616
8617 if (!args) SWIG_fail;
8618 swig_obj[0] = args;
8619 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8620 if (!SWIG_IsOK(res1)) {
8621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8622 }
8623 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8624 {
8625 PyThreadState* __tstate = wxPyBeginAllowThreads();
8626 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8627 wxPyEndAllowThreads(__tstate);
8628 if (PyErr_Occurred()) SWIG_fail;
8629 }
8630 resultobj = SWIG_From_long(static_cast< long >(result));
8631 return resultobj;
8632fail:
8633 return NULL;
d55e5bfc
RD
8634}
8635
8636
1bd55598
RD
8637SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8638 PyObject *resultobj = 0;
8639 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8640 wxSplashScreenWindow *result = 0 ;
8641 void *argp1 = 0 ;
8642 int res1 = 0 ;
8643 PyObject *swig_obj[1] ;
8644
8645 if (!args) SWIG_fail;
8646 swig_obj[0] = args;
8647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8648 if (!SWIG_IsOK(res1)) {
8649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8650 }
8651 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8652 {
8653 PyThreadState* __tstate = wxPyBeginAllowThreads();
8654 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8655 wxPyEndAllowThreads(__tstate);
8656 if (PyErr_Occurred()) SWIG_fail;
8657 }
8658 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8659 return resultobj;
8660fail:
8661 return NULL;
d55e5bfc
RD
8662}
8663
8664
1bd55598
RD
8665SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8666 PyObject *resultobj = 0;
8667 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8668 int result;
8669 void *argp1 = 0 ;
8670 int res1 = 0 ;
8671 PyObject *swig_obj[1] ;
8672
8673 if (!args) SWIG_fail;
8674 swig_obj[0] = args;
8675 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8676 if (!SWIG_IsOK(res1)) {
8677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8678 }
8679 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8680 {
8681 PyThreadState* __tstate = wxPyBeginAllowThreads();
8682 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8683 wxPyEndAllowThreads(__tstate);
8684 if (PyErr_Occurred()) SWIG_fail;
8685 }
8686 resultobj = SWIG_From_int(static_cast< int >(result));
8687 return resultobj;
8688fail:
8689 return NULL;
8690}
8691
8692
8693SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8694 PyObject *obj;
8695 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8696 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8697 return SWIG_Py_Void();
8698}
8699
8700SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8701 return SWIG_Python_InitShadowInstance(args);
8702}
8703
8704SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8705 PyObject *resultobj = 0;
8706 wxWindow *arg1 = (wxWindow *) 0 ;
8707 int arg2 = (int) -1 ;
8708 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8709 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8710 wxString *arg4 = (wxString *) &arg4_defvalue ;
8711 wxStatusBar *result = 0 ;
8712 void *argp1 = 0 ;
8713 int res1 = 0 ;
8714 int val2 ;
8715 int ecode2 = 0 ;
8716 long val3 ;
8717 int ecode3 = 0 ;
8718 bool temp4 = false ;
8719 PyObject * obj0 = 0 ;
8720 PyObject * obj1 = 0 ;
8721 PyObject * obj2 = 0 ;
8722 PyObject * obj3 = 0 ;
8723 char * kwnames[] = {
8724 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8725 };
8726
8727 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8728 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8729 if (!SWIG_IsOK(res1)) {
8730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8731 }
8732 arg1 = reinterpret_cast< wxWindow * >(argp1);
8733 if (obj1) {
8734 ecode2 = SWIG_AsVal_int(obj1, &val2);
8735 if (!SWIG_IsOK(ecode2)) {
8736 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8737 }
8738 arg2 = static_cast< int >(val2);
8739 }
8740 if (obj2) {
8741 ecode3 = SWIG_AsVal_long(obj2, &val3);
8742 if (!SWIG_IsOK(ecode3)) {
8743 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8744 }
8745 arg3 = static_cast< long >(val3);
8746 }
8747 if (obj3) {
d55e5bfc 8748 {
1bd55598
RD
8749 arg4 = wxString_in_helper(obj3);
8750 if (arg4 == NULL) SWIG_fail;
8751 temp4 = true;
d55e5bfc 8752 }
1bd55598
RD
8753 }
8754 {
8755 if (!wxPyCheckForApp()) SWIG_fail;
8756 PyThreadState* __tstate = wxPyBeginAllowThreads();
8757 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8758 wxPyEndAllowThreads(__tstate);
8759 if (PyErr_Occurred()) SWIG_fail;
8760 }
8761 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8762 {
8763 if (temp4)
8764 delete arg4;
8765 }
8766 return resultobj;
8767fail:
8768 {
8769 if (temp4)
8770 delete arg4;
8771 }
8772 return NULL;
d55e5bfc
RD
8773}
8774
8775
1bd55598
RD
8776SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8777 PyObject *resultobj = 0;
8778 wxStatusBar *result = 0 ;
8779
8780 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8781 {
8782 if (!wxPyCheckForApp()) SWIG_fail;
8783 PyThreadState* __tstate = wxPyBeginAllowThreads();
8784 result = (wxStatusBar *)new wxStatusBar();
8785 wxPyEndAllowThreads(__tstate);
8786 if (PyErr_Occurred()) SWIG_fail;
8787 }
8788 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8789 return resultobj;
8790fail:
8791 return NULL;
8792}
8793
8794
8795SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8796 PyObject *resultobj = 0;
8797 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8798 wxWindow *arg2 = (wxWindow *) 0 ;
8799 int arg3 = (int) -1 ;
8800 long arg4 = (long) wxST_SIZEGRIP ;
8801 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8802 wxString *arg5 = (wxString *) &arg5_defvalue ;
8803 bool result;
8804 void *argp1 = 0 ;
8805 int res1 = 0 ;
8806 void *argp2 = 0 ;
8807 int res2 = 0 ;
8808 int val3 ;
8809 int ecode3 = 0 ;
8810 long val4 ;
8811 int ecode4 = 0 ;
8812 bool temp5 = false ;
8813 PyObject * obj0 = 0 ;
8814 PyObject * obj1 = 0 ;
8815 PyObject * obj2 = 0 ;
8816 PyObject * obj3 = 0 ;
8817 PyObject * obj4 = 0 ;
8818 char * kwnames[] = {
8819 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8820 };
8821
8822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8824 if (!SWIG_IsOK(res1)) {
8825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8826 }
8827 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8828 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8829 if (!SWIG_IsOK(res2)) {
8830 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8831 }
8832 arg2 = reinterpret_cast< wxWindow * >(argp2);
8833 if (obj2) {
8834 ecode3 = SWIG_AsVal_int(obj2, &val3);
8835 if (!SWIG_IsOK(ecode3)) {
8836 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8837 }
8838 arg3 = static_cast< int >(val3);
8839 }
8840 if (obj3) {
8841 ecode4 = SWIG_AsVal_long(obj3, &val4);
8842 if (!SWIG_IsOK(ecode4)) {
8843 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8844 }
8845 arg4 = static_cast< long >(val4);
8846 }
8847 if (obj4) {
d55e5bfc 8848 {
1bd55598
RD
8849 arg5 = wxString_in_helper(obj4);
8850 if (arg5 == NULL) SWIG_fail;
8851 temp5 = true;
d55e5bfc 8852 }
1bd55598
RD
8853 }
8854 {
8855 PyThreadState* __tstate = wxPyBeginAllowThreads();
8856 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8857 wxPyEndAllowThreads(__tstate);
8858 if (PyErr_Occurred()) SWIG_fail;
8859 }
8860 {
8861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8862 }
8863 {
8864 if (temp5)
8865 delete arg5;
8866 }
8867 return resultobj;
8868fail:
8869 {
8870 if (temp5)
8871 delete arg5;
8872 }
8873 return NULL;
8874}
8875
8876
8877SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8878 PyObject *resultobj = 0;
8879 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8880 int arg2 = (int) 1 ;
8881 void *argp1 = 0 ;
8882 int res1 = 0 ;
8883 int val2 ;
8884 int ecode2 = 0 ;
8885 PyObject * obj0 = 0 ;
8886 PyObject * obj1 = 0 ;
8887 char * kwnames[] = {
8888 (char *) "self",(char *) "number", NULL
8889 };
8890
8891 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8893 if (!SWIG_IsOK(res1)) {
8894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8895 }
8896 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8897 if (obj1) {
8898 ecode2 = SWIG_AsVal_int(obj1, &val2);
8899 if (!SWIG_IsOK(ecode2)) {
8900 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8901 }
8902 arg2 = static_cast< int >(val2);
8903 }
8904 {
8905 PyThreadState* __tstate = wxPyBeginAllowThreads();
8906 (arg1)->SetFieldsCount(arg2);
8907 wxPyEndAllowThreads(__tstate);
8908 if (PyErr_Occurred()) SWIG_fail;
8909 }
8910 resultobj = SWIG_Py_Void();
8911 return resultobj;
8912fail:
8913 return NULL;
d55e5bfc
RD
8914}
8915
8916
1bd55598
RD
8917SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8918 PyObject *resultobj = 0;
8919 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8920 int result;
8921 void *argp1 = 0 ;
8922 int res1 = 0 ;
8923 PyObject *swig_obj[1] ;
8924
8925 if (!args) SWIG_fail;
8926 swig_obj[0] = args;
8927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8928 if (!SWIG_IsOK(res1)) {
8929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8930 }
8931 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8932 {
8933 PyThreadState* __tstate = wxPyBeginAllowThreads();
8934 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8935 wxPyEndAllowThreads(__tstate);
8936 if (PyErr_Occurred()) SWIG_fail;
8937 }
8938 resultobj = SWIG_From_int(static_cast< int >(result));
8939 return resultobj;
8940fail:
8941 return NULL;
8942}
8943
8944
8945SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8946 PyObject *resultobj = 0;
8947 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8948 wxString *arg2 = 0 ;
8949 int arg3 = (int) 0 ;
8950 void *argp1 = 0 ;
8951 int res1 = 0 ;
8952 bool temp2 = false ;
8953 int val3 ;
8954 int ecode3 = 0 ;
8955 PyObject * obj0 = 0 ;
8956 PyObject * obj1 = 0 ;
8957 PyObject * obj2 = 0 ;
8958 char * kwnames[] = {
8959 (char *) "self",(char *) "text",(char *) "number", NULL
8960 };
8961
8962 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8963 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8964 if (!SWIG_IsOK(res1)) {
8965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8966 }
8967 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8968 {
8969 arg2 = wxString_in_helper(obj1);
8970 if (arg2 == NULL) SWIG_fail;
8971 temp2 = true;
8972 }
8973 if (obj2) {
8974 ecode3 = SWIG_AsVal_int(obj2, &val3);
8975 if (!SWIG_IsOK(ecode3)) {
8976 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8977 }
8978 arg3 = static_cast< int >(val3);
8979 }
8980 {
8981 PyThreadState* __tstate = wxPyBeginAllowThreads();
8982 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8983 wxPyEndAllowThreads(__tstate);
8984 if (PyErr_Occurred()) SWIG_fail;
8985 }
8986 resultobj = SWIG_Py_Void();
8987 {
8988 if (temp2)
8989 delete arg2;
8990 }
8991 return resultobj;
8992fail:
8993 {
8994 if (temp2)
8995 delete arg2;
8996 }
8997 return NULL;
8998}
8999
9000
9001SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9002 PyObject *resultobj = 0;
9003 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9004 int arg2 = (int) 0 ;
9005 wxString result;
9006 void *argp1 = 0 ;
9007 int res1 = 0 ;
9008 int val2 ;
9009 int ecode2 = 0 ;
9010 PyObject * obj0 = 0 ;
9011 PyObject * obj1 = 0 ;
9012 char * kwnames[] = {
9013 (char *) "self",(char *) "number", NULL
9014 };
9015
9016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9017 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9018 if (!SWIG_IsOK(res1)) {
9019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9020 }
9021 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9022 if (obj1) {
9023 ecode2 = SWIG_AsVal_int(obj1, &val2);
9024 if (!SWIG_IsOK(ecode2)) {
9025 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9026 }
9027 arg2 = static_cast< int >(val2);
9028 }
9029 {
9030 PyThreadState* __tstate = wxPyBeginAllowThreads();
9031 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
9032 wxPyEndAllowThreads(__tstate);
9033 if (PyErr_Occurred()) SWIG_fail;
9034 }
9035 {
9036#if wxUSE_UNICODE
9037 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9038#else
9039 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9040#endif
9041 }
9042 return resultobj;
9043fail:
9044 return NULL;
9045}
9046
9047
9048SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9049 PyObject *resultobj = 0;
9050 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9051 wxString *arg2 = 0 ;
9052 int arg3 = (int) 0 ;
9053 void *argp1 = 0 ;
9054 int res1 = 0 ;
9055 bool temp2 = false ;
9056 int val3 ;
9057 int ecode3 = 0 ;
9058 PyObject * obj0 = 0 ;
9059 PyObject * obj1 = 0 ;
9060 PyObject * obj2 = 0 ;
9061 char * kwnames[] = {
9062 (char *) "self",(char *) "text",(char *) "number", NULL
9063 };
9064
9065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9067 if (!SWIG_IsOK(res1)) {
9068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9069 }
9070 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9071 {
9072 arg2 = wxString_in_helper(obj1);
9073 if (arg2 == NULL) SWIG_fail;
9074 temp2 = true;
9075 }
9076 if (obj2) {
9077 ecode3 = SWIG_AsVal_int(obj2, &val3);
9078 if (!SWIG_IsOK(ecode3)) {
9079 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9080 }
9081 arg3 = static_cast< int >(val3);
9082 }
9083 {
9084 PyThreadState* __tstate = wxPyBeginAllowThreads();
9085 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9086 wxPyEndAllowThreads(__tstate);
9087 if (PyErr_Occurred()) SWIG_fail;
9088 }
9089 resultobj = SWIG_Py_Void();
9090 {
9091 if (temp2)
9092 delete arg2;
9093 }
9094 return resultobj;
9095fail:
9096 {
9097 if (temp2)
9098 delete arg2;
9099 }
9100 return NULL;
9101}
9102
9103
9104SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9105 PyObject *resultobj = 0;
9106 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9107 int arg2 = (int) 0 ;
9108 void *argp1 = 0 ;
9109 int res1 = 0 ;
9110 int val2 ;
9111 int ecode2 = 0 ;
9112 PyObject * obj0 = 0 ;
9113 PyObject * obj1 = 0 ;
9114 char * kwnames[] = {
9115 (char *) "self",(char *) "number", NULL
9116 };
9117
9118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9120 if (!SWIG_IsOK(res1)) {
9121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9122 }
9123 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9124 if (obj1) {
9125 ecode2 = SWIG_AsVal_int(obj1, &val2);
9126 if (!SWIG_IsOK(ecode2)) {
9127 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9128 }
9129 arg2 = static_cast< int >(val2);
9130 }
9131 {
9132 PyThreadState* __tstate = wxPyBeginAllowThreads();
9133 (arg1)->PopStatusText(arg2);
9134 wxPyEndAllowThreads(__tstate);
9135 if (PyErr_Occurred()) SWIG_fail;
9136 }
9137 resultobj = SWIG_Py_Void();
9138 return resultobj;
9139fail:
9140 return NULL;
9141}
9142
9143
9144SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9145 PyObject *resultobj = 0;
9146 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9147 int arg2 ;
9148 int *arg3 = (int *) 0 ;
9149 void *argp1 = 0 ;
9150 int res1 = 0 ;
9151 PyObject * obj0 = 0 ;
9152 PyObject * obj1 = 0 ;
9153 char * kwnames[] = {
9154 (char *) "self",(char *) "widths", NULL
9155 };
9156
9157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9159 if (!SWIG_IsOK(res1)) {
9160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9161 }
9162 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9163 {
9164 arg2 = PyList_Size(obj1);
9165 arg3 = int_LIST_helper(obj1);
9166 if (arg3 == NULL) SWIG_fail;
9167 }
9168 {
9169 PyThreadState* __tstate = wxPyBeginAllowThreads();
9170 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9171 wxPyEndAllowThreads(__tstate);
9172 if (PyErr_Occurred()) SWIG_fail;
9173 }
9174 resultobj = SWIG_Py_Void();
9175 {
9176 if (arg3) delete [] arg3;
9177 }
9178 return resultobj;
9179fail:
9180 {
9181 if (arg3) delete [] arg3;
9182 }
9183 return NULL;
d55e5bfc
RD
9184}
9185
9186
1bd55598
RD
9187SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9188 PyObject *resultobj = 0;
9189 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9190 int arg2 ;
9191 int *arg3 = (int *) 0 ;
9192 void *argp1 = 0 ;
9193 int res1 = 0 ;
9194 PyObject * obj0 = 0 ;
9195 PyObject * obj1 = 0 ;
9196 char * kwnames[] = {
9197 (char *) "self",(char *) "styles", NULL
9198 };
9199
9200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9202 if (!SWIG_IsOK(res1)) {
9203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9204 }
9205 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9206 {
9207 arg2 = PyList_Size(obj1);
9208 arg3 = int_LIST_helper(obj1);
9209 if (arg3 == NULL) SWIG_fail;
9210 }
9211 {
9212 PyThreadState* __tstate = wxPyBeginAllowThreads();
9213 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9214 wxPyEndAllowThreads(__tstate);
9215 if (PyErr_Occurred()) SWIG_fail;
9216 }
9217 resultobj = SWIG_Py_Void();
9218 {
9219 if (arg3) delete [] arg3;
9220 }
9221 return resultobj;
9222fail:
9223 {
9224 if (arg3) delete [] arg3;
9225 }
9226 return NULL;
9227}
9228
9229
9230SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9231 PyObject *resultobj = 0;
9232 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9233 int arg2 ;
9234 wxRect result;
9235 void *argp1 = 0 ;
9236 int res1 = 0 ;
9237 int val2 ;
9238 int ecode2 = 0 ;
9239 PyObject * obj0 = 0 ;
9240 PyObject * obj1 = 0 ;
9241 char * kwnames[] = {
9242 (char *) "self",(char *) "i", NULL
9243 };
9244
9245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9246 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9247 if (!SWIG_IsOK(res1)) {
9248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9249 }
9250 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9251 ecode2 = SWIG_AsVal_int(obj1, &val2);
9252 if (!SWIG_IsOK(ecode2)) {
9253 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9254 }
9255 arg2 = static_cast< int >(val2);
9256 {
9257 PyThreadState* __tstate = wxPyBeginAllowThreads();
9258 result = wxStatusBar_GetFieldRect(arg1,arg2);
9259 wxPyEndAllowThreads(__tstate);
9260 if (PyErr_Occurred()) SWIG_fail;
9261 }
9262 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9263 return resultobj;
9264fail:
9265 return NULL;
9266}
9267
9268
9269SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9270 PyObject *resultobj = 0;
9271 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9272 int arg2 ;
9273 void *argp1 = 0 ;
9274 int res1 = 0 ;
9275 int val2 ;
9276 int ecode2 = 0 ;
9277 PyObject * obj0 = 0 ;
9278 PyObject * obj1 = 0 ;
9279 char * kwnames[] = {
9280 (char *) "self",(char *) "height", NULL
9281 };
9282
9283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9285 if (!SWIG_IsOK(res1)) {
9286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9287 }
9288 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9289 ecode2 = SWIG_AsVal_int(obj1, &val2);
9290 if (!SWIG_IsOK(ecode2)) {
9291 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9292 }
9293 arg2 = static_cast< int >(val2);
9294 {
9295 PyThreadState* __tstate = wxPyBeginAllowThreads();
9296 (arg1)->SetMinHeight(arg2);
9297 wxPyEndAllowThreads(__tstate);
9298 if (PyErr_Occurred()) SWIG_fail;
9299 }
9300 resultobj = SWIG_Py_Void();
9301 return resultobj;
9302fail:
9303 return NULL;
d55e5bfc
RD
9304}
9305
9306
1bd55598
RD
9307SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9308 PyObject *resultobj = 0;
9309 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9310 int result;
9311 void *argp1 = 0 ;
9312 int res1 = 0 ;
9313 PyObject *swig_obj[1] ;
9314
9315 if (!args) SWIG_fail;
9316 swig_obj[0] = args;
9317 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9318 if (!SWIG_IsOK(res1)) {
9319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9320 }
9321 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9322 {
9323 PyThreadState* __tstate = wxPyBeginAllowThreads();
9324 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9325 wxPyEndAllowThreads(__tstate);
9326 if (PyErr_Occurred()) SWIG_fail;
9327 }
9328 resultobj = SWIG_From_int(static_cast< int >(result));
9329 return resultobj;
9330fail:
9331 return NULL;
d55e5bfc
RD
9332}
9333
9334
1bd55598
RD
9335SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9336 PyObject *resultobj = 0;
9337 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9338 int result;
9339 void *argp1 = 0 ;
9340 int res1 = 0 ;
9341 PyObject *swig_obj[1] ;
9342
9343 if (!args) SWIG_fail;
9344 swig_obj[0] = args;
9345 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9346 if (!SWIG_IsOK(res1)) {
9347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9348 }
9349 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9350 {
9351 PyThreadState* __tstate = wxPyBeginAllowThreads();
9352 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9353 wxPyEndAllowThreads(__tstate);
9354 if (PyErr_Occurred()) SWIG_fail;
9355 }
9356 resultobj = SWIG_From_int(static_cast< int >(result));
9357 return resultobj;
9358fail:
9359 return NULL;
9360}
9361
9362
9363SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9364 PyObject *resultobj = 0;
9365 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9366 SwigValueWrapper<wxVisualAttributes > result;
9367 int val1 ;
9368 int ecode1 = 0 ;
9369 PyObject * obj0 = 0 ;
9370 char * kwnames[] = {
9371 (char *) "variant", NULL
9372 };
9373
9374 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9375 if (obj0) {
9376 ecode1 = SWIG_AsVal_int(obj0, &val1);
9377 if (!SWIG_IsOK(ecode1)) {
9378 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9379 }
9380 arg1 = static_cast< wxWindowVariant >(val1);
9381 }
9382 {
9383 if (!wxPyCheckForApp()) SWIG_fail;
9384 PyThreadState* __tstate = wxPyBeginAllowThreads();
9385 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9386 wxPyEndAllowThreads(__tstate);
9387 if (PyErr_Occurred()) SWIG_fail;
9388 }
9389 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9390 return resultobj;
9391fail:
9392 return NULL;
d55e5bfc
RD
9393}
9394
9395
1bd55598
RD
9396SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9397 PyObject *obj;
9398 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9399 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9400 return SWIG_Py_Void();
d55e5bfc
RD
9401}
9402
1bd55598
RD
9403SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9404 return SWIG_Python_InitShadowInstance(args);
9405}
d55e5bfc 9406
1bd55598
RD
9407SWIGINTERN int SplitterNameStr_set(PyObject *) {
9408 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9409 return 1;
d55e5bfc
RD
9410}
9411
9412
1bd55598
RD
9413SWIGINTERN PyObject *SplitterNameStr_get(void) {
9414 PyObject *pyobj = 0;
9415
9416 {
9417#if wxUSE_UNICODE
9418 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9419#else
9420 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9421#endif
9422 }
9423 return pyobj;
9424}
9425
9426
9427SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9428 PyObject *resultobj = 0;
9429 wxWindow *arg1 = (wxWindow *) 0 ;
9430 int arg2 = (int) -1 ;
9431 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9432 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9433 wxSize const &arg4_defvalue = wxDefaultSize ;
9434 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9435 long arg5 = (long) wxSP_3D ;
9436 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9437 wxString *arg6 = (wxString *) &arg6_defvalue ;
9438 wxSplitterWindow *result = 0 ;
9439 void *argp1 = 0 ;
9440 int res1 = 0 ;
9441 int val2 ;
9442 int ecode2 = 0 ;
9443 wxPoint temp3 ;
9444 wxSize temp4 ;
9445 long val5 ;
9446 int ecode5 = 0 ;
9447 bool temp6 = false ;
9448 PyObject * obj0 = 0 ;
9449 PyObject * obj1 = 0 ;
9450 PyObject * obj2 = 0 ;
9451 PyObject * obj3 = 0 ;
9452 PyObject * obj4 = 0 ;
9453 PyObject * obj5 = 0 ;
9454 char * kwnames[] = {
9455 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9456 };
9457
9458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9460 if (!SWIG_IsOK(res1)) {
9461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9462 }
9463 arg1 = reinterpret_cast< wxWindow * >(argp1);
9464 if (obj1) {
9465 ecode2 = SWIG_AsVal_int(obj1, &val2);
9466 if (!SWIG_IsOK(ecode2)) {
9467 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9468 }
9469 arg2 = static_cast< int >(val2);
9470 }
9471 if (obj2) {
36ed4f51 9472 {
1bd55598
RD
9473 arg3 = &temp3;
9474 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
36ed4f51 9475 }
1bd55598
RD
9476 }
9477 if (obj3) {
d55e5bfc 9478 {
1bd55598
RD
9479 arg4 = &temp4;
9480 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 9481 }
1bd55598
RD
9482 }
9483 if (obj4) {
9484 ecode5 = SWIG_AsVal_long(obj4, &val5);
9485 if (!SWIG_IsOK(ecode5)) {
9486 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9487 }
9488 arg5 = static_cast< long >(val5);
9489 }
9490 if (obj5) {
36ed4f51 9491 {
1bd55598
RD
9492 arg6 = wxString_in_helper(obj5);
9493 if (arg6 == NULL) SWIG_fail;
9494 temp6 = true;
36ed4f51 9495 }
1bd55598
RD
9496 }
9497 {
9498 if (!wxPyCheckForApp()) SWIG_fail;
9499 PyThreadState* __tstate = wxPyBeginAllowThreads();
9500 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9501 wxPyEndAllowThreads(__tstate);
9502 if (PyErr_Occurred()) SWIG_fail;
9503 }
9504 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9505 {
9506 if (temp6)
9507 delete arg6;
9508 }
9509 return resultobj;
9510fail:
9511 {
9512 if (temp6)
9513 delete arg6;
9514 }
9515 return NULL;
d55e5bfc
RD
9516}
9517
9518
1bd55598
RD
9519SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9520 PyObject *resultobj = 0;
9521 wxSplitterWindow *result = 0 ;
9522
9523 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9524 {
9525 if (!wxPyCheckForApp()) SWIG_fail;
9526 PyThreadState* __tstate = wxPyBeginAllowThreads();
9527 result = (wxSplitterWindow *)new wxSplitterWindow();
9528 wxPyEndAllowThreads(__tstate);
9529 if (PyErr_Occurred()) SWIG_fail;
9530 }
9531 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9532 return resultobj;
9533fail:
9534 return NULL;
9535}
9536
9537
9538SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9539 PyObject *resultobj = 0;
9540 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9541 wxWindow *arg2 = (wxWindow *) 0 ;
9542 int arg3 = (int) -1 ;
9543 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9544 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9545 wxSize const &arg5_defvalue = wxDefaultSize ;
9546 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9547 long arg6 = (long) wxSP_3D ;
9548 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9549 wxString *arg7 = (wxString *) &arg7_defvalue ;
9550 bool result;
9551 void *argp1 = 0 ;
9552 int res1 = 0 ;
9553 void *argp2 = 0 ;
9554 int res2 = 0 ;
9555 int val3 ;
9556 int ecode3 = 0 ;
9557 wxPoint temp4 ;
9558 wxSize temp5 ;
9559 long val6 ;
9560 int ecode6 = 0 ;
9561 bool temp7 = false ;
9562 PyObject * obj0 = 0 ;
9563 PyObject * obj1 = 0 ;
9564 PyObject * obj2 = 0 ;
9565 PyObject * obj3 = 0 ;
9566 PyObject * obj4 = 0 ;
9567 PyObject * obj5 = 0 ;
9568 PyObject * obj6 = 0 ;
9569 char * kwnames[] = {
9570 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9571 };
9572
9573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9575 if (!SWIG_IsOK(res1)) {
9576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9577 }
9578 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9579 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9580 if (!SWIG_IsOK(res2)) {
9581 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9582 }
9583 arg2 = reinterpret_cast< wxWindow * >(argp2);
9584 if (obj2) {
9585 ecode3 = SWIG_AsVal_int(obj2, &val3);
9586 if (!SWIG_IsOK(ecode3)) {
9587 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9588 }
9589 arg3 = static_cast< int >(val3);
9590 }
9591 if (obj3) {
d55e5bfc 9592 {
1bd55598
RD
9593 arg4 = &temp4;
9594 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 9595 }
1bd55598
RD
9596 }
9597 if (obj4) {
d55e5bfc 9598 {
1bd55598
RD
9599 arg5 = &temp5;
9600 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 9601 }
1bd55598
RD
9602 }
9603 if (obj5) {
9604 ecode6 = SWIG_AsVal_long(obj5, &val6);
9605 if (!SWIG_IsOK(ecode6)) {
9606 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9607 }
9608 arg6 = static_cast< long >(val6);
9609 }
9610 if (obj6) {
d55e5bfc 9611 {
1bd55598
RD
9612 arg7 = wxString_in_helper(obj6);
9613 if (arg7 == NULL) SWIG_fail;
9614 temp7 = true;
d55e5bfc 9615 }
1bd55598
RD
9616 }
9617 {
9618 PyThreadState* __tstate = wxPyBeginAllowThreads();
9619 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9620 wxPyEndAllowThreads(__tstate);
9621 if (PyErr_Occurred()) SWIG_fail;
9622 }
9623 {
9624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9625 }
9626 {
9627 if (temp7)
9628 delete arg7;
9629 }
9630 return resultobj;
9631fail:
9632 {
9633 if (temp7)
9634 delete arg7;
9635 }
9636 return NULL;
d55e5bfc
RD
9637}
9638
9639
1bd55598
RD
9640SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9641 PyObject *resultobj = 0;
9642 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9643 wxWindow *result = 0 ;
9644 void *argp1 = 0 ;
9645 int res1 = 0 ;
9646 PyObject *swig_obj[1] ;
9647
9648 if (!args) SWIG_fail;
9649 swig_obj[0] = args;
9650 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9651 if (!SWIG_IsOK(res1)) {
9652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9653 }
9654 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9655 {
9656 PyThreadState* __tstate = wxPyBeginAllowThreads();
9657 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9658 wxPyEndAllowThreads(__tstate);
9659 if (PyErr_Occurred()) SWIG_fail;
9660 }
9661 {
9662 resultobj = wxPyMake_wxObject(result, 0);
9663 }
9664 return resultobj;
9665fail:
9666 return NULL;
d55e5bfc
RD
9667}
9668
9669
1bd55598
RD
9670SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9671 PyObject *resultobj = 0;
9672 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9673 wxWindow *result = 0 ;
9674 void *argp1 = 0 ;
9675 int res1 = 0 ;
9676 PyObject *swig_obj[1] ;
9677
9678 if (!args) SWIG_fail;
9679 swig_obj[0] = args;
9680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9681 if (!SWIG_IsOK(res1)) {
9682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9683 }
9684 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9685 {
9686 PyThreadState* __tstate = wxPyBeginAllowThreads();
9687 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9688 wxPyEndAllowThreads(__tstate);
9689 if (PyErr_Occurred()) SWIG_fail;
9690 }
9691 {
9692 resultobj = wxPyMake_wxObject(result, 0);
9693 }
9694 return resultobj;
9695fail:
9696 return NULL;
9697}
9698
9699
9700SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9701 PyObject *resultobj = 0;
9702 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9703 int arg2 ;
9704 void *argp1 = 0 ;
9705 int res1 = 0 ;
9706 int val2 ;
9707 int ecode2 = 0 ;
9708 PyObject * obj0 = 0 ;
9709 PyObject * obj1 = 0 ;
9710 char * kwnames[] = {
9711 (char *) "self",(char *) "mode", NULL
9712 };
9713
9714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9716 if (!SWIG_IsOK(res1)) {
9717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9718 }
9719 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9720 ecode2 = SWIG_AsVal_int(obj1, &val2);
9721 if (!SWIG_IsOK(ecode2)) {
9722 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9723 }
9724 arg2 = static_cast< int >(val2);
9725 {
9726 PyThreadState* __tstate = wxPyBeginAllowThreads();
9727 (arg1)->SetSplitMode(arg2);
9728 wxPyEndAllowThreads(__tstate);
9729 if (PyErr_Occurred()) SWIG_fail;
9730 }
9731 resultobj = SWIG_Py_Void();
9732 return resultobj;
9733fail:
9734 return NULL;
d55e5bfc
RD
9735}
9736
9737
1bd55598
RD
9738SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9739 PyObject *resultobj = 0;
9740 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9741 wxSplitMode result;
9742 void *argp1 = 0 ;
9743 int res1 = 0 ;
9744 PyObject *swig_obj[1] ;
9745
9746 if (!args) SWIG_fail;
9747 swig_obj[0] = args;
9748 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9749 if (!SWIG_IsOK(res1)) {
9750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9751 }
9752 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9753 {
9754 PyThreadState* __tstate = wxPyBeginAllowThreads();
9755 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9756 wxPyEndAllowThreads(__tstate);
9757 if (PyErr_Occurred()) SWIG_fail;
9758 }
9759 resultobj = SWIG_From_int(static_cast< int >(result));
9760 return resultobj;
9761fail:
9762 return NULL;
9763}
9764
9765
9766SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9767 PyObject *resultobj = 0;
9768 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9769 wxWindow *arg2 = (wxWindow *) 0 ;
9770 void *argp1 = 0 ;
9771 int res1 = 0 ;
9772 void *argp2 = 0 ;
9773 int res2 = 0 ;
9774 PyObject * obj0 = 0 ;
9775 PyObject * obj1 = 0 ;
9776 char * kwnames[] = {
9777 (char *) "self",(char *) "window", NULL
9778 };
9779
9780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9782 if (!SWIG_IsOK(res1)) {
9783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9784 }
9785 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9786 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9787 if (!SWIG_IsOK(res2)) {
9788 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9789 }
9790 arg2 = reinterpret_cast< wxWindow * >(argp2);
9791 {
9792 PyThreadState* __tstate = wxPyBeginAllowThreads();
9793 (arg1)->Initialize(arg2);
9794 wxPyEndAllowThreads(__tstate);
9795 if (PyErr_Occurred()) SWIG_fail;
9796 }
9797 resultobj = SWIG_Py_Void();
9798 return resultobj;
9799fail:
9800 return NULL;
9801}
9802
9803
9804SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9805 PyObject *resultobj = 0;
9806 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9807 wxWindow *arg2 = (wxWindow *) 0 ;
9808 wxWindow *arg3 = (wxWindow *) 0 ;
9809 int arg4 = (int) 0 ;
9810 bool result;
9811 void *argp1 = 0 ;
9812 int res1 = 0 ;
9813 void *argp2 = 0 ;
9814 int res2 = 0 ;
9815 void *argp3 = 0 ;
9816 int res3 = 0 ;
9817 int val4 ;
9818 int ecode4 = 0 ;
9819 PyObject * obj0 = 0 ;
9820 PyObject * obj1 = 0 ;
9821 PyObject * obj2 = 0 ;
9822 PyObject * obj3 = 0 ;
9823 char * kwnames[] = {
9824 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9825 };
9826
9827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9829 if (!SWIG_IsOK(res1)) {
9830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9831 }
9832 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9833 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9834 if (!SWIG_IsOK(res2)) {
9835 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9836 }
9837 arg2 = reinterpret_cast< wxWindow * >(argp2);
9838 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9839 if (!SWIG_IsOK(res3)) {
9840 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9841 }
9842 arg3 = reinterpret_cast< wxWindow * >(argp3);
9843 if (obj3) {
9844 ecode4 = SWIG_AsVal_int(obj3, &val4);
9845 if (!SWIG_IsOK(ecode4)) {
9846 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9847 }
9848 arg4 = static_cast< int >(val4);
9849 }
9850 {
9851 PyThreadState* __tstate = wxPyBeginAllowThreads();
9852 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9853 wxPyEndAllowThreads(__tstate);
9854 if (PyErr_Occurred()) SWIG_fail;
9855 }
9856 {
9857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9858 }
9859 return resultobj;
9860fail:
9861 return NULL;
9862}
9863
9864
9865SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9866 PyObject *resultobj = 0;
9867 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9868 wxWindow *arg2 = (wxWindow *) 0 ;
9869 wxWindow *arg3 = (wxWindow *) 0 ;
9870 int arg4 = (int) 0 ;
9871 bool result;
9872 void *argp1 = 0 ;
9873 int res1 = 0 ;
9874 void *argp2 = 0 ;
9875 int res2 = 0 ;
9876 void *argp3 = 0 ;
9877 int res3 = 0 ;
9878 int val4 ;
9879 int ecode4 = 0 ;
9880 PyObject * obj0 = 0 ;
9881 PyObject * obj1 = 0 ;
9882 PyObject * obj2 = 0 ;
9883 PyObject * obj3 = 0 ;
9884 char * kwnames[] = {
9885 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9886 };
9887
9888 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9889 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9890 if (!SWIG_IsOK(res1)) {
9891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9892 }
9893 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9894 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9895 if (!SWIG_IsOK(res2)) {
9896 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9897 }
9898 arg2 = reinterpret_cast< wxWindow * >(argp2);
9899 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9900 if (!SWIG_IsOK(res3)) {
9901 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9902 }
9903 arg3 = reinterpret_cast< wxWindow * >(argp3);
9904 if (obj3) {
9905 ecode4 = SWIG_AsVal_int(obj3, &val4);
9906 if (!SWIG_IsOK(ecode4)) {
9907 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9908 }
9909 arg4 = static_cast< int >(val4);
9910 }
9911 {
9912 PyThreadState* __tstate = wxPyBeginAllowThreads();
9913 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9914 wxPyEndAllowThreads(__tstate);
9915 if (PyErr_Occurred()) SWIG_fail;
9916 }
9917 {
9918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9919 }
9920 return resultobj;
9921fail:
9922 return NULL;
9923}
9924
9925
9926SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9927 PyObject *resultobj = 0;
9928 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9929 wxWindow *arg2 = (wxWindow *) NULL ;
9930 bool result;
9931 void *argp1 = 0 ;
9932 int res1 = 0 ;
9933 void *argp2 = 0 ;
9934 int res2 = 0 ;
9935 PyObject * obj0 = 0 ;
9936 PyObject * obj1 = 0 ;
9937 char * kwnames[] = {
9938 (char *) "self",(char *) "toRemove", NULL
9939 };
9940
9941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9943 if (!SWIG_IsOK(res1)) {
9944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9945 }
9946 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9947 if (obj1) {
9948 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9949 if (!SWIG_IsOK(res2)) {
9950 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
f20a2e1f 9951 }
1bd55598
RD
9952 arg2 = reinterpret_cast< wxWindow * >(argp2);
9953 }
9954 {
9955 PyThreadState* __tstate = wxPyBeginAllowThreads();
9956 result = (bool)(arg1)->Unsplit(arg2);
9957 wxPyEndAllowThreads(__tstate);
9958 if (PyErr_Occurred()) SWIG_fail;
9959 }
9960 {
9961 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9962 }
9963 return resultobj;
9964fail:
9965 return NULL;
9966}
9967
9968
9969SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9970 PyObject *resultobj = 0;
9971 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9972 wxWindow *arg2 = (wxWindow *) 0 ;
9973 wxWindow *arg3 = (wxWindow *) 0 ;
9974 bool result;
9975 void *argp1 = 0 ;
9976 int res1 = 0 ;
9977 void *argp2 = 0 ;
9978 int res2 = 0 ;
9979 void *argp3 = 0 ;
9980 int res3 = 0 ;
9981 PyObject * obj0 = 0 ;
9982 PyObject * obj1 = 0 ;
9983 PyObject * obj2 = 0 ;
9984 char * kwnames[] = {
9985 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9986 };
9987
9988 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9989 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9990 if (!SWIG_IsOK(res1)) {
9991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9992 }
9993 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9994 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9995 if (!SWIG_IsOK(res2)) {
9996 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9997 }
9998 arg2 = reinterpret_cast< wxWindow * >(argp2);
9999 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10000 if (!SWIG_IsOK(res3)) {
10001 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10002 }
10003 arg3 = reinterpret_cast< wxWindow * >(argp3);
10004 {
10005 PyThreadState* __tstate = wxPyBeginAllowThreads();
10006 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
10007 wxPyEndAllowThreads(__tstate);
10008 if (PyErr_Occurred()) SWIG_fail;
10009 }
10010 {
10011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10012 }
10013 return resultobj;
10014fail:
10015 return NULL;
f20a2e1f
RD
10016}
10017
10018
1bd55598
RD
10019SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10020 PyObject *resultobj = 0;
10021 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10022 void *argp1 = 0 ;
10023 int res1 = 0 ;
10024 PyObject *swig_obj[1] ;
10025
10026 if (!args) SWIG_fail;
10027 swig_obj[0] = args;
10028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10029 if (!SWIG_IsOK(res1)) {
10030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10031 }
10032 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10033 {
10034 PyThreadState* __tstate = wxPyBeginAllowThreads();
10035 (arg1)->UpdateSize();
10036 wxPyEndAllowThreads(__tstate);
10037 if (PyErr_Occurred()) SWIG_fail;
10038 }
10039 resultobj = SWIG_Py_Void();
10040 return resultobj;
10041fail:
10042 return NULL;
d55e5bfc
RD
10043}
10044
10045
1bd55598
RD
10046SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10047 PyObject *resultobj = 0;
10048 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10049 bool result;
10050 void *argp1 = 0 ;
10051 int res1 = 0 ;
10052 PyObject *swig_obj[1] ;
10053
10054 if (!args) SWIG_fail;
10055 swig_obj[0] = args;
10056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10057 if (!SWIG_IsOK(res1)) {
10058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10059 }
10060 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10061 {
10062 PyThreadState* __tstate = wxPyBeginAllowThreads();
10063 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
10064 wxPyEndAllowThreads(__tstate);
10065 if (PyErr_Occurred()) SWIG_fail;
10066 }
10067 {
10068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10069 }
10070 return resultobj;
10071fail:
10072 return NULL;
10073}
10074
10075
10076SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10077 PyObject *resultobj = 0;
10078 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10079 int arg2 ;
10080 void *argp1 = 0 ;
10081 int res1 = 0 ;
10082 int val2 ;
10083 int ecode2 = 0 ;
10084 PyObject * obj0 = 0 ;
10085 PyObject * obj1 = 0 ;
10086 char * kwnames[] = {
10087 (char *) "self",(char *) "width", NULL
10088 };
10089
10090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10092 if (!SWIG_IsOK(res1)) {
10093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10094 }
10095 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10096 ecode2 = SWIG_AsVal_int(obj1, &val2);
10097 if (!SWIG_IsOK(ecode2)) {
10098 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10099 }
10100 arg2 = static_cast< int >(val2);
10101 {
10102 PyThreadState* __tstate = wxPyBeginAllowThreads();
10103 (arg1)->SetSashSize(arg2);
10104 wxPyEndAllowThreads(__tstate);
10105 if (PyErr_Occurred()) SWIG_fail;
10106 }
10107 resultobj = SWIG_Py_Void();
10108 return resultobj;
10109fail:
10110 return NULL;
10111}
10112
10113
10114SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10115 PyObject *resultobj = 0;
10116 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10117 int arg2 ;
10118 void *argp1 = 0 ;
10119 int res1 = 0 ;
10120 int val2 ;
10121 int ecode2 = 0 ;
10122 PyObject * obj0 = 0 ;
10123 PyObject * obj1 = 0 ;
10124 char * kwnames[] = {
10125 (char *) "self",(char *) "width", NULL
10126 };
10127
10128 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10129 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10130 if (!SWIG_IsOK(res1)) {
10131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10132 }
10133 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10134 ecode2 = SWIG_AsVal_int(obj1, &val2);
10135 if (!SWIG_IsOK(ecode2)) {
10136 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10137 }
10138 arg2 = static_cast< int >(val2);
10139 {
10140 PyThreadState* __tstate = wxPyBeginAllowThreads();
10141 (arg1)->SetBorderSize(arg2);
10142 wxPyEndAllowThreads(__tstate);
10143 if (PyErr_Occurred()) SWIG_fail;
10144 }
10145 resultobj = SWIG_Py_Void();
10146 return resultobj;
10147fail:
10148 return NULL;
d55e5bfc
RD
10149}
10150
10151
1bd55598
RD
10152SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10153 PyObject *resultobj = 0;
10154 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10155 int result;
10156 void *argp1 = 0 ;
10157 int res1 = 0 ;
10158 PyObject *swig_obj[1] ;
10159
10160 if (!args) SWIG_fail;
10161 swig_obj[0] = args;
10162 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10163 if (!SWIG_IsOK(res1)) {
10164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10165 }
10166 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10167 {
10168 PyThreadState* __tstate = wxPyBeginAllowThreads();
10169 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10170 wxPyEndAllowThreads(__tstate);
10171 if (PyErr_Occurred()) SWIG_fail;
10172 }
10173 resultobj = SWIG_From_int(static_cast< int >(result));
10174 return resultobj;
10175fail:
10176 return NULL;
d55e5bfc
RD
10177}
10178
10179
1bd55598
RD
10180SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10181 PyObject *resultobj = 0;
10182 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10183 int result;
10184 void *argp1 = 0 ;
10185 int res1 = 0 ;
10186 PyObject *swig_obj[1] ;
10187
10188 if (!args) SWIG_fail;
10189 swig_obj[0] = args;
10190 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10191 if (!SWIG_IsOK(res1)) {
10192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10193 }
10194 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10195 {
10196 PyThreadState* __tstate = wxPyBeginAllowThreads();
10197 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10198 wxPyEndAllowThreads(__tstate);
10199 if (PyErr_Occurred()) SWIG_fail;
10200 }
10201 resultobj = SWIG_From_int(static_cast< int >(result));
10202 return resultobj;
10203fail:
10204 return NULL;
10205}
10206
10207
10208SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10209 PyObject *resultobj = 0;
10210 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10211 int arg2 ;
10212 bool arg3 = (bool) true ;
10213 void *argp1 = 0 ;
10214 int res1 = 0 ;
10215 int val2 ;
10216 int ecode2 = 0 ;
10217 bool val3 ;
10218 int ecode3 = 0 ;
10219 PyObject * obj0 = 0 ;
10220 PyObject * obj1 = 0 ;
10221 PyObject * obj2 = 0 ;
10222 char * kwnames[] = {
10223 (char *) "self",(char *) "position",(char *) "redraw", NULL
10224 };
10225
10226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10227 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10228 if (!SWIG_IsOK(res1)) {
10229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10230 }
10231 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10232 ecode2 = SWIG_AsVal_int(obj1, &val2);
10233 if (!SWIG_IsOK(ecode2)) {
10234 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10235 }
10236 arg2 = static_cast< int >(val2);
10237 if (obj2) {
10238 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10239 if (!SWIG_IsOK(ecode3)) {
10240 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10241 }
10242 arg3 = static_cast< bool >(val3);
10243 }
10244 {
10245 PyThreadState* __tstate = wxPyBeginAllowThreads();
10246 (arg1)->SetSashPosition(arg2,arg3);
10247 wxPyEndAllowThreads(__tstate);
10248 if (PyErr_Occurred()) SWIG_fail;
10249 }
10250 resultobj = SWIG_Py_Void();
10251 return resultobj;
10252fail:
10253 return NULL;
d55e5bfc
RD
10254}
10255
10256
1bd55598
RD
10257SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10258 PyObject *resultobj = 0;
10259 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10260 int result;
10261 void *argp1 = 0 ;
10262 int res1 = 0 ;
10263 PyObject *swig_obj[1] ;
10264
10265 if (!args) SWIG_fail;
10266 swig_obj[0] = args;
10267 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10268 if (!SWIG_IsOK(res1)) {
10269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10270 }
10271 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10272 {
10273 PyThreadState* __tstate = wxPyBeginAllowThreads();
10274 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10275 wxPyEndAllowThreads(__tstate);
10276 if (PyErr_Occurred()) SWIG_fail;
10277 }
10278 resultobj = SWIG_From_int(static_cast< int >(result));
10279 return resultobj;
10280fail:
10281 return NULL;
10282}
10283
10284
10285SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10286 PyObject *resultobj = 0;
10287 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10288 double arg2 ;
10289 void *argp1 = 0 ;
10290 int res1 = 0 ;
10291 double val2 ;
10292 int ecode2 = 0 ;
10293 PyObject * obj0 = 0 ;
10294 PyObject * obj1 = 0 ;
10295 char * kwnames[] = {
10296 (char *) "self",(char *) "gravity", NULL
10297 };
10298
10299 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10300 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10301 if (!SWIG_IsOK(res1)) {
10302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10303 }
10304 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10305 ecode2 = SWIG_AsVal_double(obj1, &val2);
10306 if (!SWIG_IsOK(ecode2)) {
10307 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10308 }
10309 arg2 = static_cast< double >(val2);
10310 {
10311 PyThreadState* __tstate = wxPyBeginAllowThreads();
10312 (arg1)->SetSashGravity(arg2);
10313 wxPyEndAllowThreads(__tstate);
10314 if (PyErr_Occurred()) SWIG_fail;
10315 }
10316 resultobj = SWIG_Py_Void();
10317 return resultobj;
10318fail:
10319 return NULL;
d55e5bfc
RD
10320}
10321
10322
1bd55598
RD
10323SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10324 PyObject *resultobj = 0;
10325 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10326 double result;
10327 void *argp1 = 0 ;
10328 int res1 = 0 ;
10329 PyObject *swig_obj[1] ;
10330
10331 if (!args) SWIG_fail;
10332 swig_obj[0] = args;
10333 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10334 if (!SWIG_IsOK(res1)) {
10335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10336 }
10337 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10338 {
10339 PyThreadState* __tstate = wxPyBeginAllowThreads();
10340 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10341 wxPyEndAllowThreads(__tstate);
10342 if (PyErr_Occurred()) SWIG_fail;
10343 }
10344 resultobj = SWIG_From_double(static_cast< double >(result));
10345 return resultobj;
10346fail:
10347 return NULL;
10348}
10349
10350
10351SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10352 PyObject *resultobj = 0;
10353 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10354 int arg2 ;
10355 void *argp1 = 0 ;
10356 int res1 = 0 ;
10357 int val2 ;
10358 int ecode2 = 0 ;
10359 PyObject * obj0 = 0 ;
10360 PyObject * obj1 = 0 ;
10361 char * kwnames[] = {
10362 (char *) "self",(char *) "min", NULL
10363 };
10364
10365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10366 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10367 if (!SWIG_IsOK(res1)) {
10368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10369 }
10370 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10371 ecode2 = SWIG_AsVal_int(obj1, &val2);
10372 if (!SWIG_IsOK(ecode2)) {
10373 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10374 }
10375 arg2 = static_cast< int >(val2);
10376 {
10377 PyThreadState* __tstate = wxPyBeginAllowThreads();
10378 (arg1)->SetMinimumPaneSize(arg2);
10379 wxPyEndAllowThreads(__tstate);
10380 if (PyErr_Occurred()) SWIG_fail;
10381 }
10382 resultobj = SWIG_Py_Void();
10383 return resultobj;
10384fail:
10385 return NULL;
b1fcee84
RD
10386}
10387
10388
1bd55598
RD
10389SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10390 PyObject *resultobj = 0;
10391 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10392 int result;
10393 void *argp1 = 0 ;
10394 int res1 = 0 ;
10395 PyObject *swig_obj[1] ;
10396
10397 if (!args) SWIG_fail;
10398 swig_obj[0] = args;
10399 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10400 if (!SWIG_IsOK(res1)) {
10401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10402 }
10403 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10404 {
10405 PyThreadState* __tstate = wxPyBeginAllowThreads();
10406 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10407 wxPyEndAllowThreads(__tstate);
10408 if (PyErr_Occurred()) SWIG_fail;
10409 }
10410 resultobj = SWIG_From_int(static_cast< int >(result));
10411 return resultobj;
10412fail:
10413 return NULL;
10414}
10415
10416
10417SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10418 PyObject *resultobj = 0;
10419 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10420 int arg2 ;
10421 int arg3 ;
10422 int arg4 = (int) 5 ;
10423 bool result;
10424 void *argp1 = 0 ;
10425 int res1 = 0 ;
10426 int val2 ;
10427 int ecode2 = 0 ;
10428 int val3 ;
10429 int ecode3 = 0 ;
10430 int val4 ;
10431 int ecode4 = 0 ;
10432 PyObject * obj0 = 0 ;
10433 PyObject * obj1 = 0 ;
10434 PyObject * obj2 = 0 ;
10435 PyObject * obj3 = 0 ;
10436 char * kwnames[] = {
10437 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10438 };
10439
10440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10442 if (!SWIG_IsOK(res1)) {
10443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10444 }
10445 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10446 ecode2 = SWIG_AsVal_int(obj1, &val2);
10447 if (!SWIG_IsOK(ecode2)) {
10448 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10449 }
10450 arg2 = static_cast< int >(val2);
10451 ecode3 = SWIG_AsVal_int(obj2, &val3);
10452 if (!SWIG_IsOK(ecode3)) {
10453 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10454 }
10455 arg3 = static_cast< int >(val3);
10456 if (obj3) {
10457 ecode4 = SWIG_AsVal_int(obj3, &val4);
10458 if (!SWIG_IsOK(ecode4)) {
10459 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10460 }
10461 arg4 = static_cast< int >(val4);
10462 }
10463 {
10464 PyThreadState* __tstate = wxPyBeginAllowThreads();
10465 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10466 wxPyEndAllowThreads(__tstate);
10467 if (PyErr_Occurred()) SWIG_fail;
10468 }
10469 {
10470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10471 }
10472 return resultobj;
10473fail:
10474 return NULL;
b1fcee84
RD
10475}
10476
10477
1bd55598
RD
10478SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10479 PyObject *resultobj = 0;
10480 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10481 void *argp1 = 0 ;
10482 int res1 = 0 ;
10483 PyObject *swig_obj[1] ;
10484
10485 if (!args) SWIG_fail;
10486 swig_obj[0] = args;
10487 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10488 if (!SWIG_IsOK(res1)) {
10489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10490 }
10491 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10492 {
10493 PyThreadState* __tstate = wxPyBeginAllowThreads();
10494 (arg1)->SizeWindows();
10495 wxPyEndAllowThreads(__tstate);
10496 if (PyErr_Occurred()) SWIG_fail;
10497 }
10498 resultobj = SWIG_Py_Void();
10499 return resultobj;
10500fail:
10501 return NULL;
10502}
10503
10504
10505SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10506 PyObject *resultobj = 0;
10507 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10508 bool arg2 ;
10509 void *argp1 = 0 ;
10510 int res1 = 0 ;
10511 bool val2 ;
10512 int ecode2 = 0 ;
10513 PyObject * obj0 = 0 ;
10514 PyObject * obj1 = 0 ;
10515 char * kwnames[] = {
10516 (char *) "self",(char *) "needUpdating", NULL
10517 };
10518
10519 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10520 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10521 if (!SWIG_IsOK(res1)) {
10522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10523 }
10524 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10525 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10526 if (!SWIG_IsOK(ecode2)) {
10527 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10528 }
10529 arg2 = static_cast< bool >(val2);
10530 {
10531 PyThreadState* __tstate = wxPyBeginAllowThreads();
10532 (arg1)->SetNeedUpdating(arg2);
10533 wxPyEndAllowThreads(__tstate);
10534 if (PyErr_Occurred()) SWIG_fail;
10535 }
10536 resultobj = SWIG_Py_Void();
10537 return resultobj;
10538fail:
10539 return NULL;
b1fcee84
RD
10540}
10541
10542
1bd55598
RD
10543SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10544 PyObject *resultobj = 0;
10545 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10546 bool result;
10547 void *argp1 = 0 ;
10548 int res1 = 0 ;
10549 PyObject *swig_obj[1] ;
10550
10551 if (!args) SWIG_fail;
10552 swig_obj[0] = args;
10553 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10554 if (!SWIG_IsOK(res1)) {
10555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10556 }
10557 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10558 {
10559 PyThreadState* __tstate = wxPyBeginAllowThreads();
10560 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10561 wxPyEndAllowThreads(__tstate);
10562 if (PyErr_Occurred()) SWIG_fail;
10563 }
10564 {
10565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10566 }
10567 return resultobj;
10568fail:
10569 return NULL;
b1fcee84
RD
10570}
10571
10572
1bd55598
RD
10573SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10574 PyObject *resultobj = 0;
10575 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10576 SwigValueWrapper<wxVisualAttributes > result;
10577 int val1 ;
10578 int ecode1 = 0 ;
10579 PyObject * obj0 = 0 ;
10580 char * kwnames[] = {
10581 (char *) "variant", NULL
10582 };
10583
10584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10585 if (obj0) {
10586 ecode1 = SWIG_AsVal_int(obj0, &val1);
10587 if (!SWIG_IsOK(ecode1)) {
10588 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10589 }
10590 arg1 = static_cast< wxWindowVariant >(val1);
10591 }
10592 {
10593 if (!wxPyCheckForApp()) SWIG_fail;
10594 PyThreadState* __tstate = wxPyBeginAllowThreads();
10595 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10596 wxPyEndAllowThreads(__tstate);
10597 if (PyErr_Occurred()) SWIG_fail;
10598 }
10599 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10600 return resultobj;
10601fail:
10602 return NULL;
d55e5bfc
RD
10603}
10604
10605
1bd55598
RD
10606SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10607 PyObject *obj;
10608 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10609 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10610 return SWIG_Py_Void();
d55e5bfc
RD
10611}
10612
1bd55598
RD
10613SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10614 return SWIG_Python_InitShadowInstance(args);
62d32a5f
RD
10615}
10616
1bd55598
RD
10617SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10618 PyObject *resultobj = 0;
10619 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10620 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10621 wxSplitterEvent *result = 0 ;
10622 int val1 ;
10623 int ecode1 = 0 ;
10624 void *argp2 = 0 ;
10625 int res2 = 0 ;
10626 PyObject * obj0 = 0 ;
10627 PyObject * obj1 = 0 ;
10628 char * kwnames[] = {
10629 (char *) "type",(char *) "splitter", NULL
10630 };
10631
10632 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10633 if (obj0) {
10634 ecode1 = SWIG_AsVal_int(obj0, &val1);
10635 if (!SWIG_IsOK(ecode1)) {
10636 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10637 }
10638 arg1 = static_cast< wxEventType >(val1);
10639 }
10640 if (obj1) {
10641 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10642 if (!SWIG_IsOK(res2)) {
10643 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
d55e5bfc 10644 }
1bd55598
RD
10645 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10646 }
10647 {
10648 PyThreadState* __tstate = wxPyBeginAllowThreads();
10649 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10650 wxPyEndAllowThreads(__tstate);
10651 if (PyErr_Occurred()) SWIG_fail;
10652 }
10653 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10654 return resultobj;
10655fail:
10656 return NULL;
10657}
10658
10659
10660SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10661 PyObject *resultobj = 0;
10662 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10663 int arg2 ;
10664 void *argp1 = 0 ;
10665 int res1 = 0 ;
10666 int val2 ;
10667 int ecode2 = 0 ;
10668 PyObject * obj0 = 0 ;
10669 PyObject * obj1 = 0 ;
10670 char * kwnames[] = {
10671 (char *) "self",(char *) "pos", NULL
10672 };
10673
10674 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10675 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10676 if (!SWIG_IsOK(res1)) {
10677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10678 }
10679 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10680 ecode2 = SWIG_AsVal_int(obj1, &val2);
10681 if (!SWIG_IsOK(ecode2)) {
10682 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10683 }
10684 arg2 = static_cast< int >(val2);
10685 {
10686 PyThreadState* __tstate = wxPyBeginAllowThreads();
10687 (arg1)->SetSashPosition(arg2);
10688 wxPyEndAllowThreads(__tstate);
10689 if (PyErr_Occurred()) SWIG_fail;
10690 }
10691 resultobj = SWIG_Py_Void();
10692 return resultobj;
10693fail:
10694 return NULL;
d55e5bfc
RD
10695}
10696
10697
1bd55598
RD
10698SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10699 PyObject *resultobj = 0;
10700 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10701 int result;
10702 void *argp1 = 0 ;
10703 int res1 = 0 ;
10704 PyObject *swig_obj[1] ;
10705
10706 if (!args) SWIG_fail;
10707 swig_obj[0] = args;
10708 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10709 if (!SWIG_IsOK(res1)) {
10710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10711 }
10712 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10713 {
10714 PyThreadState* __tstate = wxPyBeginAllowThreads();
10715 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10716 wxPyEndAllowThreads(__tstate);
10717 if (PyErr_Occurred()) SWIG_fail;
10718 }
10719 resultobj = SWIG_From_int(static_cast< int >(result));
10720 return resultobj;
10721fail:
10722 return NULL;
d55e5bfc
RD
10723}
10724
10725
1bd55598
RD
10726SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10727 PyObject *resultobj = 0;
10728 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10729 wxWindow *result = 0 ;
10730 void *argp1 = 0 ;
10731 int res1 = 0 ;
10732 PyObject *swig_obj[1] ;
10733
10734 if (!args) SWIG_fail;
10735 swig_obj[0] = args;
10736 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10737 if (!SWIG_IsOK(res1)) {
10738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10739 }
10740 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10741 {
10742 PyThreadState* __tstate = wxPyBeginAllowThreads();
10743 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10744 wxPyEndAllowThreads(__tstate);
10745 if (PyErr_Occurred()) SWIG_fail;
10746 }
10747 {
10748 resultobj = wxPyMake_wxObject(result, 0);
10749 }
10750 return resultobj;
10751fail:
10752 return NULL;
d55e5bfc
RD
10753}
10754
10755
1bd55598
RD
10756SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10757 PyObject *resultobj = 0;
10758 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10759 int result;
10760 void *argp1 = 0 ;
10761 int res1 = 0 ;
10762 PyObject *swig_obj[1] ;
10763
10764 if (!args) SWIG_fail;
10765 swig_obj[0] = args;
10766 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10767 if (!SWIG_IsOK(res1)) {
10768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10769 }
10770 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10771 {
10772 PyThreadState* __tstate = wxPyBeginAllowThreads();
10773 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10774 wxPyEndAllowThreads(__tstate);
10775 if (PyErr_Occurred()) SWIG_fail;
10776 }
10777 resultobj = SWIG_From_int(static_cast< int >(result));
10778 return resultobj;
10779fail:
10780 return NULL;
f20a2e1f
RD
10781}
10782
10783
1bd55598
RD
10784SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10785 PyObject *resultobj = 0;
10786 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10787 int result;
10788 void *argp1 = 0 ;
10789 int res1 = 0 ;
10790 PyObject *swig_obj[1] ;
10791
10792 if (!args) SWIG_fail;
10793 swig_obj[0] = args;
10794 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10795 if (!SWIG_IsOK(res1)) {
10796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10797 }
10798 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10799 {
10800 PyThreadState* __tstate = wxPyBeginAllowThreads();
10801 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10802 wxPyEndAllowThreads(__tstate);
10803 if (PyErr_Occurred()) SWIG_fail;
10804 }
10805 resultobj = SWIG_From_int(static_cast< int >(result));
10806 return resultobj;
10807fail:
10808 return NULL;
d55e5bfc
RD
10809}
10810
10811
1bd55598
RD
10812SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10813 PyObject *obj;
10814 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10815 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10816 return SWIG_Py_Void();
d55e5bfc
RD
10817}
10818
1bd55598
RD
10819SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10820 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
10821}
10822
1bd55598
RD
10823SWIGINTERN int SashNameStr_set(PyObject *) {
10824 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10825 return 1;
d55e5bfc
RD
10826}
10827
10828
1bd55598
RD
10829SWIGINTERN PyObject *SashNameStr_get(void) {
10830 PyObject *pyobj = 0;
10831
10832 {
10833#if wxUSE_UNICODE
10834 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10835#else
10836 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10837#endif
10838 }
10839 return pyobj;
d55e5bfc
RD
10840}
10841
10842
1bd55598
RD
10843SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10844 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10845 return 1;
d55e5bfc
RD
10846}
10847
10848
1bd55598
RD
10849SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10850 PyObject *pyobj = 0;
10851
10852 {
10853#if wxUSE_UNICODE
10854 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10855#else
10856 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10857#endif
10858 }
10859 return pyobj;
10860}
10861
10862
10863SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10864 PyObject *resultobj = 0;
10865 wxWindow *arg1 = (wxWindow *) 0 ;
10866 int arg2 = (int) -1 ;
10867 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10868 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10869 wxSize const &arg4_defvalue = wxDefaultSize ;
10870 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10871 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10872 wxString const &arg6_defvalue = wxPySashNameStr ;
10873 wxString *arg6 = (wxString *) &arg6_defvalue ;
10874 wxSashWindow *result = 0 ;
10875 void *argp1 = 0 ;
10876 int res1 = 0 ;
10877 int val2 ;
10878 int ecode2 = 0 ;
10879 wxPoint temp3 ;
10880 wxSize temp4 ;
10881 long val5 ;
10882 int ecode5 = 0 ;
10883 bool temp6 = false ;
10884 PyObject * obj0 = 0 ;
10885 PyObject * obj1 = 0 ;
10886 PyObject * obj2 = 0 ;
10887 PyObject * obj3 = 0 ;
10888 PyObject * obj4 = 0 ;
10889 PyObject * obj5 = 0 ;
10890 char * kwnames[] = {
10891 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10892 };
10893
10894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10896 if (!SWIG_IsOK(res1)) {
10897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10898 }
10899 arg1 = reinterpret_cast< wxWindow * >(argp1);
10900 if (obj1) {
10901 ecode2 = SWIG_AsVal_int(obj1, &val2);
10902 if (!SWIG_IsOK(ecode2)) {
10903 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10904 }
10905 arg2 = static_cast< int >(val2);
10906 }
10907 if (obj2) {
36ed4f51 10908 {
1bd55598
RD
10909 arg3 = &temp3;
10910 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
36ed4f51 10911 }
1bd55598
RD
10912 }
10913 if (obj3) {
36ed4f51 10914 {
1bd55598
RD
10915 arg4 = &temp4;
10916 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 10917 }
1bd55598
RD
10918 }
10919 if (obj4) {
10920 ecode5 = SWIG_AsVal_long(obj4, &val5);
10921 if (!SWIG_IsOK(ecode5)) {
10922 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10923 }
10924 arg5 = static_cast< long >(val5);
10925 }
10926 if (obj5) {
36ed4f51 10927 {
1bd55598
RD
10928 arg6 = wxString_in_helper(obj5);
10929 if (arg6 == NULL) SWIG_fail;
10930 temp6 = true;
d55e5bfc 10931 }
1bd55598
RD
10932 }
10933 {
10934 if (!wxPyCheckForApp()) SWIG_fail;
10935 PyThreadState* __tstate = wxPyBeginAllowThreads();
10936 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10937 wxPyEndAllowThreads(__tstate);
10938 if (PyErr_Occurred()) SWIG_fail;
10939 }
10940 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10941 {
10942 if (temp6)
10943 delete arg6;
10944 }
10945 return resultobj;
10946fail:
10947 {
10948 if (temp6)
10949 delete arg6;
10950 }
10951 return NULL;
d55e5bfc
RD
10952}
10953
10954
1bd55598
RD
10955SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10956 PyObject *resultobj = 0;
10957 wxSashWindow *result = 0 ;
10958
10959 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10960 {
10961 if (!wxPyCheckForApp()) SWIG_fail;
10962 PyThreadState* __tstate = wxPyBeginAllowThreads();
10963 result = (wxSashWindow *)new wxSashWindow();
10964 wxPyEndAllowThreads(__tstate);
10965 if (PyErr_Occurred()) SWIG_fail;
10966 }
10967 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10968 return resultobj;
10969fail:
10970 return NULL;
10971}
10972
10973
10974SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10975 PyObject *resultobj = 0;
10976 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10977 wxWindow *arg2 = (wxWindow *) 0 ;
10978 int arg3 = (int) -1 ;
10979 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10980 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10981 wxSize const &arg5_defvalue = wxDefaultSize ;
10982 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10983 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10984 wxString const &arg7_defvalue = wxPySashNameStr ;
10985 wxString *arg7 = (wxString *) &arg7_defvalue ;
10986 bool result;
10987 void *argp1 = 0 ;
10988 int res1 = 0 ;
10989 void *argp2 = 0 ;
10990 int res2 = 0 ;
10991 int val3 ;
10992 int ecode3 = 0 ;
10993 wxPoint temp4 ;
10994 wxSize temp5 ;
10995 long val6 ;
10996 int ecode6 = 0 ;
10997 bool temp7 = false ;
10998 PyObject * obj0 = 0 ;
10999 PyObject * obj1 = 0 ;
11000 PyObject * obj2 = 0 ;
11001 PyObject * obj3 = 0 ;
11002 PyObject * obj4 = 0 ;
11003 PyObject * obj5 = 0 ;
11004 PyObject * obj6 = 0 ;
11005 char * kwnames[] = {
11006 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11007 };
11008
11009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
11010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11011 if (!SWIG_IsOK(res1)) {
11012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11013 }
11014 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11015 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11016 if (!SWIG_IsOK(res2)) {
11017 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11018 }
11019 arg2 = reinterpret_cast< wxWindow * >(argp2);
11020 if (obj2) {
11021 ecode3 = SWIG_AsVal_int(obj2, &val3);
11022 if (!SWIG_IsOK(ecode3)) {
11023 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11024 }
11025 arg3 = static_cast< int >(val3);
11026 }
11027 if (obj3) {
d55e5bfc 11028 {
1bd55598
RD
11029 arg4 = &temp4;
11030 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 11031 }
1bd55598
RD
11032 }
11033 if (obj4) {
36ed4f51 11034 {
1bd55598
RD
11035 arg5 = &temp5;
11036 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 11037 }
1bd55598
RD
11038 }
11039 if (obj5) {
11040 ecode6 = SWIG_AsVal_long(obj5, &val6);
11041 if (!SWIG_IsOK(ecode6)) {
11042 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11043 }
11044 arg6 = static_cast< long >(val6);
11045 }
11046 if (obj6) {
d55e5bfc 11047 {
1bd55598
RD
11048 arg7 = wxString_in_helper(obj6);
11049 if (arg7 == NULL) SWIG_fail;
11050 temp7 = true;
36ed4f51 11051 }
1bd55598
RD
11052 }
11053 {
11054 PyThreadState* __tstate = wxPyBeginAllowThreads();
11055 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11056 wxPyEndAllowThreads(__tstate);
11057 if (PyErr_Occurred()) SWIG_fail;
11058 }
11059 {
11060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11061 }
11062 {
11063 if (temp7)
11064 delete arg7;
11065 }
11066 return resultobj;
11067fail:
11068 {
11069 if (temp7)
11070 delete arg7;
11071 }
11072 return NULL;
11073}
11074
11075
11076SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11077 PyObject *resultobj = 0;
11078 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11079 wxSashEdgePosition arg2 ;
11080 bool arg3 ;
11081 void *argp1 = 0 ;
11082 int res1 = 0 ;
11083 int val2 ;
11084 int ecode2 = 0 ;
11085 bool val3 ;
11086 int ecode3 = 0 ;
11087 PyObject * obj0 = 0 ;
11088 PyObject * obj1 = 0 ;
11089 PyObject * obj2 = 0 ;
11090 char * kwnames[] = {
11091 (char *) "self",(char *) "edge",(char *) "sash", NULL
11092 };
11093
11094 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11095 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11096 if (!SWIG_IsOK(res1)) {
11097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11098 }
11099 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11100 ecode2 = SWIG_AsVal_int(obj1, &val2);
11101 if (!SWIG_IsOK(ecode2)) {
11102 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11103 }
11104 arg2 = static_cast< wxSashEdgePosition >(val2);
11105 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11106 if (!SWIG_IsOK(ecode3)) {
11107 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11108 }
11109 arg3 = static_cast< bool >(val3);
11110 {
11111 PyThreadState* __tstate = wxPyBeginAllowThreads();
11112 (arg1)->SetSashVisible(arg2,arg3);
11113 wxPyEndAllowThreads(__tstate);
11114 if (PyErr_Occurred()) SWIG_fail;
11115 }
11116 resultobj = SWIG_Py_Void();
11117 return resultobj;
11118fail:
11119 return NULL;
11120}
11121
11122
11123SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11124 PyObject *resultobj = 0;
11125 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11126 wxSashEdgePosition arg2 ;
11127 bool result;
11128 void *argp1 = 0 ;
11129 int res1 = 0 ;
11130 int val2 ;
11131 int ecode2 = 0 ;
11132 PyObject * obj0 = 0 ;
11133 PyObject * obj1 = 0 ;
11134 char * kwnames[] = {
11135 (char *) "self",(char *) "edge", NULL
11136 };
11137
11138 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11139 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11140 if (!SWIG_IsOK(res1)) {
11141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11142 }
11143 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11144 ecode2 = SWIG_AsVal_int(obj1, &val2);
11145 if (!SWIG_IsOK(ecode2)) {
11146 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11147 }
11148 arg2 = static_cast< wxSashEdgePosition >(val2);
11149 {
11150 PyThreadState* __tstate = wxPyBeginAllowThreads();
11151 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11152 wxPyEndAllowThreads(__tstate);
11153 if (PyErr_Occurred()) SWIG_fail;
11154 }
11155 {
11156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11157 }
11158 return resultobj;
11159fail:
11160 return NULL;
11161}
11162
11163
11164SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11165 PyObject *resultobj = 0;
11166 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11167 wxSashEdgePosition arg2 ;
11168 bool arg3 ;
11169 void *argp1 = 0 ;
11170 int res1 = 0 ;
11171 int val2 ;
11172 int ecode2 = 0 ;
11173 bool val3 ;
11174 int ecode3 = 0 ;
11175 PyObject * obj0 = 0 ;
11176 PyObject * obj1 = 0 ;
11177 PyObject * obj2 = 0 ;
11178 char * kwnames[] = {
11179 (char *) "self",(char *) "edge",(char *) "border", NULL
11180 };
11181
11182 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11183 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11184 if (!SWIG_IsOK(res1)) {
11185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11186 }
11187 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11188 ecode2 = SWIG_AsVal_int(obj1, &val2);
11189 if (!SWIG_IsOK(ecode2)) {
11190 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11191 }
11192 arg2 = static_cast< wxSashEdgePosition >(val2);
11193 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11194 if (!SWIG_IsOK(ecode3)) {
11195 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11196 }
11197 arg3 = static_cast< bool >(val3);
11198 {
11199 PyThreadState* __tstate = wxPyBeginAllowThreads();
11200 (arg1)->SetSashBorder(arg2,arg3);
11201 wxPyEndAllowThreads(__tstate);
11202 if (PyErr_Occurred()) SWIG_fail;
11203 }
11204 resultobj = SWIG_Py_Void();
11205 return resultobj;
11206fail:
11207 return NULL;
11208}
11209
11210
11211SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11212 PyObject *resultobj = 0;
11213 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11214 wxSashEdgePosition arg2 ;
11215 bool result;
11216 void *argp1 = 0 ;
11217 int res1 = 0 ;
11218 int val2 ;
11219 int ecode2 = 0 ;
11220 PyObject * obj0 = 0 ;
11221 PyObject * obj1 = 0 ;
11222 char * kwnames[] = {
11223 (char *) "self",(char *) "edge", NULL
11224 };
11225
11226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11227 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11228 if (!SWIG_IsOK(res1)) {
11229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11230 }
11231 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11232 ecode2 = SWIG_AsVal_int(obj1, &val2);
11233 if (!SWIG_IsOK(ecode2)) {
11234 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11235 }
11236 arg2 = static_cast< wxSashEdgePosition >(val2);
11237 {
11238 PyThreadState* __tstate = wxPyBeginAllowThreads();
11239 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11240 wxPyEndAllowThreads(__tstate);
11241 if (PyErr_Occurred()) SWIG_fail;
11242 }
11243 {
11244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11245 }
11246 return resultobj;
11247fail:
11248 return NULL;
11249}
11250
11251
11252SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11253 PyObject *resultobj = 0;
11254 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11255 wxSashEdgePosition arg2 ;
11256 int result;
11257 void *argp1 = 0 ;
11258 int res1 = 0 ;
11259 int val2 ;
11260 int ecode2 = 0 ;
11261 PyObject * obj0 = 0 ;
11262 PyObject * obj1 = 0 ;
11263 char * kwnames[] = {
11264 (char *) "self",(char *) "edge", NULL
11265 };
11266
11267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11269 if (!SWIG_IsOK(res1)) {
11270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11271 }
11272 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11273 ecode2 = SWIG_AsVal_int(obj1, &val2);
11274 if (!SWIG_IsOK(ecode2)) {
11275 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11276 }
11277 arg2 = static_cast< wxSashEdgePosition >(val2);
11278 {
11279 PyThreadState* __tstate = wxPyBeginAllowThreads();
11280 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11281 wxPyEndAllowThreads(__tstate);
11282 if (PyErr_Occurred()) SWIG_fail;
11283 }
11284 resultobj = SWIG_From_int(static_cast< int >(result));
11285 return resultobj;
11286fail:
11287 return NULL;
11288}
11289
11290
11291SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11292 PyObject *resultobj = 0;
11293 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11294 int arg2 ;
11295 void *argp1 = 0 ;
11296 int res1 = 0 ;
11297 int val2 ;
11298 int ecode2 = 0 ;
11299 PyObject * obj0 = 0 ;
11300 PyObject * obj1 = 0 ;
11301 char * kwnames[] = {
11302 (char *) "self",(char *) "width", NULL
11303 };
11304
11305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11307 if (!SWIG_IsOK(res1)) {
11308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11309 }
11310 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11311 ecode2 = SWIG_AsVal_int(obj1, &val2);
11312 if (!SWIG_IsOK(ecode2)) {
11313 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11314 }
11315 arg2 = static_cast< int >(val2);
11316 {
11317 PyThreadState* __tstate = wxPyBeginAllowThreads();
11318 (arg1)->SetDefaultBorderSize(arg2);
11319 wxPyEndAllowThreads(__tstate);
11320 if (PyErr_Occurred()) SWIG_fail;
11321 }
11322 resultobj = SWIG_Py_Void();
11323 return resultobj;
11324fail:
11325 return NULL;
d55e5bfc
RD
11326}
11327
11328
1bd55598
RD
11329SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11330 PyObject *resultobj = 0;
11331 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11332 int result;
11333 void *argp1 = 0 ;
11334 int res1 = 0 ;
11335 PyObject *swig_obj[1] ;
11336
11337 if (!args) SWIG_fail;
11338 swig_obj[0] = args;
11339 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11340 if (!SWIG_IsOK(res1)) {
11341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11342 }
11343 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11344 {
11345 PyThreadState* __tstate = wxPyBeginAllowThreads();
11346 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11347 wxPyEndAllowThreads(__tstate);
11348 if (PyErr_Occurred()) SWIG_fail;
11349 }
11350 resultobj = SWIG_From_int(static_cast< int >(result));
11351 return resultobj;
11352fail:
11353 return NULL;
11354}
11355
11356
11357SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11358 PyObject *resultobj = 0;
11359 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11360 int arg2 ;
11361 void *argp1 = 0 ;
11362 int res1 = 0 ;
11363 int val2 ;
11364 int ecode2 = 0 ;
11365 PyObject * obj0 = 0 ;
11366 PyObject * obj1 = 0 ;
11367 char * kwnames[] = {
11368 (char *) "self",(char *) "width", NULL
11369 };
11370
11371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11373 if (!SWIG_IsOK(res1)) {
11374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11375 }
11376 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11377 ecode2 = SWIG_AsVal_int(obj1, &val2);
11378 if (!SWIG_IsOK(ecode2)) {
11379 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11380 }
11381 arg2 = static_cast< int >(val2);
11382 {
11383 PyThreadState* __tstate = wxPyBeginAllowThreads();
11384 (arg1)->SetExtraBorderSize(arg2);
11385 wxPyEndAllowThreads(__tstate);
11386 if (PyErr_Occurred()) SWIG_fail;
11387 }
11388 resultobj = SWIG_Py_Void();
11389 return resultobj;
11390fail:
11391 return NULL;
d55e5bfc
RD
11392}
11393
11394
1bd55598
RD
11395SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11396 PyObject *resultobj = 0;
11397 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11398 int result;
11399 void *argp1 = 0 ;
11400 int res1 = 0 ;
11401 PyObject *swig_obj[1] ;
11402
11403 if (!args) SWIG_fail;
11404 swig_obj[0] = args;
11405 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11406 if (!SWIG_IsOK(res1)) {
11407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11408 }
11409 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11410 {
11411 PyThreadState* __tstate = wxPyBeginAllowThreads();
11412 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11413 wxPyEndAllowThreads(__tstate);
11414 if (PyErr_Occurred()) SWIG_fail;
11415 }
11416 resultobj = SWIG_From_int(static_cast< int >(result));
11417 return resultobj;
11418fail:
11419 return NULL;
11420}
11421
11422
11423SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11424 PyObject *resultobj = 0;
11425 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11426 int arg2 ;
11427 void *argp1 = 0 ;
11428 int res1 = 0 ;
11429 int val2 ;
11430 int ecode2 = 0 ;
11431 PyObject * obj0 = 0 ;
11432 PyObject * obj1 = 0 ;
11433 char * kwnames[] = {
11434 (char *) "self",(char *) "min", NULL
11435 };
11436
11437 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11438 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11439 if (!SWIG_IsOK(res1)) {
11440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11441 }
11442 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11443 ecode2 = SWIG_AsVal_int(obj1, &val2);
11444 if (!SWIG_IsOK(ecode2)) {
11445 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11446 }
11447 arg2 = static_cast< int >(val2);
11448 {
11449 PyThreadState* __tstate = wxPyBeginAllowThreads();
11450 (arg1)->SetMinimumSizeX(arg2);
11451 wxPyEndAllowThreads(__tstate);
11452 if (PyErr_Occurred()) SWIG_fail;
11453 }
11454 resultobj = SWIG_Py_Void();
11455 return resultobj;
11456fail:
11457 return NULL;
11458}
11459
11460
11461SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11462 PyObject *resultobj = 0;
11463 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11464 int arg2 ;
11465 void *argp1 = 0 ;
11466 int res1 = 0 ;
11467 int val2 ;
11468 int ecode2 = 0 ;
11469 PyObject * obj0 = 0 ;
11470 PyObject * obj1 = 0 ;
11471 char * kwnames[] = {
11472 (char *) "self",(char *) "min", NULL
11473 };
11474
11475 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11476 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11477 if (!SWIG_IsOK(res1)) {
11478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11479 }
11480 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11481 ecode2 = SWIG_AsVal_int(obj1, &val2);
11482 if (!SWIG_IsOK(ecode2)) {
11483 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11484 }
11485 arg2 = static_cast< int >(val2);
11486 {
11487 PyThreadState* __tstate = wxPyBeginAllowThreads();
11488 (arg1)->SetMinimumSizeY(arg2);
11489 wxPyEndAllowThreads(__tstate);
11490 if (PyErr_Occurred()) SWIG_fail;
11491 }
11492 resultobj = SWIG_Py_Void();
11493 return resultobj;
11494fail:
11495 return NULL;
d55e5bfc
RD
11496}
11497
11498
1bd55598
RD
11499SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11500 PyObject *resultobj = 0;
11501 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11502 int result;
11503 void *argp1 = 0 ;
11504 int res1 = 0 ;
11505 PyObject *swig_obj[1] ;
11506
11507 if (!args) SWIG_fail;
11508 swig_obj[0] = args;
11509 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11510 if (!SWIG_IsOK(res1)) {
11511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11512 }
11513 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11514 {
11515 PyThreadState* __tstate = wxPyBeginAllowThreads();
11516 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11517 wxPyEndAllowThreads(__tstate);
11518 if (PyErr_Occurred()) SWIG_fail;
11519 }
11520 resultobj = SWIG_From_int(static_cast< int >(result));
11521 return resultobj;
11522fail:
11523 return NULL;
d55e5bfc
RD
11524}
11525
11526
1bd55598
RD
11527SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11528 PyObject *resultobj = 0;
11529 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11530 int result;
11531 void *argp1 = 0 ;
11532 int res1 = 0 ;
11533 PyObject *swig_obj[1] ;
11534
11535 if (!args) SWIG_fail;
11536 swig_obj[0] = args;
11537 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11538 if (!SWIG_IsOK(res1)) {
11539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11540 }
11541 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11542 {
11543 PyThreadState* __tstate = wxPyBeginAllowThreads();
11544 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11545 wxPyEndAllowThreads(__tstate);
11546 if (PyErr_Occurred()) SWIG_fail;
11547 }
11548 resultobj = SWIG_From_int(static_cast< int >(result));
11549 return resultobj;
11550fail:
11551 return NULL;
11552}
11553
11554
11555SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11556 PyObject *resultobj = 0;
11557 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11558 int arg2 ;
11559 void *argp1 = 0 ;
11560 int res1 = 0 ;
11561 int val2 ;
11562 int ecode2 = 0 ;
11563 PyObject * obj0 = 0 ;
11564 PyObject * obj1 = 0 ;
11565 char * kwnames[] = {
11566 (char *) "self",(char *) "max", NULL
11567 };
11568
11569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11571 if (!SWIG_IsOK(res1)) {
11572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11573 }
11574 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11575 ecode2 = SWIG_AsVal_int(obj1, &val2);
11576 if (!SWIG_IsOK(ecode2)) {
11577 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11578 }
11579 arg2 = static_cast< int >(val2);
11580 {
11581 PyThreadState* __tstate = wxPyBeginAllowThreads();
11582 (arg1)->SetMaximumSizeX(arg2);
11583 wxPyEndAllowThreads(__tstate);
11584 if (PyErr_Occurred()) SWIG_fail;
11585 }
11586 resultobj = SWIG_Py_Void();
11587 return resultobj;
11588fail:
11589 return NULL;
11590}
11591
11592
11593SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11594 PyObject *resultobj = 0;
11595 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11596 int arg2 ;
11597 void *argp1 = 0 ;
11598 int res1 = 0 ;
11599 int val2 ;
11600 int ecode2 = 0 ;
11601 PyObject * obj0 = 0 ;
11602 PyObject * obj1 = 0 ;
11603 char * kwnames[] = {
11604 (char *) "self",(char *) "max", NULL
11605 };
11606
11607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11609 if (!SWIG_IsOK(res1)) {
11610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11611 }
11612 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11613 ecode2 = SWIG_AsVal_int(obj1, &val2);
11614 if (!SWIG_IsOK(ecode2)) {
11615 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11616 }
11617 arg2 = static_cast< int >(val2);
11618 {
11619 PyThreadState* __tstate = wxPyBeginAllowThreads();
11620 (arg1)->SetMaximumSizeY(arg2);
11621 wxPyEndAllowThreads(__tstate);
11622 if (PyErr_Occurred()) SWIG_fail;
11623 }
11624 resultobj = SWIG_Py_Void();
11625 return resultobj;
11626fail:
11627 return NULL;
d55e5bfc
RD
11628}
11629
11630
1bd55598
RD
11631SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11632 PyObject *resultobj = 0;
11633 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11634 int result;
11635 void *argp1 = 0 ;
11636 int res1 = 0 ;
11637 PyObject *swig_obj[1] ;
11638
11639 if (!args) SWIG_fail;
11640 swig_obj[0] = args;
11641 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11642 if (!SWIG_IsOK(res1)) {
11643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11644 }
11645 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11646 {
11647 PyThreadState* __tstate = wxPyBeginAllowThreads();
11648 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11649 wxPyEndAllowThreads(__tstate);
11650 if (PyErr_Occurred()) SWIG_fail;
11651 }
11652 resultobj = SWIG_From_int(static_cast< int >(result));
11653 return resultobj;
11654fail:
11655 return NULL;
d55e5bfc
RD
11656}
11657
11658
1bd55598
RD
11659SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11660 PyObject *resultobj = 0;
11661 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11662 int result;
11663 void *argp1 = 0 ;
11664 int res1 = 0 ;
11665 PyObject *swig_obj[1] ;
11666
11667 if (!args) SWIG_fail;
11668 swig_obj[0] = args;
11669 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11670 if (!SWIG_IsOK(res1)) {
11671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11672 }
11673 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11674 {
11675 PyThreadState* __tstate = wxPyBeginAllowThreads();
11676 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11677 wxPyEndAllowThreads(__tstate);
11678 if (PyErr_Occurred()) SWIG_fail;
11679 }
11680 resultobj = SWIG_From_int(static_cast< int >(result));
11681 return resultobj;
11682fail:
11683 return NULL;
11684}
11685
11686
11687SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11688 PyObject *resultobj = 0;
11689 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11690 int arg2 ;
11691 int arg3 ;
11692 int arg4 = (int) 2 ;
11693 wxSashEdgePosition result;
11694 void *argp1 = 0 ;
11695 int res1 = 0 ;
11696 int val2 ;
11697 int ecode2 = 0 ;
11698 int val3 ;
11699 int ecode3 = 0 ;
11700 int val4 ;
11701 int ecode4 = 0 ;
11702 PyObject * obj0 = 0 ;
11703 PyObject * obj1 = 0 ;
11704 PyObject * obj2 = 0 ;
11705 PyObject * obj3 = 0 ;
11706 char * kwnames[] = {
11707 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11708 };
11709
11710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11712 if (!SWIG_IsOK(res1)) {
11713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11714 }
11715 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11716 ecode2 = SWIG_AsVal_int(obj1, &val2);
11717 if (!SWIG_IsOK(ecode2)) {
11718 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11719 }
11720 arg2 = static_cast< int >(val2);
11721 ecode3 = SWIG_AsVal_int(obj2, &val3);
11722 if (!SWIG_IsOK(ecode3)) {
11723 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11724 }
11725 arg3 = static_cast< int >(val3);
11726 if (obj3) {
11727 ecode4 = SWIG_AsVal_int(obj3, &val4);
11728 if (!SWIG_IsOK(ecode4)) {
11729 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11730 }
11731 arg4 = static_cast< int >(val4);
11732 }
11733 {
11734 PyThreadState* __tstate = wxPyBeginAllowThreads();
11735 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11736 wxPyEndAllowThreads(__tstate);
11737 if (PyErr_Occurred()) SWIG_fail;
11738 }
11739 resultobj = SWIG_From_int(static_cast< int >(result));
11740 return resultobj;
11741fail:
11742 return NULL;
d55e5bfc
RD
11743}
11744
11745
1bd55598
RD
11746SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11747 PyObject *resultobj = 0;
11748 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11749 void *argp1 = 0 ;
11750 int res1 = 0 ;
11751 PyObject *swig_obj[1] ;
11752
11753 if (!args) SWIG_fail;
11754 swig_obj[0] = args;
11755 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11756 if (!SWIG_IsOK(res1)) {
11757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11758 }
11759 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11760 {
11761 PyThreadState* __tstate = wxPyBeginAllowThreads();
11762 (arg1)->SizeWindows();
11763 wxPyEndAllowThreads(__tstate);
11764 if (PyErr_Occurred()) SWIG_fail;
11765 }
11766 resultobj = SWIG_Py_Void();
11767 return resultobj;
11768fail:
11769 return NULL;
d55e5bfc
RD
11770}
11771
11772
1bd55598
RD
11773SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11774 PyObject *obj;
11775 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11776 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11777 return SWIG_Py_Void();
d55e5bfc
RD
11778}
11779
1bd55598
RD
11780SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11781 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
11782}
11783
1bd55598
RD
11784SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11785 PyObject *resultobj = 0;
11786 int arg1 = (int) 0 ;
11787 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11788 wxSashEvent *result = 0 ;
11789 int val1 ;
11790 int ecode1 = 0 ;
11791 int val2 ;
11792 int ecode2 = 0 ;
11793 PyObject * obj0 = 0 ;
11794 PyObject * obj1 = 0 ;
11795 char * kwnames[] = {
11796 (char *) "id",(char *) "edge", NULL
11797 };
11798
11799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11800 if (obj0) {
11801 ecode1 = SWIG_AsVal_int(obj0, &val1);
11802 if (!SWIG_IsOK(ecode1)) {
11803 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11804 }
11805 arg1 = static_cast< int >(val1);
11806 }
11807 if (obj1) {
11808 ecode2 = SWIG_AsVal_int(obj1, &val2);
11809 if (!SWIG_IsOK(ecode2)) {
11810 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11811 }
11812 arg2 = static_cast< wxSashEdgePosition >(val2);
11813 }
11814 {
11815 PyThreadState* __tstate = wxPyBeginAllowThreads();
11816 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11817 wxPyEndAllowThreads(__tstate);
11818 if (PyErr_Occurred()) SWIG_fail;
11819 }
11820 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11821 return resultobj;
11822fail:
11823 return NULL;
11824}
11825
11826
11827SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11828 PyObject *resultobj = 0;
11829 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11830 wxSashEdgePosition arg2 ;
11831 void *argp1 = 0 ;
11832 int res1 = 0 ;
11833 int val2 ;
11834 int ecode2 = 0 ;
11835 PyObject * obj0 = 0 ;
11836 PyObject * obj1 = 0 ;
11837 char * kwnames[] = {
11838 (char *) "self",(char *) "edge", NULL
11839 };
11840
11841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11842 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11843 if (!SWIG_IsOK(res1)) {
11844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11845 }
11846 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11847 ecode2 = SWIG_AsVal_int(obj1, &val2);
11848 if (!SWIG_IsOK(ecode2)) {
11849 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11850 }
11851 arg2 = static_cast< wxSashEdgePosition >(val2);
11852 {
11853 PyThreadState* __tstate = wxPyBeginAllowThreads();
11854 (arg1)->SetEdge(arg2);
11855 wxPyEndAllowThreads(__tstate);
11856 if (PyErr_Occurred()) SWIG_fail;
11857 }
11858 resultobj = SWIG_Py_Void();
11859 return resultobj;
11860fail:
11861 return NULL;
d55e5bfc
RD
11862}
11863
11864
1bd55598
RD
11865SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11866 PyObject *resultobj = 0;
11867 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11868 wxSashEdgePosition result;
11869 void *argp1 = 0 ;
11870 int res1 = 0 ;
11871 PyObject *swig_obj[1] ;
11872
11873 if (!args) SWIG_fail;
11874 swig_obj[0] = args;
11875 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11876 if (!SWIG_IsOK(res1)) {
11877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11878 }
11879 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11880 {
11881 PyThreadState* __tstate = wxPyBeginAllowThreads();
11882 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11883 wxPyEndAllowThreads(__tstate);
11884 if (PyErr_Occurred()) SWIG_fail;
11885 }
11886 resultobj = SWIG_From_int(static_cast< int >(result));
11887 return resultobj;
11888fail:
11889 return NULL;
11890}
11891
11892
11893SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11894 PyObject *resultobj = 0;
11895 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11896 wxRect *arg2 = 0 ;
11897 void *argp1 = 0 ;
11898 int res1 = 0 ;
11899 wxRect temp2 ;
11900 PyObject * obj0 = 0 ;
11901 PyObject * obj1 = 0 ;
11902 char * kwnames[] = {
11903 (char *) "self",(char *) "rect", NULL
11904 };
11905
11906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11908 if (!SWIG_IsOK(res1)) {
11909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11910 }
11911 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11912 {
11913 arg2 = &temp2;
11914 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11915 }
11916 {
11917 PyThreadState* __tstate = wxPyBeginAllowThreads();
11918 (arg1)->SetDragRect((wxRect const &)*arg2);
11919 wxPyEndAllowThreads(__tstate);
11920 if (PyErr_Occurred()) SWIG_fail;
11921 }
11922 resultobj = SWIG_Py_Void();
11923 return resultobj;
11924fail:
11925 return NULL;
03837c5c
RD
11926}
11927
11928
1bd55598
RD
11929SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11930 PyObject *resultobj = 0;
11931 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11932 wxRect result;
11933 void *argp1 = 0 ;
11934 int res1 = 0 ;
11935 PyObject *swig_obj[1] ;
11936
11937 if (!args) SWIG_fail;
11938 swig_obj[0] = args;
11939 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11940 if (!SWIG_IsOK(res1)) {
11941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11942 }
11943 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11944 {
11945 PyThreadState* __tstate = wxPyBeginAllowThreads();
11946 result = ((wxSashEvent const *)arg1)->GetDragRect();
11947 wxPyEndAllowThreads(__tstate);
11948 if (PyErr_Occurred()) SWIG_fail;
11949 }
11950 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11951 return resultobj;
11952fail:
11953 return NULL;
11954}
11955
11956
11957SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11958 PyObject *resultobj = 0;
11959 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11960 wxSashDragStatus arg2 ;
11961 void *argp1 = 0 ;
11962 int res1 = 0 ;
11963 int val2 ;
11964 int ecode2 = 0 ;
11965 PyObject * obj0 = 0 ;
11966 PyObject * obj1 = 0 ;
11967 char * kwnames[] = {
11968 (char *) "self",(char *) "status", NULL
11969 };
11970
11971 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11972 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11973 if (!SWIG_IsOK(res1)) {
11974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11975 }
11976 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11977 ecode2 = SWIG_AsVal_int(obj1, &val2);
11978 if (!SWIG_IsOK(ecode2)) {
11979 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11980 }
11981 arg2 = static_cast< wxSashDragStatus >(val2);
11982 {
11983 PyThreadState* __tstate = wxPyBeginAllowThreads();
11984 (arg1)->SetDragStatus(arg2);
11985 wxPyEndAllowThreads(__tstate);
11986 if (PyErr_Occurred()) SWIG_fail;
11987 }
11988 resultobj = SWIG_Py_Void();
11989 return resultobj;
11990fail:
11991 return NULL;
d55e5bfc
RD
11992}
11993
11994
1bd55598
RD
11995SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11996 PyObject *resultobj = 0;
11997 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11998 wxSashDragStatus result;
11999 void *argp1 = 0 ;
12000 int res1 = 0 ;
12001 PyObject *swig_obj[1] ;
12002
12003 if (!args) SWIG_fail;
12004 swig_obj[0] = args;
12005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
12006 if (!SWIG_IsOK(res1)) {
12007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12008 }
12009 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
12010 {
12011 PyThreadState* __tstate = wxPyBeginAllowThreads();
12012 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
12013 wxPyEndAllowThreads(__tstate);
12014 if (PyErr_Occurred()) SWIG_fail;
12015 }
12016 resultobj = SWIG_From_int(static_cast< int >(result));
12017 return resultobj;
12018fail:
12019 return NULL;
d55e5bfc
RD
12020}
12021
12022
1bd55598
RD
12023SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12024 PyObject *obj;
12025 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12026 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
12027 return SWIG_Py_Void();
d55e5bfc
RD
12028}
12029
1bd55598
RD
12030SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12031 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
12032}
12033
1bd55598
RD
12034SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12035 PyObject *resultobj = 0;
12036 int arg1 = (int) 0 ;
12037 wxQueryLayoutInfoEvent *result = 0 ;
12038 int val1 ;
12039 int ecode1 = 0 ;
12040 PyObject * obj0 = 0 ;
12041 char * kwnames[] = {
12042 (char *) "id", NULL
12043 };
12044
12045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
12046 if (obj0) {
12047 ecode1 = SWIG_AsVal_int(obj0, &val1);
12048 if (!SWIG_IsOK(ecode1)) {
12049 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12050 }
12051 arg1 = static_cast< int >(val1);
12052 }
12053 {
12054 PyThreadState* __tstate = wxPyBeginAllowThreads();
12055 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
12056 wxPyEndAllowThreads(__tstate);
12057 if (PyErr_Occurred()) SWIG_fail;
12058 }
12059 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
12060 return resultobj;
12061fail:
12062 return NULL;
12063}
12064
12065
12066SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12067 PyObject *resultobj = 0;
12068 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12069 int arg2 ;
12070 void *argp1 = 0 ;
12071 int res1 = 0 ;
12072 int val2 ;
12073 int ecode2 = 0 ;
12074 PyObject * obj0 = 0 ;
12075 PyObject * obj1 = 0 ;
12076 char * kwnames[] = {
12077 (char *) "self",(char *) "length", NULL
12078 };
12079
12080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12082 if (!SWIG_IsOK(res1)) {
12083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12084 }
12085 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12086 ecode2 = SWIG_AsVal_int(obj1, &val2);
12087 if (!SWIG_IsOK(ecode2)) {
12088 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12089 }
12090 arg2 = static_cast< int >(val2);
12091 {
12092 PyThreadState* __tstate = wxPyBeginAllowThreads();
12093 (arg1)->SetRequestedLength(arg2);
12094 wxPyEndAllowThreads(__tstate);
12095 if (PyErr_Occurred()) SWIG_fail;
12096 }
12097 resultobj = SWIG_Py_Void();
12098 return resultobj;
12099fail:
12100 return NULL;
f20a2e1f
RD
12101}
12102
12103
1bd55598
RD
12104SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12105 PyObject *resultobj = 0;
12106 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12107 int result;
12108 void *argp1 = 0 ;
12109 int res1 = 0 ;
12110 PyObject *swig_obj[1] ;
12111
12112 if (!args) SWIG_fail;
12113 swig_obj[0] = args;
12114 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12115 if (!SWIG_IsOK(res1)) {
12116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12117 }
12118 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12119 {
12120 PyThreadState* __tstate = wxPyBeginAllowThreads();
12121 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12122 wxPyEndAllowThreads(__tstate);
12123 if (PyErr_Occurred()) SWIG_fail;
12124 }
12125 resultobj = SWIG_From_int(static_cast< int >(result));
12126 return resultobj;
12127fail:
12128 return NULL;
12129}
12130
12131
12132SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12133 PyObject *resultobj = 0;
12134 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12135 int arg2 ;
12136 void *argp1 = 0 ;
12137 int res1 = 0 ;
12138 int val2 ;
12139 int ecode2 = 0 ;
12140 PyObject * obj0 = 0 ;
12141 PyObject * obj1 = 0 ;
12142 char * kwnames[] = {
12143 (char *) "self",(char *) "flags", NULL
12144 };
12145
12146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12148 if (!SWIG_IsOK(res1)) {
12149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12150 }
12151 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12152 ecode2 = SWIG_AsVal_int(obj1, &val2);
12153 if (!SWIG_IsOK(ecode2)) {
12154 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12155 }
12156 arg2 = static_cast< int >(val2);
12157 {
12158 PyThreadState* __tstate = wxPyBeginAllowThreads();
12159 (arg1)->SetFlags(arg2);
12160 wxPyEndAllowThreads(__tstate);
12161 if (PyErr_Occurred()) SWIG_fail;
12162 }
12163 resultobj = SWIG_Py_Void();
12164 return resultobj;
12165fail:
12166 return NULL;
d55e5bfc
RD
12167}
12168
12169
1bd55598
RD
12170SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12171 PyObject *resultobj = 0;
12172 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12173 int result;
12174 void *argp1 = 0 ;
12175 int res1 = 0 ;
12176 PyObject *swig_obj[1] ;
12177
12178 if (!args) SWIG_fail;
12179 swig_obj[0] = args;
12180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12181 if (!SWIG_IsOK(res1)) {
12182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12183 }
12184 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12185 {
12186 PyThreadState* __tstate = wxPyBeginAllowThreads();
12187 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12188 wxPyEndAllowThreads(__tstate);
12189 if (PyErr_Occurred()) SWIG_fail;
12190 }
12191 resultobj = SWIG_From_int(static_cast< int >(result));
12192 return resultobj;
12193fail:
12194 return NULL;
12195}
12196
12197
12198SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12199 PyObject *resultobj = 0;
12200 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12201 wxSize *arg2 = 0 ;
12202 void *argp1 = 0 ;
12203 int res1 = 0 ;
12204 wxSize temp2 ;
12205 PyObject * obj0 = 0 ;
12206 PyObject * obj1 = 0 ;
12207 char * kwnames[] = {
12208 (char *) "self",(char *) "size", NULL
12209 };
12210
12211 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12212 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12213 if (!SWIG_IsOK(res1)) {
12214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12215 }
12216 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12217 {
12218 arg2 = &temp2;
12219 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12220 }
12221 {
12222 PyThreadState* __tstate = wxPyBeginAllowThreads();
12223 (arg1)->SetSize((wxSize const &)*arg2);
12224 wxPyEndAllowThreads(__tstate);
12225 if (PyErr_Occurred()) SWIG_fail;
12226 }
12227 resultobj = SWIG_Py_Void();
12228 return resultobj;
12229fail:
12230 return NULL;
d55e5bfc
RD
12231}
12232
12233
1bd55598
RD
12234SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12235 PyObject *resultobj = 0;
12236 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12237 wxSize result;
12238 void *argp1 = 0 ;
12239 int res1 = 0 ;
12240 PyObject *swig_obj[1] ;
12241
12242 if (!args) SWIG_fail;
12243 swig_obj[0] = args;
12244 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12245 if (!SWIG_IsOK(res1)) {
12246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12247 }
12248 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12249 {
12250 PyThreadState* __tstate = wxPyBeginAllowThreads();
12251 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12252 wxPyEndAllowThreads(__tstate);
12253 if (PyErr_Occurred()) SWIG_fail;
12254 }
12255 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12256 return resultobj;
12257fail:
12258 return NULL;
12259}
12260
12261
12262SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12263 PyObject *resultobj = 0;
12264 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12265 wxLayoutOrientation arg2 ;
12266 void *argp1 = 0 ;
12267 int res1 = 0 ;
12268 int val2 ;
12269 int ecode2 = 0 ;
12270 PyObject * obj0 = 0 ;
12271 PyObject * obj1 = 0 ;
12272 char * kwnames[] = {
12273 (char *) "self",(char *) "orient", NULL
12274 };
12275
12276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12278 if (!SWIG_IsOK(res1)) {
12279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12280 }
12281 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12282 ecode2 = SWIG_AsVal_int(obj1, &val2);
12283 if (!SWIG_IsOK(ecode2)) {
12284 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12285 }
12286 arg2 = static_cast< wxLayoutOrientation >(val2);
12287 {
12288 PyThreadState* __tstate = wxPyBeginAllowThreads();
12289 (arg1)->SetOrientation(arg2);
12290 wxPyEndAllowThreads(__tstate);
12291 if (PyErr_Occurred()) SWIG_fail;
12292 }
12293 resultobj = SWIG_Py_Void();
12294 return resultobj;
12295fail:
12296 return NULL;
d55e5bfc
RD
12297}
12298
12299
1bd55598
RD
12300SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12301 PyObject *resultobj = 0;
12302 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12303 wxLayoutOrientation result;
12304 void *argp1 = 0 ;
12305 int res1 = 0 ;
12306 PyObject *swig_obj[1] ;
12307
12308 if (!args) SWIG_fail;
12309 swig_obj[0] = args;
12310 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12311 if (!SWIG_IsOK(res1)) {
12312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12313 }
12314 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12315 {
12316 PyThreadState* __tstate = wxPyBeginAllowThreads();
12317 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12318 wxPyEndAllowThreads(__tstate);
12319 if (PyErr_Occurred()) SWIG_fail;
12320 }
12321 resultobj = SWIG_From_int(static_cast< int >(result));
12322 return resultobj;
12323fail:
12324 return NULL;
12325}
12326
12327
12328SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12329 PyObject *resultobj = 0;
12330 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12331 wxLayoutAlignment arg2 ;
12332 void *argp1 = 0 ;
12333 int res1 = 0 ;
12334 int val2 ;
12335 int ecode2 = 0 ;
12336 PyObject * obj0 = 0 ;
12337 PyObject * obj1 = 0 ;
12338 char * kwnames[] = {
12339 (char *) "self",(char *) "align", NULL
12340 };
12341
12342 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12343 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12344 if (!SWIG_IsOK(res1)) {
12345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12346 }
12347 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12348 ecode2 = SWIG_AsVal_int(obj1, &val2);
12349 if (!SWIG_IsOK(ecode2)) {
12350 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12351 }
12352 arg2 = static_cast< wxLayoutAlignment >(val2);
12353 {
12354 PyThreadState* __tstate = wxPyBeginAllowThreads();
12355 (arg1)->SetAlignment(arg2);
12356 wxPyEndAllowThreads(__tstate);
12357 if (PyErr_Occurred()) SWIG_fail;
12358 }
12359 resultobj = SWIG_Py_Void();
12360 return resultobj;
12361fail:
12362 return NULL;
d55e5bfc
RD
12363}
12364
12365
1bd55598
RD
12366SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12367 PyObject *resultobj = 0;
12368 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12369 wxLayoutAlignment result;
12370 void *argp1 = 0 ;
12371 int res1 = 0 ;
12372 PyObject *swig_obj[1] ;
12373
12374 if (!args) SWIG_fail;
12375 swig_obj[0] = args;
12376 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12377 if (!SWIG_IsOK(res1)) {
12378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12379 }
12380 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12381 {
12382 PyThreadState* __tstate = wxPyBeginAllowThreads();
12383 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12384 wxPyEndAllowThreads(__tstate);
12385 if (PyErr_Occurred()) SWIG_fail;
12386 }
12387 resultobj = SWIG_From_int(static_cast< int >(result));
12388 return resultobj;
12389fail:
12390 return NULL;
d55e5bfc
RD
12391}
12392
12393
1bd55598
RD
12394SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12395 PyObject *obj;
12396 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12397 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12398 return SWIG_Py_Void();
d55e5bfc
RD
12399}
12400
1bd55598
RD
12401SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12402 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
12403}
12404
1bd55598
RD
12405SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12406 PyObject *resultobj = 0;
12407 int arg1 = (int) 0 ;
12408 wxCalculateLayoutEvent *result = 0 ;
12409 int val1 ;
12410 int ecode1 = 0 ;
12411 PyObject * obj0 = 0 ;
12412 char * kwnames[] = {
12413 (char *) "id", NULL
12414 };
12415
12416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12417 if (obj0) {
12418 ecode1 = SWIG_AsVal_int(obj0, &val1);
12419 if (!SWIG_IsOK(ecode1)) {
12420 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12421 }
12422 arg1 = static_cast< int >(val1);
12423 }
12424 {
12425 PyThreadState* __tstate = wxPyBeginAllowThreads();
12426 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12427 wxPyEndAllowThreads(__tstate);
12428 if (PyErr_Occurred()) SWIG_fail;
12429 }
12430 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12431 return resultobj;
12432fail:
12433 return NULL;
12434}
12435
12436
12437SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12438 PyObject *resultobj = 0;
12439 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12440 int arg2 ;
12441 void *argp1 = 0 ;
12442 int res1 = 0 ;
12443 int val2 ;
12444 int ecode2 = 0 ;
12445 PyObject * obj0 = 0 ;
12446 PyObject * obj1 = 0 ;
12447 char * kwnames[] = {
12448 (char *) "self",(char *) "flags", NULL
12449 };
12450
12451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12453 if (!SWIG_IsOK(res1)) {
12454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12455 }
12456 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12457 ecode2 = SWIG_AsVal_int(obj1, &val2);
12458 if (!SWIG_IsOK(ecode2)) {
12459 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12460 }
12461 arg2 = static_cast< int >(val2);
12462 {
12463 PyThreadState* __tstate = wxPyBeginAllowThreads();
12464 (arg1)->SetFlags(arg2);
12465 wxPyEndAllowThreads(__tstate);
12466 if (PyErr_Occurred()) SWIG_fail;
12467 }
12468 resultobj = SWIG_Py_Void();
12469 return resultobj;
12470fail:
12471 return NULL;
d55e5bfc
RD
12472}
12473
12474
1bd55598
RD
12475SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12476 PyObject *resultobj = 0;
12477 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12478 int result;
12479 void *argp1 = 0 ;
12480 int res1 = 0 ;
12481 PyObject *swig_obj[1] ;
12482
12483 if (!args) SWIG_fail;
12484 swig_obj[0] = args;
12485 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12486 if (!SWIG_IsOK(res1)) {
12487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12488 }
12489 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12490 {
12491 PyThreadState* __tstate = wxPyBeginAllowThreads();
12492 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12493 wxPyEndAllowThreads(__tstate);
12494 if (PyErr_Occurred()) SWIG_fail;
12495 }
12496 resultobj = SWIG_From_int(static_cast< int >(result));
12497 return resultobj;
12498fail:
12499 return NULL;
12500}
12501
12502
12503SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12504 PyObject *resultobj = 0;
12505 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12506 wxRect *arg2 = 0 ;
12507 void *argp1 = 0 ;
12508 int res1 = 0 ;
12509 wxRect temp2 ;
12510 PyObject * obj0 = 0 ;
12511 PyObject * obj1 = 0 ;
12512 char * kwnames[] = {
12513 (char *) "self",(char *) "rect", NULL
12514 };
12515
12516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12518 if (!SWIG_IsOK(res1)) {
12519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12520 }
12521 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12522 {
12523 arg2 = &temp2;
12524 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12525 }
12526 {
12527 PyThreadState* __tstate = wxPyBeginAllowThreads();
12528 (arg1)->SetRect((wxRect const &)*arg2);
12529 wxPyEndAllowThreads(__tstate);
12530 if (PyErr_Occurred()) SWIG_fail;
12531 }
12532 resultobj = SWIG_Py_Void();
12533 return resultobj;
12534fail:
12535 return NULL;
d55e5bfc
RD
12536}
12537
12538
1bd55598
RD
12539SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12540 PyObject *resultobj = 0;
12541 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12542 wxRect result;
12543 void *argp1 = 0 ;
12544 int res1 = 0 ;
12545 PyObject *swig_obj[1] ;
12546
12547 if (!args) SWIG_fail;
12548 swig_obj[0] = args;
12549 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12550 if (!SWIG_IsOK(res1)) {
12551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12552 }
12553 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12554 {
12555 PyThreadState* __tstate = wxPyBeginAllowThreads();
12556 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12557 wxPyEndAllowThreads(__tstate);
12558 if (PyErr_Occurred()) SWIG_fail;
12559 }
12560 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12561 return resultobj;
12562fail:
12563 return NULL;
12564}
12565
12566
12567SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12568 PyObject *obj;
12569 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12570 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12571 return SWIG_Py_Void();
12572}
12573
12574SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12575 return SWIG_Python_InitShadowInstance(args);
12576}
12577
12578SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12579 PyObject *resultobj = 0;
12580 wxWindow *arg1 = (wxWindow *) 0 ;
12581 int arg2 = (int) -1 ;
12582 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12583 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12584 wxSize const &arg4_defvalue = wxDefaultSize ;
12585 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12586 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12587 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12588 wxString *arg6 = (wxString *) &arg6_defvalue ;
12589 wxSashLayoutWindow *result = 0 ;
12590 void *argp1 = 0 ;
12591 int res1 = 0 ;
12592 int val2 ;
12593 int ecode2 = 0 ;
12594 wxPoint temp3 ;
12595 wxSize temp4 ;
12596 long val5 ;
12597 int ecode5 = 0 ;
12598 bool temp6 = false ;
12599 PyObject * obj0 = 0 ;
12600 PyObject * obj1 = 0 ;
12601 PyObject * obj2 = 0 ;
12602 PyObject * obj3 = 0 ;
12603 PyObject * obj4 = 0 ;
12604 PyObject * obj5 = 0 ;
12605 char * kwnames[] = {
12606 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12607 };
12608
12609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12611 if (!SWIG_IsOK(res1)) {
12612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12613 }
12614 arg1 = reinterpret_cast< wxWindow * >(argp1);
12615 if (obj1) {
12616 ecode2 = SWIG_AsVal_int(obj1, &val2);
12617 if (!SWIG_IsOK(ecode2)) {
12618 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12619 }
12620 arg2 = static_cast< int >(val2);
12621 }
12622 if (obj2) {
12623 {
12624 arg3 = &temp3;
12625 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 12626 }
1bd55598
RD
12627 }
12628 if (obj3) {
d55e5bfc 12629 {
1bd55598
RD
12630 arg4 = &temp4;
12631 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 12632 }
1bd55598
RD
12633 }
12634 if (obj4) {
12635 ecode5 = SWIG_AsVal_long(obj4, &val5);
12636 if (!SWIG_IsOK(ecode5)) {
12637 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12638 }
12639 arg5 = static_cast< long >(val5);
12640 }
12641 if (obj5) {
d55e5bfc 12642 {
1bd55598
RD
12643 arg6 = wxString_in_helper(obj5);
12644 if (arg6 == NULL) SWIG_fail;
12645 temp6 = true;
d55e5bfc 12646 }
1bd55598
RD
12647 }
12648 {
12649 if (!wxPyCheckForApp()) SWIG_fail;
12650 PyThreadState* __tstate = wxPyBeginAllowThreads();
12651 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12652 wxPyEndAllowThreads(__tstate);
12653 if (PyErr_Occurred()) SWIG_fail;
12654 }
12655 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12656 {
12657 if (temp6)
12658 delete arg6;
12659 }
12660 return resultobj;
12661fail:
12662 {
12663 if (temp6)
12664 delete arg6;
12665 }
12666 return NULL;
d55e5bfc
RD
12667}
12668
12669
1bd55598
RD
12670SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12671 PyObject *resultobj = 0;
12672 wxSashLayoutWindow *result = 0 ;
12673
12674 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12675 {
12676 if (!wxPyCheckForApp()) SWIG_fail;
12677 PyThreadState* __tstate = wxPyBeginAllowThreads();
12678 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12679 wxPyEndAllowThreads(__tstate);
12680 if (PyErr_Occurred()) SWIG_fail;
12681 }
12682 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12683 return resultobj;
12684fail:
12685 return NULL;
12686}
12687
12688
12689SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12690 PyObject *resultobj = 0;
12691 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12692 wxWindow *arg2 = (wxWindow *) 0 ;
12693 int arg3 = (int) -1 ;
12694 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12695 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12696 wxSize const &arg5_defvalue = wxDefaultSize ;
12697 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12698 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12699 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12700 wxString *arg7 = (wxString *) &arg7_defvalue ;
12701 bool result;
12702 void *argp1 = 0 ;
12703 int res1 = 0 ;
12704 void *argp2 = 0 ;
12705 int res2 = 0 ;
12706 int val3 ;
12707 int ecode3 = 0 ;
12708 wxPoint temp4 ;
12709 wxSize temp5 ;
12710 long val6 ;
12711 int ecode6 = 0 ;
12712 bool temp7 = false ;
12713 PyObject * obj0 = 0 ;
12714 PyObject * obj1 = 0 ;
12715 PyObject * obj2 = 0 ;
12716 PyObject * obj3 = 0 ;
12717 PyObject * obj4 = 0 ;
12718 PyObject * obj5 = 0 ;
12719 PyObject * obj6 = 0 ;
12720 char * kwnames[] = {
12721 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12722 };
12723
12724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12725 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12726 if (!SWIG_IsOK(res1)) {
12727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12728 }
12729 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12730 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12731 if (!SWIG_IsOK(res2)) {
12732 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12733 }
12734 arg2 = reinterpret_cast< wxWindow * >(argp2);
12735 if (obj2) {
12736 ecode3 = SWIG_AsVal_int(obj2, &val3);
12737 if (!SWIG_IsOK(ecode3)) {
12738 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12739 }
12740 arg3 = static_cast< int >(val3);
12741 }
12742 if (obj3) {
12743 {
12744 arg4 = &temp4;
12745 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 12746 }
1bd55598
RD
12747 }
12748 if (obj4) {
d55e5bfc 12749 {
1bd55598
RD
12750 arg5 = &temp5;
12751 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 12752 }
1bd55598
RD
12753 }
12754 if (obj5) {
12755 ecode6 = SWIG_AsVal_long(obj5, &val6);
12756 if (!SWIG_IsOK(ecode6)) {
12757 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12758 }
12759 arg6 = static_cast< long >(val6);
12760 }
12761 if (obj6) {
d55e5bfc 12762 {
1bd55598
RD
12763 arg7 = wxString_in_helper(obj6);
12764 if (arg7 == NULL) SWIG_fail;
12765 temp7 = true;
d55e5bfc 12766 }
1bd55598
RD
12767 }
12768 {
12769 PyThreadState* __tstate = wxPyBeginAllowThreads();
12770 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12771 wxPyEndAllowThreads(__tstate);
12772 if (PyErr_Occurred()) SWIG_fail;
12773 }
12774 {
12775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12776 }
12777 {
12778 if (temp7)
12779 delete arg7;
12780 }
12781 return resultobj;
12782fail:
12783 {
12784 if (temp7)
12785 delete arg7;
12786 }
12787 return NULL;
d55e5bfc
RD
12788}
12789
12790
1bd55598
RD
12791SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12792 PyObject *resultobj = 0;
12793 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12794 wxLayoutAlignment result;
12795 void *argp1 = 0 ;
12796 int res1 = 0 ;
12797 PyObject *swig_obj[1] ;
12798
12799 if (!args) SWIG_fail;
12800 swig_obj[0] = args;
12801 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12802 if (!SWIG_IsOK(res1)) {
12803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12804 }
12805 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12806 {
12807 PyThreadState* __tstate = wxPyBeginAllowThreads();
12808 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12809 wxPyEndAllowThreads(__tstate);
12810 if (PyErr_Occurred()) SWIG_fail;
12811 }
12812 resultobj = SWIG_From_int(static_cast< int >(result));
12813 return resultobj;
12814fail:
12815 return NULL;
d55e5bfc
RD
12816}
12817
12818
1bd55598
RD
12819SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12820 PyObject *resultobj = 0;
12821 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12822 wxLayoutOrientation result;
12823 void *argp1 = 0 ;
12824 int res1 = 0 ;
12825 PyObject *swig_obj[1] ;
12826
12827 if (!args) SWIG_fail;
12828 swig_obj[0] = args;
12829 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12830 if (!SWIG_IsOK(res1)) {
12831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12832 }
12833 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12834 {
12835 PyThreadState* __tstate = wxPyBeginAllowThreads();
12836 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12837 wxPyEndAllowThreads(__tstate);
12838 if (PyErr_Occurred()) SWIG_fail;
12839 }
12840 resultobj = SWIG_From_int(static_cast< int >(result));
12841 return resultobj;
12842fail:
12843 return NULL;
12844}
12845
12846
12847SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12848 PyObject *resultobj = 0;
12849 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12850 wxLayoutAlignment arg2 ;
12851 void *argp1 = 0 ;
12852 int res1 = 0 ;
12853 int val2 ;
12854 int ecode2 = 0 ;
12855 PyObject * obj0 = 0 ;
12856 PyObject * obj1 = 0 ;
12857 char * kwnames[] = {
12858 (char *) "self",(char *) "alignment", NULL
12859 };
12860
12861 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12862 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12863 if (!SWIG_IsOK(res1)) {
12864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12865 }
12866 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12867 ecode2 = SWIG_AsVal_int(obj1, &val2);
12868 if (!SWIG_IsOK(ecode2)) {
12869 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12870 }
12871 arg2 = static_cast< wxLayoutAlignment >(val2);
12872 {
12873 PyThreadState* __tstate = wxPyBeginAllowThreads();
12874 (arg1)->SetAlignment(arg2);
12875 wxPyEndAllowThreads(__tstate);
12876 if (PyErr_Occurred()) SWIG_fail;
12877 }
12878 resultobj = SWIG_Py_Void();
12879 return resultobj;
12880fail:
12881 return NULL;
12882}
12883
12884
12885SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12886 PyObject *resultobj = 0;
12887 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12888 wxSize *arg2 = 0 ;
12889 void *argp1 = 0 ;
12890 int res1 = 0 ;
12891 wxSize temp2 ;
12892 PyObject * obj0 = 0 ;
12893 PyObject * obj1 = 0 ;
12894 char * kwnames[] = {
12895 (char *) "self",(char *) "size", NULL
12896 };
12897
12898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12900 if (!SWIG_IsOK(res1)) {
12901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12902 }
12903 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12904 {
12905 arg2 = &temp2;
12906 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12907 }
12908 {
12909 PyThreadState* __tstate = wxPyBeginAllowThreads();
12910 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12911 wxPyEndAllowThreads(__tstate);
12912 if (PyErr_Occurred()) SWIG_fail;
12913 }
12914 resultobj = SWIG_Py_Void();
12915 return resultobj;
12916fail:
12917 return NULL;
12918}
12919
12920
12921SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12922 PyObject *resultobj = 0;
12923 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12924 wxLayoutOrientation arg2 ;
12925 void *argp1 = 0 ;
12926 int res1 = 0 ;
12927 int val2 ;
12928 int ecode2 = 0 ;
12929 PyObject * obj0 = 0 ;
12930 PyObject * obj1 = 0 ;
12931 char * kwnames[] = {
12932 (char *) "self",(char *) "orientation", NULL
12933 };
12934
12935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12937 if (!SWIG_IsOK(res1)) {
12938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12939 }
12940 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12941 ecode2 = SWIG_AsVal_int(obj1, &val2);
12942 if (!SWIG_IsOK(ecode2)) {
12943 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12944 }
12945 arg2 = static_cast< wxLayoutOrientation >(val2);
12946 {
12947 PyThreadState* __tstate = wxPyBeginAllowThreads();
12948 (arg1)->SetOrientation(arg2);
12949 wxPyEndAllowThreads(__tstate);
12950 if (PyErr_Occurred()) SWIG_fail;
12951 }
12952 resultobj = SWIG_Py_Void();
12953 return resultobj;
12954fail:
12955 return NULL;
d55e5bfc
RD
12956}
12957
12958
1bd55598
RD
12959SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12960 PyObject *obj;
12961 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12962 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12963 return SWIG_Py_Void();
d55e5bfc
RD
12964}
12965
1bd55598
RD
12966SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12967 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
12968}
12969
1bd55598
RD
12970SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12971 PyObject *resultobj = 0;
12972 wxLayoutAlgorithm *result = 0 ;
12973
12974 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12975 {
12976 PyThreadState* __tstate = wxPyBeginAllowThreads();
12977 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12978 wxPyEndAllowThreads(__tstate);
12979 if (PyErr_Occurred()) SWIG_fail;
12980 }
12981 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12982 return resultobj;
12983fail:
12984 return NULL;
d55e5bfc
RD
12985}
12986
12987
1bd55598
RD
12988SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12989 PyObject *resultobj = 0;
12990 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12991 void *argp1 = 0 ;
12992 int res1 = 0 ;
12993 PyObject *swig_obj[1] ;
12994
12995 if (!args) SWIG_fail;
12996 swig_obj[0] = args;
12997 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12998 if (!SWIG_IsOK(res1)) {
12999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13000 }
13001 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13002 {
13003 PyThreadState* __tstate = wxPyBeginAllowThreads();
13004 delete arg1;
d55e5bfc 13005
1bd55598
RD
13006 wxPyEndAllowThreads(__tstate);
13007 if (PyErr_Occurred()) SWIG_fail;
13008 }
13009 resultobj = SWIG_Py_Void();
13010 return resultobj;
13011fail:
13012 return NULL;
13013}
13014
13015
13016SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13017 PyObject *resultobj = 0;
13018 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13019 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13020 wxRect *arg3 = (wxRect *) NULL ;
13021 bool result;
13022 void *argp1 = 0 ;
13023 int res1 = 0 ;
13024 void *argp2 = 0 ;
13025 int res2 = 0 ;
13026 void *argp3 = 0 ;
13027 int res3 = 0 ;
13028 PyObject * obj0 = 0 ;
13029 PyObject * obj1 = 0 ;
13030 PyObject * obj2 = 0 ;
13031 char * kwnames[] = {
13032 (char *) "self",(char *) "frame",(char *) "rect", NULL
13033 };
13034
13035 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13036 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13037 if (!SWIG_IsOK(res1)) {
13038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13039 }
13040 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13041 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
13042 if (!SWIG_IsOK(res2)) {
13043 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13044 }
13045 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
13046 if (obj2) {
13047 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
13048 if (!SWIG_IsOK(res3)) {
13049 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
36ed4f51 13050 }
1bd55598
RD
13051 arg3 = reinterpret_cast< wxRect * >(argp3);
13052 }
13053 {
13054 PyThreadState* __tstate = wxPyBeginAllowThreads();
13055 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
13056 wxPyEndAllowThreads(__tstate);
13057 if (PyErr_Occurred()) SWIG_fail;
13058 }
13059 {
13060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13061 }
13062 return resultobj;
13063fail:
13064 return NULL;
13065}
13066
13067
13068SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13069 PyObject *resultobj = 0;
13070 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13071 wxFrame *arg2 = (wxFrame *) 0 ;
13072 wxWindow *arg3 = (wxWindow *) NULL ;
13073 bool result;
13074 void *argp1 = 0 ;
13075 int res1 = 0 ;
13076 void *argp2 = 0 ;
13077 int res2 = 0 ;
13078 void *argp3 = 0 ;
13079 int res3 = 0 ;
13080 PyObject * obj0 = 0 ;
13081 PyObject * obj1 = 0 ;
13082 PyObject * obj2 = 0 ;
13083 char * kwnames[] = {
13084 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13085 };
13086
13087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13089 if (!SWIG_IsOK(res1)) {
13090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13091 }
13092 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13093 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13094 if (!SWIG_IsOK(res2)) {
13095 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13096 }
13097 arg2 = reinterpret_cast< wxFrame * >(argp2);
13098 if (obj2) {
13099 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13100 if (!SWIG_IsOK(res3)) {
13101 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
36ed4f51 13102 }
1bd55598
RD
13103 arg3 = reinterpret_cast< wxWindow * >(argp3);
13104 }
13105 {
13106 PyThreadState* __tstate = wxPyBeginAllowThreads();
13107 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13108 wxPyEndAllowThreads(__tstate);
13109 if (PyErr_Occurred()) SWIG_fail;
13110 }
13111 {
13112 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13113 }
13114 return resultobj;
13115fail:
13116 return NULL;
13117}
13118
13119
13120SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13121 PyObject *resultobj = 0;
13122 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13123 wxWindow *arg2 = (wxWindow *) 0 ;
13124 wxWindow *arg3 = (wxWindow *) NULL ;
13125 bool result;
13126 void *argp1 = 0 ;
13127 int res1 = 0 ;
13128 void *argp2 = 0 ;
13129 int res2 = 0 ;
13130 void *argp3 = 0 ;
13131 int res3 = 0 ;
13132 PyObject * obj0 = 0 ;
13133 PyObject * obj1 = 0 ;
13134 PyObject * obj2 = 0 ;
13135 char * kwnames[] = {
13136 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13137 };
13138
13139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13141 if (!SWIG_IsOK(res1)) {
13142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13143 }
13144 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13145 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13146 if (!SWIG_IsOK(res2)) {
13147 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13148 }
13149 arg2 = reinterpret_cast< wxWindow * >(argp2);
13150 if (obj2) {
13151 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13152 if (!SWIG_IsOK(res3)) {
13153 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
d55e5bfc 13154 }
1bd55598
RD
13155 arg3 = reinterpret_cast< wxWindow * >(argp3);
13156 }
13157 {
13158 PyThreadState* __tstate = wxPyBeginAllowThreads();
13159 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13160 wxPyEndAllowThreads(__tstate);
13161 if (PyErr_Occurred()) SWIG_fail;
13162 }
13163 {
13164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13165 }
13166 return resultobj;
13167fail:
13168 return NULL;
d55e5bfc
RD
13169}
13170
13171
1bd55598
RD
13172SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13173 PyObject *obj;
13174 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13175 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13176 return SWIG_Py_Void();
d55e5bfc
RD
13177}
13178
1bd55598
RD
13179SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13180 return SWIG_Python_InitShadowInstance(args);
5cbf236d
RD
13181}
13182
1bd55598
RD
13183SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13184 PyObject *resultobj = 0;
13185 wxWindow *arg1 = (wxWindow *) 0 ;
13186 int arg2 = (int) wxBORDER_NONE ;
13187 wxPopupWindow *result = 0 ;
13188 void *argp1 = 0 ;
13189 int res1 = 0 ;
13190 int val2 ;
13191 int ecode2 = 0 ;
13192 PyObject * obj0 = 0 ;
13193 PyObject * obj1 = 0 ;
13194 char * kwnames[] = {
13195 (char *) "parent",(char *) "flags", NULL
13196 };
13197
13198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13200 if (!SWIG_IsOK(res1)) {
13201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13202 }
13203 arg1 = reinterpret_cast< wxWindow * >(argp1);
13204 if (obj1) {
13205 ecode2 = SWIG_AsVal_int(obj1, &val2);
13206 if (!SWIG_IsOK(ecode2)) {
13207 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13208 }
13209 arg2 = static_cast< int >(val2);
13210 }
13211 {
13212 PyThreadState* __tstate = wxPyBeginAllowThreads();
13213 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13214 wxPyEndAllowThreads(__tstate);
13215 if (PyErr_Occurred()) SWIG_fail;
13216 }
13217 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13218 return resultobj;
13219fail:
13220 return NULL;
5cbf236d
RD
13221}
13222
13223
1bd55598
RD
13224SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13225 PyObject *resultobj = 0;
13226 wxPopupWindow *result = 0 ;
13227
13228 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13229 {
13230 PyThreadState* __tstate = wxPyBeginAllowThreads();
13231 result = (wxPopupWindow *)new wxPopupWindow();
13232 wxPyEndAllowThreads(__tstate);
13233 if (PyErr_Occurred()) SWIG_fail;
13234 }
13235 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13236 return resultobj;
13237fail:
13238 return NULL;
d55e5bfc
RD
13239}
13240
13241
1bd55598
RD
13242SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13243 PyObject *obj;
13244 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13245 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13246 return SWIG_Py_Void();
d55e5bfc
RD
13247}
13248
1bd55598
RD
13249SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13250 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
13251}
13252
1bd55598
RD
13253SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13254 PyObject *resultobj = 0;
13255 wxWindow *arg1 = (wxWindow *) 0 ;
13256 int arg2 = (int) wxBORDER_NONE ;
13257 wxPyPopupTransientWindow *result = 0 ;
13258 void *argp1 = 0 ;
13259 int res1 = 0 ;
13260 int val2 ;
13261 int ecode2 = 0 ;
13262 PyObject * obj0 = 0 ;
13263 PyObject * obj1 = 0 ;
13264 char * kwnames[] = {
13265 (char *) "parent",(char *) "style", NULL
13266 };
13267
13268 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13269 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13270 if (!SWIG_IsOK(res1)) {
13271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13272 }
13273 arg1 = reinterpret_cast< wxWindow * >(argp1);
13274 if (obj1) {
13275 ecode2 = SWIG_AsVal_int(obj1, &val2);
13276 if (!SWIG_IsOK(ecode2)) {
13277 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13278 }
13279 arg2 = static_cast< int >(val2);
13280 }
13281 {
13282 PyThreadState* __tstate = wxPyBeginAllowThreads();
13283 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13284 wxPyEndAllowThreads(__tstate);
13285 if (PyErr_Occurred()) SWIG_fail;
13286 }
13287 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13288 return resultobj;
13289fail:
13290 return NULL;
d55e5bfc
RD
13291}
13292
13293
1bd55598
RD
13294SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13295 PyObject *resultobj = 0;
13296 wxPyPopupTransientWindow *result = 0 ;
13297
13298 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13299 {
13300 PyThreadState* __tstate = wxPyBeginAllowThreads();
13301 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13302 wxPyEndAllowThreads(__tstate);
13303 if (PyErr_Occurred()) SWIG_fail;
13304 }
13305 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13306 return resultobj;
13307fail:
13308 return NULL;
13309}
13310
13311
13312SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13313 PyObject *obj;
13314 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13315 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13316 return SWIG_Py_Void();
13317}
13318
13319SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13320 return SWIG_Python_InitShadowInstance(args);
13321}
13322
13323SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13324 PyObject *resultobj = 0;
13325 wxWindow *arg1 = (wxWindow *) 0 ;
13326 wxString *arg2 = 0 ;
13327 int arg3 = (int) 100 ;
13328 wxRect *arg4 = (wxRect *) NULL ;
13329 wxTipWindow *result = 0 ;
13330 void *argp1 = 0 ;
13331 int res1 = 0 ;
13332 bool temp2 = false ;
13333 int val3 ;
13334 int ecode3 = 0 ;
13335 void *argp4 = 0 ;
13336 int res4 = 0 ;
13337 PyObject * obj0 = 0 ;
13338 PyObject * obj1 = 0 ;
13339 PyObject * obj2 = 0 ;
13340 PyObject * obj3 = 0 ;
13341 char * kwnames[] = {
13342 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13343 };
13344
13345 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13346 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13347 if (!SWIG_IsOK(res1)) {
13348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13349 }
13350 arg1 = reinterpret_cast< wxWindow * >(argp1);
13351 {
13352 arg2 = wxString_in_helper(obj1);
13353 if (arg2 == NULL) SWIG_fail;
13354 temp2 = true;
13355 }
13356 if (obj2) {
13357 ecode3 = SWIG_AsVal_int(obj2, &val3);
13358 if (!SWIG_IsOK(ecode3)) {
13359 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13360 }
13361 arg3 = static_cast< int >(val3);
13362 }
13363 if (obj3) {
13364 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13365 if (!SWIG_IsOK(res4)) {
13366 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
36ed4f51 13367 }
1bd55598
RD
13368 arg4 = reinterpret_cast< wxRect * >(argp4);
13369 }
13370 {
13371 if (!wxPyCheckForApp()) SWIG_fail;
13372 PyThreadState* __tstate = wxPyBeginAllowThreads();
13373 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13374 wxPyEndAllowThreads(__tstate);
13375 if (PyErr_Occurred()) SWIG_fail;
13376 }
13377 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13378 {
13379 if (temp2)
13380 delete arg2;
13381 }
13382 return resultobj;
13383fail:
13384 {
13385 if (temp2)
13386 delete arg2;
13387 }
13388 return NULL;
d55e5bfc
RD
13389}
13390
13391
1bd55598
RD
13392SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13393 PyObject *resultobj = 0;
13394 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13395 wxRect *arg2 = 0 ;
13396 void *argp1 = 0 ;
13397 int res1 = 0 ;
13398 wxRect temp2 ;
13399 PyObject * obj0 = 0 ;
13400 PyObject * obj1 = 0 ;
13401 char * kwnames[] = {
13402 (char *) "self",(char *) "rectBound", NULL
13403 };
13404
13405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13407 if (!SWIG_IsOK(res1)) {
13408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13409 }
13410 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13411 {
13412 arg2 = &temp2;
13413 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13414 }
13415 {
13416 PyThreadState* __tstate = wxPyBeginAllowThreads();
13417 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13418 wxPyEndAllowThreads(__tstate);
13419 if (PyErr_Occurred()) SWIG_fail;
13420 }
13421 resultobj = SWIG_Py_Void();
13422 return resultobj;
13423fail:
13424 return NULL;
d55e5bfc
RD
13425}
13426
13427
1bd55598
RD
13428SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13429 PyObject *resultobj = 0;
13430 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13431 void *argp1 = 0 ;
13432 int res1 = 0 ;
13433 PyObject *swig_obj[1] ;
13434
13435 if (!args) SWIG_fail;
13436 swig_obj[0] = args;
13437 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13438 if (!SWIG_IsOK(res1)) {
13439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13440 }
13441 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13442 {
13443 PyThreadState* __tstate = wxPyBeginAllowThreads();
13444 (arg1)->Close();
13445 wxPyEndAllowThreads(__tstate);
13446 if (PyErr_Occurred()) SWIG_fail;
13447 }
13448 resultobj = SWIG_Py_Void();
13449 return resultobj;
13450fail:
13451 return NULL;
13452}
13453
13454
13455SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13456 PyObject *obj;
13457 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13458 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13459 return SWIG_Py_Void();
13460}
13461
13462SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13463 return SWIG_Python_InitShadowInstance(args);
13464}
13465
13466SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13467 PyObject *resultobj = 0;
13468 wxWindow *arg1 = (wxWindow *) 0 ;
13469 int arg2 = (int) wxID_ANY ;
13470 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13471 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13472 wxSize const &arg4_defvalue = wxDefaultSize ;
13473 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13474 long arg5 = (long) 0 ;
13475 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13476 wxString *arg6 = (wxString *) &arg6_defvalue ;
13477 wxPyVScrolledWindow *result = 0 ;
13478 void *argp1 = 0 ;
13479 int res1 = 0 ;
13480 int val2 ;
13481 int ecode2 = 0 ;
13482 wxPoint temp3 ;
13483 wxSize temp4 ;
13484 long val5 ;
13485 int ecode5 = 0 ;
13486 bool temp6 = false ;
13487 PyObject * obj0 = 0 ;
13488 PyObject * obj1 = 0 ;
13489 PyObject * obj2 = 0 ;
13490 PyObject * obj3 = 0 ;
13491 PyObject * obj4 = 0 ;
13492 PyObject * obj5 = 0 ;
13493 char * kwnames[] = {
13494 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13495 };
13496
13497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13499 if (!SWIG_IsOK(res1)) {
13500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13501 }
13502 arg1 = reinterpret_cast< wxWindow * >(argp1);
13503 if (obj1) {
13504 ecode2 = SWIG_AsVal_int(obj1, &val2);
13505 if (!SWIG_IsOK(ecode2)) {
13506 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13507 }
13508 arg2 = static_cast< int >(val2);
13509 }
13510 if (obj2) {
f20a2e1f 13511 {
1bd55598
RD
13512 arg3 = &temp3;
13513 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
f20a2e1f 13514 }
1bd55598
RD
13515 }
13516 if (obj3) {
f20a2e1f 13517 {
1bd55598
RD
13518 arg4 = &temp4;
13519 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 13520 }
1bd55598
RD
13521 }
13522 if (obj4) {
13523 ecode5 = SWIG_AsVal_long(obj4, &val5);
13524 if (!SWIG_IsOK(ecode5)) {
13525 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13526 }
13527 arg5 = static_cast< long >(val5);
13528 }
13529 if (obj5) {
36ed4f51 13530 {
1bd55598
RD
13531 arg6 = wxString_in_helper(obj5);
13532 if (arg6 == NULL) SWIG_fail;
13533 temp6 = true;
36ed4f51 13534 }
1bd55598
RD
13535 }
13536 {
13537 if (!wxPyCheckForApp()) SWIG_fail;
13538 PyThreadState* __tstate = wxPyBeginAllowThreads();
13539 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13540 wxPyEndAllowThreads(__tstate);
13541 if (PyErr_Occurred()) SWIG_fail;
13542 }
13543 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13544 {
13545 if (temp6)
13546 delete arg6;
13547 }
13548 return resultobj;
13549fail:
13550 {
13551 if (temp6)
13552 delete arg6;
13553 }
13554 return NULL;
d55e5bfc
RD
13555}
13556
13557
1bd55598
RD
13558SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13559 PyObject *resultobj = 0;
13560 wxPyVScrolledWindow *result = 0 ;
13561
13562 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13563 {
13564 if (!wxPyCheckForApp()) SWIG_fail;
13565 PyThreadState* __tstate = wxPyBeginAllowThreads();
13566 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13567 wxPyEndAllowThreads(__tstate);
13568 if (PyErr_Occurred()) SWIG_fail;
13569 }
13570 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13571 return resultobj;
13572fail:
13573 return NULL;
13574}
13575
13576
13577SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13578 PyObject *resultobj = 0;
13579 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13580 PyObject *arg2 = (PyObject *) 0 ;
13581 PyObject *arg3 = (PyObject *) 0 ;
13582 void *argp1 = 0 ;
13583 int res1 = 0 ;
13584 PyObject * obj0 = 0 ;
13585 PyObject * obj1 = 0 ;
13586 PyObject * obj2 = 0 ;
13587 char * kwnames[] = {
13588 (char *) "self",(char *) "self",(char *) "_class", NULL
13589 };
13590
13591 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13592 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13593 if (!SWIG_IsOK(res1)) {
13594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13595 }
13596 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13597 arg2 = obj1;
13598 arg3 = obj2;
13599 {
13600 PyThreadState* __tstate = wxPyBeginAllowThreads();
13601 (arg1)->_setCallbackInfo(arg2,arg3);
13602 wxPyEndAllowThreads(__tstate);
13603 if (PyErr_Occurred()) SWIG_fail;
13604 }
13605 resultobj = SWIG_Py_Void();
13606 return resultobj;
13607fail:
13608 return NULL;
13609}
13610
13611
13612SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13613 PyObject *resultobj = 0;
13614 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13615 wxWindow *arg2 = (wxWindow *) 0 ;
13616 int arg3 = (int) wxID_ANY ;
13617 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13618 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13619 wxSize const &arg5_defvalue = wxDefaultSize ;
13620 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13621 long arg6 = (long) 0 ;
13622 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13623 wxString *arg7 = (wxString *) &arg7_defvalue ;
13624 bool result;
13625 void *argp1 = 0 ;
13626 int res1 = 0 ;
13627 void *argp2 = 0 ;
13628 int res2 = 0 ;
13629 int val3 ;
13630 int ecode3 = 0 ;
13631 wxPoint temp4 ;
13632 wxSize temp5 ;
13633 long val6 ;
13634 int ecode6 = 0 ;
13635 bool temp7 = false ;
13636 PyObject * obj0 = 0 ;
13637 PyObject * obj1 = 0 ;
13638 PyObject * obj2 = 0 ;
13639 PyObject * obj3 = 0 ;
13640 PyObject * obj4 = 0 ;
13641 PyObject * obj5 = 0 ;
13642 PyObject * obj6 = 0 ;
13643 char * kwnames[] = {
13644 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13645 };
13646
13647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13648 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13649 if (!SWIG_IsOK(res1)) {
13650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13651 }
13652 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13653 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13654 if (!SWIG_IsOK(res2)) {
13655 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13656 }
13657 arg2 = reinterpret_cast< wxWindow * >(argp2);
13658 if (obj2) {
13659 ecode3 = SWIG_AsVal_int(obj2, &val3);
13660 if (!SWIG_IsOK(ecode3)) {
13661 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13662 }
13663 arg3 = static_cast< int >(val3);
13664 }
13665 if (obj3) {
d55e5bfc 13666 {
1bd55598
RD
13667 arg4 = &temp4;
13668 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 13669 }
1bd55598
RD
13670 }
13671 if (obj4) {
36ed4f51 13672 {
1bd55598
RD
13673 arg5 = &temp5;
13674 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 13675 }
1bd55598
RD
13676 }
13677 if (obj5) {
13678 ecode6 = SWIG_AsVal_long(obj5, &val6);
13679 if (!SWIG_IsOK(ecode6)) {
13680 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13681 }
13682 arg6 = static_cast< long >(val6);
13683 }
13684 if (obj6) {
d55e5bfc 13685 {
1bd55598
RD
13686 arg7 = wxString_in_helper(obj6);
13687 if (arg7 == NULL) SWIG_fail;
13688 temp7 = true;
d55e5bfc 13689 }
1bd55598
RD
13690 }
13691 {
13692 PyThreadState* __tstate = wxPyBeginAllowThreads();
13693 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13694 wxPyEndAllowThreads(__tstate);
13695 if (PyErr_Occurred()) SWIG_fail;
13696 }
13697 {
13698 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13699 }
13700 {
13701 if (temp7)
13702 delete arg7;
13703 }
13704 return resultobj;
13705fail:
13706 {
13707 if (temp7)
13708 delete arg7;
13709 }
13710 return NULL;
13711}
13712
13713
13714SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13715 PyObject *resultobj = 0;
13716 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13717 size_t arg2 ;
13718 void *argp1 = 0 ;
13719 int res1 = 0 ;
13720 size_t val2 ;
13721 int ecode2 = 0 ;
13722 PyObject * obj0 = 0 ;
13723 PyObject * obj1 = 0 ;
13724 char * kwnames[] = {
13725 (char *) "self",(char *) "count", NULL
13726 };
13727
13728 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13729 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13730 if (!SWIG_IsOK(res1)) {
13731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13732 }
13733 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13734 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13735 if (!SWIG_IsOK(ecode2)) {
13736 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13737 }
13738 arg2 = static_cast< size_t >(val2);
13739 {
13740 PyThreadState* __tstate = wxPyBeginAllowThreads();
13741 (arg1)->SetLineCount(arg2);
13742 wxPyEndAllowThreads(__tstate);
13743 if (PyErr_Occurred()) SWIG_fail;
13744 }
13745 resultobj = SWIG_Py_Void();
13746 return resultobj;
13747fail:
13748 return NULL;
13749}
13750
13751
13752SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13753 PyObject *resultobj = 0;
13754 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13755 size_t arg2 ;
13756 bool result;
13757 void *argp1 = 0 ;
13758 int res1 = 0 ;
13759 size_t val2 ;
13760 int ecode2 = 0 ;
13761 PyObject * obj0 = 0 ;
13762 PyObject * obj1 = 0 ;
13763 char * kwnames[] = {
13764 (char *) "self",(char *) "line", NULL
13765 };
13766
13767 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13768 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13769 if (!SWIG_IsOK(res1)) {
13770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13771 }
13772 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13773 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13774 if (!SWIG_IsOK(ecode2)) {
13775 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13776 }
13777 arg2 = static_cast< size_t >(val2);
13778 {
13779 PyThreadState* __tstate = wxPyBeginAllowThreads();
13780 result = (bool)(arg1)->ScrollToLine(arg2);
13781 wxPyEndAllowThreads(__tstate);
13782 if (PyErr_Occurred()) SWIG_fail;
13783 }
13784 {
13785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13786 }
13787 return resultobj;
13788fail:
13789 return NULL;
13790}
13791
13792
13793SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13794 PyObject *resultobj = 0;
13795 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13796 size_t arg2 ;
13797 void *argp1 = 0 ;
13798 int res1 = 0 ;
13799 size_t val2 ;
13800 int ecode2 = 0 ;
13801 PyObject * obj0 = 0 ;
13802 PyObject * obj1 = 0 ;
13803 char * kwnames[] = {
13804 (char *) "self",(char *) "line", NULL
13805 };
13806
13807 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13808 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13809 if (!SWIG_IsOK(res1)) {
13810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13811 }
13812 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13813 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13814 if (!SWIG_IsOK(ecode2)) {
13815 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13816 }
13817 arg2 = static_cast< size_t >(val2);
13818 {
13819 PyThreadState* __tstate = wxPyBeginAllowThreads();
13820 (arg1)->RefreshLine(arg2);
13821 wxPyEndAllowThreads(__tstate);
13822 if (PyErr_Occurred()) SWIG_fail;
13823 }
13824 resultobj = SWIG_Py_Void();
13825 return resultobj;
13826fail:
13827 return NULL;
13828}
13829
13830
13831SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13832 PyObject *resultobj = 0;
13833 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13834 size_t arg2 ;
13835 size_t arg3 ;
13836 void *argp1 = 0 ;
13837 int res1 = 0 ;
13838 size_t val2 ;
13839 int ecode2 = 0 ;
13840 size_t val3 ;
13841 int ecode3 = 0 ;
13842 PyObject * obj0 = 0 ;
13843 PyObject * obj1 = 0 ;
13844 PyObject * obj2 = 0 ;
13845 char * kwnames[] = {
2131d850 13846 (char *) "self",(char *) "from",(char *) "to", NULL
1bd55598
RD
13847 };
13848
13849 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13850 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13851 if (!SWIG_IsOK(res1)) {
13852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13853 }
13854 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13855 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13856 if (!SWIG_IsOK(ecode2)) {
13857 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13858 }
13859 arg2 = static_cast< size_t >(val2);
13860 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13861 if (!SWIG_IsOK(ecode3)) {
13862 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13863 }
13864 arg3 = static_cast< size_t >(val3);
13865 {
13866 PyThreadState* __tstate = wxPyBeginAllowThreads();
13867 (arg1)->RefreshLines(arg2,arg3);
13868 wxPyEndAllowThreads(__tstate);
13869 if (PyErr_Occurred()) SWIG_fail;
13870 }
13871 resultobj = SWIG_Py_Void();
13872 return resultobj;
13873fail:
13874 return NULL;
13875}
13876
13877
13878SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13879 PyObject *resultobj = 0;
13880 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13881 int arg2 ;
13882 int arg3 ;
13883 int result;
13884 void *argp1 = 0 ;
13885 int res1 = 0 ;
13886 int val2 ;
13887 int ecode2 = 0 ;
13888 int val3 ;
13889 int ecode3 = 0 ;
13890 PyObject * obj0 = 0 ;
13891 PyObject * obj1 = 0 ;
13892 PyObject * obj2 = 0 ;
13893 char * kwnames[] = {
13894 (char *) "self",(char *) "x",(char *) "y", NULL
13895 };
13896
13897 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13898 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13899 if (!SWIG_IsOK(res1)) {
13900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13901 }
13902 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13903 ecode2 = SWIG_AsVal_int(obj1, &val2);
13904 if (!SWIG_IsOK(ecode2)) {
13905 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13906 }
13907 arg2 = static_cast< int >(val2);
13908 ecode3 = SWIG_AsVal_int(obj2, &val3);
13909 if (!SWIG_IsOK(ecode3)) {
13910 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13911 }
13912 arg3 = static_cast< int >(val3);
13913 {
13914 PyThreadState* __tstate = wxPyBeginAllowThreads();
13915 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
13916 wxPyEndAllowThreads(__tstate);
13917 if (PyErr_Occurred()) SWIG_fail;
13918 }
13919 resultobj = SWIG_From_int(static_cast< int >(result));
13920 return resultobj;
13921fail:
13922 return NULL;
13923}
13924
13925
13926SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13927 PyObject *resultobj = 0;
13928 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13929 wxPoint *arg2 = 0 ;
13930 int result;
13931 void *argp1 = 0 ;
13932 int res1 = 0 ;
13933 wxPoint temp2 ;
13934 PyObject * obj0 = 0 ;
13935 PyObject * obj1 = 0 ;
13936 char * kwnames[] = {
13937 (char *) "self",(char *) "pt", NULL
13938 };
13939
13940 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13941 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13942 if (!SWIG_IsOK(res1)) {
13943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13944 }
13945 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13946 {
13947 arg2 = &temp2;
13948 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13949 }
13950 {
13951 PyThreadState* __tstate = wxPyBeginAllowThreads();
13952 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
13953 wxPyEndAllowThreads(__tstate);
13954 if (PyErr_Occurred()) SWIG_fail;
13955 }
13956 resultobj = SWIG_From_int(static_cast< int >(result));
13957 return resultobj;
13958fail:
13959 return NULL;
d55e5bfc
RD
13960}
13961
13962
1bd55598
RD
13963SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13964 PyObject *resultobj = 0;
13965 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13966 void *argp1 = 0 ;
13967 int res1 = 0 ;
13968 PyObject *swig_obj[1] ;
13969
13970 if (!args) SWIG_fail;
13971 swig_obj[0] = args;
13972 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13973 if (!SWIG_IsOK(res1)) {
13974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13975 }
13976 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13977 {
13978 PyThreadState* __tstate = wxPyBeginAllowThreads();
13979 (arg1)->RefreshAll();
13980 wxPyEndAllowThreads(__tstate);
13981 if (PyErr_Occurred()) SWIG_fail;
13982 }
13983 resultobj = SWIG_Py_Void();
13984 return resultobj;
13985fail:
13986 return NULL;
d55e5bfc
RD
13987}
13988
13989
1bd55598
RD
13990SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13991 PyObject *resultobj = 0;
13992 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13993 size_t result;
13994 void *argp1 = 0 ;
13995 int res1 = 0 ;
13996 PyObject *swig_obj[1] ;
13997
13998 if (!args) SWIG_fail;
13999 swig_obj[0] = args;
14000 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14001 if (!SWIG_IsOK(res1)) {
14002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14003 }
14004 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14005 {
14006 PyThreadState* __tstate = wxPyBeginAllowThreads();
14007 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
14008 wxPyEndAllowThreads(__tstate);
14009 if (PyErr_Occurred()) SWIG_fail;
14010 }
14011 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14012 return resultobj;
14013fail:
14014 return NULL;
d55e5bfc
RD
14015}
14016
14017
1bd55598
RD
14018SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14019 PyObject *resultobj = 0;
14020 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14021 size_t result;
14022 void *argp1 = 0 ;
14023 int res1 = 0 ;
14024 PyObject *swig_obj[1] ;
14025
14026 if (!args) SWIG_fail;
14027 swig_obj[0] = args;
14028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14029 if (!SWIG_IsOK(res1)) {
14030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14031 }
14032 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14033 {
14034 PyThreadState* __tstate = wxPyBeginAllowThreads();
14035 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14036 wxPyEndAllowThreads(__tstate);
14037 if (PyErr_Occurred()) SWIG_fail;
14038 }
14039 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14040 return resultobj;
14041fail:
14042 return NULL;
d55e5bfc
RD
14043}
14044
14045
1bd55598
RD
14046SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14047 PyObject *resultobj = 0;
14048 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14049 size_t result;
14050 void *argp1 = 0 ;
14051 int res1 = 0 ;
14052 PyObject *swig_obj[1] ;
14053
14054 if (!args) SWIG_fail;
14055 swig_obj[0] = args;
14056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14057 if (!SWIG_IsOK(res1)) {
14058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14059 }
14060 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14061 {
14062 PyThreadState* __tstate = wxPyBeginAllowThreads();
14063 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14064 wxPyEndAllowThreads(__tstate);
14065 if (PyErr_Occurred()) SWIG_fail;
14066 }
14067 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14068 return resultobj;
14069fail:
14070 return NULL;
14071}
14072
14073
14074SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14075 PyObject *resultobj = 0;
14076 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14077 size_t arg2 ;
14078 bool result;
14079 void *argp1 = 0 ;
14080 int res1 = 0 ;
14081 size_t val2 ;
14082 int ecode2 = 0 ;
14083 PyObject * obj0 = 0 ;
14084 PyObject * obj1 = 0 ;
14085 char * kwnames[] = {
14086 (char *) "self",(char *) "line", NULL
14087 };
14088
14089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14091 if (!SWIG_IsOK(res1)) {
14092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14093 }
14094 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14095 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14096 if (!SWIG_IsOK(ecode2)) {
14097 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14098 }
14099 arg2 = static_cast< size_t >(val2);
14100 {
14101 PyThreadState* __tstate = wxPyBeginAllowThreads();
14102 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14103 wxPyEndAllowThreads(__tstate);
14104 if (PyErr_Occurred()) SWIG_fail;
14105 }
14106 {
14107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14108 }
14109 return resultobj;
14110fail:
14111 return NULL;
d55e5bfc
RD
14112}
14113
14114
1bd55598
RD
14115SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14116 PyObject *resultobj = 0;
14117 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14118 size_t result;
14119 void *argp1 = 0 ;
14120 int res1 = 0 ;
14121 PyObject *swig_obj[1] ;
14122
14123 if (!args) SWIG_fail;
14124 swig_obj[0] = args;
14125 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14126 if (!SWIG_IsOK(res1)) {
14127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14128 }
14129 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14130 {
14131 PyThreadState* __tstate = wxPyBeginAllowThreads();
14132 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14133 wxPyEndAllowThreads(__tstate);
14134 if (PyErr_Occurred()) SWIG_fail;
14135 }
14136 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14137 return resultobj;
14138fail:
14139 return NULL;
d55e5bfc
RD
14140}
14141
14142
1bd55598
RD
14143SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14144 PyObject *resultobj = 0;
14145 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14146 size_t result;
14147 void *argp1 = 0 ;
14148 int res1 = 0 ;
14149 PyObject *swig_obj[1] ;
14150
14151 if (!args) SWIG_fail;
14152 swig_obj[0] = args;
14153 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14154 if (!SWIG_IsOK(res1)) {
14155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14156 }
14157 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14158 {
14159 PyThreadState* __tstate = wxPyBeginAllowThreads();
14160 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14161 wxPyEndAllowThreads(__tstate);
14162 if (PyErr_Occurred()) SWIG_fail;
14163 }
14164 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14165 return resultobj;
14166fail:
14167 return NULL;
14168}
14169
14170
14171SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14172 PyObject *resultobj = 0;
14173 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14174 size_t arg2 ;
14175 bool arg3 = (bool) false ;
14176 size_t result;
14177 void *argp1 = 0 ;
14178 int res1 = 0 ;
14179 size_t val2 ;
14180 int ecode2 = 0 ;
14181 bool val3 ;
14182 int ecode3 = 0 ;
14183 PyObject * obj0 = 0 ;
14184 PyObject * obj1 = 0 ;
14185 PyObject * obj2 = 0 ;
14186 char * kwnames[] = {
14187 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14188 };
14189
14190 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14191 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14192 if (!SWIG_IsOK(res1)) {
14193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14194 }
14195 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14196 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14197 if (!SWIG_IsOK(ecode2)) {
14198 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14199 }
14200 arg2 = static_cast< size_t >(val2);
14201 if (obj2) {
14202 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14203 if (!SWIG_IsOK(ecode3)) {
14204 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14205 }
14206 arg3 = static_cast< bool >(val3);
14207 }
14208 {
14209 PyThreadState* __tstate = wxPyBeginAllowThreads();
14210 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14211 wxPyEndAllowThreads(__tstate);
14212 if (PyErr_Occurred()) SWIG_fail;
14213 }
14214 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14215 return resultobj;
14216fail:
14217 return NULL;
14218}
14219
14220
14221SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14222 PyObject *resultobj = 0;
14223 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14224 size_t arg2 ;
14225 size_t arg3 ;
14226 int result;
14227 void *argp1 = 0 ;
14228 int res1 = 0 ;
14229 size_t val2 ;
14230 int ecode2 = 0 ;
14231 size_t val3 ;
14232 int ecode3 = 0 ;
14233 PyObject * obj0 = 0 ;
14234 PyObject * obj1 = 0 ;
14235 PyObject * obj2 = 0 ;
14236 char * kwnames[] = {
14237 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14238 };
14239
14240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14241 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14242 if (!SWIG_IsOK(res1)) {
14243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14244 }
14245 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14246 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14247 if (!SWIG_IsOK(ecode2)) {
14248 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14249 }
14250 arg2 = static_cast< size_t >(val2);
14251 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14252 if (!SWIG_IsOK(ecode3)) {
14253 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14254 }
14255 arg3 = static_cast< size_t >(val3);
14256 {
14257 PyThreadState* __tstate = wxPyBeginAllowThreads();
14258 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14259 wxPyEndAllowThreads(__tstate);
14260 if (PyErr_Occurred()) SWIG_fail;
14261 }
14262 resultobj = SWIG_From_int(static_cast< int >(result));
14263 return resultobj;
14264fail:
14265 return NULL;
d55e5bfc
RD
14266}
14267
14268
1bd55598
RD
14269SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14270 PyObject *obj;
14271 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14272 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14273 return SWIG_Py_Void();
d55e5bfc
RD
14274}
14275
1bd55598
RD
14276SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14277 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
14278}
14279
1bd55598
RD
14280SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14281 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14282 return 1;
d55e5bfc
RD
14283}
14284
14285
1bd55598
RD
14286SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14287 PyObject *pyobj = 0;
14288
14289 {
14290#if wxUSE_UNICODE
14291 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14292#else
14293 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14294#endif
14295 }
14296 return pyobj;
14297}
14298
14299
14300SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14301 PyObject *resultobj = 0;
14302 wxWindow *arg1 = (wxWindow *) 0 ;
14303 int arg2 = (int) wxID_ANY ;
14304 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14305 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14306 wxSize const &arg4_defvalue = wxDefaultSize ;
14307 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14308 long arg5 = (long) 0 ;
14309 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14310 wxString *arg6 = (wxString *) &arg6_defvalue ;
14311 wxPyVListBox *result = 0 ;
14312 void *argp1 = 0 ;
14313 int res1 = 0 ;
14314 int val2 ;
14315 int ecode2 = 0 ;
14316 wxPoint temp3 ;
14317 wxSize temp4 ;
14318 long val5 ;
14319 int ecode5 = 0 ;
14320 bool temp6 = false ;
14321 PyObject * obj0 = 0 ;
14322 PyObject * obj1 = 0 ;
14323 PyObject * obj2 = 0 ;
14324 PyObject * obj3 = 0 ;
14325 PyObject * obj4 = 0 ;
14326 PyObject * obj5 = 0 ;
14327 char * kwnames[] = {
14328 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14329 };
14330
14331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14333 if (!SWIG_IsOK(res1)) {
14334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14335 }
14336 arg1 = reinterpret_cast< wxWindow * >(argp1);
14337 if (obj1) {
14338 ecode2 = SWIG_AsVal_int(obj1, &val2);
14339 if (!SWIG_IsOK(ecode2)) {
14340 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14341 }
14342 arg2 = static_cast< int >(val2);
14343 }
14344 if (obj2) {
36ed4f51 14345 {
1bd55598
RD
14346 arg3 = &temp3;
14347 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
36ed4f51 14348 }
1bd55598
RD
14349 }
14350 if (obj3) {
d55e5bfc 14351 {
1bd55598
RD
14352 arg4 = &temp4;
14353 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14354 }
1bd55598
RD
14355 }
14356 if (obj4) {
14357 ecode5 = SWIG_AsVal_long(obj4, &val5);
14358 if (!SWIG_IsOK(ecode5)) {
14359 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14360 }
14361 arg5 = static_cast< long >(val5);
14362 }
14363 if (obj5) {
d55e5bfc 14364 {
1bd55598
RD
14365 arg6 = wxString_in_helper(obj5);
14366 if (arg6 == NULL) SWIG_fail;
14367 temp6 = true;
d55e5bfc 14368 }
1bd55598
RD
14369 }
14370 {
14371 if (!wxPyCheckForApp()) SWIG_fail;
14372 PyThreadState* __tstate = wxPyBeginAllowThreads();
14373 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14374 wxPyEndAllowThreads(__tstate);
14375 if (PyErr_Occurred()) SWIG_fail;
14376 }
14377 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14378 {
14379 if (temp6)
14380 delete arg6;
14381 }
14382 return resultobj;
14383fail:
14384 {
14385 if (temp6)
14386 delete arg6;
14387 }
14388 return NULL;
d55e5bfc
RD
14389}
14390
14391
1bd55598
RD
14392SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14393 PyObject *resultobj = 0;
14394 wxPyVListBox *result = 0 ;
14395
14396 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14397 {
14398 if (!wxPyCheckForApp()) SWIG_fail;
14399 PyThreadState* __tstate = wxPyBeginAllowThreads();
14400 result = (wxPyVListBox *)new wxPyVListBox();
14401 wxPyEndAllowThreads(__tstate);
14402 if (PyErr_Occurred()) SWIG_fail;
14403 }
14404 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14405 return resultobj;
14406fail:
14407 return NULL;
14408}
14409
14410
14411SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14412 PyObject *resultobj = 0;
14413 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14414 PyObject *arg2 = (PyObject *) 0 ;
14415 PyObject *arg3 = (PyObject *) 0 ;
14416 void *argp1 = 0 ;
14417 int res1 = 0 ;
14418 PyObject * obj0 = 0 ;
14419 PyObject * obj1 = 0 ;
14420 PyObject * obj2 = 0 ;
14421 char * kwnames[] = {
14422 (char *) "self",(char *) "self",(char *) "_class", NULL
14423 };
14424
14425 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14426 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14427 if (!SWIG_IsOK(res1)) {
14428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14429 }
14430 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14431 arg2 = obj1;
14432 arg3 = obj2;
14433 {
14434 PyThreadState* __tstate = wxPyBeginAllowThreads();
14435 (arg1)->_setCallbackInfo(arg2,arg3);
14436 wxPyEndAllowThreads(__tstate);
14437 if (PyErr_Occurred()) SWIG_fail;
14438 }
14439 resultobj = SWIG_Py_Void();
14440 return resultobj;
14441fail:
14442 return NULL;
14443}
14444
14445
14446SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14447 PyObject *resultobj = 0;
14448 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14449 wxWindow *arg2 = (wxWindow *) 0 ;
14450 int arg3 = (int) wxID_ANY ;
14451 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14452 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14453 wxSize const &arg5_defvalue = wxDefaultSize ;
14454 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14455 long arg6 = (long) 0 ;
14456 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14457 wxString *arg7 = (wxString *) &arg7_defvalue ;
14458 bool result;
14459 void *argp1 = 0 ;
14460 int res1 = 0 ;
14461 void *argp2 = 0 ;
14462 int res2 = 0 ;
14463 int val3 ;
14464 int ecode3 = 0 ;
14465 wxPoint temp4 ;
14466 wxSize temp5 ;
14467 long val6 ;
14468 int ecode6 = 0 ;
14469 bool temp7 = false ;
14470 PyObject * obj0 = 0 ;
14471 PyObject * obj1 = 0 ;
14472 PyObject * obj2 = 0 ;
14473 PyObject * obj3 = 0 ;
14474 PyObject * obj4 = 0 ;
14475 PyObject * obj5 = 0 ;
14476 PyObject * obj6 = 0 ;
14477 char * kwnames[] = {
14478 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14479 };
14480
14481 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14482 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14483 if (!SWIG_IsOK(res1)) {
14484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14485 }
14486 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14487 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14488 if (!SWIG_IsOK(res2)) {
14489 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14490 }
14491 arg2 = reinterpret_cast< wxWindow * >(argp2);
14492 if (obj2) {
14493 ecode3 = SWIG_AsVal_int(obj2, &val3);
14494 if (!SWIG_IsOK(ecode3)) {
14495 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14496 }
14497 arg3 = static_cast< int >(val3);
14498 }
14499 if (obj3) {
36ed4f51 14500 {
1bd55598
RD
14501 arg4 = &temp4;
14502 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 14503 }
1bd55598
RD
14504 }
14505 if (obj4) {
36ed4f51 14506 {
1bd55598
RD
14507 arg5 = &temp5;
14508 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 14509 }
1bd55598
RD
14510 }
14511 if (obj5) {
14512 ecode6 = SWIG_AsVal_long(obj5, &val6);
14513 if (!SWIG_IsOK(ecode6)) {
14514 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14515 }
14516 arg6 = static_cast< long >(val6);
14517 }
14518 if (obj6) {
d55e5bfc 14519 {
1bd55598
RD
14520 arg7 = wxString_in_helper(obj6);
14521 if (arg7 == NULL) SWIG_fail;
14522 temp7 = true;
14523 }
14524 }
14525 {
14526 PyThreadState* __tstate = wxPyBeginAllowThreads();
14527 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14528 wxPyEndAllowThreads(__tstate);
14529 if (PyErr_Occurred()) SWIG_fail;
14530 }
14531 {
14532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14533 }
14534 {
14535 if (temp7)
14536 delete arg7;
14537 }
14538 return resultobj;
14539fail:
14540 {
14541 if (temp7)
14542 delete arg7;
14543 }
14544 return NULL;
d55e5bfc
RD
14545}
14546
14547
1bd55598
RD
14548SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14549 PyObject *resultobj = 0;
14550 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14551 size_t result;
14552 void *argp1 = 0 ;
14553 int res1 = 0 ;
14554 PyObject *swig_obj[1] ;
14555
14556 if (!args) SWIG_fail;
14557 swig_obj[0] = args;
14558 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14559 if (!SWIG_IsOK(res1)) {
14560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14561 }
14562 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14563 {
14564 PyThreadState* __tstate = wxPyBeginAllowThreads();
14565 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14566 wxPyEndAllowThreads(__tstate);
14567 if (PyErr_Occurred()) SWIG_fail;
14568 }
14569 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14570 return resultobj;
14571fail:
14572 return NULL;
d55e5bfc
RD
14573}
14574
14575
1bd55598
RD
14576SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14577 PyObject *resultobj = 0;
14578 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14579 bool result;
14580 void *argp1 = 0 ;
14581 int res1 = 0 ;
14582 PyObject *swig_obj[1] ;
14583
14584 if (!args) SWIG_fail;
14585 swig_obj[0] = args;
14586 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14587 if (!SWIG_IsOK(res1)) {
14588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14589 }
14590 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14591 {
14592 PyThreadState* __tstate = wxPyBeginAllowThreads();
14593 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14594 wxPyEndAllowThreads(__tstate);
14595 if (PyErr_Occurred()) SWIG_fail;
14596 }
14597 {
14598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14599 }
14600 return resultobj;
14601fail:
14602 return NULL;
d55e5bfc
RD
14603}
14604
14605
1bd55598
RD
14606SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14607 PyObject *resultobj = 0;
14608 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14609 int result;
14610 void *argp1 = 0 ;
14611 int res1 = 0 ;
14612 PyObject *swig_obj[1] ;
14613
14614 if (!args) SWIG_fail;
14615 swig_obj[0] = args;
14616 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14617 if (!SWIG_IsOK(res1)) {
14618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14619 }
14620 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14621 {
14622 PyThreadState* __tstate = wxPyBeginAllowThreads();
14623 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14624 wxPyEndAllowThreads(__tstate);
14625 if (PyErr_Occurred()) SWIG_fail;
14626 }
14627 resultobj = SWIG_From_int(static_cast< int >(result));
14628 return resultobj;
14629fail:
14630 return NULL;
14631}
14632
14633
14634SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14635 PyObject *resultobj = 0;
14636 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14637 size_t arg2 ;
14638 bool result;
14639 void *argp1 = 0 ;
14640 int res1 = 0 ;
14641 size_t val2 ;
14642 int ecode2 = 0 ;
14643 PyObject * obj0 = 0 ;
14644 PyObject * obj1 = 0 ;
14645 char * kwnames[] = {
14646 (char *) "self",(char *) "item", NULL
14647 };
14648
14649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14651 if (!SWIG_IsOK(res1)) {
14652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14653 }
14654 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14655 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14656 if (!SWIG_IsOK(ecode2)) {
14657 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14658 }
14659 arg2 = static_cast< size_t >(val2);
14660 {
14661 PyThreadState* __tstate = wxPyBeginAllowThreads();
14662 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14663 wxPyEndAllowThreads(__tstate);
14664 if (PyErr_Occurred()) SWIG_fail;
14665 }
14666 {
14667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14668 }
14669 return resultobj;
14670fail:
14671 return NULL;
14672}
14673
14674
14675SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14676 PyObject *resultobj = 0;
14677 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14678 size_t arg2 ;
14679 bool result;
14680 void *argp1 = 0 ;
14681 int res1 = 0 ;
14682 size_t val2 ;
14683 int ecode2 = 0 ;
14684 PyObject * obj0 = 0 ;
14685 PyObject * obj1 = 0 ;
14686 char * kwnames[] = {
14687 (char *) "self",(char *) "item", NULL
14688 };
14689
14690 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14691 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14692 if (!SWIG_IsOK(res1)) {
14693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14694 }
14695 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14696 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14697 if (!SWIG_IsOK(ecode2)) {
14698 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14699 }
14700 arg2 = static_cast< size_t >(val2);
14701 {
14702 PyThreadState* __tstate = wxPyBeginAllowThreads();
14703 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14704 wxPyEndAllowThreads(__tstate);
14705 if (PyErr_Occurred()) SWIG_fail;
14706 }
14707 {
14708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14709 }
14710 return resultobj;
14711fail:
14712 return NULL;
d55e5bfc
RD
14713}
14714
14715
1bd55598
RD
14716SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14717 PyObject *resultobj = 0;
14718 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14719 size_t result;
14720 void *argp1 = 0 ;
14721 int res1 = 0 ;
14722 PyObject *swig_obj[1] ;
14723
14724 if (!args) SWIG_fail;
14725 swig_obj[0] = args;
14726 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14727 if (!SWIG_IsOK(res1)) {
14728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14729 }
14730 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14731 {
14732 PyThreadState* __tstate = wxPyBeginAllowThreads();
14733 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14734 wxPyEndAllowThreads(__tstate);
14735 if (PyErr_Occurred()) SWIG_fail;
14736 }
14737 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14738 return resultobj;
14739fail:
14740 return NULL;
d55e5bfc
RD
14741}
14742
14743
1bd55598
RD
14744SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14745 PyObject *resultobj = 0;
14746 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14747 PyObject *result = 0 ;
14748 void *argp1 = 0 ;
14749 int res1 = 0 ;
14750 PyObject *swig_obj[1] ;
14751
14752 if (!args) SWIG_fail;
14753 swig_obj[0] = args;
14754 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14755 if (!SWIG_IsOK(res1)) {
14756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14757 }
14758 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14759 {
14760 PyThreadState* __tstate = wxPyBeginAllowThreads();
14761 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14762 wxPyEndAllowThreads(__tstate);
14763 if (PyErr_Occurred()) SWIG_fail;
14764 }
14765 resultobj = result;
14766 return resultobj;
14767fail:
14768 return NULL;
14769}
14770
14771
14772SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14773 PyObject *resultobj = 0;
14774 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14775 unsigned long arg2 ;
14776 PyObject *result = 0 ;
14777 void *argp1 = 0 ;
14778 int res1 = 0 ;
14779 unsigned long val2 ;
14780 int ecode2 = 0 ;
14781 PyObject * obj0 = 0 ;
14782 PyObject * obj1 = 0 ;
14783 char * kwnames[] = {
14784 (char *) "self",(char *) "cookie", NULL
14785 };
14786
14787 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14788 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14789 if (!SWIG_IsOK(res1)) {
14790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14791 }
14792 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14793 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14794 if (!SWIG_IsOK(ecode2)) {
14795 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14796 }
14797 arg2 = static_cast< unsigned long >(val2);
14798 {
14799 PyThreadState* __tstate = wxPyBeginAllowThreads();
14800 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14801 wxPyEndAllowThreads(__tstate);
14802 if (PyErr_Occurred()) SWIG_fail;
14803 }
14804 resultobj = result;
14805 return resultobj;
14806fail:
14807 return NULL;
d55e5bfc
RD
14808}
14809
14810
1bd55598
RD
14811SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14812 PyObject *resultobj = 0;
14813 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14814 wxPoint result;
14815 void *argp1 = 0 ;
14816 int res1 = 0 ;
14817 PyObject *swig_obj[1] ;
14818
14819 if (!args) SWIG_fail;
14820 swig_obj[0] = args;
14821 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14822 if (!SWIG_IsOK(res1)) {
14823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14824 }
14825 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14826 {
14827 PyThreadState* __tstate = wxPyBeginAllowThreads();
14828 result = ((wxPyVListBox const *)arg1)->GetMargins();
14829 wxPyEndAllowThreads(__tstate);
14830 if (PyErr_Occurred()) SWIG_fail;
14831 }
14832 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14833 return resultobj;
14834fail:
14835 return NULL;
d55e5bfc
RD
14836}
14837
14838
1bd55598
RD
14839SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14840 PyObject *resultobj = 0;
14841 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14842 wxColour *result = 0 ;
14843 void *argp1 = 0 ;
14844 int res1 = 0 ;
14845 PyObject *swig_obj[1] ;
14846
14847 if (!args) SWIG_fail;
14848 swig_obj[0] = args;
14849 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14850 if (!SWIG_IsOK(res1)) {
14851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14852 }
14853 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14854 {
14855 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14856 {
1bd55598
RD
14857 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14858 result = (wxColour *) &_result_ref;
36ed4f51 14859 }
1bd55598
RD
14860 wxPyEndAllowThreads(__tstate);
14861 if (PyErr_Occurred()) SWIG_fail;
14862 }
14863 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14864 return resultobj;
14865fail:
14866 return NULL;
14867}
14868
14869
14870SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14871 PyObject *resultobj = 0;
14872 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14873 size_t arg2 ;
14874 void *argp1 = 0 ;
14875 int res1 = 0 ;
14876 size_t val2 ;
14877 int ecode2 = 0 ;
14878 PyObject * obj0 = 0 ;
14879 PyObject * obj1 = 0 ;
14880 char * kwnames[] = {
14881 (char *) "self",(char *) "count", NULL
14882 };
14883
14884 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
14885 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14886 if (!SWIG_IsOK(res1)) {
14887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14888 }
14889 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14890 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14891 if (!SWIG_IsOK(ecode2)) {
14892 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14893 }
14894 arg2 = static_cast< size_t >(val2);
14895 {
14896 PyThreadState* __tstate = wxPyBeginAllowThreads();
14897 (arg1)->SetItemCount(arg2);
14898 wxPyEndAllowThreads(__tstate);
14899 if (PyErr_Occurred()) SWIG_fail;
14900 }
14901 resultobj = SWIG_Py_Void();
14902 return resultobj;
14903fail:
14904 return NULL;
d55e5bfc
RD
14905}
14906
14907
1bd55598
RD
14908SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14909 PyObject *resultobj = 0;
14910 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14911 void *argp1 = 0 ;
14912 int res1 = 0 ;
14913 PyObject *swig_obj[1] ;
14914
14915 if (!args) SWIG_fail;
14916 swig_obj[0] = args;
14917 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14918 if (!SWIG_IsOK(res1)) {
14919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14920 }
14921 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14922 {
14923 PyThreadState* __tstate = wxPyBeginAllowThreads();
14924 (arg1)->Clear();
14925 wxPyEndAllowThreads(__tstate);
14926 if (PyErr_Occurred()) SWIG_fail;
14927 }
14928 resultobj = SWIG_Py_Void();
14929 return resultobj;
14930fail:
14931 return NULL;
14932}
14933
14934
14935SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14936 PyObject *resultobj = 0;
14937 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14938 int arg2 ;
14939 void *argp1 = 0 ;
14940 int res1 = 0 ;
14941 int val2 ;
14942 int ecode2 = 0 ;
14943 PyObject * obj0 = 0 ;
14944 PyObject * obj1 = 0 ;
14945 char * kwnames[] = {
14946 (char *) "self",(char *) "selection", NULL
14947 };
14948
14949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
14950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14951 if (!SWIG_IsOK(res1)) {
14952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14953 }
14954 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14955 ecode2 = SWIG_AsVal_int(obj1, &val2);
14956 if (!SWIG_IsOK(ecode2)) {
14957 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14958 }
14959 arg2 = static_cast< int >(val2);
14960 {
14961 PyThreadState* __tstate = wxPyBeginAllowThreads();
14962 (arg1)->SetSelection(arg2);
14963 wxPyEndAllowThreads(__tstate);
14964 if (PyErr_Occurred()) SWIG_fail;
14965 }
14966 resultobj = SWIG_Py_Void();
14967 return resultobj;
14968fail:
14969 return NULL;
14970}
14971
14972
14973SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14974 PyObject *resultobj = 0;
14975 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14976 size_t arg2 ;
14977 bool arg3 = (bool) true ;
14978 bool result;
14979 void *argp1 = 0 ;
14980 int res1 = 0 ;
14981 size_t val2 ;
14982 int ecode2 = 0 ;
14983 bool val3 ;
14984 int ecode3 = 0 ;
14985 PyObject * obj0 = 0 ;
14986 PyObject * obj1 = 0 ;
14987 PyObject * obj2 = 0 ;
14988 char * kwnames[] = {
14989 (char *) "self",(char *) "item",(char *) "select", NULL
14990 };
14991
14992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14994 if (!SWIG_IsOK(res1)) {
14995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14996 }
14997 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14998 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14999 if (!SWIG_IsOK(ecode2)) {
15000 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15001 }
15002 arg2 = static_cast< size_t >(val2);
15003 if (obj2) {
15004 ecode3 = SWIG_AsVal_bool(obj2, &val3);
15005 if (!SWIG_IsOK(ecode3)) {
15006 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15007 }
15008 arg3 = static_cast< bool >(val3);
15009 }
15010 {
15011 PyThreadState* __tstate = wxPyBeginAllowThreads();
15012 result = (bool)(arg1)->Select(arg2,arg3);
15013 wxPyEndAllowThreads(__tstate);
15014 if (PyErr_Occurred()) SWIG_fail;
15015 }
15016 {
15017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15018 }
15019 return resultobj;
15020fail:
15021 return NULL;
15022}
15023
15024
15025SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15026 PyObject *resultobj = 0;
15027 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15028 size_t arg2 ;
15029 size_t arg3 ;
15030 bool result;
15031 void *argp1 = 0 ;
15032 int res1 = 0 ;
15033 size_t val2 ;
15034 int ecode2 = 0 ;
15035 size_t val3 ;
15036 int ecode3 = 0 ;
15037 PyObject * obj0 = 0 ;
15038 PyObject * obj1 = 0 ;
15039 PyObject * obj2 = 0 ;
15040 char * kwnames[] = {
2131d850 15041 (char *) "self",(char *) "from",(char *) "to", NULL
1bd55598
RD
15042 };
15043
15044 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15045 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15046 if (!SWIG_IsOK(res1)) {
15047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15048 }
15049 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15050 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15051 if (!SWIG_IsOK(ecode2)) {
15052 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15053 }
15054 arg2 = static_cast< size_t >(val2);
15055 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15056 if (!SWIG_IsOK(ecode3)) {
15057 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15058 }
15059 arg3 = static_cast< size_t >(val3);
15060 {
15061 PyThreadState* __tstate = wxPyBeginAllowThreads();
15062 result = (bool)(arg1)->SelectRange(arg2,arg3);
15063 wxPyEndAllowThreads(__tstate);
15064 if (PyErr_Occurred()) SWIG_fail;
15065 }
15066 {
15067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15068 }
15069 return resultobj;
15070fail:
15071 return NULL;
15072}
15073
15074
15075SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15076 PyObject *resultobj = 0;
15077 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15078 size_t arg2 ;
15079 void *argp1 = 0 ;
15080 int res1 = 0 ;
15081 size_t val2 ;
15082 int ecode2 = 0 ;
15083 PyObject * obj0 = 0 ;
15084 PyObject * obj1 = 0 ;
15085 char * kwnames[] = {
15086 (char *) "self",(char *) "item", NULL
15087 };
15088
15089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15091 if (!SWIG_IsOK(res1)) {
15092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15093 }
15094 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15095 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15096 if (!SWIG_IsOK(ecode2)) {
15097 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15098 }
15099 arg2 = static_cast< size_t >(val2);
15100 {
15101 PyThreadState* __tstate = wxPyBeginAllowThreads();
15102 (arg1)->Toggle(arg2);
15103 wxPyEndAllowThreads(__tstate);
15104 if (PyErr_Occurred()) SWIG_fail;
15105 }
15106 resultobj = SWIG_Py_Void();
15107 return resultobj;
15108fail:
15109 return NULL;
d55e5bfc
RD
15110}
15111
15112
1bd55598
RD
15113SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15114 PyObject *resultobj = 0;
15115 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15116 bool result;
15117 void *argp1 = 0 ;
15118 int res1 = 0 ;
15119 PyObject *swig_obj[1] ;
15120
15121 if (!args) SWIG_fail;
15122 swig_obj[0] = args;
15123 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15124 if (!SWIG_IsOK(res1)) {
15125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15126 }
15127 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15128 {
15129 PyThreadState* __tstate = wxPyBeginAllowThreads();
15130 result = (bool)(arg1)->SelectAll();
15131 wxPyEndAllowThreads(__tstate);
15132 if (PyErr_Occurred()) SWIG_fail;
15133 }
15134 {
15135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15136 }
15137 return resultobj;
15138fail:
15139 return NULL;
d55e5bfc
RD
15140}
15141
15142
1bd55598
RD
15143SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15144 PyObject *resultobj = 0;
15145 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15146 bool result;
15147 void *argp1 = 0 ;
15148 int res1 = 0 ;
15149 PyObject *swig_obj[1] ;
15150
15151 if (!args) SWIG_fail;
15152 swig_obj[0] = args;
15153 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15154 if (!SWIG_IsOK(res1)) {
15155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15156 }
15157 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15158 {
15159 PyThreadState* __tstate = wxPyBeginAllowThreads();
15160 result = (bool)(arg1)->DeselectAll();
15161 wxPyEndAllowThreads(__tstate);
15162 if (PyErr_Occurred()) SWIG_fail;
15163 }
15164 {
15165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15166 }
15167 return resultobj;
15168fail:
15169 return NULL;
15170}
15171
15172
15173SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15174 PyObject *resultobj = 0;
15175 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15176 wxPoint *arg2 = 0 ;
15177 void *argp1 = 0 ;
15178 int res1 = 0 ;
15179 wxPoint temp2 ;
15180 PyObject * obj0 = 0 ;
15181 PyObject * obj1 = 0 ;
15182 char * kwnames[] = {
15183 (char *) "self",(char *) "pt", NULL
15184 };
15185
15186 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15187 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15188 if (!SWIG_IsOK(res1)) {
15189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15190 }
15191 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15192 {
15193 arg2 = &temp2;
15194 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15195 }
15196 {
15197 PyThreadState* __tstate = wxPyBeginAllowThreads();
15198 (arg1)->SetMargins((wxPoint const &)*arg2);
15199 wxPyEndAllowThreads(__tstate);
15200 if (PyErr_Occurred()) SWIG_fail;
15201 }
15202 resultobj = SWIG_Py_Void();
15203 return resultobj;
15204fail:
15205 return NULL;
15206}
15207
15208
15209SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15210 PyObject *resultobj = 0;
15211 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15212 int arg2 ;
15213 int arg3 ;
15214 void *argp1 = 0 ;
15215 int res1 = 0 ;
15216 int val2 ;
15217 int ecode2 = 0 ;
15218 int val3 ;
15219 int ecode3 = 0 ;
15220 PyObject * obj0 = 0 ;
15221 PyObject * obj1 = 0 ;
15222 PyObject * obj2 = 0 ;
15223 char * kwnames[] = {
15224 (char *) "self",(char *) "x",(char *) "y", NULL
15225 };
15226
15227 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15228 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15229 if (!SWIG_IsOK(res1)) {
15230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15231 }
15232 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15233 ecode2 = SWIG_AsVal_int(obj1, &val2);
15234 if (!SWIG_IsOK(ecode2)) {
15235 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15236 }
15237 arg2 = static_cast< int >(val2);
15238 ecode3 = SWIG_AsVal_int(obj2, &val3);
15239 if (!SWIG_IsOK(ecode3)) {
15240 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15241 }
15242 arg3 = static_cast< int >(val3);
15243 {
15244 PyThreadState* __tstate = wxPyBeginAllowThreads();
15245 (arg1)->SetMargins(arg2,arg3);
15246 wxPyEndAllowThreads(__tstate);
15247 if (PyErr_Occurred()) SWIG_fail;
15248 }
15249 resultobj = SWIG_Py_Void();
15250 return resultobj;
15251fail:
15252 return NULL;
15253}
15254
15255
15256SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15257 PyObject *resultobj = 0;
15258 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15259 wxColour *arg2 = 0 ;
15260 void *argp1 = 0 ;
15261 int res1 = 0 ;
15262 wxColour temp2 ;
15263 PyObject * obj0 = 0 ;
15264 PyObject * obj1 = 0 ;
15265 char * kwnames[] = {
15266 (char *) "self",(char *) "col", NULL
15267 };
15268
15269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15270 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15271 if (!SWIG_IsOK(res1)) {
15272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15273 }
15274 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15275 {
15276 arg2 = &temp2;
15277 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15278 }
15279 {
15280 PyThreadState* __tstate = wxPyBeginAllowThreads();
15281 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15282 wxPyEndAllowThreads(__tstate);
15283 if (PyErr_Occurred()) SWIG_fail;
15284 }
15285 resultobj = SWIG_Py_Void();
15286 return resultobj;
15287fail:
15288 return NULL;
15289}
15290
15291
1c71765a
RD
15292SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15293 PyObject *resultobj = 0;
15294 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15295 wxDC *arg2 = 0 ;
15296 wxRect *arg3 = 0 ;
15297 size_t arg4 ;
15298 void *argp1 = 0 ;
15299 int res1 = 0 ;
15300 void *argp2 = 0 ;
15301 int res2 = 0 ;
15302 wxRect temp3 ;
15303 size_t val4 ;
15304 int ecode4 = 0 ;
15305 PyObject * obj0 = 0 ;
15306 PyObject * obj1 = 0 ;
15307 PyObject * obj2 = 0 ;
15308 PyObject * obj3 = 0 ;
15309 char * kwnames[] = {
15310 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15311 };
15312
15313 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15314 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15315 if (!SWIG_IsOK(res1)) {
15316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15317 }
15318 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15319 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15320 if (!SWIG_IsOK(res2)) {
15321 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15322 }
15323 if (!argp2) {
15324 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15325 }
15326 arg2 = reinterpret_cast< wxDC * >(argp2);
15327 {
15328 arg3 = &temp3;
15329 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15330 }
15331 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15332 if (!SWIG_IsOK(ecode4)) {
15333 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15334 }
15335 arg4 = static_cast< size_t >(val4);
15336 {
15337 PyThreadState* __tstate = wxPyBeginAllowThreads();
15338 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15339 wxPyEndAllowThreads(__tstate);
15340 if (PyErr_Occurred()) SWIG_fail;
15341 }
15342 resultobj = SWIG_Py_Void();
15343 return resultobj;
15344fail:
15345 return NULL;
15346}
15347
15348
15349SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15350 PyObject *resultobj = 0;
15351 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15352 wxDC *arg2 = 0 ;
15353 wxRect *arg3 = 0 ;
15354 size_t arg4 ;
15355 void *argp1 = 0 ;
15356 int res1 = 0 ;
15357 void *argp2 = 0 ;
15358 int res2 = 0 ;
15359 wxRect temp3 ;
15360 size_t val4 ;
15361 int ecode4 = 0 ;
15362 PyObject * obj0 = 0 ;
15363 PyObject * obj1 = 0 ;
15364 PyObject * obj2 = 0 ;
15365 PyObject * obj3 = 0 ;
15366 char * kwnames[] = {
15367 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15368 };
15369
15370 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15371 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15372 if (!SWIG_IsOK(res1)) {
15373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15374 }
15375 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15376 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15377 if (!SWIG_IsOK(res2)) {
15378 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15379 }
15380 if (!argp2) {
15381 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15382 }
15383 arg2 = reinterpret_cast< wxDC * >(argp2);
15384 {
15385 arg3 = &temp3;
15386 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15387 }
15388 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15389 if (!SWIG_IsOK(ecode4)) {
15390 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15391 }
15392 arg4 = static_cast< size_t >(val4);
15393 {
15394 PyThreadState* __tstate = wxPyBeginAllowThreads();
15395 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15396 wxPyEndAllowThreads(__tstate);
15397 if (PyErr_Occurred()) SWIG_fail;
15398 }
15399 resultobj = SWIG_Py_Void();
15400 return resultobj;
15401fail:
15402 return NULL;
15403}
15404
15405
1bd55598
RD
15406SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15407 PyObject *obj;
15408 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15409 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15410 return SWIG_Py_Void();
15411}
15412
15413SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15414 return SWIG_Python_InitShadowInstance(args);
15415}
15416
15417SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15418 PyObject *resultobj = 0;
15419 wxWindow *arg1 = (wxWindow *) 0 ;
15420 int arg2 = (int) wxID_ANY ;
15421 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15422 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15423 wxSize const &arg4_defvalue = wxDefaultSize ;
15424 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15425 long arg5 = (long) 0 ;
15426 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15427 wxString *arg6 = (wxString *) &arg6_defvalue ;
15428 wxPyHtmlListBox *result = 0 ;
15429 void *argp1 = 0 ;
15430 int res1 = 0 ;
15431 int val2 ;
15432 int ecode2 = 0 ;
15433 wxPoint temp3 ;
15434 wxSize temp4 ;
15435 long val5 ;
15436 int ecode5 = 0 ;
15437 bool temp6 = false ;
15438 PyObject * obj0 = 0 ;
15439 PyObject * obj1 = 0 ;
15440 PyObject * obj2 = 0 ;
15441 PyObject * obj3 = 0 ;
15442 PyObject * obj4 = 0 ;
15443 PyObject * obj5 = 0 ;
15444 char * kwnames[] = {
15445 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15446 };
15447
15448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15450 if (!SWIG_IsOK(res1)) {
15451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15452 }
15453 arg1 = reinterpret_cast< wxWindow * >(argp1);
15454 if (obj1) {
15455 ecode2 = SWIG_AsVal_int(obj1, &val2);
15456 if (!SWIG_IsOK(ecode2)) {
15457 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15458 }
15459 arg2 = static_cast< int >(val2);
15460 }
15461 if (obj2) {
d55e5bfc 15462 {
1bd55598
RD
15463 arg3 = &temp3;
15464 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 15465 }
1bd55598
RD
15466 }
15467 if (obj3) {
36ed4f51 15468 {
1bd55598
RD
15469 arg4 = &temp4;
15470 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 15471 }
1bd55598
RD
15472 }
15473 if (obj4) {
15474 ecode5 = SWIG_AsVal_long(obj4, &val5);
15475 if (!SWIG_IsOK(ecode5)) {
15476 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15477 }
15478 arg5 = static_cast< long >(val5);
15479 }
15480 if (obj5) {
36ed4f51 15481 {
1bd55598
RD
15482 arg6 = wxString_in_helper(obj5);
15483 if (arg6 == NULL) SWIG_fail;
15484 temp6 = true;
36ed4f51 15485 }
1bd55598
RD
15486 }
15487 {
15488 if (!wxPyCheckForApp()) SWIG_fail;
15489 PyThreadState* __tstate = wxPyBeginAllowThreads();
15490 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15491 wxPyEndAllowThreads(__tstate);
15492 if (PyErr_Occurred()) SWIG_fail;
15493 }
15494 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15495 {
15496 if (temp6)
15497 delete arg6;
15498 }
15499 return resultobj;
15500fail:
15501 {
15502 if (temp6)
15503 delete arg6;
15504 }
15505 return NULL;
d55e5bfc
RD
15506}
15507
15508
1bd55598
RD
15509SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15510 PyObject *resultobj = 0;
15511 wxPyHtmlListBox *result = 0 ;
15512
15513 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15514 {
15515 if (!wxPyCheckForApp()) SWIG_fail;
15516 PyThreadState* __tstate = wxPyBeginAllowThreads();
15517 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15518 wxPyEndAllowThreads(__tstate);
15519 if (PyErr_Occurred()) SWIG_fail;
15520 }
15521 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15522 return resultobj;
15523fail:
15524 return NULL;
15525}
15526
15527
15528SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15529 PyObject *resultobj = 0;
15530 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15531 PyObject *arg2 = (PyObject *) 0 ;
15532 PyObject *arg3 = (PyObject *) 0 ;
15533 void *argp1 = 0 ;
15534 int res1 = 0 ;
15535 PyObject * obj0 = 0 ;
15536 PyObject * obj1 = 0 ;
15537 PyObject * obj2 = 0 ;
15538 char * kwnames[] = {
15539 (char *) "self",(char *) "self",(char *) "_class", NULL
15540 };
15541
15542 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15543 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15544 if (!SWIG_IsOK(res1)) {
15545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15546 }
15547 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15548 arg2 = obj1;
15549 arg3 = obj2;
15550 {
15551 PyThreadState* __tstate = wxPyBeginAllowThreads();
15552 (arg1)->_setCallbackInfo(arg2,arg3);
15553 wxPyEndAllowThreads(__tstate);
15554 if (PyErr_Occurred()) SWIG_fail;
15555 }
15556 resultobj = SWIG_Py_Void();
15557 return resultobj;
15558fail:
15559 return NULL;
15560}
15561
15562
15563SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15564 PyObject *resultobj = 0;
15565 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15566 wxWindow *arg2 = (wxWindow *) 0 ;
15567 int arg3 = (int) wxID_ANY ;
15568 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15569 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15570 wxSize const &arg5_defvalue = wxDefaultSize ;
15571 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15572 long arg6 = (long) 0 ;
15573 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15574 wxString *arg7 = (wxString *) &arg7_defvalue ;
15575 bool result;
15576 void *argp1 = 0 ;
15577 int res1 = 0 ;
15578 void *argp2 = 0 ;
15579 int res2 = 0 ;
15580 int val3 ;
15581 int ecode3 = 0 ;
15582 wxPoint temp4 ;
15583 wxSize temp5 ;
15584 long val6 ;
15585 int ecode6 = 0 ;
15586 bool temp7 = false ;
15587 PyObject * obj0 = 0 ;
15588 PyObject * obj1 = 0 ;
15589 PyObject * obj2 = 0 ;
15590 PyObject * obj3 = 0 ;
15591 PyObject * obj4 = 0 ;
15592 PyObject * obj5 = 0 ;
15593 PyObject * obj6 = 0 ;
15594 char * kwnames[] = {
15595 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15596 };
15597
15598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15600 if (!SWIG_IsOK(res1)) {
15601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15602 }
15603 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15604 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15605 if (!SWIG_IsOK(res2)) {
15606 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15607 }
15608 arg2 = reinterpret_cast< wxWindow * >(argp2);
15609 if (obj2) {
15610 ecode3 = SWIG_AsVal_int(obj2, &val3);
15611 if (!SWIG_IsOK(ecode3)) {
15612 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15613 }
15614 arg3 = static_cast< int >(val3);
15615 }
15616 if (obj3) {
36ed4f51 15617 {
1bd55598
RD
15618 arg4 = &temp4;
15619 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 15620 }
1bd55598
RD
15621 }
15622 if (obj4) {
d55e5bfc 15623 {
1bd55598
RD
15624 arg5 = &temp5;
15625 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 15626 }
1bd55598
RD
15627 }
15628 if (obj5) {
15629 ecode6 = SWIG_AsVal_long(obj5, &val6);
15630 if (!SWIG_IsOK(ecode6)) {
15631 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15632 }
15633 arg6 = static_cast< long >(val6);
15634 }
15635 if (obj6) {
36ed4f51 15636 {
1bd55598
RD
15637 arg7 = wxString_in_helper(obj6);
15638 if (arg7 == NULL) SWIG_fail;
15639 temp7 = true;
36ed4f51 15640 }
1bd55598
RD
15641 }
15642 {
15643 PyThreadState* __tstate = wxPyBeginAllowThreads();
15644 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15645 wxPyEndAllowThreads(__tstate);
15646 if (PyErr_Occurred()) SWIG_fail;
15647 }
15648 {
15649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15650 }
15651 {
15652 if (temp7)
15653 delete arg7;
15654 }
15655 return resultobj;
15656fail:
15657 {
15658 if (temp7)
15659 delete arg7;
15660 }
15661 return NULL;
15662}
15663
15664
15665SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15666 PyObject *resultobj = 0;
15667 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15668 size_t arg2 ;
15669 void *argp1 = 0 ;
15670 int res1 = 0 ;
15671 size_t val2 ;
15672 int ecode2 = 0 ;
15673 PyObject * obj0 = 0 ;
15674 PyObject * obj1 = 0 ;
15675 char * kwnames[] = {
15676 (char *) "self",(char *) "count", NULL
15677 };
15678
15679 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15680 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15681 if (!SWIG_IsOK(res1)) {
15682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15683 }
15684 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15685 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15686 if (!SWIG_IsOK(ecode2)) {
15687 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15688 }
15689 arg2 = static_cast< size_t >(val2);
15690 {
15691 PyThreadState* __tstate = wxPyBeginAllowThreads();
15692 (arg1)->SetItemCount(arg2);
15693 wxPyEndAllowThreads(__tstate);
15694 if (PyErr_Occurred()) SWIG_fail;
15695 }
15696 resultobj = SWIG_Py_Void();
15697 return resultobj;
15698fail:
15699 return NULL;
d55e5bfc
RD
15700}
15701
15702
1bd55598
RD
15703SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15704 PyObject *resultobj = 0;
15705 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15706 wxFileSystem *result = 0 ;
15707 void *argp1 = 0 ;
15708 int res1 = 0 ;
15709 PyObject *swig_obj[1] ;
15710
15711 if (!args) SWIG_fail;
15712 swig_obj[0] = args;
15713 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15714 if (!SWIG_IsOK(res1)) {
15715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15716 }
15717 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15718 {
15719 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15720 {
1bd55598
RD
15721 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15722 result = (wxFileSystem *) &_result_ref;
36ed4f51 15723 }
1bd55598
RD
15724 wxPyEndAllowThreads(__tstate);
15725 if (PyErr_Occurred()) SWIG_fail;
15726 }
15727 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15728 return resultobj;
15729fail:
15730 return NULL;
d55e5bfc
RD
15731}
15732
15733
e9d6f3a4
RD
15734SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15735 PyObject *resultobj = 0;
15736 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15737 size_t arg2 ;
15738 wxHtmlLinkInfo *arg3 = 0 ;
15739 void *argp1 = 0 ;
15740 int res1 = 0 ;
15741 size_t val2 ;
15742 int ecode2 = 0 ;
15743 void *argp3 = 0 ;
15744 int res3 = 0 ;
15745 PyObject * obj0 = 0 ;
15746 PyObject * obj1 = 0 ;
15747 PyObject * obj2 = 0 ;
15748 char * kwnames[] = {
15749 (char *) "self",(char *) "n",(char *) "link", NULL
15750 };
15751
15752 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15753 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15754 if (!SWIG_IsOK(res1)) {
15755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15756 }
15757 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15758 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15759 if (!SWIG_IsOK(ecode2)) {
15760 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15761 }
15762 arg2 = static_cast< size_t >(val2);
15763 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15764 if (!SWIG_IsOK(res3)) {
15765 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15766 }
15767 if (!argp3) {
15768 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15769 }
15770 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15771 {
15772 PyThreadState* __tstate = wxPyBeginAllowThreads();
15773 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15774 wxPyEndAllowThreads(__tstate);
15775 if (PyErr_Occurred()) SWIG_fail;
15776 }
15777 resultobj = SWIG_Py_Void();
15778 return resultobj;
15779fail:
15780 return NULL;
15781}
15782
15783
1bd55598
RD
15784SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15785 PyObject *obj;
15786 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15787 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15788 return SWIG_Py_Void();
d55e5bfc
RD
15789}
15790
1bd55598
RD
15791SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15792 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
15793}
15794
1bd55598
RD
15795SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15796 PyObject *resultobj = 0;
15797 wxPyTaskBarIcon *result = 0 ;
15798
15799 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15800 {
15801 if (!wxPyCheckForApp()) SWIG_fail;
15802 PyThreadState* __tstate = wxPyBeginAllowThreads();
15803 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15804 wxPyEndAllowThreads(__tstate);
15805 if (PyErr_Occurred()) SWIG_fail;
15806 }
15807 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15808 return resultobj;
15809fail:
15810 return NULL;
d55e5bfc
RD
15811}
15812
15813
1bd55598
RD
15814SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15815 PyObject *resultobj = 0;
15816 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15817 void *argp1 = 0 ;
15818 int res1 = 0 ;
15819 PyObject *swig_obj[1] ;
15820
15821 if (!args) SWIG_fail;
15822 swig_obj[0] = args;
15823 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15824 if (!SWIG_IsOK(res1)) {
15825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15826 }
15827 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15828 {
15829 PyThreadState* __tstate = wxPyBeginAllowThreads();
15830 delete arg1;
d55e5bfc 15831
1bd55598
RD
15832 wxPyEndAllowThreads(__tstate);
15833 if (PyErr_Occurred()) SWIG_fail;
15834 }
15835 resultobj = SWIG_Py_Void();
15836 return resultobj;
15837fail:
15838 return NULL;
15839}
15840
15841
15842SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15843 PyObject *resultobj = 0;
15844 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15845 PyObject *arg2 = (PyObject *) 0 ;
15846 PyObject *arg3 = (PyObject *) 0 ;
15847 int arg4 ;
15848 void *argp1 = 0 ;
15849 int res1 = 0 ;
15850 int val4 ;
15851 int ecode4 = 0 ;
15852 PyObject * obj0 = 0 ;
15853 PyObject * obj1 = 0 ;
15854 PyObject * obj2 = 0 ;
15855 PyObject * obj3 = 0 ;
15856 char * kwnames[] = {
15857 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15858 };
15859
15860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15862 if (!SWIG_IsOK(res1)) {
15863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15864 }
15865 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15866 arg2 = obj1;
15867 arg3 = obj2;
15868 ecode4 = SWIG_AsVal_int(obj3, &val4);
15869 if (!SWIG_IsOK(ecode4)) {
15870 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15871 }
15872 arg4 = static_cast< int >(val4);
15873 {
15874 PyThreadState* __tstate = wxPyBeginAllowThreads();
15875 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
15876 wxPyEndAllowThreads(__tstate);
15877 if (PyErr_Occurred()) SWIG_fail;
15878 }
15879 resultobj = SWIG_Py_Void();
15880 return resultobj;
15881fail:
15882 return NULL;
d55e5bfc
RD
15883}
15884
15885
1bd55598
RD
15886SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15887 PyObject *resultobj = 0;
15888 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15889 void *argp1 = 0 ;
15890 int res1 = 0 ;
15891 PyObject *swig_obj[1] ;
15892
15893 if (!args) SWIG_fail;
15894 swig_obj[0] = args;
15895 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15896 if (!SWIG_IsOK(res1)) {
15897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15898 }
15899 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15900 {
15901 PyThreadState* __tstate = wxPyBeginAllowThreads();
15902 wxPyTaskBarIcon_Destroy(arg1);
15903 wxPyEndAllowThreads(__tstate);
15904 if (PyErr_Occurred()) SWIG_fail;
15905 }
15906 resultobj = SWIG_Py_Void();
15907 return resultobj;
15908fail:
15909 return NULL;
d55e5bfc
RD
15910}
15911
15912
1bd55598
RD
15913SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15914 PyObject *resultobj = 0;
15915 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15916 bool result;
15917 void *argp1 = 0 ;
15918 int res1 = 0 ;
15919 PyObject *swig_obj[1] ;
15920
15921 if (!args) SWIG_fail;
15922 swig_obj[0] = args;
15923 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15924 if (!SWIG_IsOK(res1)) {
15925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15926 }
15927 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15928 {
15929 PyThreadState* __tstate = wxPyBeginAllowThreads();
15930 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
15931 wxPyEndAllowThreads(__tstate);
15932 if (PyErr_Occurred()) SWIG_fail;
15933 }
15934 {
15935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15936 }
15937 return resultobj;
15938fail:
15939 return NULL;
d55e5bfc
RD
15940}
15941
15942
1bd55598
RD
15943SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15944 PyObject *resultobj = 0;
15945 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15946 bool result;
15947 void *argp1 = 0 ;
15948 int res1 = 0 ;
15949 PyObject *swig_obj[1] ;
15950
15951 if (!args) SWIG_fail;
15952 swig_obj[0] = args;
15953 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15954 if (!SWIG_IsOK(res1)) {
15955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15956 }
15957 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15958 {
15959 PyThreadState* __tstate = wxPyBeginAllowThreads();
15960 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
15961 wxPyEndAllowThreads(__tstate);
15962 if (PyErr_Occurred()) SWIG_fail;
15963 }
15964 {
15965 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15966 }
15967 return resultobj;
15968fail:
15969 return NULL;
15970}
15971
15972
15973SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15974 PyObject *resultobj = 0;
15975 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15976 wxIcon *arg2 = 0 ;
15977 wxString const &arg3_defvalue = wxPyEmptyString ;
15978 wxString *arg3 = (wxString *) &arg3_defvalue ;
15979 bool result;
15980 void *argp1 = 0 ;
15981 int res1 = 0 ;
15982 void *argp2 = 0 ;
15983 int res2 = 0 ;
15984 bool temp3 = false ;
15985 PyObject * obj0 = 0 ;
15986 PyObject * obj1 = 0 ;
15987 PyObject * obj2 = 0 ;
15988 char * kwnames[] = {
15989 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15990 };
15991
15992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15994 if (!SWIG_IsOK(res1)) {
15995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15996 }
15997 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15998 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
15999 if (!SWIG_IsOK(res2)) {
16000 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16001 }
16002 if (!argp2) {
16003 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16004 }
16005 arg2 = reinterpret_cast< wxIcon * >(argp2);
16006 if (obj2) {
36ed4f51 16007 {
1bd55598
RD
16008 arg3 = wxString_in_helper(obj2);
16009 if (arg3 == NULL) SWIG_fail;
16010 temp3 = true;
36ed4f51 16011 }
1bd55598
RD
16012 }
16013 {
16014 PyThreadState* __tstate = wxPyBeginAllowThreads();
16015 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16016 wxPyEndAllowThreads(__tstate);
16017 if (PyErr_Occurred()) SWIG_fail;
16018 }
16019 {
16020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16021 }
16022 {
16023 if (temp3)
16024 delete arg3;
16025 }
16026 return resultobj;
16027fail:
16028 {
16029 if (temp3)
16030 delete arg3;
16031 }
16032 return NULL;
d55e5bfc
RD
16033}
16034
16035
1bd55598
RD
16036SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16037 PyObject *resultobj = 0;
16038 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16039 bool result;
16040 void *argp1 = 0 ;
16041 int res1 = 0 ;
16042 PyObject *swig_obj[1] ;
16043
16044 if (!args) SWIG_fail;
16045 swig_obj[0] = args;
16046 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16047 if (!SWIG_IsOK(res1)) {
16048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16049 }
16050 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16051 {
16052 PyThreadState* __tstate = wxPyBeginAllowThreads();
16053 result = (bool)(arg1)->RemoveIcon();
16054 wxPyEndAllowThreads(__tstate);
16055 if (PyErr_Occurred()) SWIG_fail;
16056 }
16057 {
16058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16059 }
16060 return resultobj;
16061fail:
16062 return NULL;
16063}
16064
16065
16066SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16067 PyObject *resultobj = 0;
16068 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16069 wxMenu *arg2 = (wxMenu *) 0 ;
16070 bool result;
16071 void *argp1 = 0 ;
16072 int res1 = 0 ;
16073 void *argp2 = 0 ;
16074 int res2 = 0 ;
16075 PyObject * obj0 = 0 ;
16076 PyObject * obj1 = 0 ;
16077 char * kwnames[] = {
16078 (char *) "self",(char *) "menu", NULL
16079 };
16080
16081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16083 if (!SWIG_IsOK(res1)) {
16084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16085 }
16086 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16087 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16088 if (!SWIG_IsOK(res2)) {
16089 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16090 }
16091 arg2 = reinterpret_cast< wxMenu * >(argp2);
16092 {
16093 PyThreadState* __tstate = wxPyBeginAllowThreads();
16094 result = (bool)(arg1)->PopupMenu(arg2);
16095 wxPyEndAllowThreads(__tstate);
16096 if (PyErr_Occurred()) SWIG_fail;
16097 }
16098 {
16099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16100 }
16101 return resultobj;
16102fail:
16103 return NULL;
d55e5bfc
RD
16104}
16105
16106
1bd55598
RD
16107SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16108 PyObject *obj;
16109 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16110 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16111 return SWIG_Py_Void();
d55e5bfc
RD
16112}
16113
1bd55598
RD
16114SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16115 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
16116}
16117
1bd55598
RD
16118SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16119 PyObject *resultobj = 0;
16120 wxEventType arg1 ;
16121 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16122 wxTaskBarIconEvent *result = 0 ;
16123 int val1 ;
16124 int ecode1 = 0 ;
16125 void *argp2 = 0 ;
16126 int res2 = 0 ;
16127 PyObject * obj0 = 0 ;
16128 PyObject * obj1 = 0 ;
16129 char * kwnames[] = {
16130 (char *) "evtType",(char *) "tbIcon", NULL
16131 };
16132
16133 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16134 ecode1 = SWIG_AsVal_int(obj0, &val1);
16135 if (!SWIG_IsOK(ecode1)) {
16136 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16137 }
16138 arg1 = static_cast< wxEventType >(val1);
16139 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16140 if (!SWIG_IsOK(res2)) {
16141 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16142 }
16143 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16144 {
16145 PyThreadState* __tstate = wxPyBeginAllowThreads();
16146 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16147 wxPyEndAllowThreads(__tstate);
16148 if (PyErr_Occurred()) SWIG_fail;
16149 }
16150 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16151 return resultobj;
16152fail:
16153 return NULL;
d55e5bfc
RD
16154}
16155
16156
1bd55598
RD
16157SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16158 PyObject *obj;
16159 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16160 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16161 return SWIG_Py_Void();
d55e5bfc
RD
16162}
16163
1bd55598
RD
16164SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16165 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
16166}
16167
1bd55598
RD
16168SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16169 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16170 return 1;
d55e5bfc
RD
16171}
16172
16173
1bd55598
RD
16174SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16175 PyObject *pyobj = 0;
16176
16177 {
16178#if wxUSE_UNICODE
16179 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16180#else
16181 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16182#endif
16183 }
16184 return pyobj;
d55e5bfc
RD
16185}
16186
16187
1bd55598
RD
16188SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16189 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16190 return 1;
d55e5bfc
RD
16191}
16192
16193
1bd55598
RD
16194SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16195 PyObject *pyobj = 0;
16196
16197 {
16198#if wxUSE_UNICODE
16199 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16200#else
16201 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16202#endif
16203 }
16204 return pyobj;
d55e5bfc
RD
16205}
16206
16207
1bd55598
RD
16208SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16209 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16210 return 1;
d55e5bfc
RD
16211}
16212
16213
1bd55598
RD
16214SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16215 PyObject *pyobj = 0;
16216
16217 {
16218#if wxUSE_UNICODE
16219 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16220#else
16221 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16222#endif
16223 }
16224 return pyobj;
d55e5bfc
RD
16225}
16226
16227
1bd55598
RD
16228SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16229 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16230 return 1;
d55e5bfc
RD
16231}
16232
16233
1bd55598
RD
16234SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16235 PyObject *pyobj = 0;
16236
16237 {
16238#if wxUSE_UNICODE
16239 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16240#else
16241 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16242#endif
16243 }
16244 return pyobj;
d55e5bfc
RD
16245}
16246
16247
1bd55598
RD
16248SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16249 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16250 return 1;
d55e5bfc
RD
16251}
16252
16253
1bd55598
RD
16254SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16255 PyObject *pyobj = 0;
16256
16257 {
16258#if wxUSE_UNICODE
16259 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16260#else
16261 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16262#endif
16263 }
16264 return pyobj;
d55e5bfc
RD
16265}
16266
16267
1bd55598
RD
16268SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16269 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16270 return 1;
d55e5bfc
RD
16271}
16272
16273
1bd55598
RD
16274SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16275 PyObject *pyobj = 0;
16276
16277 {
16278#if wxUSE_UNICODE
16279 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16280#else
16281 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16282#endif
16283 }
16284 return pyobj;
d55e5bfc
RD
16285}
16286
16287
1bd55598
RD
16288SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16289 PyObject *resultobj = 0;
16290 wxColourData *result = 0 ;
16291
16292 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16293 {
16294 PyThreadState* __tstate = wxPyBeginAllowThreads();
16295 result = (wxColourData *)new wxColourData();
16296 wxPyEndAllowThreads(__tstate);
16297 if (PyErr_Occurred()) SWIG_fail;
16298 }
16299 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16300 return resultobj;
16301fail:
16302 return NULL;
d55e5bfc
RD
16303}
16304
16305
1bd55598
RD
16306SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16307 PyObject *resultobj = 0;
16308 wxColourData *arg1 = (wxColourData *) 0 ;
16309 void *argp1 = 0 ;
16310 int res1 = 0 ;
16311 PyObject *swig_obj[1] ;
16312
16313 if (!args) SWIG_fail;
16314 swig_obj[0] = args;
16315 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16316 if (!SWIG_IsOK(res1)) {
16317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16318 }
16319 arg1 = reinterpret_cast< wxColourData * >(argp1);
16320 {
16321 PyThreadState* __tstate = wxPyBeginAllowThreads();
16322 delete arg1;
d55e5bfc 16323
1bd55598
RD
16324 wxPyEndAllowThreads(__tstate);
16325 if (PyErr_Occurred()) SWIG_fail;
16326 }
16327 resultobj = SWIG_Py_Void();
16328 return resultobj;
16329fail:
16330 return NULL;
d55e5bfc
RD
16331}
16332
16333
1bd55598
RD
16334SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16335 PyObject *resultobj = 0;
16336 wxColourData *arg1 = (wxColourData *) 0 ;
16337 bool result;
16338 void *argp1 = 0 ;
16339 int res1 = 0 ;
16340 PyObject *swig_obj[1] ;
16341
16342 if (!args) SWIG_fail;
16343 swig_obj[0] = args;
16344 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16345 if (!SWIG_IsOK(res1)) {
16346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16347 }
16348 arg1 = reinterpret_cast< wxColourData * >(argp1);
16349 {
16350 PyThreadState* __tstate = wxPyBeginAllowThreads();
16351 result = (bool)(arg1)->GetChooseFull();
16352 wxPyEndAllowThreads(__tstate);
16353 if (PyErr_Occurred()) SWIG_fail;
16354 }
16355 {
16356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16357 }
16358 return resultobj;
16359fail:
16360 return NULL;
d55e5bfc
RD
16361}
16362
16363
1bd55598
RD
16364SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16365 PyObject *resultobj = 0;
16366 wxColourData *arg1 = (wxColourData *) 0 ;
16367 wxColour result;
16368 void *argp1 = 0 ;
16369 int res1 = 0 ;
16370 PyObject *swig_obj[1] ;
16371
16372 if (!args) SWIG_fail;
16373 swig_obj[0] = args;
16374 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16375 if (!SWIG_IsOK(res1)) {
16376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16377 }
16378 arg1 = reinterpret_cast< wxColourData * >(argp1);
16379 {
16380 PyThreadState* __tstate = wxPyBeginAllowThreads();
16381 result = (arg1)->GetColour();
16382 wxPyEndAllowThreads(__tstate);
16383 if (PyErr_Occurred()) SWIG_fail;
16384 }
16385 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16386 return resultobj;
16387fail:
16388 return NULL;
16389}
16390
16391
16392SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16393 PyObject *resultobj = 0;
16394 wxColourData *arg1 = (wxColourData *) 0 ;
16395 int arg2 ;
16396 wxColour result;
16397 void *argp1 = 0 ;
16398 int res1 = 0 ;
16399 int val2 ;
16400 int ecode2 = 0 ;
16401 PyObject * obj0 = 0 ;
16402 PyObject * obj1 = 0 ;
16403 char * kwnames[] = {
16404 (char *) "self",(char *) "i", NULL
16405 };
16406
16407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16409 if (!SWIG_IsOK(res1)) {
16410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16411 }
16412 arg1 = reinterpret_cast< wxColourData * >(argp1);
16413 ecode2 = SWIG_AsVal_int(obj1, &val2);
16414 if (!SWIG_IsOK(ecode2)) {
16415 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16416 }
16417 arg2 = static_cast< int >(val2);
16418 {
16419 PyThreadState* __tstate = wxPyBeginAllowThreads();
16420 result = (arg1)->GetCustomColour(arg2);
16421 wxPyEndAllowThreads(__tstate);
16422 if (PyErr_Occurred()) SWIG_fail;
16423 }
16424 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16425 return resultobj;
16426fail:
16427 return NULL;
16428}
16429
16430
16431SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16432 PyObject *resultobj = 0;
16433 wxColourData *arg1 = (wxColourData *) 0 ;
16434 int arg2 ;
16435 void *argp1 = 0 ;
16436 int res1 = 0 ;
16437 int val2 ;
16438 int ecode2 = 0 ;
16439 PyObject * obj0 = 0 ;
16440 PyObject * obj1 = 0 ;
16441 char * kwnames[] = {
16442 (char *) "self",(char *) "flag", NULL
16443 };
16444
16445 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16446 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16447 if (!SWIG_IsOK(res1)) {
16448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16449 }
16450 arg1 = reinterpret_cast< wxColourData * >(argp1);
16451 ecode2 = SWIG_AsVal_int(obj1, &val2);
16452 if (!SWIG_IsOK(ecode2)) {
16453 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16454 }
16455 arg2 = static_cast< int >(val2);
16456 {
16457 PyThreadState* __tstate = wxPyBeginAllowThreads();
16458 (arg1)->SetChooseFull(arg2);
16459 wxPyEndAllowThreads(__tstate);
16460 if (PyErr_Occurred()) SWIG_fail;
16461 }
16462 resultobj = SWIG_Py_Void();
16463 return resultobj;
16464fail:
16465 return NULL;
16466}
16467
16468
16469SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16470 PyObject *resultobj = 0;
16471 wxColourData *arg1 = (wxColourData *) 0 ;
16472 wxColour *arg2 = 0 ;
16473 void *argp1 = 0 ;
16474 int res1 = 0 ;
16475 wxColour temp2 ;
16476 PyObject * obj0 = 0 ;
16477 PyObject * obj1 = 0 ;
16478 char * kwnames[] = {
16479 (char *) "self",(char *) "colour", NULL
16480 };
16481
16482 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16483 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16484 if (!SWIG_IsOK(res1)) {
16485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16486 }
16487 arg1 = reinterpret_cast< wxColourData * >(argp1);
16488 {
16489 arg2 = &temp2;
16490 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16491 }
16492 {
16493 PyThreadState* __tstate = wxPyBeginAllowThreads();
16494 (arg1)->SetColour((wxColour const &)*arg2);
16495 wxPyEndAllowThreads(__tstate);
16496 if (PyErr_Occurred()) SWIG_fail;
16497 }
16498 resultobj = SWIG_Py_Void();
16499 return resultobj;
16500fail:
16501 return NULL;
16502}
16503
16504
16505SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16506 PyObject *resultobj = 0;
16507 wxColourData *arg1 = (wxColourData *) 0 ;
16508 int arg2 ;
16509 wxColour *arg3 = 0 ;
16510 void *argp1 = 0 ;
16511 int res1 = 0 ;
16512 int val2 ;
16513 int ecode2 = 0 ;
16514 wxColour temp3 ;
16515 PyObject * obj0 = 0 ;
16516 PyObject * obj1 = 0 ;
16517 PyObject * obj2 = 0 ;
16518 char * kwnames[] = {
16519 (char *) "self",(char *) "i",(char *) "colour", NULL
16520 };
16521
16522 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16523 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16524 if (!SWIG_IsOK(res1)) {
16525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16526 }
16527 arg1 = reinterpret_cast< wxColourData * >(argp1);
16528 ecode2 = SWIG_AsVal_int(obj1, &val2);
16529 if (!SWIG_IsOK(ecode2)) {
16530 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16531 }
16532 arg2 = static_cast< int >(val2);
16533 {
16534 arg3 = &temp3;
16535 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16536 }
16537 {
16538 PyThreadState* __tstate = wxPyBeginAllowThreads();
16539 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16540 wxPyEndAllowThreads(__tstate);
16541 if (PyErr_Occurred()) SWIG_fail;
16542 }
16543 resultobj = SWIG_Py_Void();
16544 return resultobj;
16545fail:
16546 return NULL;
d55e5bfc
RD
16547}
16548
16549
1bd55598
RD
16550SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16551 PyObject *obj;
16552 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16553 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16554 return SWIG_Py_Void();
d55e5bfc
RD
16555}
16556
1bd55598
RD
16557SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16558 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
16559}
16560
1bd55598
RD
16561SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16562 PyObject *resultobj = 0;
16563 wxWindow *arg1 = (wxWindow *) 0 ;
16564 wxColourData *arg2 = (wxColourData *) NULL ;
16565 wxColourDialog *result = 0 ;
16566 void *argp1 = 0 ;
16567 int res1 = 0 ;
16568 void *argp2 = 0 ;
16569 int res2 = 0 ;
16570 PyObject * obj0 = 0 ;
16571 PyObject * obj1 = 0 ;
16572 char * kwnames[] = {
16573 (char *) "parent",(char *) "data", NULL
16574 };
16575
16576 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16577 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16578 if (!SWIG_IsOK(res1)) {
16579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16580 }
16581 arg1 = reinterpret_cast< wxWindow * >(argp1);
16582 if (obj1) {
16583 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16584 if (!SWIG_IsOK(res2)) {
16585 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
36ed4f51 16586 }
1bd55598
RD
16587 arg2 = reinterpret_cast< wxColourData * >(argp2);
16588 }
16589 {
16590 if (!wxPyCheckForApp()) SWIG_fail;
16591 PyThreadState* __tstate = wxPyBeginAllowThreads();
16592 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16593 wxPyEndAllowThreads(__tstate);
16594 if (PyErr_Occurred()) SWIG_fail;
16595 }
16596 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16597 return resultobj;
16598fail:
16599 return NULL;
d55e5bfc
RD
16600}
16601
16602
1bd55598
RD
16603SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16604 PyObject *resultobj = 0;
16605 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16606 wxColourData *result = 0 ;
16607 void *argp1 = 0 ;
16608 int res1 = 0 ;
16609 PyObject *swig_obj[1] ;
16610
16611 if (!args) SWIG_fail;
16612 swig_obj[0] = args;
16613 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16614 if (!SWIG_IsOK(res1)) {
16615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16616 }
16617 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16618 {
16619 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 16620 {
1bd55598
RD
16621 wxColourData &_result_ref = (arg1)->GetColourData();
16622 result = (wxColourData *) &_result_ref;
d55e5bfc 16623 }
1bd55598
RD
16624 wxPyEndAllowThreads(__tstate);
16625 if (PyErr_Occurred()) SWIG_fail;
16626 }
16627 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16628 return resultobj;
16629fail:
16630 return NULL;
16631}
16632
16633
16634SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16635 PyObject *obj;
16636 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16637 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16638 return SWIG_Py_Void();
16639}
16640
16641SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16642 return SWIG_Python_InitShadowInstance(args);
16643}
16644
16645SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16646 PyObject *resultobj = 0;
16647 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16648 wxColour const &arg2_defvalue = wxNullColour ;
16649 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16650 wxString const &arg3_defvalue = wxPyEmptyString ;
16651 wxString *arg3 = (wxString *) &arg3_defvalue ;
16652 wxColour result;
16653 void *argp1 = 0 ;
16654 int res1 = 0 ;
16655 wxColour temp2 ;
16656 bool temp3 = false ;
16657 PyObject * obj0 = 0 ;
16658 PyObject * obj1 = 0 ;
16659 PyObject * obj2 = 0 ;
16660 char * kwnames[] = {
16661 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16662 };
16663
16664 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16665 if (obj0) {
16666 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16667 if (!SWIG_IsOK(res1)) {
16668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
d55e5bfc 16669 }
1bd55598
RD
16670 arg1 = reinterpret_cast< wxWindow * >(argp1);
16671 }
16672 if (obj1) {
d55e5bfc 16673 {
1bd55598
RD
16674 arg2 = &temp2;
16675 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc 16676 }
1bd55598
RD
16677 }
16678 if (obj2) {
d55e5bfc 16679 {
1bd55598
RD
16680 arg3 = wxString_in_helper(obj2);
16681 if (arg3 == NULL) SWIG_fail;
16682 temp3 = true;
d55e5bfc 16683 }
1bd55598
RD
16684 }
16685 {
16686 PyThreadState* __tstate = wxPyBeginAllowThreads();
16687 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16688 wxPyEndAllowThreads(__tstate);
16689 if (PyErr_Occurred()) SWIG_fail;
16690 }
16691 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16692 {
16693 if (temp3)
16694 delete arg3;
16695 }
16696 return resultobj;
16697fail:
16698 {
16699 if (temp3)
16700 delete arg3;
16701 }
16702 return NULL;
16703}
16704
16705
16706SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16707 PyObject *resultobj = 0;
16708 wxWindow *arg1 = (wxWindow *) 0 ;
16709 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16710 wxString *arg2 = (wxString *) &arg2_defvalue ;
16711 wxString const &arg3_defvalue = wxPyEmptyString ;
16712 wxString *arg3 = (wxString *) &arg3_defvalue ;
704eda0c 16713 long arg4 = (long) wxDD_DEFAULT_STYLE ;
1bd55598
RD
16714 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16715 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16716 wxSize const &arg6_defvalue = wxDefaultSize ;
16717 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16718 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16719 wxString *arg7 = (wxString *) &arg7_defvalue ;
16720 wxDirDialog *result = 0 ;
16721 void *argp1 = 0 ;
16722 int res1 = 0 ;
16723 bool temp2 = false ;
16724 bool temp3 = false ;
16725 long val4 ;
16726 int ecode4 = 0 ;
16727 wxPoint temp5 ;
16728 wxSize temp6 ;
16729 bool temp7 = false ;
16730 PyObject * obj0 = 0 ;
16731 PyObject * obj1 = 0 ;
16732 PyObject * obj2 = 0 ;
16733 PyObject * obj3 = 0 ;
16734 PyObject * obj4 = 0 ;
16735 PyObject * obj5 = 0 ;
16736 PyObject * obj6 = 0 ;
16737 char * kwnames[] = {
16738 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16739 };
16740
16741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16743 if (!SWIG_IsOK(res1)) {
16744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16745 }
16746 arg1 = reinterpret_cast< wxWindow * >(argp1);
16747 if (obj1) {
d55e5bfc 16748 {
1bd55598
RD
16749 arg2 = wxString_in_helper(obj1);
16750 if (arg2 == NULL) SWIG_fail;
16751 temp2 = true;
d55e5bfc 16752 }
1bd55598
RD
16753 }
16754 if (obj2) {
d55e5bfc 16755 {
1bd55598
RD
16756 arg3 = wxString_in_helper(obj2);
16757 if (arg3 == NULL) SWIG_fail;
16758 temp3 = true;
d55e5bfc 16759 }
1bd55598
RD
16760 }
16761 if (obj3) {
16762 ecode4 = SWIG_AsVal_long(obj3, &val4);
16763 if (!SWIG_IsOK(ecode4)) {
16764 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16765 }
16766 arg4 = static_cast< long >(val4);
16767 }
16768 if (obj4) {
d55e5bfc 16769 {
1bd55598
RD
16770 arg5 = &temp5;
16771 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 16772 }
1bd55598
RD
16773 }
16774 if (obj5) {
16775 {
16776 arg6 = &temp6;
16777 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 16778 }
1bd55598
RD
16779 }
16780 if (obj6) {
d55e5bfc 16781 {
1bd55598
RD
16782 arg7 = wxString_in_helper(obj6);
16783 if (arg7 == NULL) SWIG_fail;
16784 temp7 = true;
16785 }
16786 }
16787 {
16788 if (!wxPyCheckForApp()) SWIG_fail;
16789 PyThreadState* __tstate = wxPyBeginAllowThreads();
16790 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16791 wxPyEndAllowThreads(__tstate);
16792 if (PyErr_Occurred()) SWIG_fail;
16793 }
16794 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16795 {
16796 if (temp2)
16797 delete arg2;
16798 }
16799 {
16800 if (temp3)
16801 delete arg3;
16802 }
16803 {
16804 if (temp7)
16805 delete arg7;
16806 }
16807 return resultobj;
16808fail:
16809 {
16810 if (temp2)
16811 delete arg2;
16812 }
16813 {
16814 if (temp3)
16815 delete arg3;
16816 }
16817 {
16818 if (temp7)
16819 delete arg7;
16820 }
16821 return NULL;
d55e5bfc
RD
16822}
16823
16824
1bd55598
RD
16825SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16826 PyObject *resultobj = 0;
16827 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16828 wxString result;
16829 void *argp1 = 0 ;
16830 int res1 = 0 ;
16831 PyObject *swig_obj[1] ;
16832
16833 if (!args) SWIG_fail;
16834 swig_obj[0] = args;
16835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16836 if (!SWIG_IsOK(res1)) {
16837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16838 }
16839 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16840 {
16841 PyThreadState* __tstate = wxPyBeginAllowThreads();
16842 result = (arg1)->GetPath();
16843 wxPyEndAllowThreads(__tstate);
16844 if (PyErr_Occurred()) SWIG_fail;
16845 }
16846 {
16847#if wxUSE_UNICODE
16848 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16849#else
16850 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16851#endif
16852 }
16853 return resultobj;
16854fail:
16855 return NULL;
d55e5bfc
RD
16856}
16857
16858
1bd55598
RD
16859SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16860 PyObject *resultobj = 0;
16861 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16862 wxString result;
16863 void *argp1 = 0 ;
16864 int res1 = 0 ;
16865 PyObject *swig_obj[1] ;
16866
16867 if (!args) SWIG_fail;
16868 swig_obj[0] = args;
16869 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16870 if (!SWIG_IsOK(res1)) {
16871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16872 }
16873 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16874 {
16875 PyThreadState* __tstate = wxPyBeginAllowThreads();
16876 result = (arg1)->GetMessage();
16877 wxPyEndAllowThreads(__tstate);
16878 if (PyErr_Occurred()) SWIG_fail;
16879 }
16880 {
16881#if wxUSE_UNICODE
16882 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16883#else
16884 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16885#endif
16886 }
16887 return resultobj;
16888fail:
16889 return NULL;
d55e5bfc
RD
16890}
16891
16892
1bd55598
RD
16893SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16894 PyObject *resultobj = 0;
16895 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16896 wxString *arg2 = 0 ;
16897 void *argp1 = 0 ;
16898 int res1 = 0 ;
16899 bool temp2 = false ;
16900 PyObject * obj0 = 0 ;
16901 PyObject * obj1 = 0 ;
16902 char * kwnames[] = {
16903 (char *) "self",(char *) "message", NULL
16904 };
16905
16906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16908 if (!SWIG_IsOK(res1)) {
16909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16910 }
16911 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16912 {
16913 arg2 = wxString_in_helper(obj1);
16914 if (arg2 == NULL) SWIG_fail;
16915 temp2 = true;
16916 }
16917 {
16918 PyThreadState* __tstate = wxPyBeginAllowThreads();
16919 (arg1)->SetMessage((wxString const &)*arg2);
16920 wxPyEndAllowThreads(__tstate);
16921 if (PyErr_Occurred()) SWIG_fail;
16922 }
16923 resultobj = SWIG_Py_Void();
16924 {
16925 if (temp2)
16926 delete arg2;
16927 }
16928 return resultobj;
16929fail:
16930 {
16931 if (temp2)
16932 delete arg2;
16933 }
16934 return NULL;
d55e5bfc
RD
16935}
16936
16937
1bd55598
RD
16938SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16939 PyObject *resultobj = 0;
16940 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16941 wxString *arg2 = 0 ;
16942 void *argp1 = 0 ;
16943 int res1 = 0 ;
16944 bool temp2 = false ;
16945 PyObject * obj0 = 0 ;
16946 PyObject * obj1 = 0 ;
16947 char * kwnames[] = {
16948 (char *) "self",(char *) "path", NULL
16949 };
16950
16951 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
16952 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16953 if (!SWIG_IsOK(res1)) {
16954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16955 }
16956 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16957 {
16958 arg2 = wxString_in_helper(obj1);
16959 if (arg2 == NULL) SWIG_fail;
16960 temp2 = true;
16961 }
16962 {
16963 PyThreadState* __tstate = wxPyBeginAllowThreads();
16964 (arg1)->SetPath((wxString const &)*arg2);
16965 wxPyEndAllowThreads(__tstate);
16966 if (PyErr_Occurred()) SWIG_fail;
16967 }
16968 resultobj = SWIG_Py_Void();
16969 {
16970 if (temp2)
16971 delete arg2;
16972 }
16973 return resultobj;
16974fail:
16975 {
16976 if (temp2)
16977 delete arg2;
16978 }
16979 return NULL;
16980}
16981
16982
16983SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16984 PyObject *obj;
16985 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16986 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
16987 return SWIG_Py_Void();
16988}
16989
16990SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16991 return SWIG_Python_InitShadowInstance(args);
16992}
16993
16994SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16995 PyObject *resultobj = 0;
16996 wxWindow *arg1 = (wxWindow *) 0 ;
16997 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
16998 wxString *arg2 = (wxString *) &arg2_defvalue ;
16999 wxString const &arg3_defvalue = wxPyEmptyString ;
17000 wxString *arg3 = (wxString *) &arg3_defvalue ;
17001 wxString const &arg4_defvalue = wxPyEmptyString ;
17002 wxString *arg4 = (wxString *) &arg4_defvalue ;
17003 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
17004 wxString *arg5 = (wxString *) &arg5_defvalue ;
704eda0c 17005 long arg6 = (long) wxFD_DEFAULT_STYLE ;
1bd55598
RD
17006 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17007 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17008 wxFileDialog *result = 0 ;
17009 void *argp1 = 0 ;
17010 int res1 = 0 ;
17011 bool temp2 = false ;
17012 bool temp3 = false ;
17013 bool temp4 = false ;
17014 bool temp5 = false ;
17015 long val6 ;
17016 int ecode6 = 0 ;
17017 wxPoint temp7 ;
17018 PyObject * obj0 = 0 ;
17019 PyObject * obj1 = 0 ;
17020 PyObject * obj2 = 0 ;
17021 PyObject * obj3 = 0 ;
17022 PyObject * obj4 = 0 ;
17023 PyObject * obj5 = 0 ;
17024 PyObject * obj6 = 0 ;
17025 char * kwnames[] = {
17026 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17027 };
17028
17029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17031 if (!SWIG_IsOK(res1)) {
17032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17033 }
17034 arg1 = reinterpret_cast< wxWindow * >(argp1);
17035 if (obj1) {
d55e5bfc 17036 {
1bd55598
RD
17037 arg2 = wxString_in_helper(obj1);
17038 if (arg2 == NULL) SWIG_fail;
17039 temp2 = true;
d55e5bfc 17040 }
1bd55598
RD
17041 }
17042 if (obj2) {
17043 {
17044 arg3 = wxString_in_helper(obj2);
17045 if (arg3 == NULL) SWIG_fail;
17046 temp3 = true;
d55e5bfc 17047 }
1bd55598
RD
17048 }
17049 if (obj3) {
d55e5bfc 17050 {
1bd55598
RD
17051 arg4 = wxString_in_helper(obj3);
17052 if (arg4 == NULL) SWIG_fail;
17053 temp4 = true;
17054 }
17055 }
17056 if (obj4) {
d55e5bfc 17057 {
1bd55598
RD
17058 arg5 = wxString_in_helper(obj4);
17059 if (arg5 == NULL) SWIG_fail;
17060 temp5 = true;
d55e5bfc 17061 }
1bd55598
RD
17062 }
17063 if (obj5) {
17064 ecode6 = SWIG_AsVal_long(obj5, &val6);
17065 if (!SWIG_IsOK(ecode6)) {
17066 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17067 }
17068 arg6 = static_cast< long >(val6);
17069 }
17070 if (obj6) {
d55e5bfc 17071 {
1bd55598
RD
17072 arg7 = &temp7;
17073 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
d55e5bfc 17074 }
1bd55598
RD
17075 }
17076 {
17077 if (!wxPyCheckForApp()) SWIG_fail;
17078 PyThreadState* __tstate = wxPyBeginAllowThreads();
17079 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17080 wxPyEndAllowThreads(__tstate);
17081 if (PyErr_Occurred()) SWIG_fail;
17082 }
17083 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17084 {
17085 if (temp2)
17086 delete arg2;
17087 }
17088 {
17089 if (temp3)
17090 delete arg3;
17091 }
17092 {
17093 if (temp4)
17094 delete arg4;
17095 }
17096 {
17097 if (temp5)
17098 delete arg5;
17099 }
17100 return resultobj;
17101fail:
17102 {
17103 if (temp2)
17104 delete arg2;
17105 }
17106 {
17107 if (temp3)
17108 delete arg3;
17109 }
17110 {
17111 if (temp4)
17112 delete arg4;
17113 }
17114 {
17115 if (temp5)
17116 delete arg5;
17117 }
17118 return NULL;
d55e5bfc
RD
17119}
17120
17121
1bd55598
RD
17122SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17123 PyObject *resultobj = 0;
17124 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17125 wxString *arg2 = 0 ;
17126 void *argp1 = 0 ;
17127 int res1 = 0 ;
17128 bool temp2 = false ;
17129 PyObject * obj0 = 0 ;
17130 PyObject * obj1 = 0 ;
17131 char * kwnames[] = {
17132 (char *) "self",(char *) "message", NULL
17133 };
17134
17135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17137 if (!SWIG_IsOK(res1)) {
17138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17139 }
17140 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17141 {
17142 arg2 = wxString_in_helper(obj1);
17143 if (arg2 == NULL) SWIG_fail;
17144 temp2 = true;
17145 }
17146 {
17147 PyThreadState* __tstate = wxPyBeginAllowThreads();
17148 (arg1)->SetMessage((wxString const &)*arg2);
17149 wxPyEndAllowThreads(__tstate);
17150 if (PyErr_Occurred()) SWIG_fail;
17151 }
17152 resultobj = SWIG_Py_Void();
17153 {
17154 if (temp2)
17155 delete arg2;
17156 }
17157 return resultobj;
17158fail:
17159 {
17160 if (temp2)
17161 delete arg2;
17162 }
17163 return NULL;
d55e5bfc
RD
17164}
17165
17166
1bd55598
RD
17167SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17168 PyObject *resultobj = 0;
17169 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17170 wxString *arg2 = 0 ;
17171 void *argp1 = 0 ;
17172 int res1 = 0 ;
17173 bool temp2 = false ;
17174 PyObject * obj0 = 0 ;
17175 PyObject * obj1 = 0 ;
17176 char * kwnames[] = {
17177 (char *) "self",(char *) "path", NULL
17178 };
17179
17180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17182 if (!SWIG_IsOK(res1)) {
17183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17184 }
17185 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17186 {
17187 arg2 = wxString_in_helper(obj1);
17188 if (arg2 == NULL) SWIG_fail;
17189 temp2 = true;
17190 }
17191 {
17192 PyThreadState* __tstate = wxPyBeginAllowThreads();
17193 (arg1)->SetPath((wxString const &)*arg2);
17194 wxPyEndAllowThreads(__tstate);
17195 if (PyErr_Occurred()) SWIG_fail;
17196 }
17197 resultobj = SWIG_Py_Void();
17198 {
17199 if (temp2)
17200 delete arg2;
17201 }
17202 return resultobj;
17203fail:
17204 {
17205 if (temp2)
17206 delete arg2;
17207 }
17208 return NULL;
d55e5bfc
RD
17209}
17210
17211
1bd55598
RD
17212SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17213 PyObject *resultobj = 0;
17214 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17215 wxString *arg2 = 0 ;
17216 void *argp1 = 0 ;
17217 int res1 = 0 ;
17218 bool temp2 = false ;
17219 PyObject * obj0 = 0 ;
17220 PyObject * obj1 = 0 ;
17221 char * kwnames[] = {
17222 (char *) "self",(char *) "dir", NULL
17223 };
17224
17225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17227 if (!SWIG_IsOK(res1)) {
17228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17229 }
17230 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17231 {
17232 arg2 = wxString_in_helper(obj1);
17233 if (arg2 == NULL) SWIG_fail;
17234 temp2 = true;
17235 }
17236 {
17237 PyThreadState* __tstate = wxPyBeginAllowThreads();
17238 (arg1)->SetDirectory((wxString const &)*arg2);
17239 wxPyEndAllowThreads(__tstate);
17240 if (PyErr_Occurred()) SWIG_fail;
17241 }
17242 resultobj = SWIG_Py_Void();
17243 {
17244 if (temp2)
17245 delete arg2;
17246 }
17247 return resultobj;
17248fail:
17249 {
17250 if (temp2)
17251 delete arg2;
17252 }
17253 return NULL;
d55e5bfc
RD
17254}
17255
17256
1bd55598
RD
17257SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17258 PyObject *resultobj = 0;
17259 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17260 wxString *arg2 = 0 ;
17261 void *argp1 = 0 ;
17262 int res1 = 0 ;
17263 bool temp2 = false ;
17264 PyObject * obj0 = 0 ;
17265 PyObject * obj1 = 0 ;
17266 char * kwnames[] = {
17267 (char *) "self",(char *) "name", NULL
17268 };
17269
17270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17272 if (!SWIG_IsOK(res1)) {
17273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17274 }
17275 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17276 {
17277 arg2 = wxString_in_helper(obj1);
17278 if (arg2 == NULL) SWIG_fail;
17279 temp2 = true;
17280 }
17281 {
17282 PyThreadState* __tstate = wxPyBeginAllowThreads();
17283 (arg1)->SetFilename((wxString const &)*arg2);
17284 wxPyEndAllowThreads(__tstate);
17285 if (PyErr_Occurred()) SWIG_fail;
17286 }
17287 resultobj = SWIG_Py_Void();
17288 {
17289 if (temp2)
17290 delete arg2;
17291 }
17292 return resultobj;
17293fail:
17294 {
17295 if (temp2)
17296 delete arg2;
17297 }
17298 return NULL;
d55e5bfc
RD
17299}
17300
17301
1bd55598
RD
17302SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17303 PyObject *resultobj = 0;
17304 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17305 wxString *arg2 = 0 ;
17306 void *argp1 = 0 ;
17307 int res1 = 0 ;
17308 bool temp2 = false ;
17309 PyObject * obj0 = 0 ;
17310 PyObject * obj1 = 0 ;
17311 char * kwnames[] = {
17312 (char *) "self",(char *) "wildCard", NULL
17313 };
17314
17315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17317 if (!SWIG_IsOK(res1)) {
17318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17319 }
17320 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17321 {
17322 arg2 = wxString_in_helper(obj1);
17323 if (arg2 == NULL) SWIG_fail;
17324 temp2 = true;
17325 }
17326 {
17327 PyThreadState* __tstate = wxPyBeginAllowThreads();
17328 (arg1)->SetWildcard((wxString const &)*arg2);
17329 wxPyEndAllowThreads(__tstate);
17330 if (PyErr_Occurred()) SWIG_fail;
17331 }
17332 resultobj = SWIG_Py_Void();
17333 {
17334 if (temp2)
17335 delete arg2;
17336 }
17337 return resultobj;
17338fail:
17339 {
17340 if (temp2)
17341 delete arg2;
17342 }
17343 return NULL;
17344}
17345
17346
1bd55598
RD
17347SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17348 PyObject *resultobj = 0;
17349 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17350 int arg2 ;
17351 void *argp1 = 0 ;
17352 int res1 = 0 ;
17353 int val2 ;
17354 int ecode2 = 0 ;
17355 PyObject * obj0 = 0 ;
17356 PyObject * obj1 = 0 ;
17357 char * kwnames[] = {
17358 (char *) "self",(char *) "filterIndex", NULL
17359 };
17360
17361 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17362 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17363 if (!SWIG_IsOK(res1)) {
17364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17365 }
17366 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17367 ecode2 = SWIG_AsVal_int(obj1, &val2);
17368 if (!SWIG_IsOK(ecode2)) {
17369 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17370 }
17371 arg2 = static_cast< int >(val2);
17372 {
17373 PyThreadState* __tstate = wxPyBeginAllowThreads();
17374 (arg1)->SetFilterIndex(arg2);
17375 wxPyEndAllowThreads(__tstate);
17376 if (PyErr_Occurred()) SWIG_fail;
17377 }
17378 resultobj = SWIG_Py_Void();
17379 return resultobj;
17380fail:
17381 return NULL;
d55e5bfc
RD
17382}
17383
17384
1bd55598
RD
17385SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17386 PyObject *resultobj = 0;
17387 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17388 wxString result;
17389 void *argp1 = 0 ;
17390 int res1 = 0 ;
17391 PyObject *swig_obj[1] ;
17392
17393 if (!args) SWIG_fail;
17394 swig_obj[0] = args;
17395 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17396 if (!SWIG_IsOK(res1)) {
17397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17398 }
17399 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17400 {
17401 PyThreadState* __tstate = wxPyBeginAllowThreads();
17402 result = ((wxFileDialog const *)arg1)->GetMessage();
17403 wxPyEndAllowThreads(__tstate);
17404 if (PyErr_Occurred()) SWIG_fail;
17405 }
17406 {
17407#if wxUSE_UNICODE
17408 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17409#else
17410 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17411#endif
17412 }
17413 return resultobj;
17414fail:
17415 return NULL;
d55e5bfc
RD
17416}
17417
17418
1bd55598
RD
17419SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17420 PyObject *resultobj = 0;
17421 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17422 wxString result;
17423 void *argp1 = 0 ;
17424 int res1 = 0 ;
17425 PyObject *swig_obj[1] ;
17426
17427 if (!args) SWIG_fail;
17428 swig_obj[0] = args;
17429 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17430 if (!SWIG_IsOK(res1)) {
17431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17432 }
17433 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17434 {
17435 PyThreadState* __tstate = wxPyBeginAllowThreads();
17436 result = ((wxFileDialog const *)arg1)->GetPath();
17437 wxPyEndAllowThreads(__tstate);
17438 if (PyErr_Occurred()) SWIG_fail;
17439 }
17440 {
17441#if wxUSE_UNICODE
17442 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17443#else
17444 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17445#endif
17446 }
17447 return resultobj;
17448fail:
17449 return NULL;
d55e5bfc
RD
17450}
17451
17452
1bd55598
RD
17453SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17454 PyObject *resultobj = 0;
17455 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17456 wxString result;
17457 void *argp1 = 0 ;
17458 int res1 = 0 ;
17459 PyObject *swig_obj[1] ;
17460
17461 if (!args) SWIG_fail;
17462 swig_obj[0] = args;
17463 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17464 if (!SWIG_IsOK(res1)) {
17465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17466 }
17467 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17468 {
17469 PyThreadState* __tstate = wxPyBeginAllowThreads();
17470 result = ((wxFileDialog const *)arg1)->GetDirectory();
17471 wxPyEndAllowThreads(__tstate);
17472 if (PyErr_Occurred()) SWIG_fail;
17473 }
17474 {
17475#if wxUSE_UNICODE
17476 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17477#else
17478 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17479#endif
17480 }
17481 return resultobj;
17482fail:
17483 return NULL;
d55e5bfc
RD
17484}
17485
17486
1bd55598
RD
17487SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17488 PyObject *resultobj = 0;
17489 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17490 wxString result;
17491 void *argp1 = 0 ;
17492 int res1 = 0 ;
17493 PyObject *swig_obj[1] ;
17494
17495 if (!args) SWIG_fail;
17496 swig_obj[0] = args;
17497 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17498 if (!SWIG_IsOK(res1)) {
17499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17500 }
17501 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17502 {
17503 PyThreadState* __tstate = wxPyBeginAllowThreads();
17504 result = ((wxFileDialog const *)arg1)->GetFilename();
17505 wxPyEndAllowThreads(__tstate);
17506 if (PyErr_Occurred()) SWIG_fail;
17507 }
17508 {
17509#if wxUSE_UNICODE
17510 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17511#else
17512 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17513#endif
17514 }
17515 return resultobj;
17516fail:
17517 return NULL;
d55e5bfc
RD
17518}
17519
17520
1bd55598
RD
17521SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17522 PyObject *resultobj = 0;
17523 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17524 wxString result;
17525 void *argp1 = 0 ;
17526 int res1 = 0 ;
17527 PyObject *swig_obj[1] ;
17528
17529 if (!args) SWIG_fail;
17530 swig_obj[0] = args;
17531 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17532 if (!SWIG_IsOK(res1)) {
17533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17534 }
17535 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17536 {
17537 PyThreadState* __tstate = wxPyBeginAllowThreads();
17538 result = ((wxFileDialog const *)arg1)->GetWildcard();
17539 wxPyEndAllowThreads(__tstate);
17540 if (PyErr_Occurred()) SWIG_fail;
17541 }
17542 {
17543#if wxUSE_UNICODE
17544 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17545#else
17546 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17547#endif
17548 }
17549 return resultobj;
17550fail:
17551 return NULL;
d55e5bfc
RD
17552}
17553
17554
1bd55598
RD
17555SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17556 PyObject *resultobj = 0;
17557 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17558 int result;
17559 void *argp1 = 0 ;
17560 int res1 = 0 ;
17561 PyObject *swig_obj[1] ;
17562
17563 if (!args) SWIG_fail;
17564 swig_obj[0] = args;
17565 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17566 if (!SWIG_IsOK(res1)) {
17567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17568 }
17569 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17570 {
17571 PyThreadState* __tstate = wxPyBeginAllowThreads();
17572 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17573 wxPyEndAllowThreads(__tstate);
17574 if (PyErr_Occurred()) SWIG_fail;
17575 }
17576 resultobj = SWIG_From_int(static_cast< int >(result));
17577 return resultobj;
17578fail:
17579 return NULL;
d55e5bfc
RD
17580}
17581
17582
1bd55598
RD
17583SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17584 PyObject *resultobj = 0;
17585 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17586 PyObject *result = 0 ;
17587 void *argp1 = 0 ;
17588 int res1 = 0 ;
17589 PyObject *swig_obj[1] ;
17590
17591 if (!args) SWIG_fail;
17592 swig_obj[0] = args;
17593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17594 if (!SWIG_IsOK(res1)) {
17595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17596 }
17597 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17598 {
17599 PyThreadState* __tstate = wxPyBeginAllowThreads();
17600 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17601 wxPyEndAllowThreads(__tstate);
17602 if (PyErr_Occurred()) SWIG_fail;
17603 }
17604 resultobj = result;
17605 return resultobj;
17606fail:
17607 return NULL;
d55e5bfc
RD
17608}
17609
17610
1bd55598
RD
17611SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17612 PyObject *resultobj = 0;
17613 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17614 PyObject *result = 0 ;
17615 void *argp1 = 0 ;
17616 int res1 = 0 ;
17617 PyObject *swig_obj[1] ;
17618
17619 if (!args) SWIG_fail;
17620 swig_obj[0] = args;
17621 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17622 if (!SWIG_IsOK(res1)) {
17623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17624 }
17625 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17626 {
17627 PyThreadState* __tstate = wxPyBeginAllowThreads();
17628 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17629 wxPyEndAllowThreads(__tstate);
17630 if (PyErr_Occurred()) SWIG_fail;
17631 }
17632 resultobj = result;
17633 return resultobj;
17634fail:
17635 return NULL;
17636}
17637
17638
17639SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17640 PyObject *obj;
17641 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17642 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17643 return SWIG_Py_Void();
17644}
17645
17646SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17647 return SWIG_Python_InitShadowInstance(args);
17648}
17649
17650SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17651 PyObject *resultobj = 0;
17652 wxWindow *arg1 = (wxWindow *) 0 ;
17653 wxString *arg2 = 0 ;
17654 wxString *arg3 = 0 ;
17655 int arg4 = (int) 0 ;
17656 wxString *arg5 = (wxString *) NULL ;
17657 long arg6 = (long) wxCHOICEDLG_STYLE ;
17658 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17659 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17660 wxMultiChoiceDialog *result = 0 ;
17661 void *argp1 = 0 ;
17662 int res1 = 0 ;
17663 bool temp2 = false ;
17664 bool temp3 = false ;
17665 long val6 ;
17666 int ecode6 = 0 ;
17667 wxPoint temp7 ;
17668 PyObject * obj0 = 0 ;
17669 PyObject * obj1 = 0 ;
17670 PyObject * obj2 = 0 ;
17671 PyObject * obj3 = 0 ;
17672 PyObject * obj4 = 0 ;
17673 PyObject * obj5 = 0 ;
17674 char * kwnames[] = {
17675 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17676 };
17677
17678 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17679 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17680 if (!SWIG_IsOK(res1)) {
17681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17682 }
17683 arg1 = reinterpret_cast< wxWindow * >(argp1);
17684 {
17685 arg2 = wxString_in_helper(obj1);
17686 if (arg2 == NULL) SWIG_fail;
17687 temp2 = true;
17688 }
17689 {
17690 arg3 = wxString_in_helper(obj2);
17691 if (arg3 == NULL) SWIG_fail;
17692 temp3 = true;
17693 }
17694 if (obj3) {
d55e5bfc 17695 {
1bd55598
RD
17696 arg4 = PyList_Size(obj3);
17697 arg5 = wxString_LIST_helper(obj3);
17698 if (arg5 == NULL) SWIG_fail;
d55e5bfc 17699 }
1bd55598
RD
17700 }
17701 if (obj4) {
17702 ecode6 = SWIG_AsVal_long(obj4, &val6);
17703 if (!SWIG_IsOK(ecode6)) {
17704 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17705 }
17706 arg6 = static_cast< long >(val6);
17707 }
17708 if (obj5) {
36ed4f51 17709 {
1bd55598
RD
17710 arg7 = &temp7;
17711 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
36ed4f51 17712 }
1bd55598
RD
17713 }
17714 {
17715 if (!wxPyCheckForApp()) SWIG_fail;
17716 PyThreadState* __tstate = wxPyBeginAllowThreads();
17717 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17718 wxPyEndAllowThreads(__tstate);
17719 if (PyErr_Occurred()) SWIG_fail;
17720 }
17721 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17722 {
17723 if (temp2)
17724 delete arg2;
17725 }
17726 {
17727 if (temp3)
17728 delete arg3;
17729 }
17730 {
17731 if (arg5) delete [] arg5;
17732 }
17733 return resultobj;
17734fail:
17735 {
17736 if (temp2)
17737 delete arg2;
17738 }
17739 {
17740 if (temp3)
17741 delete arg3;
17742 }
17743 {
17744 if (arg5) delete [] arg5;
17745 }
17746 return NULL;
d55e5bfc
RD
17747}
17748
17749
1bd55598
RD
17750SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17751 PyObject *resultobj = 0;
17752 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17753 wxArrayInt *arg2 = 0 ;
17754 void *argp1 = 0 ;
17755 int res1 = 0 ;
17756 bool temp2 = false ;
17757 PyObject * obj0 = 0 ;
17758 PyObject * obj1 = 0 ;
17759 char * kwnames[] = {
17760 (char *) "self",(char *) "selections", NULL
17761 };
17762
17763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17765 if (!SWIG_IsOK(res1)) {
17766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17767 }
17768 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17769 {
17770 if (! PySequence_Check(obj1)) {
17771 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17772 SWIG_fail;
17773 }
17774 arg2 = new wxArrayInt;
17775 temp2 = true;
17776 int i, len=PySequence_Length(obj1);
17777 for (i=0; i<len; i++) {
17778 PyObject* item = PySequence_GetItem(obj1, i);
17779 PyObject* number = PyNumber_Int(item);
ec8a7755
RD
17780 if (!number) {
17781 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17782 SWIG_fail;
17783 }
1bd55598
RD
17784 arg2->Add(PyInt_AS_LONG(number));
17785 Py_DECREF(item);
17786 Py_DECREF(number);
36ed4f51 17787 }
1bd55598
RD
17788 }
17789 {
17790 PyThreadState* __tstate = wxPyBeginAllowThreads();
17791 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17792 wxPyEndAllowThreads(__tstate);
17793 if (PyErr_Occurred()) SWIG_fail;
17794 }
17795 resultobj = SWIG_Py_Void();
17796 {
17797 if (temp2) delete arg2;
17798 }
17799 return resultobj;
17800fail:
17801 {
17802 if (temp2) delete arg2;
17803 }
17804 return NULL;
d55e5bfc
RD
17805}
17806
17807
1bd55598
RD
17808SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17809 PyObject *resultobj = 0;
17810 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17811 PyObject *result = 0 ;
17812 void *argp1 = 0 ;
17813 int res1 = 0 ;
17814 PyObject *swig_obj[1] ;
17815
17816 if (!args) SWIG_fail;
17817 swig_obj[0] = args;
17818 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17819 if (!SWIG_IsOK(res1)) {
17820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17821 }
17822 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17823 {
17824 PyThreadState* __tstate = wxPyBeginAllowThreads();
17825 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17826 wxPyEndAllowThreads(__tstate);
17827 if (PyErr_Occurred()) SWIG_fail;
17828 }
17829 resultobj = result;
17830 return resultobj;
17831fail:
17832 return NULL;
17833}
17834
17835
17836SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17837 PyObject *obj;
17838 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17839 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17840 return SWIG_Py_Void();
17841}
17842
17843SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17844 return SWIG_Python_InitShadowInstance(args);
17845}
17846
17847SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17848 PyObject *resultobj = 0;
17849 wxWindow *arg1 = (wxWindow *) 0 ;
17850 wxString *arg2 = 0 ;
17851 wxString *arg3 = 0 ;
17852 int arg4 ;
17853 wxString *arg5 = (wxString *) 0 ;
17854 long arg6 = (long) wxCHOICEDLG_STYLE ;
17855 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17856 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17857 wxSingleChoiceDialog *result = 0 ;
17858 void *argp1 = 0 ;
17859 int res1 = 0 ;
17860 bool temp2 = false ;
17861 bool temp3 = false ;
17862 long val6 ;
17863 int ecode6 = 0 ;
17864 wxPoint temp7 ;
17865 PyObject * obj0 = 0 ;
17866 PyObject * obj1 = 0 ;
17867 PyObject * obj2 = 0 ;
17868 PyObject * obj3 = 0 ;
17869 PyObject * obj4 = 0 ;
17870 PyObject * obj5 = 0 ;
17871 char * kwnames[] = {
17872 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17873 };
17874
17875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17877 if (!SWIG_IsOK(res1)) {
17878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17879 }
17880 arg1 = reinterpret_cast< wxWindow * >(argp1);
17881 {
17882 arg2 = wxString_in_helper(obj1);
17883 if (arg2 == NULL) SWIG_fail;
17884 temp2 = true;
17885 }
17886 {
17887 arg3 = wxString_in_helper(obj2);
17888 if (arg3 == NULL) SWIG_fail;
17889 temp3 = true;
17890 }
17891 {
17892 arg4 = PyList_Size(obj3);
17893 arg5 = wxString_LIST_helper(obj3);
17894 if (arg5 == NULL) SWIG_fail;
17895 }
17896 if (obj4) {
17897 ecode6 = SWIG_AsVal_long(obj4, &val6);
17898 if (!SWIG_IsOK(ecode6)) {
17899 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17900 }
17901 arg6 = static_cast< long >(val6);
17902 }
17903 if (obj5) {
36ed4f51 17904 {
1bd55598
RD
17905 arg7 = &temp7;
17906 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
36ed4f51 17907 }
1bd55598
RD
17908 }
17909 {
17910 if (!wxPyCheckForApp()) SWIG_fail;
17911 PyThreadState* __tstate = wxPyBeginAllowThreads();
17912 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17913 wxPyEndAllowThreads(__tstate);
17914 if (PyErr_Occurred()) SWIG_fail;
17915 }
17916 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
17917 {
17918 if (temp2)
17919 delete arg2;
17920 }
17921 {
17922 if (temp3)
17923 delete arg3;
17924 }
17925 {
17926 if (arg5) delete [] arg5;
17927 }
17928 return resultobj;
17929fail:
17930 {
17931 if (temp2)
17932 delete arg2;
17933 }
17934 {
17935 if (temp3)
17936 delete arg3;
17937 }
17938 {
17939 if (arg5) delete [] arg5;
17940 }
17941 return NULL;
d55e5bfc
RD
17942}
17943
17944
1bd55598
RD
17945SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17946 PyObject *resultobj = 0;
17947 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17948 int result;
17949 void *argp1 = 0 ;
17950 int res1 = 0 ;
17951 PyObject *swig_obj[1] ;
17952
17953 if (!args) SWIG_fail;
17954 swig_obj[0] = args;
17955 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17956 if (!SWIG_IsOK(res1)) {
17957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17958 }
17959 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17960 {
17961 PyThreadState* __tstate = wxPyBeginAllowThreads();
17962 result = (int)(arg1)->GetSelection();
17963 wxPyEndAllowThreads(__tstate);
17964 if (PyErr_Occurred()) SWIG_fail;
17965 }
17966 resultobj = SWIG_From_int(static_cast< int >(result));
17967 return resultobj;
17968fail:
17969 return NULL;
d55e5bfc
RD
17970}
17971
17972
1bd55598
RD
17973SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17974 PyObject *resultobj = 0;
17975 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17976 wxString result;
17977 void *argp1 = 0 ;
17978 int res1 = 0 ;
17979 PyObject *swig_obj[1] ;
17980
17981 if (!args) SWIG_fail;
17982 swig_obj[0] = args;
17983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17984 if (!SWIG_IsOK(res1)) {
17985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17986 }
17987 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17988 {
17989 PyThreadState* __tstate = wxPyBeginAllowThreads();
17990 result = (arg1)->GetStringSelection();
17991 wxPyEndAllowThreads(__tstate);
17992 if (PyErr_Occurred()) SWIG_fail;
17993 }
17994 {
17995#if wxUSE_UNICODE
17996 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17997#else
17998 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17999#endif
18000 }
18001 return resultobj;
18002fail:
18003 return NULL;
18004}
18005
18006
18007SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18008 PyObject *resultobj = 0;
18009 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18010 int arg2 ;
18011 void *argp1 = 0 ;
18012 int res1 = 0 ;
18013 int val2 ;
18014 int ecode2 = 0 ;
18015 PyObject * obj0 = 0 ;
18016 PyObject * obj1 = 0 ;
18017 char * kwnames[] = {
18018 (char *) "self",(char *) "sel", NULL
18019 };
18020
18021 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18022 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18023 if (!SWIG_IsOK(res1)) {
18024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18025 }
18026 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18027 ecode2 = SWIG_AsVal_int(obj1, &val2);
18028 if (!SWIG_IsOK(ecode2)) {
18029 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18030 }
18031 arg2 = static_cast< int >(val2);
18032 {
18033 PyThreadState* __tstate = wxPyBeginAllowThreads();
18034 (arg1)->SetSelection(arg2);
18035 wxPyEndAllowThreads(__tstate);
18036 if (PyErr_Occurred()) SWIG_fail;
18037 }
18038 resultobj = SWIG_Py_Void();
18039 return resultobj;
18040fail:
18041 return NULL;
18042}
18043
18044
18045SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18046 PyObject *obj;
18047 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18048 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18049 return SWIG_Py_Void();
18050}
18051
18052SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18053 return SWIG_Python_InitShadowInstance(args);
18054}
18055
18056SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18057 PyObject *resultobj = 0;
18058 wxWindow *arg1 = (wxWindow *) 0 ;
18059 wxString *arg2 = 0 ;
18060 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18061 wxString *arg3 = (wxString *) &arg3_defvalue ;
18062 wxString const &arg4_defvalue = wxPyEmptyString ;
18063 wxString *arg4 = (wxString *) &arg4_defvalue ;
18064 long arg5 = (long) wxTextEntryDialogStyle ;
18065 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18066 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18067 wxTextEntryDialog *result = 0 ;
18068 void *argp1 = 0 ;
18069 int res1 = 0 ;
18070 bool temp2 = false ;
18071 bool temp3 = false ;
18072 bool temp4 = false ;
18073 long val5 ;
18074 int ecode5 = 0 ;
18075 wxPoint temp6 ;
18076 PyObject * obj0 = 0 ;
18077 PyObject * obj1 = 0 ;
18078 PyObject * obj2 = 0 ;
18079 PyObject * obj3 = 0 ;
18080 PyObject * obj4 = 0 ;
18081 PyObject * obj5 = 0 ;
18082 char * kwnames[] = {
18083 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18084 };
18085
18086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18088 if (!SWIG_IsOK(res1)) {
18089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18090 }
18091 arg1 = reinterpret_cast< wxWindow * >(argp1);
18092 {
18093 arg2 = wxString_in_helper(obj1);
18094 if (arg2 == NULL) SWIG_fail;
18095 temp2 = true;
18096 }
18097 if (obj2) {
36ed4f51 18098 {
1bd55598
RD
18099 arg3 = wxString_in_helper(obj2);
18100 if (arg3 == NULL) SWIG_fail;
18101 temp3 = true;
36ed4f51 18102 }
1bd55598
RD
18103 }
18104 if (obj3) {
d55e5bfc 18105 {
1bd55598
RD
18106 arg4 = wxString_in_helper(obj3);
18107 if (arg4 == NULL) SWIG_fail;
18108 temp4 = true;
d55e5bfc 18109 }
1bd55598
RD
18110 }
18111 if (obj4) {
18112 ecode5 = SWIG_AsVal_long(obj4, &val5);
18113 if (!SWIG_IsOK(ecode5)) {
18114 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18115 }
18116 arg5 = static_cast< long >(val5);
18117 }
18118 if (obj5) {
d55e5bfc 18119 {
1bd55598
RD
18120 arg6 = &temp6;
18121 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 18122 }
1bd55598
RD
18123 }
18124 {
18125 if (!wxPyCheckForApp()) SWIG_fail;
18126 PyThreadState* __tstate = wxPyBeginAllowThreads();
18127 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18128 wxPyEndAllowThreads(__tstate);
18129 if (PyErr_Occurred()) SWIG_fail;
18130 }
18131 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18132 {
18133 if (temp2)
18134 delete arg2;
18135 }
18136 {
18137 if (temp3)
18138 delete arg3;
18139 }
18140 {
18141 if (temp4)
18142 delete arg4;
18143 }
18144 return resultobj;
18145fail:
18146 {
18147 if (temp2)
18148 delete arg2;
18149 }
18150 {
18151 if (temp3)
18152 delete arg3;
18153 }
18154 {
18155 if (temp4)
18156 delete arg4;
18157 }
18158 return NULL;
d55e5bfc
RD
18159}
18160
18161
1bd55598
RD
18162SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18163 PyObject *resultobj = 0;
18164 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18165 wxString result;
18166 void *argp1 = 0 ;
18167 int res1 = 0 ;
18168 PyObject *swig_obj[1] ;
18169
18170 if (!args) SWIG_fail;
18171 swig_obj[0] = args;
18172 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18173 if (!SWIG_IsOK(res1)) {
18174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18175 }
18176 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18177 {
18178 PyThreadState* __tstate = wxPyBeginAllowThreads();
18179 result = (arg1)->GetValue();
18180 wxPyEndAllowThreads(__tstate);
18181 if (PyErr_Occurred()) SWIG_fail;
18182 }
18183 {
18184#if wxUSE_UNICODE
18185 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18186#else
18187 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18188#endif
18189 }
18190 return resultobj;
18191fail:
18192 return NULL;
18193}
18194
18195
18196SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18197 PyObject *resultobj = 0;
18198 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18199 wxString *arg2 = 0 ;
18200 void *argp1 = 0 ;
18201 int res1 = 0 ;
18202 bool temp2 = false ;
18203 PyObject * obj0 = 0 ;
18204 PyObject * obj1 = 0 ;
18205 char * kwnames[] = {
18206 (char *) "self",(char *) "value", NULL
18207 };
18208
18209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18211 if (!SWIG_IsOK(res1)) {
18212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18213 }
18214 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18215 {
18216 arg2 = wxString_in_helper(obj1);
18217 if (arg2 == NULL) SWIG_fail;
18218 temp2 = true;
18219 }
18220 {
18221 PyThreadState* __tstate = wxPyBeginAllowThreads();
18222 (arg1)->SetValue((wxString const &)*arg2);
18223 wxPyEndAllowThreads(__tstate);
18224 if (PyErr_Occurred()) SWIG_fail;
18225 }
18226 resultobj = SWIG_Py_Void();
18227 {
18228 if (temp2)
18229 delete arg2;
18230 }
18231 return resultobj;
18232fail:
18233 {
18234 if (temp2)
18235 delete arg2;
18236 }
18237 return NULL;
7993762b
RD
18238}
18239
18240
1bd55598
RD
18241SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18242 PyObject *obj;
18243 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18244 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18245 return SWIG_Py_Void();
7993762b
RD
18246}
18247
1bd55598
RD
18248SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18249 return SWIG_Python_InitShadowInstance(args);
d55e5bfc 18250}
1bd55598
RD
18251
18252SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18253 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18254 return 1;
d55e5bfc
RD
18255}
18256
18257
1bd55598
RD
18258SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18259 PyObject *pyobj = 0;
18260
18261 {
d55e5bfc 18262#if wxUSE_UNICODE
1bd55598 18263 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
d55e5bfc 18264#else
1bd55598 18265 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
d55e5bfc 18266#endif
1bd55598
RD
18267 }
18268 return pyobj;
18269}
18270
18271
18272SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18273 PyObject *resultobj = 0;
18274 wxWindow *arg1 = (wxWindow *) 0 ;
18275 wxString *arg2 = 0 ;
18276 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18277 wxString *arg3 = (wxString *) &arg3_defvalue ;
18278 wxString const &arg4_defvalue = wxPyEmptyString ;
18279 wxString *arg4 = (wxString *) &arg4_defvalue ;
18280 long arg5 = (long) wxTextEntryDialogStyle ;
18281 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18282 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18283 wxPasswordEntryDialog *result = 0 ;
18284 void *argp1 = 0 ;
18285 int res1 = 0 ;
18286 bool temp2 = false ;
18287 bool temp3 = false ;
18288 bool temp4 = false ;
18289 long val5 ;
18290 int ecode5 = 0 ;
18291 wxPoint temp6 ;
18292 PyObject * obj0 = 0 ;
18293 PyObject * obj1 = 0 ;
18294 PyObject * obj2 = 0 ;
18295 PyObject * obj3 = 0 ;
18296 PyObject * obj4 = 0 ;
18297 PyObject * obj5 = 0 ;
18298 char * kwnames[] = {
18299 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18300 };
18301
18302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18304 if (!SWIG_IsOK(res1)) {
18305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18306 }
18307 arg1 = reinterpret_cast< wxWindow * >(argp1);
18308 {
18309 arg2 = wxString_in_helper(obj1);
18310 if (arg2 == NULL) SWIG_fail;
18311 temp2 = true;
18312 }
18313 if (obj2) {
d55e5bfc 18314 {
1bd55598
RD
18315 arg3 = wxString_in_helper(obj2);
18316 if (arg3 == NULL) SWIG_fail;
18317 temp3 = true;
d55e5bfc 18318 }
1bd55598
RD
18319 }
18320 if (obj3) {
d55e5bfc 18321 {
1bd55598
RD
18322 arg4 = wxString_in_helper(obj3);
18323 if (arg4 == NULL) SWIG_fail;
18324 temp4 = true;
d55e5bfc 18325 }
1bd55598
RD
18326 }
18327 if (obj4) {
18328 ecode5 = SWIG_AsVal_long(obj4, &val5);
18329 if (!SWIG_IsOK(ecode5)) {
18330 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18331 }
18332 arg5 = static_cast< long >(val5);
18333 }
18334 if (obj5) {
d55e5bfc 18335 {
1bd55598
RD
18336 arg6 = &temp6;
18337 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18338 }
18339 }
18340 {
18341 PyThreadState* __tstate = wxPyBeginAllowThreads();
18342 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18343 wxPyEndAllowThreads(__tstate);
18344 if (PyErr_Occurred()) SWIG_fail;
18345 }
18346 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18347 {
18348 if (temp2)
18349 delete arg2;
18350 }
18351 {
18352 if (temp3)
18353 delete arg3;
18354 }
18355 {
18356 if (temp4)
18357 delete arg4;
18358 }
18359 return resultobj;
18360fail:
18361 {
18362 if (temp2)
18363 delete arg2;
18364 }
18365 {
18366 if (temp3)
18367 delete arg3;
18368 }
18369 {
18370 if (temp4)
18371 delete arg4;
18372 }
18373 return NULL;
d55e5bfc
RD
18374}
18375
18376
1bd55598
RD
18377SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18378 PyObject *obj;
18379 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18380 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18381 return SWIG_Py_Void();
d55e5bfc
RD
18382}
18383
1bd55598
RD
18384SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18385 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
18386}
18387
27e45892
RD
18388SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18389 PyObject *resultobj = 0;
18390 wxWindow *arg1 = (wxWindow *) 0 ;
18391 wxString *arg2 = 0 ;
18392 wxString *arg3 = 0 ;
18393 wxString *arg4 = 0 ;
18394 long arg5 ;
18395 long arg6 ;
18396 long arg7 ;
18397 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18398 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18399 wxNumberEntryDialog *result = 0 ;
18400 void *argp1 = 0 ;
18401 int res1 = 0 ;
18402 bool temp2 = false ;
18403 bool temp3 = false ;
18404 bool temp4 = false ;
18405 long val5 ;
18406 int ecode5 = 0 ;
18407 long val6 ;
18408 int ecode6 = 0 ;
18409 long val7 ;
18410 int ecode7 = 0 ;
18411 wxPoint temp8 ;
18412 PyObject * obj0 = 0 ;
18413 PyObject * obj1 = 0 ;
18414 PyObject * obj2 = 0 ;
18415 PyObject * obj3 = 0 ;
18416 PyObject * obj4 = 0 ;
18417 PyObject * obj5 = 0 ;
18418 PyObject * obj6 = 0 ;
18419 PyObject * obj7 = 0 ;
18420 char * kwnames[] = {
18421 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18422 };
18423
18424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18426 if (!SWIG_IsOK(res1)) {
18427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18428 }
18429 arg1 = reinterpret_cast< wxWindow * >(argp1);
18430 {
18431 arg2 = wxString_in_helper(obj1);
18432 if (arg2 == NULL) SWIG_fail;
18433 temp2 = true;
18434 }
18435 {
18436 arg3 = wxString_in_helper(obj2);
18437 if (arg3 == NULL) SWIG_fail;
18438 temp3 = true;
18439 }
18440 {
18441 arg4 = wxString_in_helper(obj3);
18442 if (arg4 == NULL) SWIG_fail;
18443 temp4 = true;
18444 }
18445 ecode5 = SWIG_AsVal_long(obj4, &val5);
18446 if (!SWIG_IsOK(ecode5)) {
18447 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18448 }
18449 arg5 = static_cast< long >(val5);
18450 ecode6 = SWIG_AsVal_long(obj5, &val6);
18451 if (!SWIG_IsOK(ecode6)) {
18452 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18453 }
18454 arg6 = static_cast< long >(val6);
18455 ecode7 = SWIG_AsVal_long(obj6, &val7);
18456 if (!SWIG_IsOK(ecode7)) {
18457 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18458 }
18459 arg7 = static_cast< long >(val7);
18460 if (obj7) {
18461 {
18462 arg8 = &temp8;
18463 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
18464 }
18465 }
18466 {
18467 if (!wxPyCheckForApp()) SWIG_fail;
18468 PyThreadState* __tstate = wxPyBeginAllowThreads();
18469 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
18470 wxPyEndAllowThreads(__tstate);
18471 if (PyErr_Occurred()) SWIG_fail;
18472 }
18473 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
18474 {
18475 if (temp2)
18476 delete arg2;
18477 }
18478 {
18479 if (temp3)
18480 delete arg3;
18481 }
18482 {
18483 if (temp4)
18484 delete arg4;
18485 }
18486 return resultobj;
18487fail:
18488 {
18489 if (temp2)
18490 delete arg2;
18491 }
18492 {
18493 if (temp3)
18494 delete arg3;
18495 }
18496 {
18497 if (temp4)
18498 delete arg4;
18499 }
18500 return NULL;
18501}
18502
18503
18504SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18505 PyObject *resultobj = 0;
18506 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
18507 long result;
18508 void *argp1 = 0 ;
18509 int res1 = 0 ;
18510 PyObject *swig_obj[1] ;
18511
18512 if (!args) SWIG_fail;
18513 swig_obj[0] = args;
18514 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
18515 if (!SWIG_IsOK(res1)) {
18516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18517 }
18518 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
18519 {
18520 PyThreadState* __tstate = wxPyBeginAllowThreads();
18521 result = (long)(arg1)->GetValue();
18522 wxPyEndAllowThreads(__tstate);
18523 if (PyErr_Occurred()) SWIG_fail;
18524 }
18525 resultobj = SWIG_From_long(static_cast< long >(result));
18526 return resultobj;
18527fail:
18528 return NULL;
18529}
18530
18531
18532SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18533 PyObject *obj;
18534 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18535 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
18536 return SWIG_Py_Void();
18537}
18538
18539SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18540 return SWIG_Python_InitShadowInstance(args);
18541}
18542
1bd55598
RD
18543SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18544 PyObject *resultobj = 0;
18545 wxFontData *result = 0 ;
18546
18547 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18548 {
18549 PyThreadState* __tstate = wxPyBeginAllowThreads();
18550 result = (wxFontData *)new wxFontData();
18551 wxPyEndAllowThreads(__tstate);
18552 if (PyErr_Occurred()) SWIG_fail;
18553 }
18554 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18555 return resultobj;
18556fail:
18557 return NULL;
d55e5bfc
RD
18558}
18559
18560
1bd55598
RD
18561SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18562 PyObject *resultobj = 0;
18563 wxFontData *arg1 = (wxFontData *) 0 ;
18564 void *argp1 = 0 ;
18565 int res1 = 0 ;
18566 PyObject *swig_obj[1] ;
18567
18568 if (!args) SWIG_fail;
18569 swig_obj[0] = args;
18570 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18571 if (!SWIG_IsOK(res1)) {
18572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18573 }
18574 arg1 = reinterpret_cast< wxFontData * >(argp1);
18575 {
18576 PyThreadState* __tstate = wxPyBeginAllowThreads();
18577 delete arg1;
d55e5bfc 18578
1bd55598
RD
18579 wxPyEndAllowThreads(__tstate);
18580 if (PyErr_Occurred()) SWIG_fail;
18581 }
18582 resultobj = SWIG_Py_Void();
18583 return resultobj;
18584fail:
18585 return NULL;
18586}
18587
18588
18589SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18590 PyObject *resultobj = 0;
18591 wxFontData *arg1 = (wxFontData *) 0 ;
18592 bool arg2 ;
18593 void *argp1 = 0 ;
18594 int res1 = 0 ;
18595 bool val2 ;
18596 int ecode2 = 0 ;
18597 PyObject * obj0 = 0 ;
18598 PyObject * obj1 = 0 ;
18599 char * kwnames[] = {
18600 (char *) "self",(char *) "enable", NULL
18601 };
18602
18603 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18604 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18605 if (!SWIG_IsOK(res1)) {
18606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18607 }
18608 arg1 = reinterpret_cast< wxFontData * >(argp1);
18609 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18610 if (!SWIG_IsOK(ecode2)) {
18611 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18612 }
18613 arg2 = static_cast< bool >(val2);
18614 {
18615 PyThreadState* __tstate = wxPyBeginAllowThreads();
18616 (arg1)->EnableEffects(arg2);
18617 wxPyEndAllowThreads(__tstate);
18618 if (PyErr_Occurred()) SWIG_fail;
18619 }
18620 resultobj = SWIG_Py_Void();
18621 return resultobj;
18622fail:
18623 return NULL;
d55e5bfc
RD
18624}
18625
18626
1bd55598
RD
18627SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18628 PyObject *resultobj = 0;
18629 wxFontData *arg1 = (wxFontData *) 0 ;
18630 bool result;
18631 void *argp1 = 0 ;
18632 int res1 = 0 ;
18633 PyObject *swig_obj[1] ;
18634
18635 if (!args) SWIG_fail;
18636 swig_obj[0] = args;
18637 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18638 if (!SWIG_IsOK(res1)) {
18639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18640 }
18641 arg1 = reinterpret_cast< wxFontData * >(argp1);
18642 {
18643 PyThreadState* __tstate = wxPyBeginAllowThreads();
18644 result = (bool)(arg1)->GetAllowSymbols();
18645 wxPyEndAllowThreads(__tstate);
18646 if (PyErr_Occurred()) SWIG_fail;
18647 }
18648 {
18649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18650 }
18651 return resultobj;
18652fail:
18653 return NULL;
d55e5bfc
RD
18654}
18655
18656
1bd55598
RD
18657SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18658 PyObject *resultobj = 0;
18659 wxFontData *arg1 = (wxFontData *) 0 ;
18660 wxColour result;
18661 void *argp1 = 0 ;
18662 int res1 = 0 ;
18663 PyObject *swig_obj[1] ;
18664
18665 if (!args) SWIG_fail;
18666 swig_obj[0] = args;
18667 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18668 if (!SWIG_IsOK(res1)) {
18669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18670 }
18671 arg1 = reinterpret_cast< wxFontData * >(argp1);
18672 {
18673 PyThreadState* __tstate = wxPyBeginAllowThreads();
18674 result = (arg1)->GetColour();
18675 wxPyEndAllowThreads(__tstate);
18676 if (PyErr_Occurred()) SWIG_fail;
18677 }
18678 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18679 return resultobj;
18680fail:
18681 return NULL;
d55e5bfc
RD
18682}
18683
18684
1bd55598
RD
18685SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18686 PyObject *resultobj = 0;
18687 wxFontData *arg1 = (wxFontData *) 0 ;
18688 wxFont result;
18689 void *argp1 = 0 ;
18690 int res1 = 0 ;
18691 PyObject *swig_obj[1] ;
18692
18693 if (!args) SWIG_fail;
18694 swig_obj[0] = args;
18695 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18696 if (!SWIG_IsOK(res1)) {
18697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18698 }
18699 arg1 = reinterpret_cast< wxFontData * >(argp1);
18700 {
18701 PyThreadState* __tstate = wxPyBeginAllowThreads();
18702 result = (arg1)->GetChosenFont();
18703 wxPyEndAllowThreads(__tstate);
18704 if (PyErr_Occurred()) SWIG_fail;
18705 }
18706 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18707 return resultobj;
18708fail:
18709 return NULL;
d55e5bfc
RD
18710}
18711
18712
1bd55598
RD
18713SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18714 PyObject *resultobj = 0;
18715 wxFontData *arg1 = (wxFontData *) 0 ;
18716 bool result;
18717 void *argp1 = 0 ;
18718 int res1 = 0 ;
18719 PyObject *swig_obj[1] ;
18720
18721 if (!args) SWIG_fail;
18722 swig_obj[0] = args;
18723 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18724 if (!SWIG_IsOK(res1)) {
18725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18726 }
18727 arg1 = reinterpret_cast< wxFontData * >(argp1);
18728 {
18729 PyThreadState* __tstate = wxPyBeginAllowThreads();
18730 result = (bool)(arg1)->GetEnableEffects();
18731 wxPyEndAllowThreads(__tstate);
18732 if (PyErr_Occurred()) SWIG_fail;
18733 }
18734 {
18735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18736 }
18737 return resultobj;
18738fail:
18739 return NULL;
d55e5bfc
RD
18740}
18741
18742
1bd55598
RD
18743SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18744 PyObject *resultobj = 0;
18745 wxFontData *arg1 = (wxFontData *) 0 ;
18746 wxFont result;
18747 void *argp1 = 0 ;
18748 int res1 = 0 ;
18749 PyObject *swig_obj[1] ;
18750
18751 if (!args) SWIG_fail;
18752 swig_obj[0] = args;
18753 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18754 if (!SWIG_IsOK(res1)) {
18755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18756 }
18757 arg1 = reinterpret_cast< wxFontData * >(argp1);
18758 {
18759 PyThreadState* __tstate = wxPyBeginAllowThreads();
18760 result = (arg1)->GetInitialFont();
18761 wxPyEndAllowThreads(__tstate);
18762 if (PyErr_Occurred()) SWIG_fail;
18763 }
18764 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18765 return resultobj;
18766fail:
18767 return NULL;
d55e5bfc
RD
18768}
18769
18770
1bd55598
RD
18771SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18772 PyObject *resultobj = 0;
18773 wxFontData *arg1 = (wxFontData *) 0 ;
18774 bool result;
18775 void *argp1 = 0 ;
18776 int res1 = 0 ;
18777 PyObject *swig_obj[1] ;
18778
18779 if (!args) SWIG_fail;
18780 swig_obj[0] = args;
18781 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18782 if (!SWIG_IsOK(res1)) {
18783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18784 }
18785 arg1 = reinterpret_cast< wxFontData * >(argp1);
18786 {
18787 PyThreadState* __tstate = wxPyBeginAllowThreads();
18788 result = (bool)(arg1)->GetShowHelp();
18789 wxPyEndAllowThreads(__tstate);
18790 if (PyErr_Occurred()) SWIG_fail;
18791 }
18792 {
18793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18794 }
18795 return resultobj;
18796fail:
18797 return NULL;
18798}
18799
18800
18801SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18802 PyObject *resultobj = 0;
18803 wxFontData *arg1 = (wxFontData *) 0 ;
18804 bool arg2 ;
18805 void *argp1 = 0 ;
18806 int res1 = 0 ;
18807 bool val2 ;
18808 int ecode2 = 0 ;
18809 PyObject * obj0 = 0 ;
18810 PyObject * obj1 = 0 ;
18811 char * kwnames[] = {
18812 (char *) "self",(char *) "allowSymbols", NULL
18813 };
18814
18815 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
18816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18817 if (!SWIG_IsOK(res1)) {
18818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18819 }
18820 arg1 = reinterpret_cast< wxFontData * >(argp1);
18821 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18822 if (!SWIG_IsOK(ecode2)) {
18823 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18824 }
18825 arg2 = static_cast< bool >(val2);
18826 {
18827 PyThreadState* __tstate = wxPyBeginAllowThreads();
18828 (arg1)->SetAllowSymbols(arg2);
18829 wxPyEndAllowThreads(__tstate);
18830 if (PyErr_Occurred()) SWIG_fail;
18831 }
18832 resultobj = SWIG_Py_Void();
18833 return resultobj;
18834fail:
18835 return NULL;
18836}
18837
18838
18839SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18840 PyObject *resultobj = 0;
18841 wxFontData *arg1 = (wxFontData *) 0 ;
18842 wxFont *arg2 = 0 ;
18843 void *argp1 = 0 ;
18844 int res1 = 0 ;
18845 void *argp2 = 0 ;
18846 int res2 = 0 ;
18847 PyObject * obj0 = 0 ;
18848 PyObject * obj1 = 0 ;
18849 char * kwnames[] = {
18850 (char *) "self",(char *) "font", NULL
18851 };
18852
18853 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18855 if (!SWIG_IsOK(res1)) {
18856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18857 }
18858 arg1 = reinterpret_cast< wxFontData * >(argp1);
18859 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18860 if (!SWIG_IsOK(res2)) {
18861 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18862 }
18863 if (!argp2) {
18864 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18865 }
18866 arg2 = reinterpret_cast< wxFont * >(argp2);
18867 {
18868 PyThreadState* __tstate = wxPyBeginAllowThreads();
18869 (arg1)->SetChosenFont((wxFont const &)*arg2);
18870 wxPyEndAllowThreads(__tstate);
18871 if (PyErr_Occurred()) SWIG_fail;
18872 }
18873 resultobj = SWIG_Py_Void();
18874 return resultobj;
18875fail:
18876 return NULL;
18877}
18878
18879
18880SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18881 PyObject *resultobj = 0;
18882 wxFontData *arg1 = (wxFontData *) 0 ;
18883 wxColour *arg2 = 0 ;
18884 void *argp1 = 0 ;
18885 int res1 = 0 ;
18886 wxColour temp2 ;
18887 PyObject * obj0 = 0 ;
18888 PyObject * obj1 = 0 ;
18889 char * kwnames[] = {
18890 (char *) "self",(char *) "colour", NULL
18891 };
18892
18893 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
18894 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18895 if (!SWIG_IsOK(res1)) {
18896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18897 }
18898 arg1 = reinterpret_cast< wxFontData * >(argp1);
18899 {
18900 arg2 = &temp2;
18901 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18902 }
18903 {
18904 PyThreadState* __tstate = wxPyBeginAllowThreads();
18905 (arg1)->SetColour((wxColour const &)*arg2);
18906 wxPyEndAllowThreads(__tstate);
18907 if (PyErr_Occurred()) SWIG_fail;
18908 }
18909 resultobj = SWIG_Py_Void();
18910 return resultobj;
18911fail:
18912 return NULL;
18913}
18914
18915
18916SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18917 PyObject *resultobj = 0;
18918 wxFontData *arg1 = (wxFontData *) 0 ;
18919 wxFont *arg2 = 0 ;
18920 void *argp1 = 0 ;
18921 int res1 = 0 ;
18922 void *argp2 = 0 ;
18923 int res2 = 0 ;
18924 PyObject * obj0 = 0 ;
18925 PyObject * obj1 = 0 ;
18926 char * kwnames[] = {
18927 (char *) "self",(char *) "font", NULL
18928 };
18929
18930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
18931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18932 if (!SWIG_IsOK(res1)) {
18933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18934 }
18935 arg1 = reinterpret_cast< wxFontData * >(argp1);
18936 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18937 if (!SWIG_IsOK(res2)) {
18938 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18939 }
18940 if (!argp2) {
18941 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18942 }
18943 arg2 = reinterpret_cast< wxFont * >(argp2);
18944 {
18945 PyThreadState* __tstate = wxPyBeginAllowThreads();
18946 (arg1)->SetInitialFont((wxFont const &)*arg2);
18947 wxPyEndAllowThreads(__tstate);
18948 if (PyErr_Occurred()) SWIG_fail;
18949 }
18950 resultobj = SWIG_Py_Void();
18951 return resultobj;
18952fail:
18953 return NULL;
18954}
18955
18956
18957SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18958 PyObject *resultobj = 0;
18959 wxFontData *arg1 = (wxFontData *) 0 ;
18960 int arg2 ;
18961 int arg3 ;
18962 void *argp1 = 0 ;
18963 int res1 = 0 ;
18964 int val2 ;
18965 int ecode2 = 0 ;
18966 int val3 ;
18967 int ecode3 = 0 ;
18968 PyObject * obj0 = 0 ;
18969 PyObject * obj1 = 0 ;
18970 PyObject * obj2 = 0 ;
18971 char * kwnames[] = {
18972 (char *) "self",(char *) "min",(char *) "max", NULL
18973 };
18974
18975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18977 if (!SWIG_IsOK(res1)) {
18978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18979 }
18980 arg1 = reinterpret_cast< wxFontData * >(argp1);
18981 ecode2 = SWIG_AsVal_int(obj1, &val2);
18982 if (!SWIG_IsOK(ecode2)) {
18983 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18984 }
18985 arg2 = static_cast< int >(val2);
18986 ecode3 = SWIG_AsVal_int(obj2, &val3);
18987 if (!SWIG_IsOK(ecode3)) {
18988 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18989 }
18990 arg3 = static_cast< int >(val3);
18991 {
18992 PyThreadState* __tstate = wxPyBeginAllowThreads();
18993 (arg1)->SetRange(arg2,arg3);
18994 wxPyEndAllowThreads(__tstate);
18995 if (PyErr_Occurred()) SWIG_fail;
18996 }
18997 resultobj = SWIG_Py_Void();
18998 return resultobj;
18999fail:
19000 return NULL;
19001}
19002
19003
19004SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19005 PyObject *resultobj = 0;
19006 wxFontData *arg1 = (wxFontData *) 0 ;
19007 bool arg2 ;
19008 void *argp1 = 0 ;
19009 int res1 = 0 ;
19010 bool val2 ;
19011 int ecode2 = 0 ;
19012 PyObject * obj0 = 0 ;
19013 PyObject * obj1 = 0 ;
19014 char * kwnames[] = {
19015 (char *) "self",(char *) "showHelp", NULL
19016 };
19017
19018 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
19019 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19020 if (!SWIG_IsOK(res1)) {
19021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19022 }
19023 arg1 = reinterpret_cast< wxFontData * >(argp1);
19024 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19025 if (!SWIG_IsOK(ecode2)) {
19026 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19027 }
19028 arg2 = static_cast< bool >(val2);
19029 {
19030 PyThreadState* __tstate = wxPyBeginAllowThreads();
19031 (arg1)->SetShowHelp(arg2);
19032 wxPyEndAllowThreads(__tstate);
19033 if (PyErr_Occurred()) SWIG_fail;
19034 }
19035 resultobj = SWIG_Py_Void();
19036 return resultobj;
19037fail:
19038 return NULL;
d55e5bfc
RD
19039}
19040
19041
1bd55598
RD
19042SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19043 PyObject *obj;
19044 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19045 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19046 return SWIG_Py_Void();
d55e5bfc
RD
19047}
19048
1bd55598
RD
19049SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19050 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
19051}
19052
1bd55598
RD
19053SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19054 PyObject *resultobj = 0;
19055 wxWindow *arg1 = (wxWindow *) 0 ;
19056 wxFontData *arg2 = 0 ;
19057 wxFontDialog *result = 0 ;
19058 void *argp1 = 0 ;
19059 int res1 = 0 ;
19060 void *argp2 = 0 ;
19061 int res2 = 0 ;
19062 PyObject * obj0 = 0 ;
19063 PyObject * obj1 = 0 ;
19064 char * kwnames[] = {
19065 (char *) "parent",(char *) "data", NULL
19066 };
19067
19068 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19069 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19070 if (!SWIG_IsOK(res1)) {
19071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19072 }
19073 arg1 = reinterpret_cast< wxWindow * >(argp1);
19074 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19075 if (!SWIG_IsOK(res2)) {
19076 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19077 }
19078 if (!argp2) {
19079 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19080 }
19081 arg2 = reinterpret_cast< wxFontData * >(argp2);
19082 {
19083 if (!wxPyCheckForApp()) SWIG_fail;
19084 PyThreadState* __tstate = wxPyBeginAllowThreads();
19085 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19086 wxPyEndAllowThreads(__tstate);
19087 if (PyErr_Occurred()) SWIG_fail;
19088 }
19089 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19090 return resultobj;
19091fail:
19092 return NULL;
d55e5bfc
RD
19093}
19094
19095
1bd55598
RD
19096SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19097 PyObject *resultobj = 0;
19098 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19099 wxFontData *result = 0 ;
19100 void *argp1 = 0 ;
19101 int res1 = 0 ;
19102 PyObject *swig_obj[1] ;
19103
19104 if (!args) SWIG_fail;
19105 swig_obj[0] = args;
19106 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19107 if (!SWIG_IsOK(res1)) {
19108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19109 }
19110 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19111 {
19112 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 19113 {
1bd55598
RD
19114 wxFontData &_result_ref = (arg1)->GetFontData();
19115 result = (wxFontData *) &_result_ref;
36ed4f51 19116 }
1bd55598
RD
19117 wxPyEndAllowThreads(__tstate);
19118 if (PyErr_Occurred()) SWIG_fail;
19119 }
19120 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19121 return resultobj;
19122fail:
19123 return NULL;
19124}
19125
19126
19127SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19128 PyObject *obj;
19129 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19130 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19131 return SWIG_Py_Void();
19132}
19133
19134SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19135 return SWIG_Python_InitShadowInstance(args);
19136}
19137
19138SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19139 PyObject *resultobj = 0;
19140 wxWindow *arg1 = (wxWindow *) NULL ;
19141 wxFont const &arg2_defvalue = wxNullFont ;
19142 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19143 wxString const &arg3_defvalue = wxPyEmptyString ;
19144 wxString *arg3 = (wxString *) &arg3_defvalue ;
19145 wxFont result;
19146 void *argp1 = 0 ;
19147 int res1 = 0 ;
19148 void *argp2 = 0 ;
19149 int res2 = 0 ;
19150 bool temp3 = false ;
19151 PyObject * obj0 = 0 ;
19152 PyObject * obj1 = 0 ;
19153 PyObject * obj2 = 0 ;
19154 char * kwnames[] = {
19155 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19156 };
19157
19158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19159 if (obj0) {
19160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19161 if (!SWIG_IsOK(res1)) {
19162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
36ed4f51 19163 }
1bd55598
RD
19164 arg1 = reinterpret_cast< wxWindow * >(argp1);
19165 }
19166 if (obj1) {
19167 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19168 if (!SWIG_IsOK(res2)) {
19169 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
d55e5bfc 19170 }
1bd55598
RD
19171 if (!argp2) {
19172 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
d55e5bfc 19173 }
1bd55598
RD
19174 arg2 = reinterpret_cast< wxFont * >(argp2);
19175 }
19176 if (obj2) {
d55e5bfc 19177 {
1bd55598
RD
19178 arg3 = wxString_in_helper(obj2);
19179 if (arg3 == NULL) SWIG_fail;
19180 temp3 = true;
d55e5bfc 19181 }
1bd55598
RD
19182 }
19183 {
19184 PyThreadState* __tstate = wxPyBeginAllowThreads();
19185 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19186 wxPyEndAllowThreads(__tstate);
19187 if (PyErr_Occurred()) SWIG_fail;
19188 }
19189 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19190 {
19191 if (temp3)
19192 delete arg3;
19193 }
19194 return resultobj;
19195fail:
19196 {
19197 if (temp3)
19198 delete arg3;
19199 }
19200 return NULL;
19201}
19202
19203
19204SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19205 PyObject *resultobj = 0;
19206 wxWindow *arg1 = (wxWindow *) 0 ;
19207 wxString *arg2 = 0 ;
19208 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19209 wxString *arg3 = (wxString *) &arg3_defvalue ;
19210 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19211 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19212 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19213 wxMessageDialog *result = 0 ;
19214 void *argp1 = 0 ;
19215 int res1 = 0 ;
19216 bool temp2 = false ;
19217 bool temp3 = false ;
19218 long val4 ;
19219 int ecode4 = 0 ;
19220 wxPoint temp5 ;
19221 PyObject * obj0 = 0 ;
19222 PyObject * obj1 = 0 ;
19223 PyObject * obj2 = 0 ;
19224 PyObject * obj3 = 0 ;
19225 PyObject * obj4 = 0 ;
19226 char * kwnames[] = {
19227 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19228 };
19229
19230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19232 if (!SWIG_IsOK(res1)) {
19233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19234 }
19235 arg1 = reinterpret_cast< wxWindow * >(argp1);
19236 {
19237 arg2 = wxString_in_helper(obj1);
19238 if (arg2 == NULL) SWIG_fail;
19239 temp2 = true;
19240 }
19241 if (obj2) {
36ed4f51 19242 {
1bd55598
RD
19243 arg3 = wxString_in_helper(obj2);
19244 if (arg3 == NULL) SWIG_fail;
19245 temp3 = true;
36ed4f51 19246 }
1bd55598
RD
19247 }
19248 if (obj3) {
19249 ecode4 = SWIG_AsVal_long(obj3, &val4);
19250 if (!SWIG_IsOK(ecode4)) {
19251 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19252 }
19253 arg4 = static_cast< long >(val4);
19254 }
19255 if (obj4) {
36ed4f51 19256 {
1bd55598
RD
19257 arg5 = &temp5;
19258 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 19259 }
1bd55598
RD
19260 }
19261 {
19262 if (!wxPyCheckForApp()) SWIG_fail;
19263 PyThreadState* __tstate = wxPyBeginAllowThreads();
19264 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19265 wxPyEndAllowThreads(__tstate);
19266 if (PyErr_Occurred()) SWIG_fail;
19267 }
19268 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19269 {
19270 if (temp2)
19271 delete arg2;
19272 }
19273 {
19274 if (temp3)
19275 delete arg3;
19276 }
19277 return resultobj;
19278fail:
19279 {
19280 if (temp2)
19281 delete arg2;
19282 }
19283 {
19284 if (temp3)
19285 delete arg3;
19286 }
19287 return NULL;
19288}
19289
19290
19291SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19292 PyObject *obj;
19293 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19294 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19295 return SWIG_Py_Void();
19296}
19297
19298SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19299 return SWIG_Python_InitShadowInstance(args);
19300}
19301
19302SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19303 PyObject *resultobj = 0;
19304 wxString *arg1 = 0 ;
19305 wxString *arg2 = 0 ;
19306 int arg3 = (int) 100 ;
19307 wxWindow *arg4 = (wxWindow *) NULL ;
19308 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19309 wxProgressDialog *result = 0 ;
19310 bool temp1 = false ;
19311 bool temp2 = false ;
19312 int val3 ;
19313 int ecode3 = 0 ;
19314 void *argp4 = 0 ;
19315 int res4 = 0 ;
19316 int val5 ;
19317 int ecode5 = 0 ;
19318 PyObject * obj0 = 0 ;
19319 PyObject * obj1 = 0 ;
19320 PyObject * obj2 = 0 ;
19321 PyObject * obj3 = 0 ;
19322 PyObject * obj4 = 0 ;
19323 char * kwnames[] = {
19324 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19325 };
19326
19327 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19328 {
19329 arg1 = wxString_in_helper(obj0);
19330 if (arg1 == NULL) SWIG_fail;
19331 temp1 = true;
19332 }
19333 {
19334 arg2 = wxString_in_helper(obj1);
19335 if (arg2 == NULL) SWIG_fail;
19336 temp2 = true;
19337 }
19338 if (obj2) {
19339 ecode3 = SWIG_AsVal_int(obj2, &val3);
19340 if (!SWIG_IsOK(ecode3)) {
19341 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19342 }
19343 arg3 = static_cast< int >(val3);
19344 }
19345 if (obj3) {
19346 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19347 if (!SWIG_IsOK(res4)) {
19348 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
d55e5bfc 19349 }
1bd55598
RD
19350 arg4 = reinterpret_cast< wxWindow * >(argp4);
19351 }
19352 if (obj4) {
19353 ecode5 = SWIG_AsVal_int(obj4, &val5);
19354 if (!SWIG_IsOK(ecode5)) {
19355 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19356 }
19357 arg5 = static_cast< int >(val5);
19358 }
19359 {
19360 if (!wxPyCheckForApp()) SWIG_fail;
19361 PyThreadState* __tstate = wxPyBeginAllowThreads();
19362 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19363 wxPyEndAllowThreads(__tstate);
19364 if (PyErr_Occurred()) SWIG_fail;
19365 }
19366 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19367 {
19368 if (temp1)
19369 delete arg1;
19370 }
19371 {
19372 if (temp2)
19373 delete arg2;
19374 }
19375 return resultobj;
19376fail:
19377 {
19378 if (temp1)
19379 delete arg1;
19380 }
19381 {
19382 if (temp2)
19383 delete arg2;
19384 }
19385 return NULL;
19386}
19387
19388
19389SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19390 PyObject *resultobj = 0;
19391 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19392 int arg2 ;
19393 wxString const &arg3_defvalue = wxPyEmptyString ;
19394 wxString *arg3 = (wxString *) &arg3_defvalue ;
2131d850 19395 bool *arg4 = (bool *) 0 ;
1bd55598
RD
19396 bool result;
19397 void *argp1 = 0 ;
19398 int res1 = 0 ;
19399 int val2 ;
19400 int ecode2 = 0 ;
19401 bool temp3 = false ;
2131d850
RD
19402 bool temp4 ;
19403 int res4 = SWIG_TMPOBJ ;
1bd55598
RD
19404 PyObject * obj0 = 0 ;
19405 PyObject * obj1 = 0 ;
19406 PyObject * obj2 = 0 ;
19407 char * kwnames[] = {
19408 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19409 };
19410
2131d850 19411 arg4 = &temp4;
1bd55598
RD
19412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19414 if (!SWIG_IsOK(res1)) {
19415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19416 }
19417 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19418 ecode2 = SWIG_AsVal_int(obj1, &val2);
19419 if (!SWIG_IsOK(ecode2)) {
19420 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19421 }
19422 arg2 = static_cast< int >(val2);
19423 if (obj2) {
d55e5bfc 19424 {
1bd55598
RD
19425 arg3 = wxString_in_helper(obj2);
19426 if (arg3 == NULL) SWIG_fail;
19427 temp3 = true;
d55e5bfc 19428 }
1bd55598
RD
19429 }
19430 {
19431 PyThreadState* __tstate = wxPyBeginAllowThreads();
2131d850 19432 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
1bd55598
RD
19433 wxPyEndAllowThreads(__tstate);
19434 if (PyErr_Occurred()) SWIG_fail;
19435 }
19436 {
19437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19438 }
2131d850
RD
19439 if (SWIG_IsTmpObj(res4)) {
19440 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19441 } else {
19442 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19443 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19444 }
1bd55598
RD
19445 {
19446 if (temp3)
19447 delete arg3;
19448 }
19449 return resultobj;
19450fail:
19451 {
19452 if (temp3)
19453 delete arg3;
19454 }
19455 return NULL;
d55e5bfc
RD
19456}
19457
19458
6b449b19 19459SWIGINTERN PyObject *_wrap_ProgressDialog_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0d2c9713
RD
19460 PyObject *resultobj = 0;
19461 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19462 wxString const &arg2_defvalue = wxPyEmptyString ;
19463 wxString *arg2 = (wxString *) &arg2_defvalue ;
19464 bool *arg3 = (bool *) 0 ;
19465 bool result;
19466 void *argp1 = 0 ;
19467 int res1 = 0 ;
19468 bool temp2 = false ;
19469 bool temp3 ;
19470 int res3 = SWIG_TMPOBJ ;
19471 PyObject * obj0 = 0 ;
19472 PyObject * obj1 = 0 ;
19473 char * kwnames[] = {
19474 (char *) "self",(char *) "newmsg", NULL
19475 };
19476
19477 arg3 = &temp3;
6b449b19 19478 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_Pulse",kwnames,&obj0,&obj1)) SWIG_fail;
0d2c9713
RD
19479 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19480 if (!SWIG_IsOK(res1)) {
6b449b19 19481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
0d2c9713
RD
19482 }
19483 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19484 if (obj1) {
19485 {
19486 arg2 = wxString_in_helper(obj1);
19487 if (arg2 == NULL) SWIG_fail;
19488 temp2 = true;
19489 }
19490 }
19491 {
19492 PyThreadState* __tstate = wxPyBeginAllowThreads();
6b449b19 19493 result = (bool)(arg1)->Pulse((wxString const &)*arg2,arg3);
0d2c9713
RD
19494 wxPyEndAllowThreads(__tstate);
19495 if (PyErr_Occurred()) SWIG_fail;
19496 }
19497 {
19498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19499 }
19500 if (SWIG_IsTmpObj(res3)) {
19501 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg3)));
19502 } else {
19503 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19504 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_bool, new_flags));
19505 }
19506 {
19507 if (temp2)
19508 delete arg2;
19509 }
19510 return resultobj;
19511fail:
19512 {
19513 if (temp2)
19514 delete arg2;
19515 }
19516 return NULL;
19517}
19518
19519
1bd55598
RD
19520SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19521 PyObject *resultobj = 0;
19522 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19523 void *argp1 = 0 ;
19524 int res1 = 0 ;
19525 PyObject *swig_obj[1] ;
19526
19527 if (!args) SWIG_fail;
19528 swig_obj[0] = args;
19529 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19530 if (!SWIG_IsOK(res1)) {
19531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19532 }
19533 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19534 {
19535 PyThreadState* __tstate = wxPyBeginAllowThreads();
19536 (arg1)->Resume();
19537 wxPyEndAllowThreads(__tstate);
19538 if (PyErr_Occurred()) SWIG_fail;
19539 }
19540 resultobj = SWIG_Py_Void();
19541 return resultobj;
19542fail:
19543 return NULL;
d55e5bfc
RD
19544}
19545
19546
1bd55598
RD
19547SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19548 PyObject *obj;
19549 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19550 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19551 return SWIG_Py_Void();
d55e5bfc
RD
19552}
19553
1bd55598
RD
19554SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19555 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
19556}
19557
1bd55598
RD
19558SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19559 PyObject *resultobj = 0;
19560 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19561 int arg2 = (int) 0 ;
19562 wxFindDialogEvent *result = 0 ;
19563 int val1 ;
19564 int ecode1 = 0 ;
19565 int val2 ;
19566 int ecode2 = 0 ;
19567 PyObject * obj0 = 0 ;
19568 PyObject * obj1 = 0 ;
19569 char * kwnames[] = {
19570 (char *) "commandType",(char *) "id", NULL
19571 };
19572
19573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19574 if (obj0) {
19575 ecode1 = SWIG_AsVal_int(obj0, &val1);
19576 if (!SWIG_IsOK(ecode1)) {
19577 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19578 }
19579 arg1 = static_cast< wxEventType >(val1);
19580 }
19581 if (obj1) {
19582 ecode2 = SWIG_AsVal_int(obj1, &val2);
19583 if (!SWIG_IsOK(ecode2)) {
19584 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19585 }
19586 arg2 = static_cast< int >(val2);
19587 }
19588 {
19589 PyThreadState* __tstate = wxPyBeginAllowThreads();
19590 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19591 wxPyEndAllowThreads(__tstate);
19592 if (PyErr_Occurred()) SWIG_fail;
19593 }
19594 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19595 return resultobj;
19596fail:
19597 return NULL;
d55e5bfc
RD
19598}
19599
19600
1bd55598
RD
19601SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19602 PyObject *resultobj = 0;
19603 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19604 int result;
19605 void *argp1 = 0 ;
19606 int res1 = 0 ;
19607 PyObject *swig_obj[1] ;
19608
19609 if (!args) SWIG_fail;
19610 swig_obj[0] = args;
19611 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19612 if (!SWIG_IsOK(res1)) {
19613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19614 }
19615 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19616 {
19617 PyThreadState* __tstate = wxPyBeginAllowThreads();
19618 result = (int)(arg1)->GetFlags();
19619 wxPyEndAllowThreads(__tstate);
19620 if (PyErr_Occurred()) SWIG_fail;
19621 }
19622 resultobj = SWIG_From_int(static_cast< int >(result));
19623 return resultobj;
19624fail:
19625 return NULL;
d55e5bfc
RD
19626}
19627
19628
1bd55598
RD
19629SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19630 PyObject *resultobj = 0;
19631 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19632 wxString *result = 0 ;
19633 void *argp1 = 0 ;
19634 int res1 = 0 ;
19635 PyObject *swig_obj[1] ;
19636
19637 if (!args) SWIG_fail;
19638 swig_obj[0] = args;
19639 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19640 if (!SWIG_IsOK(res1)) {
19641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19642 }
19643 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19644 {
19645 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 19646 {
1bd55598
RD
19647 wxString const &_result_ref = (arg1)->GetFindString();
19648 result = (wxString *) &_result_ref;
d55e5bfc 19649 }
1bd55598
RD
19650 wxPyEndAllowThreads(__tstate);
19651 if (PyErr_Occurred()) SWIG_fail;
19652 }
19653 {
19654#if wxUSE_UNICODE
19655 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19656#else
19657 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19658#endif
19659 }
19660 return resultobj;
19661fail:
19662 return NULL;
d55e5bfc
RD
19663}
19664
19665
1bd55598
RD
19666SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19667 PyObject *resultobj = 0;
19668 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19669 wxString *result = 0 ;
19670 void *argp1 = 0 ;
19671 int res1 = 0 ;
19672 PyObject *swig_obj[1] ;
19673
19674 if (!args) SWIG_fail;
19675 swig_obj[0] = args;
19676 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19677 if (!SWIG_IsOK(res1)) {
19678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19679 }
19680 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19681 {
19682 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 19683 {
1bd55598
RD
19684 wxString const &_result_ref = (arg1)->GetReplaceString();
19685 result = (wxString *) &_result_ref;
d55e5bfc 19686 }
1bd55598
RD
19687 wxPyEndAllowThreads(__tstate);
19688 if (PyErr_Occurred()) SWIG_fail;
19689 }
19690 {
19691#if wxUSE_UNICODE
19692 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19693#else
19694 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19695#endif
19696 }
19697 return resultobj;
19698fail:
19699 return NULL;
d55e5bfc
RD
19700}
19701
19702
1bd55598
RD
19703SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19704 PyObject *resultobj = 0;
19705 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19706 wxFindReplaceDialog *result = 0 ;
19707 void *argp1 = 0 ;
19708 int res1 = 0 ;
19709 PyObject *swig_obj[1] ;
19710
19711 if (!args) SWIG_fail;
19712 swig_obj[0] = args;
19713 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19714 if (!SWIG_IsOK(res1)) {
19715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19716 }
19717 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19718 {
19719 PyThreadState* __tstate = wxPyBeginAllowThreads();
19720 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19721 wxPyEndAllowThreads(__tstate);
19722 if (PyErr_Occurred()) SWIG_fail;
19723 }
19724 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19725 return resultobj;
19726fail:
19727 return NULL;
19728}
19729
19730
19731SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19732 PyObject *resultobj = 0;
19733 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19734 int arg2 ;
19735 void *argp1 = 0 ;
19736 int res1 = 0 ;
19737 int val2 ;
19738 int ecode2 = 0 ;
19739 PyObject * obj0 = 0 ;
19740 PyObject * obj1 = 0 ;
19741 char * kwnames[] = {
19742 (char *) "self",(char *) "flags", NULL
19743 };
19744
19745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19746 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19747 if (!SWIG_IsOK(res1)) {
19748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19749 }
19750 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19751 ecode2 = SWIG_AsVal_int(obj1, &val2);
19752 if (!SWIG_IsOK(ecode2)) {
19753 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19754 }
19755 arg2 = static_cast< int >(val2);
19756 {
19757 PyThreadState* __tstate = wxPyBeginAllowThreads();
19758 (arg1)->SetFlags(arg2);
19759 wxPyEndAllowThreads(__tstate);
19760 if (PyErr_Occurred()) SWIG_fail;
19761 }
19762 resultobj = SWIG_Py_Void();
19763 return resultobj;
19764fail:
19765 return NULL;
19766}
19767
19768
19769SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19770 PyObject *resultobj = 0;
19771 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19772 wxString *arg2 = 0 ;
19773 void *argp1 = 0 ;
19774 int res1 = 0 ;
19775 bool temp2 = false ;
19776 PyObject * obj0 = 0 ;
19777 PyObject * obj1 = 0 ;
19778 char * kwnames[] = {
19779 (char *) "self",(char *) "str", NULL
19780 };
19781
19782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19783 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19784 if (!SWIG_IsOK(res1)) {
19785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19786 }
19787 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19788 {
19789 arg2 = wxString_in_helper(obj1);
19790 if (arg2 == NULL) SWIG_fail;
19791 temp2 = true;
19792 }
19793 {
19794 PyThreadState* __tstate = wxPyBeginAllowThreads();
19795 (arg1)->SetFindString((wxString const &)*arg2);
19796 wxPyEndAllowThreads(__tstate);
19797 if (PyErr_Occurred()) SWIG_fail;
19798 }
19799 resultobj = SWIG_Py_Void();
19800 {
19801 if (temp2)
19802 delete arg2;
19803 }
19804 return resultobj;
19805fail:
19806 {
19807 if (temp2)
19808 delete arg2;
19809 }
19810 return NULL;
d55e5bfc
RD
19811}
19812
19813
1bd55598
RD
19814SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19815 PyObject *resultobj = 0;
19816 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19817 wxString *arg2 = 0 ;
19818 void *argp1 = 0 ;
19819 int res1 = 0 ;
19820 bool temp2 = false ;
19821 PyObject * obj0 = 0 ;
19822 PyObject * obj1 = 0 ;
19823 char * kwnames[] = {
19824 (char *) "self",(char *) "str", NULL
19825 };
19826
19827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19829 if (!SWIG_IsOK(res1)) {
19830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19831 }
19832 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19833 {
19834 arg2 = wxString_in_helper(obj1);
19835 if (arg2 == NULL) SWIG_fail;
19836 temp2 = true;
19837 }
19838 {
19839 PyThreadState* __tstate = wxPyBeginAllowThreads();
19840 (arg1)->SetReplaceString((wxString const &)*arg2);
19841 wxPyEndAllowThreads(__tstate);
19842 if (PyErr_Occurred()) SWIG_fail;
19843 }
19844 resultobj = SWIG_Py_Void();
19845 {
19846 if (temp2)
19847 delete arg2;
19848 }
19849 return resultobj;
19850fail:
19851 {
19852 if (temp2)
19853 delete arg2;
19854 }
19855 return NULL;
d55e5bfc
RD
19856}
19857
19858
1bd55598
RD
19859SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19860 PyObject *obj;
19861 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19862 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19863 return SWIG_Py_Void();
d55e5bfc
RD
19864}
19865
1bd55598
RD
19866SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19867 return SWIG_Python_InitShadowInstance(args);
19868}
d55e5bfc 19869
1bd55598
RD
19870SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19871 PyObject *resultobj = 0;
19872 int arg1 = (int) 0 ;
19873 wxFindReplaceData *result = 0 ;
19874 int val1 ;
19875 int ecode1 = 0 ;
19876 PyObject * obj0 = 0 ;
19877 char * kwnames[] = {
19878 (char *) "flags", NULL
19879 };
19880
19881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
19882 if (obj0) {
19883 ecode1 = SWIG_AsVal_int(obj0, &val1);
19884 if (!SWIG_IsOK(ecode1)) {
19885 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19886 }
19887 arg1 = static_cast< int >(val1);
19888 }
19889 {
19890 PyThreadState* __tstate = wxPyBeginAllowThreads();
19891 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
19892 wxPyEndAllowThreads(__tstate);
19893 if (PyErr_Occurred()) SWIG_fail;
19894 }
19895 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
19896 return resultobj;
19897fail:
19898 return NULL;
d6c14a4c
RD
19899}
19900
19901
1bd55598
RD
19902SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19903 PyObject *resultobj = 0;
19904 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19905 void *argp1 = 0 ;
19906 int res1 = 0 ;
19907 PyObject *swig_obj[1] ;
19908
19909 if (!args) SWIG_fail;
19910 swig_obj[0] = args;
19911 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
19912 if (!SWIG_IsOK(res1)) {
19913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19914 }
19915 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19916 {
19917 PyThreadState* __tstate = wxPyBeginAllowThreads();
19918 delete arg1;
d55e5bfc 19919
1bd55598
RD
19920 wxPyEndAllowThreads(__tstate);
19921 if (PyErr_Occurred()) SWIG_fail;
19922 }
19923 resultobj = SWIG_Py_Void();
19924 return resultobj;
19925fail:
19926 return NULL;
d55e5bfc
RD
19927}
19928
19929
1bd55598
RD
19930SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19931 PyObject *resultobj = 0;
19932 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19933 wxString *result = 0 ;
19934 void *argp1 = 0 ;
19935 int res1 = 0 ;
19936 PyObject *swig_obj[1] ;
19937
19938 if (!args) SWIG_fail;
19939 swig_obj[0] = args;
19940 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19941 if (!SWIG_IsOK(res1)) {
19942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19943 }
19944 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19945 {
19946 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 19947 {
1bd55598
RD
19948 wxString const &_result_ref = (arg1)->GetFindString();
19949 result = (wxString *) &_result_ref;
19950 }
19951 wxPyEndAllowThreads(__tstate);
19952 if (PyErr_Occurred()) SWIG_fail;
19953 }
19954 {
19955#if wxUSE_UNICODE
19956 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19957#else
19958 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19959#endif
19960 }
19961 return resultobj;
19962fail:
19963 return NULL;
7e08d4ef
RD
19964}
19965
19966
1bd55598
RD
19967SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19968 PyObject *resultobj = 0;
19969 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19970 wxString *result = 0 ;
19971 void *argp1 = 0 ;
19972 int res1 = 0 ;
19973 PyObject *swig_obj[1] ;
19974
19975 if (!args) SWIG_fail;
19976 swig_obj[0] = args;
19977 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19978 if (!SWIG_IsOK(res1)) {
19979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19980 }
19981 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19982 {
19983 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 19984 {
1bd55598
RD
19985 wxString const &_result_ref = (arg1)->GetReplaceString();
19986 result = (wxString *) &_result_ref;
36ed4f51 19987 }
1bd55598
RD
19988 wxPyEndAllowThreads(__tstate);
19989 if (PyErr_Occurred()) SWIG_fail;
19990 }
19991 {
19992#if wxUSE_UNICODE
19993 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19994#else
19995 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19996#endif
19997 }
19998 return resultobj;
19999fail:
20000 return NULL;
d55e5bfc
RD
20001}
20002
20003
1bd55598
RD
20004SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20005 PyObject *resultobj = 0;
20006 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20007 int result;
20008 void *argp1 = 0 ;
20009 int res1 = 0 ;
20010 PyObject *swig_obj[1] ;
20011
20012 if (!args) SWIG_fail;
20013 swig_obj[0] = args;
20014 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20015 if (!SWIG_IsOK(res1)) {
20016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20017 }
20018 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20019 {
20020 PyThreadState* __tstate = wxPyBeginAllowThreads();
20021 result = (int)(arg1)->GetFlags();
20022 wxPyEndAllowThreads(__tstate);
20023 if (PyErr_Occurred()) SWIG_fail;
20024 }
20025 resultobj = SWIG_From_int(static_cast< int >(result));
20026 return resultobj;
20027fail:
20028 return NULL;
20029}
20030
20031
20032SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20033 PyObject *resultobj = 0;
20034 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20035 int arg2 ;
20036 void *argp1 = 0 ;
20037 int res1 = 0 ;
20038 int val2 ;
20039 int ecode2 = 0 ;
20040 PyObject * obj0 = 0 ;
20041 PyObject * obj1 = 0 ;
20042 char * kwnames[] = {
20043 (char *) "self",(char *) "flags", NULL
20044 };
20045
20046 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20047 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20048 if (!SWIG_IsOK(res1)) {
20049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20050 }
20051 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20052 ecode2 = SWIG_AsVal_int(obj1, &val2);
20053 if (!SWIG_IsOK(ecode2)) {
20054 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20055 }
20056 arg2 = static_cast< int >(val2);
20057 {
20058 PyThreadState* __tstate = wxPyBeginAllowThreads();
20059 (arg1)->SetFlags(arg2);
20060 wxPyEndAllowThreads(__tstate);
20061 if (PyErr_Occurred()) SWIG_fail;
20062 }
20063 resultobj = SWIG_Py_Void();
20064 return resultobj;
20065fail:
20066 return NULL;
20067}
20068
20069
20070SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20071 PyObject *resultobj = 0;
20072 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20073 wxString *arg2 = 0 ;
20074 void *argp1 = 0 ;
20075 int res1 = 0 ;
20076 bool temp2 = false ;
20077 PyObject * obj0 = 0 ;
20078 PyObject * obj1 = 0 ;
20079 char * kwnames[] = {
20080 (char *) "self",(char *) "str", NULL
20081 };
20082
20083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20085 if (!SWIG_IsOK(res1)) {
20086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20087 }
20088 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20089 {
20090 arg2 = wxString_in_helper(obj1);
20091 if (arg2 == NULL) SWIG_fail;
20092 temp2 = true;
20093 }
20094 {
20095 PyThreadState* __tstate = wxPyBeginAllowThreads();
20096 (arg1)->SetFindString((wxString const &)*arg2);
20097 wxPyEndAllowThreads(__tstate);
20098 if (PyErr_Occurred()) SWIG_fail;
20099 }
20100 resultobj = SWIG_Py_Void();
20101 {
20102 if (temp2)
20103 delete arg2;
20104 }
20105 return resultobj;
20106fail:
20107 {
20108 if (temp2)
20109 delete arg2;
20110 }
20111 return NULL;
d55e5bfc
RD
20112}
20113
20114
1bd55598
RD
20115SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20116 PyObject *resultobj = 0;
20117 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20118 wxString *arg2 = 0 ;
20119 void *argp1 = 0 ;
20120 int res1 = 0 ;
20121 bool temp2 = false ;
20122 PyObject * obj0 = 0 ;
20123 PyObject * obj1 = 0 ;
20124 char * kwnames[] = {
20125 (char *) "self",(char *) "str", NULL
20126 };
20127
20128 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20129 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20130 if (!SWIG_IsOK(res1)) {
20131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20132 }
20133 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20134 {
20135 arg2 = wxString_in_helper(obj1);
20136 if (arg2 == NULL) SWIG_fail;
20137 temp2 = true;
20138 }
20139 {
20140 PyThreadState* __tstate = wxPyBeginAllowThreads();
20141 (arg1)->SetReplaceString((wxString const &)*arg2);
20142 wxPyEndAllowThreads(__tstate);
20143 if (PyErr_Occurred()) SWIG_fail;
20144 }
20145 resultobj = SWIG_Py_Void();
20146 {
20147 if (temp2)
20148 delete arg2;
20149 }
20150 return resultobj;
20151fail:
20152 {
20153 if (temp2)
20154 delete arg2;
20155 }
20156 return NULL;
20157}
20158
20159
20160SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20161 PyObject *obj;
20162 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20163 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20164 return SWIG_Py_Void();
20165}
20166
20167SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20168 return SWIG_Python_InitShadowInstance(args);
20169}
20170
20171SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20172 PyObject *resultobj = 0;
20173 wxWindow *arg1 = (wxWindow *) 0 ;
20174 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20175 wxString *arg3 = 0 ;
20176 int arg4 = (int) 0 ;
20177 wxFindReplaceDialog *result = 0 ;
20178 void *argp1 = 0 ;
20179 int res1 = 0 ;
20180 void *argp2 = 0 ;
20181 int res2 = 0 ;
20182 bool temp3 = false ;
20183 int val4 ;
20184 int ecode4 = 0 ;
20185 PyObject * obj0 = 0 ;
20186 PyObject * obj1 = 0 ;
20187 PyObject * obj2 = 0 ;
20188 PyObject * obj3 = 0 ;
20189 char * kwnames[] = {
20190 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20191 };
20192
20193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20195 if (!SWIG_IsOK(res1)) {
20196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20197 }
20198 arg1 = reinterpret_cast< wxWindow * >(argp1);
20199 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20200 if (!SWIG_IsOK(res2)) {
20201 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20202 }
20203 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20204 {
20205 arg3 = wxString_in_helper(obj2);
20206 if (arg3 == NULL) SWIG_fail;
20207 temp3 = true;
20208 }
20209 if (obj3) {
20210 ecode4 = SWIG_AsVal_int(obj3, &val4);
20211 if (!SWIG_IsOK(ecode4)) {
20212 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20213 }
20214 arg4 = static_cast< int >(val4);
20215 }
20216 {
20217 if (!wxPyCheckForApp()) SWIG_fail;
20218 PyThreadState* __tstate = wxPyBeginAllowThreads();
20219 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20220 wxPyEndAllowThreads(__tstate);
20221 if (PyErr_Occurred()) SWIG_fail;
20222 }
20223 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20224 {
20225 if (temp3)
20226 delete arg3;
20227 }
20228 return resultobj;
20229fail:
20230 {
20231 if (temp3)
20232 delete arg3;
20233 }
20234 return NULL;
b411df4a
RD
20235}
20236
20237
1bd55598
RD
20238SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20239 PyObject *resultobj = 0;
20240 wxFindReplaceDialog *result = 0 ;
20241
20242 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20243 {
20244 if (!wxPyCheckForApp()) SWIG_fail;
20245 PyThreadState* __tstate = wxPyBeginAllowThreads();
20246 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20247 wxPyEndAllowThreads(__tstate);
20248 if (PyErr_Occurred()) SWIG_fail;
20249 }
20250 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20251 return resultobj;
20252fail:
20253 return NULL;
20254}
20255
20256
20257SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20258 PyObject *resultobj = 0;
20259 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20260 wxWindow *arg2 = (wxWindow *) 0 ;
20261 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20262 wxString *arg4 = 0 ;
20263 int arg5 = (int) 0 ;
20264 bool result;
20265 void *argp1 = 0 ;
20266 int res1 = 0 ;
20267 void *argp2 = 0 ;
20268 int res2 = 0 ;
20269 void *argp3 = 0 ;
20270 int res3 = 0 ;
20271 bool temp4 = false ;
20272 int val5 ;
20273 int ecode5 = 0 ;
20274 PyObject * obj0 = 0 ;
20275 PyObject * obj1 = 0 ;
20276 PyObject * obj2 = 0 ;
20277 PyObject * obj3 = 0 ;
20278 PyObject * obj4 = 0 ;
20279 char * kwnames[] = {
20280 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20281 };
20282
20283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20285 if (!SWIG_IsOK(res1)) {
20286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20287 }
20288 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20289 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20290 if (!SWIG_IsOK(res2)) {
20291 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20292 }
20293 arg2 = reinterpret_cast< wxWindow * >(argp2);
20294 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20295 if (!SWIG_IsOK(res3)) {
20296 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20297 }
20298 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20299 {
20300 arg4 = wxString_in_helper(obj3);
20301 if (arg4 == NULL) SWIG_fail;
20302 temp4 = true;
20303 }
20304 if (obj4) {
20305 ecode5 = SWIG_AsVal_int(obj4, &val5);
20306 if (!SWIG_IsOK(ecode5)) {
20307 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20308 }
20309 arg5 = static_cast< int >(val5);
20310 }
20311 {
20312 PyThreadState* __tstate = wxPyBeginAllowThreads();
20313 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20314 wxPyEndAllowThreads(__tstate);
20315 if (PyErr_Occurred()) SWIG_fail;
20316 }
20317 {
20318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20319 }
20320 {
20321 if (temp4)
20322 delete arg4;
20323 }
20324 return resultobj;
20325fail:
20326 {
20327 if (temp4)
20328 delete arg4;
20329 }
20330 return NULL;
b411df4a
RD
20331}
20332
20333
1bd55598
RD
20334SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20335 PyObject *resultobj = 0;
20336 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20337 wxFindReplaceData *result = 0 ;
20338 void *argp1 = 0 ;
20339 int res1 = 0 ;
20340 PyObject *swig_obj[1] ;
20341
20342 if (!args) SWIG_fail;
20343 swig_obj[0] = args;
20344 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20345 if (!SWIG_IsOK(res1)) {
20346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20347 }
20348 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20349 {
20350 PyThreadState* __tstate = wxPyBeginAllowThreads();
20351 result = (wxFindReplaceData *)(arg1)->GetData();
20352 wxPyEndAllowThreads(__tstate);
20353 if (PyErr_Occurred()) SWIG_fail;
20354 }
20355 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20356 return resultobj;
20357fail:
20358 return NULL;
20359}
20360
20361
20362SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20363 PyObject *resultobj = 0;
20364 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20365 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20366 void *argp1 = 0 ;
20367 int res1 = 0 ;
20368 void *argp2 = 0 ;
20369 int res2 = 0 ;
20370 PyObject * obj0 = 0 ;
20371 PyObject * obj1 = 0 ;
20372 char * kwnames[] = {
20373 (char *) "self",(char *) "data", NULL
20374 };
20375
20376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20378 if (!SWIG_IsOK(res1)) {
20379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20380 }
20381 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20382 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20383 if (!SWIG_IsOK(res2)) {
20384 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20385 }
20386 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20387 {
20388 PyThreadState* __tstate = wxPyBeginAllowThreads();
20389 (arg1)->SetData(arg2);
20390 wxPyEndAllowThreads(__tstate);
20391 if (PyErr_Occurred()) SWIG_fail;
20392 }
20393 resultobj = SWIG_Py_Void();
20394 return resultobj;
20395fail:
20396 return NULL;
20397}
20398
20399
20400SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20401 PyObject *obj;
20402 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20403 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20404 return SWIG_Py_Void();
20405}
20406
20407SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20408 return SWIG_Python_InitShadowInstance(args);
20409}
20410
20411SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20412 PyObject *resultobj = 0;
20413 wxWindow *arg1 = (wxWindow *) 0 ;
20414 int arg2 = (int) (int)-1 ;
20415 wxString const &arg3_defvalue = wxPyEmptyString ;
20416 wxString *arg3 = (wxString *) &arg3_defvalue ;
20417 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20418 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20419 wxSize const &arg5_defvalue = wxDefaultSize ;
20420 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20421 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20422 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20423 wxString *arg7 = (wxString *) &arg7_defvalue ;
20424 wxMDIParentFrame *result = 0 ;
20425 void *argp1 = 0 ;
20426 int res1 = 0 ;
20427 int val2 ;
20428 int ecode2 = 0 ;
20429 bool temp3 = false ;
20430 wxPoint temp4 ;
20431 wxSize temp5 ;
20432 long val6 ;
20433 int ecode6 = 0 ;
20434 bool temp7 = false ;
20435 PyObject * obj0 = 0 ;
20436 PyObject * obj1 = 0 ;
20437 PyObject * obj2 = 0 ;
20438 PyObject * obj3 = 0 ;
20439 PyObject * obj4 = 0 ;
20440 PyObject * obj5 = 0 ;
20441 PyObject * obj6 = 0 ;
20442 char * kwnames[] = {
20443 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20444 };
20445
20446 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20447 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20448 if (!SWIG_IsOK(res1)) {
20449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20450 }
20451 arg1 = reinterpret_cast< wxWindow * >(argp1);
20452 if (obj1) {
20453 ecode2 = SWIG_AsVal_int(obj1, &val2);
20454 if (!SWIG_IsOK(ecode2)) {
20455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20456 }
20457 arg2 = static_cast< int >(val2);
20458 }
20459 if (obj2) {
b411df4a 20460 {
1bd55598
RD
20461 arg3 = wxString_in_helper(obj2);
20462 if (arg3 == NULL) SWIG_fail;
20463 temp3 = true;
b411df4a 20464 }
1bd55598
RD
20465 }
20466 if (obj3) {
b411df4a 20467 {
1bd55598
RD
20468 arg4 = &temp4;
20469 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
b411df4a 20470 }
1bd55598
RD
20471 }
20472 if (obj4) {
b411df4a 20473 {
1bd55598
RD
20474 arg5 = &temp5;
20475 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
b411df4a 20476 }
1bd55598
RD
20477 }
20478 if (obj5) {
20479 ecode6 = SWIG_AsVal_long(obj5, &val6);
20480 if (!SWIG_IsOK(ecode6)) {
20481 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20482 }
20483 arg6 = static_cast< long >(val6);
20484 }
20485 if (obj6) {
b411df4a 20486 {
1bd55598
RD
20487 arg7 = wxString_in_helper(obj6);
20488 if (arg7 == NULL) SWIG_fail;
20489 temp7 = true;
b411df4a 20490 }
1bd55598
RD
20491 }
20492 {
20493 if (!wxPyCheckForApp()) SWIG_fail;
20494 PyThreadState* __tstate = wxPyBeginAllowThreads();
20495 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20496 wxPyEndAllowThreads(__tstate);
20497 if (PyErr_Occurred()) SWIG_fail;
20498 }
20499 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20500 {
20501 if (temp3)
20502 delete arg3;
20503 }
20504 {
20505 if (temp7)
20506 delete arg7;
20507 }
20508 return resultobj;
20509fail:
20510 {
20511 if (temp3)
20512 delete arg3;
20513 }
20514 {
20515 if (temp7)
20516 delete arg7;
20517 }
20518 return NULL;
b411df4a
RD
20519}
20520
20521
1bd55598
RD
20522SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20523 PyObject *resultobj = 0;
20524 wxMDIParentFrame *result = 0 ;
20525
20526 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20527 {
20528 if (!wxPyCheckForApp()) SWIG_fail;
20529 PyThreadState* __tstate = wxPyBeginAllowThreads();
20530 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20531 wxPyEndAllowThreads(__tstate);
20532 if (PyErr_Occurred()) SWIG_fail;
20533 }
20534 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20535 return resultobj;
20536fail:
20537 return NULL;
20538}
20539
20540
20541SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20542 PyObject *resultobj = 0;
20543 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20544 wxWindow *arg2 = (wxWindow *) 0 ;
20545 int arg3 = (int) (int)-1 ;
20546 wxString const &arg4_defvalue = wxPyEmptyString ;
20547 wxString *arg4 = (wxString *) &arg4_defvalue ;
20548 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20549 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20550 wxSize const &arg6_defvalue = wxDefaultSize ;
20551 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20552 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20553 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20554 wxString *arg8 = (wxString *) &arg8_defvalue ;
20555 bool result;
20556 void *argp1 = 0 ;
20557 int res1 = 0 ;
20558 void *argp2 = 0 ;
20559 int res2 = 0 ;
20560 int val3 ;
20561 int ecode3 = 0 ;
20562 bool temp4 = false ;
20563 wxPoint temp5 ;
20564 wxSize temp6 ;
20565 long val7 ;
20566 int ecode7 = 0 ;
20567 bool temp8 = false ;
20568 PyObject * obj0 = 0 ;
20569 PyObject * obj1 = 0 ;
20570 PyObject * obj2 = 0 ;
20571 PyObject * obj3 = 0 ;
20572 PyObject * obj4 = 0 ;
20573 PyObject * obj5 = 0 ;
20574 PyObject * obj6 = 0 ;
20575 PyObject * obj7 = 0 ;
20576 char * kwnames[] = {
20577 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20578 };
20579
20580 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20581 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20582 if (!SWIG_IsOK(res1)) {
20583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20584 }
20585 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20586 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20587 if (!SWIG_IsOK(res2)) {
20588 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20589 }
20590 arg2 = reinterpret_cast< wxWindow * >(argp2);
20591 if (obj2) {
20592 ecode3 = SWIG_AsVal_int(obj2, &val3);
20593 if (!SWIG_IsOK(ecode3)) {
20594 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20595 }
20596 arg3 = static_cast< int >(val3);
20597 }
20598 if (obj3) {
b411df4a 20599 {
1bd55598
RD
20600 arg4 = wxString_in_helper(obj3);
20601 if (arg4 == NULL) SWIG_fail;
20602 temp4 = true;
b411df4a 20603 }
1bd55598
RD
20604 }
20605 if (obj4) {
b411df4a 20606 {
1bd55598
RD
20607 arg5 = &temp5;
20608 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
b411df4a 20609 }
1bd55598
RD
20610 }
20611 if (obj5) {
b411df4a 20612 {
1bd55598
RD
20613 arg6 = &temp6;
20614 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
b411df4a 20615 }
1bd55598
RD
20616 }
20617 if (obj6) {
20618 ecode7 = SWIG_AsVal_long(obj6, &val7);
20619 if (!SWIG_IsOK(ecode7)) {
20620 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20621 }
20622 arg7 = static_cast< long >(val7);
20623 }
20624 if (obj7) {
36ed4f51 20625 {
1bd55598
RD
20626 arg8 = wxString_in_helper(obj7);
20627 if (arg8 == NULL) SWIG_fail;
20628 temp8 = true;
36ed4f51 20629 }
1bd55598
RD
20630 }
20631 {
20632 PyThreadState* __tstate = wxPyBeginAllowThreads();
20633 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20634 wxPyEndAllowThreads(__tstate);
20635 if (PyErr_Occurred()) SWIG_fail;
20636 }
20637 {
20638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20639 }
20640 {
20641 if (temp4)
20642 delete arg4;
20643 }
20644 {
20645 if (temp8)
20646 delete arg8;
20647 }
20648 return resultobj;
20649fail:
20650 {
20651 if (temp4)
20652 delete arg4;
20653 }
20654 {
20655 if (temp8)
20656 delete arg8;
20657 }
20658 return NULL;
d55e5bfc
RD
20659}
20660
20661
1bd55598
RD
20662SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20663 PyObject *resultobj = 0;
20664 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20665 void *argp1 = 0 ;
20666 int res1 = 0 ;
20667 PyObject *swig_obj[1] ;
20668
20669 if (!args) SWIG_fail;
20670 swig_obj[0] = args;
20671 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20672 if (!SWIG_IsOK(res1)) {
20673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20674 }
20675 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20676 {
20677 PyThreadState* __tstate = wxPyBeginAllowThreads();
20678 (arg1)->ActivateNext();
20679 wxPyEndAllowThreads(__tstate);
20680 if (PyErr_Occurred()) SWIG_fail;
20681 }
20682 resultobj = SWIG_Py_Void();
20683 return resultobj;
20684fail:
20685 return NULL;
d55e5bfc
RD
20686}
20687
20688
1bd55598
RD
20689SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20690 PyObject *resultobj = 0;
20691 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20692 void *argp1 = 0 ;
20693 int res1 = 0 ;
20694 PyObject *swig_obj[1] ;
20695
20696 if (!args) SWIG_fail;
20697 swig_obj[0] = args;
20698 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20699 if (!SWIG_IsOK(res1)) {
20700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20701 }
20702 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20703 {
20704 PyThreadState* __tstate = wxPyBeginAllowThreads();
20705 (arg1)->ActivatePrevious();
20706 wxPyEndAllowThreads(__tstate);
20707 if (PyErr_Occurred()) SWIG_fail;
20708 }
20709 resultobj = SWIG_Py_Void();
20710 return resultobj;
20711fail:
20712 return NULL;
d55e5bfc
RD
20713}
20714
20715
1bd55598
RD
20716SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20717 PyObject *resultobj = 0;
20718 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20719 void *argp1 = 0 ;
20720 int res1 = 0 ;
20721 PyObject *swig_obj[1] ;
20722
20723 if (!args) SWIG_fail;
20724 swig_obj[0] = args;
20725 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20726 if (!SWIG_IsOK(res1)) {
20727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20728 }
20729 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20730 {
20731 PyThreadState* __tstate = wxPyBeginAllowThreads();
20732 (arg1)->ArrangeIcons();
20733 wxPyEndAllowThreads(__tstate);
20734 if (PyErr_Occurred()) SWIG_fail;
20735 }
20736 resultobj = SWIG_Py_Void();
20737 return resultobj;
20738fail:
20739 return NULL;
d55e5bfc
RD
20740}
20741
20742
1bd55598
RD
20743SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20744 PyObject *resultobj = 0;
20745 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20746 void *argp1 = 0 ;
20747 int res1 = 0 ;
20748 PyObject *swig_obj[1] ;
20749
20750 if (!args) SWIG_fail;
20751 swig_obj[0] = args;
20752 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20753 if (!SWIG_IsOK(res1)) {
20754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20755 }
20756 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20757 {
20758 PyThreadState* __tstate = wxPyBeginAllowThreads();
20759 (arg1)->Cascade();
20760 wxPyEndAllowThreads(__tstate);
20761 if (PyErr_Occurred()) SWIG_fail;
20762 }
20763 resultobj = SWIG_Py_Void();
20764 return resultobj;
20765fail:
20766 return NULL;
d55e5bfc
RD
20767}
20768
20769
1bd55598
RD
20770SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20771 PyObject *resultobj = 0;
20772 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20773 wxMDIChildFrame *result = 0 ;
20774 void *argp1 = 0 ;
20775 int res1 = 0 ;
20776 PyObject *swig_obj[1] ;
20777
20778 if (!args) SWIG_fail;
20779 swig_obj[0] = args;
20780 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20781 if (!SWIG_IsOK(res1)) {
20782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20783 }
20784 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20785 {
20786 PyThreadState* __tstate = wxPyBeginAllowThreads();
20787 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20788 wxPyEndAllowThreads(__tstate);
20789 if (PyErr_Occurred()) SWIG_fail;
20790 }
20791 {
20792 resultobj = wxPyMake_wxObject(result, (bool)0);
20793 }
20794 return resultobj;
20795fail:
20796 return NULL;
d55e5bfc
RD
20797}
20798
20799
1bd55598
RD
20800SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20801 PyObject *resultobj = 0;
20802 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20803 wxMDIClientWindow *result = 0 ;
20804 void *argp1 = 0 ;
20805 int res1 = 0 ;
20806 PyObject *swig_obj[1] ;
20807
20808 if (!args) SWIG_fail;
20809 swig_obj[0] = args;
20810 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20811 if (!SWIG_IsOK(res1)) {
20812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20813 }
20814 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20815 {
20816 PyThreadState* __tstate = wxPyBeginAllowThreads();
20817 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20818 wxPyEndAllowThreads(__tstate);
20819 if (PyErr_Occurred()) SWIG_fail;
20820 }
20821 {
20822 resultobj = wxPyMake_wxObject(result, (bool)0);
20823 }
20824 return resultobj;
20825fail:
20826 return NULL;
d55e5bfc
RD
20827}
20828
20829
1bd55598
RD
20830SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20831 PyObject *resultobj = 0;
20832 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20833 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20834 void *argp1 = 0 ;
20835 int res1 = 0 ;
20836 int val2 ;
20837 int ecode2 = 0 ;
20838 PyObject * obj0 = 0 ;
20839 PyObject * obj1 = 0 ;
20840 char * kwnames[] = {
20841 (char *) "self",(char *) "orient", NULL
20842 };
20843
20844 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
20845 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20846 if (!SWIG_IsOK(res1)) {
20847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20848 }
20849 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20850 if (obj1) {
20851 ecode2 = SWIG_AsVal_int(obj1, &val2);
20852 if (!SWIG_IsOK(ecode2)) {
20853 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20854 }
20855 arg2 = static_cast< wxOrientation >(val2);
20856 }
20857 {
20858 PyThreadState* __tstate = wxPyBeginAllowThreads();
20859 (arg1)->Tile(arg2);
20860 wxPyEndAllowThreads(__tstate);
20861 if (PyErr_Occurred()) SWIG_fail;
20862 }
20863 resultobj = SWIG_Py_Void();
20864 return resultobj;
20865fail:
20866 return NULL;
20867}
20868
20869
20870SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20871 PyObject *obj;
20872 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20873 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
20874 return SWIG_Py_Void();
20875}
20876
20877SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20878 return SWIG_Python_InitShadowInstance(args);
20879}
20880
20881SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20882 PyObject *resultobj = 0;
20883 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20884 int arg2 = (int) (int)-1 ;
20885 wxString const &arg3_defvalue = wxPyEmptyString ;
20886 wxString *arg3 = (wxString *) &arg3_defvalue ;
20887 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20888 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20889 wxSize const &arg5_defvalue = wxDefaultSize ;
20890 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20891 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20892 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20893 wxString *arg7 = (wxString *) &arg7_defvalue ;
20894 wxMDIChildFrame *result = 0 ;
20895 void *argp1 = 0 ;
20896 int res1 = 0 ;
20897 int val2 ;
20898 int ecode2 = 0 ;
20899 bool temp3 = false ;
20900 wxPoint temp4 ;
20901 wxSize temp5 ;
20902 long val6 ;
20903 int ecode6 = 0 ;
20904 bool temp7 = false ;
20905 PyObject * obj0 = 0 ;
20906 PyObject * obj1 = 0 ;
20907 PyObject * obj2 = 0 ;
20908 PyObject * obj3 = 0 ;
20909 PyObject * obj4 = 0 ;
20910 PyObject * obj5 = 0 ;
20911 PyObject * obj6 = 0 ;
20912 char * kwnames[] = {
20913 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20914 };
20915
20916 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20918 if (!SWIG_IsOK(res1)) {
20919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20920 }
20921 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20922 if (obj1) {
20923 ecode2 = SWIG_AsVal_int(obj1, &val2);
20924 if (!SWIG_IsOK(ecode2)) {
20925 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20926 }
20927 arg2 = static_cast< int >(val2);
20928 }
20929 if (obj2) {
d55e5bfc 20930 {
1bd55598
RD
20931 arg3 = wxString_in_helper(obj2);
20932 if (arg3 == NULL) SWIG_fail;
20933 temp3 = true;
d55e5bfc 20934 }
1bd55598
RD
20935 }
20936 if (obj3) {
d55e5bfc 20937 {
1bd55598
RD
20938 arg4 = &temp4;
20939 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 20940 }
1bd55598
RD
20941 }
20942 if (obj4) {
d55e5bfc 20943 {
1bd55598
RD
20944 arg5 = &temp5;
20945 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 20946 }
1bd55598
RD
20947 }
20948 if (obj5) {
20949 ecode6 = SWIG_AsVal_long(obj5, &val6);
20950 if (!SWIG_IsOK(ecode6)) {
20951 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20952 }
20953 arg6 = static_cast< long >(val6);
20954 }
20955 if (obj6) {
d55e5bfc 20956 {
1bd55598
RD
20957 arg7 = wxString_in_helper(obj6);
20958 if (arg7 == NULL) SWIG_fail;
20959 temp7 = true;
d55e5bfc 20960 }
1bd55598
RD
20961 }
20962 {
20963 if (!wxPyCheckForApp()) SWIG_fail;
20964 PyThreadState* __tstate = wxPyBeginAllowThreads();
20965 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20966 wxPyEndAllowThreads(__tstate);
20967 if (PyErr_Occurred()) SWIG_fail;
20968 }
20969 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
20970 {
20971 if (temp3)
20972 delete arg3;
20973 }
20974 {
20975 if (temp7)
20976 delete arg7;
20977 }
20978 return resultobj;
20979fail:
20980 {
20981 if (temp3)
20982 delete arg3;
20983 }
20984 {
20985 if (temp7)
20986 delete arg7;
20987 }
20988 return NULL;
d55e5bfc
RD
20989}
20990
20991
1bd55598
RD
20992SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20993 PyObject *resultobj = 0;
20994 wxMDIChildFrame *result = 0 ;
20995
20996 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
20997 {
20998 if (!wxPyCheckForApp()) SWIG_fail;
20999 PyThreadState* __tstate = wxPyBeginAllowThreads();
21000 result = (wxMDIChildFrame *)new wxMDIChildFrame();
21001 wxPyEndAllowThreads(__tstate);
21002 if (PyErr_Occurred()) SWIG_fail;
21003 }
21004 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
21005 return resultobj;
21006fail:
21007 return NULL;
21008}
21009
21010
21011SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21012 PyObject *resultobj = 0;
21013 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21014 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21015 int arg3 = (int) (int)-1 ;
21016 wxString const &arg4_defvalue = wxPyEmptyString ;
21017 wxString *arg4 = (wxString *) &arg4_defvalue ;
21018 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21019 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21020 wxSize const &arg6_defvalue = wxDefaultSize ;
21021 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21022 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
21023 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21024 wxString *arg8 = (wxString *) &arg8_defvalue ;
21025 bool result;
21026 void *argp1 = 0 ;
21027 int res1 = 0 ;
21028 void *argp2 = 0 ;
21029 int res2 = 0 ;
21030 int val3 ;
21031 int ecode3 = 0 ;
21032 bool temp4 = false ;
21033 wxPoint temp5 ;
21034 wxSize temp6 ;
21035 long val7 ;
21036 int ecode7 = 0 ;
21037 bool temp8 = false ;
21038 PyObject * obj0 = 0 ;
21039 PyObject * obj1 = 0 ;
21040 PyObject * obj2 = 0 ;
21041 PyObject * obj3 = 0 ;
21042 PyObject * obj4 = 0 ;
21043 PyObject * obj5 = 0 ;
21044 PyObject * obj6 = 0 ;
21045 PyObject * obj7 = 0 ;
21046 char * kwnames[] = {
21047 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21048 };
21049
21050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21052 if (!SWIG_IsOK(res1)) {
21053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21054 }
21055 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21056 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21057 if (!SWIG_IsOK(res2)) {
21058 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21059 }
21060 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21061 if (obj2) {
21062 ecode3 = SWIG_AsVal_int(obj2, &val3);
21063 if (!SWIG_IsOK(ecode3)) {
21064 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21065 }
21066 arg3 = static_cast< int >(val3);
21067 }
21068 if (obj3) {
36ed4f51 21069 {
1bd55598
RD
21070 arg4 = wxString_in_helper(obj3);
21071 if (arg4 == NULL) SWIG_fail;
21072 temp4 = true;
36ed4f51 21073 }
1bd55598
RD
21074 }
21075 if (obj4) {
d55e5bfc 21076 {
1bd55598
RD
21077 arg5 = &temp5;
21078 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 21079 }
1bd55598
RD
21080 }
21081 if (obj5) {
d55e5bfc 21082 {
1bd55598
RD
21083 arg6 = &temp6;
21084 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 21085 }
1bd55598
RD
21086 }
21087 if (obj6) {
21088 ecode7 = SWIG_AsVal_long(obj6, &val7);
21089 if (!SWIG_IsOK(ecode7)) {
21090 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21091 }
21092 arg7 = static_cast< long >(val7);
21093 }
21094 if (obj7) {
36ed4f51 21095 {
1bd55598
RD
21096 arg8 = wxString_in_helper(obj7);
21097 if (arg8 == NULL) SWIG_fail;
21098 temp8 = true;
36ed4f51 21099 }
1bd55598
RD
21100 }
21101 {
21102 PyThreadState* __tstate = wxPyBeginAllowThreads();
21103 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21104 wxPyEndAllowThreads(__tstate);
21105 if (PyErr_Occurred()) SWIG_fail;
21106 }
21107 {
21108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21109 }
21110 {
21111 if (temp4)
21112 delete arg4;
21113 }
21114 {
21115 if (temp8)
21116 delete arg8;
21117 }
21118 return resultobj;
21119fail:
21120 {
21121 if (temp4)
21122 delete arg4;
21123 }
21124 {
21125 if (temp8)
21126 delete arg8;
21127 }
21128 return NULL;
d55e5bfc
RD
21129}
21130
21131
1bd55598
RD
21132SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21133 PyObject *resultobj = 0;
21134 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21135 void *argp1 = 0 ;
21136 int res1 = 0 ;
21137 PyObject *swig_obj[1] ;
21138
21139 if (!args) SWIG_fail;
21140 swig_obj[0] = args;
21141 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21142 if (!SWIG_IsOK(res1)) {
21143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21144 }
21145 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21146 {
21147 PyThreadState* __tstate = wxPyBeginAllowThreads();
21148 (arg1)->Activate();
21149 wxPyEndAllowThreads(__tstate);
21150 if (PyErr_Occurred()) SWIG_fail;
21151 }
21152 resultobj = SWIG_Py_Void();
21153 return resultobj;
21154fail:
21155 return NULL;
d55e5bfc
RD
21156}
21157
21158
1bd55598
RD
21159SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21160 PyObject *obj;
21161 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21162 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21163 return SWIG_Py_Void();
d55e5bfc
RD
21164}
21165
1bd55598
RD
21166SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21167 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
21168}
21169
1bd55598
RD
21170SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21171 PyObject *resultobj = 0;
21172 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21173 long arg2 = (long) 0 ;
21174 wxMDIClientWindow *result = 0 ;
21175 void *argp1 = 0 ;
21176 int res1 = 0 ;
21177 long val2 ;
21178 int ecode2 = 0 ;
21179 PyObject * obj0 = 0 ;
21180 PyObject * obj1 = 0 ;
21181 char * kwnames[] = {
21182 (char *) "parent",(char *) "style", NULL
21183 };
21184
21185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21187 if (!SWIG_IsOK(res1)) {
21188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21189 }
21190 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21191 if (obj1) {
21192 ecode2 = SWIG_AsVal_long(obj1, &val2);
21193 if (!SWIG_IsOK(ecode2)) {
21194 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21195 }
21196 arg2 = static_cast< long >(val2);
21197 }
21198 {
21199 if (!wxPyCheckForApp()) SWIG_fail;
21200 PyThreadState* __tstate = wxPyBeginAllowThreads();
21201 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21202 wxPyEndAllowThreads(__tstate);
21203 if (PyErr_Occurred()) SWIG_fail;
21204 }
21205 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21206 return resultobj;
21207fail:
21208 return NULL;
d55e5bfc
RD
21209}
21210
21211
1bd55598
RD
21212SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21213 PyObject *resultobj = 0;
21214 wxMDIClientWindow *result = 0 ;
21215
21216 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21217 {
21218 if (!wxPyCheckForApp()) SWIG_fail;
21219 PyThreadState* __tstate = wxPyBeginAllowThreads();
21220 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21221 wxPyEndAllowThreads(__tstate);
21222 if (PyErr_Occurred()) SWIG_fail;
21223 }
21224 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21225 return resultobj;
21226fail:
21227 return NULL;
21228}
21229
21230
21231SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21232 PyObject *resultobj = 0;
21233 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21234 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21235 long arg3 = (long) 0 ;
21236 bool result;
21237 void *argp1 = 0 ;
21238 int res1 = 0 ;
21239 void *argp2 = 0 ;
21240 int res2 = 0 ;
21241 long val3 ;
21242 int ecode3 = 0 ;
21243 PyObject * obj0 = 0 ;
21244 PyObject * obj1 = 0 ;
21245 PyObject * obj2 = 0 ;
21246 char * kwnames[] = {
21247 (char *) "self",(char *) "parent",(char *) "style", NULL
21248 };
21249
21250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21252 if (!SWIG_IsOK(res1)) {
21253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21254 }
21255 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21256 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21257 if (!SWIG_IsOK(res2)) {
21258 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21259 }
21260 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21261 if (obj2) {
21262 ecode3 = SWIG_AsVal_long(obj2, &val3);
21263 if (!SWIG_IsOK(ecode3)) {
21264 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21265 }
21266 arg3 = static_cast< long >(val3);
21267 }
21268 {
21269 PyThreadState* __tstate = wxPyBeginAllowThreads();
21270 result = (bool)(arg1)->Create(arg2,arg3);
21271 wxPyEndAllowThreads(__tstate);
21272 if (PyErr_Occurred()) SWIG_fail;
21273 }
21274 {
21275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21276 }
21277 return resultobj;
21278fail:
21279 return NULL;
21280}
21281
21282
21283SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21284 PyObject *obj;
21285 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21286 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21287 return SWIG_Py_Void();
21288}
21289
21290SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21291 return SWIG_Python_InitShadowInstance(args);
21292}
21293
21294SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21295 PyObject *resultobj = 0;
21296 wxWindow *arg1 = (wxWindow *) 0 ;
21297 int arg2 = (int) (int)-1 ;
21298 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21299 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21300 wxSize const &arg4_defvalue = wxDefaultSize ;
21301 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21302 long arg5 = (long) 0 ;
21303 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21304 wxString *arg6 = (wxString *) &arg6_defvalue ;
21305 wxPyWindow *result = 0 ;
21306 void *argp1 = 0 ;
21307 int res1 = 0 ;
21308 int val2 ;
21309 int ecode2 = 0 ;
21310 wxPoint temp3 ;
21311 wxSize temp4 ;
21312 long val5 ;
21313 int ecode5 = 0 ;
21314 bool temp6 = false ;
21315 PyObject * obj0 = 0 ;
21316 PyObject * obj1 = 0 ;
21317 PyObject * obj2 = 0 ;
21318 PyObject * obj3 = 0 ;
21319 PyObject * obj4 = 0 ;
21320 PyObject * obj5 = 0 ;
21321 char * kwnames[] = {
21322 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21323 };
21324
21325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21327 if (!SWIG_IsOK(res1)) {
21328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21329 }
21330 arg1 = reinterpret_cast< wxWindow * >(argp1);
21331 if (obj1) {
21332 ecode2 = SWIG_AsVal_int(obj1, &val2);
21333 if (!SWIG_IsOK(ecode2)) {
21334 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21335 }
21336 arg2 = static_cast< int >(val2);
21337 }
21338 if (obj2) {
32fe5131 21339 {
1bd55598
RD
21340 arg3 = &temp3;
21341 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32fe5131 21342 }
1bd55598
RD
21343 }
21344 if (obj3) {
32fe5131 21345 {
1bd55598
RD
21346 arg4 = &temp4;
21347 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32fe5131 21348 }
1bd55598
RD
21349 }
21350 if (obj4) {
21351 ecode5 = SWIG_AsVal_long(obj4, &val5);
21352 if (!SWIG_IsOK(ecode5)) {
21353 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21354 }
21355 arg5 = static_cast< long >(val5);
21356 }
21357 if (obj5) {
32fe5131 21358 {
1bd55598
RD
21359 arg6 = wxString_in_helper(obj5);
21360 if (arg6 == NULL) SWIG_fail;
21361 temp6 = true;
32fe5131 21362 }
1bd55598
RD
21363 }
21364 {
21365 if (!wxPyCheckForApp()) SWIG_fail;
21366 PyThreadState* __tstate = wxPyBeginAllowThreads();
21367 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21368 wxPyEndAllowThreads(__tstate);
21369 if (PyErr_Occurred()) SWIG_fail;
21370 }
21371 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21372 {
21373 if (temp6)
21374 delete arg6;
21375 }
21376 return resultobj;
21377fail:
21378 {
21379 if (temp6)
21380 delete arg6;
21381 }
21382 return NULL;
32fe5131
RD
21383}
21384
21385
1bd55598
RD
21386SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21387 PyObject *resultobj = 0;
21388 wxPyWindow *result = 0 ;
21389
21390 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21391 {
21392 if (!wxPyCheckForApp()) SWIG_fail;
21393 PyThreadState* __tstate = wxPyBeginAllowThreads();
21394 result = (wxPyWindow *)new wxPyWindow();
21395 wxPyEndAllowThreads(__tstate);
21396 if (PyErr_Occurred()) SWIG_fail;
21397 }
21398 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21399 return resultobj;
21400fail:
21401 return NULL;
21402}
21403
21404
21405SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21406 PyObject *resultobj = 0;
21407 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21408 PyObject *arg2 = (PyObject *) 0 ;
21409 PyObject *arg3 = (PyObject *) 0 ;
21410 void *argp1 = 0 ;
21411 int res1 = 0 ;
21412 PyObject * obj0 = 0 ;
21413 PyObject * obj1 = 0 ;
21414 PyObject * obj2 = 0 ;
21415 char * kwnames[] = {
21416 (char *) "self",(char *) "self",(char *) "_class", NULL
21417 };
21418
21419 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21420 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21421 if (!SWIG_IsOK(res1)) {
21422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21423 }
21424 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21425 arg2 = obj1;
21426 arg3 = obj2;
21427 {
21428 PyThreadState* __tstate = wxPyBeginAllowThreads();
21429 (arg1)->_setCallbackInfo(arg2,arg3);
21430 wxPyEndAllowThreads(__tstate);
21431 if (PyErr_Occurred()) SWIG_fail;
21432 }
21433 resultobj = SWIG_Py_Void();
21434 return resultobj;
21435fail:
21436 return NULL;
21437}
21438
21439
1bd55598
RD
21440SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21441 PyObject *resultobj = 0;
21442 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21443 wxDC *arg2 = (wxDC *) 0 ;
21444 bool result;
21445 void *argp1 = 0 ;
21446 int res1 = 0 ;
21447 void *argp2 = 0 ;
21448 int res2 = 0 ;
21449 PyObject * obj0 = 0 ;
21450 PyObject * obj1 = 0 ;
21451 char * kwnames[] = {
21452 (char *) "self",(char *) "dc", NULL
21453 };
21454
21455 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21457 if (!SWIG_IsOK(res1)) {
21458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21459 }
21460 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21461 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21462 if (!SWIG_IsOK(res2)) {
21463 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21464 }
21465 arg2 = reinterpret_cast< wxDC * >(argp2);
21466 {
21467 PyThreadState* __tstate = wxPyBeginAllowThreads();
21468 result = (bool)(arg1)->DoEraseBackground(arg2);
21469 wxPyEndAllowThreads(__tstate);
21470 if (PyErr_Occurred()) SWIG_fail;
21471 }
21472 {
21473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21474 }
21475 return resultobj;
21476fail:
21477 return NULL;
21478}
21479
21480
21481SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21482 PyObject *resultobj = 0;
21483 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21484 int arg2 ;
21485 int arg3 ;
21486 int arg4 ;
21487 int arg5 ;
21488 void *argp1 = 0 ;
21489 int res1 = 0 ;
21490 int val2 ;
21491 int ecode2 = 0 ;
21492 int val3 ;
21493 int ecode3 = 0 ;
21494 int val4 ;
21495 int ecode4 = 0 ;
21496 int val5 ;
21497 int ecode5 = 0 ;
21498 PyObject * obj0 = 0 ;
21499 PyObject * obj1 = 0 ;
21500 PyObject * obj2 = 0 ;
21501 PyObject * obj3 = 0 ;
21502 PyObject * obj4 = 0 ;
21503 char * kwnames[] = {
21504 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21505 };
21506
21507 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21508 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21509 if (!SWIG_IsOK(res1)) {
21510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21511 }
21512 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21513 ecode2 = SWIG_AsVal_int(obj1, &val2);
21514 if (!SWIG_IsOK(ecode2)) {
21515 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21516 }
21517 arg2 = static_cast< int >(val2);
21518 ecode3 = SWIG_AsVal_int(obj2, &val3);
21519 if (!SWIG_IsOK(ecode3)) {
21520 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21521 }
21522 arg3 = static_cast< int >(val3);
21523 ecode4 = SWIG_AsVal_int(obj3, &val4);
21524 if (!SWIG_IsOK(ecode4)) {
21525 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21526 }
21527 arg4 = static_cast< int >(val4);
21528 ecode5 = SWIG_AsVal_int(obj4, &val5);
21529 if (!SWIG_IsOK(ecode5)) {
21530 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21531 }
21532 arg5 = static_cast< int >(val5);
21533 {
21534 PyThreadState* __tstate = wxPyBeginAllowThreads();
21535 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21536 wxPyEndAllowThreads(__tstate);
21537 if (PyErr_Occurred()) SWIG_fail;
21538 }
21539 resultobj = SWIG_Py_Void();
21540 return resultobj;
21541fail:
21542 return NULL;
21543}
21544
21545
21546SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21547 PyObject *resultobj = 0;
21548 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21549 int arg2 ;
21550 int arg3 ;
21551 int arg4 ;
21552 int arg5 ;
21553 int arg6 = (int) wxSIZE_AUTO ;
21554 void *argp1 = 0 ;
21555 int res1 = 0 ;
21556 int val2 ;
21557 int ecode2 = 0 ;
21558 int val3 ;
21559 int ecode3 = 0 ;
21560 int val4 ;
21561 int ecode4 = 0 ;
21562 int val5 ;
21563 int ecode5 = 0 ;
21564 int val6 ;
21565 int ecode6 = 0 ;
21566 PyObject * obj0 = 0 ;
21567 PyObject * obj1 = 0 ;
21568 PyObject * obj2 = 0 ;
21569 PyObject * obj3 = 0 ;
21570 PyObject * obj4 = 0 ;
21571 PyObject * obj5 = 0 ;
21572 char * kwnames[] = {
21573 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21574 };
21575
21576 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21577 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21578 if (!SWIG_IsOK(res1)) {
21579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21580 }
21581 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21582 ecode2 = SWIG_AsVal_int(obj1, &val2);
21583 if (!SWIG_IsOK(ecode2)) {
21584 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21585 }
21586 arg2 = static_cast< int >(val2);
21587 ecode3 = SWIG_AsVal_int(obj2, &val3);
21588 if (!SWIG_IsOK(ecode3)) {
21589 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21590 }
21591 arg3 = static_cast< int >(val3);
21592 ecode4 = SWIG_AsVal_int(obj3, &val4);
21593 if (!SWIG_IsOK(ecode4)) {
21594 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21595 }
21596 arg4 = static_cast< int >(val4);
21597 ecode5 = SWIG_AsVal_int(obj4, &val5);
21598 if (!SWIG_IsOK(ecode5)) {
21599 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21600 }
21601 arg5 = static_cast< int >(val5);
21602 if (obj5) {
21603 ecode6 = SWIG_AsVal_int(obj5, &val6);
21604 if (!SWIG_IsOK(ecode6)) {
21605 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21606 }
21607 arg6 = static_cast< int >(val6);
21608 }
21609 {
21610 PyThreadState* __tstate = wxPyBeginAllowThreads();
21611 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21612 wxPyEndAllowThreads(__tstate);
21613 if (PyErr_Occurred()) SWIG_fail;
21614 }
21615 resultobj = SWIG_Py_Void();
21616 return resultobj;
21617fail:
21618 return NULL;
21619}
21620
21621
21622SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21623 PyObject *resultobj = 0;
21624 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21625 int arg2 ;
21626 int arg3 ;
21627 void *argp1 = 0 ;
21628 int res1 = 0 ;
21629 int val2 ;
21630 int ecode2 = 0 ;
21631 int val3 ;
21632 int ecode3 = 0 ;
21633 PyObject * obj0 = 0 ;
21634 PyObject * obj1 = 0 ;
21635 PyObject * obj2 = 0 ;
21636 char * kwnames[] = {
21637 (char *) "self",(char *) "width",(char *) "height", NULL
21638 };
21639
21640 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21641 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21642 if (!SWIG_IsOK(res1)) {
21643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21644 }
21645 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21646 ecode2 = SWIG_AsVal_int(obj1, &val2);
21647 if (!SWIG_IsOK(ecode2)) {
21648 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21649 }
21650 arg2 = static_cast< int >(val2);
21651 ecode3 = SWIG_AsVal_int(obj2, &val3);
21652 if (!SWIG_IsOK(ecode3)) {
21653 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21654 }
21655 arg3 = static_cast< int >(val3);
21656 {
21657 PyThreadState* __tstate = wxPyBeginAllowThreads();
21658 (arg1)->DoSetClientSize(arg2,arg3);
21659 wxPyEndAllowThreads(__tstate);
21660 if (PyErr_Occurred()) SWIG_fail;
21661 }
21662 resultobj = SWIG_Py_Void();
21663 return resultobj;
21664fail:
21665 return NULL;
21666}
21667
21668
21669SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21670 PyObject *resultobj = 0;
21671 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21672 int arg2 ;
21673 int arg3 ;
21674 void *argp1 = 0 ;
21675 int res1 = 0 ;
21676 int val2 ;
21677 int ecode2 = 0 ;
21678 int val3 ;
21679 int ecode3 = 0 ;
21680 PyObject * obj0 = 0 ;
21681 PyObject * obj1 = 0 ;
21682 PyObject * obj2 = 0 ;
21683 char * kwnames[] = {
21684 (char *) "self",(char *) "x",(char *) "y", NULL
21685 };
21686
21687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21689 if (!SWIG_IsOK(res1)) {
21690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21691 }
21692 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21693 ecode2 = SWIG_AsVal_int(obj1, &val2);
21694 if (!SWIG_IsOK(ecode2)) {
21695 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21696 }
21697 arg2 = static_cast< int >(val2);
21698 ecode3 = SWIG_AsVal_int(obj2, &val3);
21699 if (!SWIG_IsOK(ecode3)) {
21700 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21701 }
21702 arg3 = static_cast< int >(val3);
21703 {
21704 PyThreadState* __tstate = wxPyBeginAllowThreads();
21705 (arg1)->DoSetVirtualSize(arg2,arg3);
21706 wxPyEndAllowThreads(__tstate);
21707 if (PyErr_Occurred()) SWIG_fail;
21708 }
21709 resultobj = SWIG_Py_Void();
21710 return resultobj;
21711fail:
21712 return NULL;
21713}
21714
21715
21716SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21717 PyObject *resultobj = 0;
21718 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21719 int *arg2 = (int *) 0 ;
21720 int *arg3 = (int *) 0 ;
21721 void *argp1 = 0 ;
21722 int res1 = 0 ;
21723 int temp2 ;
21724 int res2 = SWIG_TMPOBJ ;
21725 int temp3 ;
21726 int res3 = SWIG_TMPOBJ ;
21727 PyObject *swig_obj[1] ;
21728
21729 arg2 = &temp2;
21730 arg3 = &temp3;
21731 if (!args) SWIG_fail;
21732 swig_obj[0] = args;
21733 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21734 if (!SWIG_IsOK(res1)) {
21735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21736 }
21737 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21738 {
21739 PyThreadState* __tstate = wxPyBeginAllowThreads();
21740 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21741 wxPyEndAllowThreads(__tstate);
21742 if (PyErr_Occurred()) SWIG_fail;
21743 }
21744 resultobj = SWIG_Py_Void();
21745 if (SWIG_IsTmpObj(res2)) {
21746 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21747 } else {
21748 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21749 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21750 }
21751 if (SWIG_IsTmpObj(res3)) {
21752 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21753 } else {
21754 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21755 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21756 }
21757 return resultobj;
21758fail:
21759 return NULL;
21760}
21761
21762
21763SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21764 PyObject *resultobj = 0;
21765 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21766 int *arg2 = (int *) 0 ;
21767 int *arg3 = (int *) 0 ;
21768 void *argp1 = 0 ;
21769 int res1 = 0 ;
21770 int temp2 ;
21771 int res2 = SWIG_TMPOBJ ;
21772 int temp3 ;
21773 int res3 = SWIG_TMPOBJ ;
21774 PyObject *swig_obj[1] ;
21775
21776 arg2 = &temp2;
21777 arg3 = &temp3;
21778 if (!args) SWIG_fail;
21779 swig_obj[0] = args;
21780 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21781 if (!SWIG_IsOK(res1)) {
21782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21783 }
21784 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21785 {
21786 PyThreadState* __tstate = wxPyBeginAllowThreads();
21787 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21788 wxPyEndAllowThreads(__tstate);
21789 if (PyErr_Occurred()) SWIG_fail;
21790 }
21791 resultobj = SWIG_Py_Void();
21792 if (SWIG_IsTmpObj(res2)) {
21793 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21794 } else {
21795 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21796 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21797 }
21798 if (SWIG_IsTmpObj(res3)) {
21799 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21800 } else {
21801 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21802 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21803 }
21804 return resultobj;
21805fail:
21806 return NULL;
21807}
21808
21809
21810SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21811 PyObject *resultobj = 0;
21812 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21813 int *arg2 = (int *) 0 ;
21814 int *arg3 = (int *) 0 ;
21815 void *argp1 = 0 ;
21816 int res1 = 0 ;
21817 int temp2 ;
21818 int res2 = SWIG_TMPOBJ ;
21819 int temp3 ;
21820 int res3 = SWIG_TMPOBJ ;
21821 PyObject *swig_obj[1] ;
21822
21823 arg2 = &temp2;
21824 arg3 = &temp3;
21825 if (!args) SWIG_fail;
21826 swig_obj[0] = args;
21827 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21828 if (!SWIG_IsOK(res1)) {
21829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21830 }
21831 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21832 {
21833 PyThreadState* __tstate = wxPyBeginAllowThreads();
21834 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
21835 wxPyEndAllowThreads(__tstate);
21836 if (PyErr_Occurred()) SWIG_fail;
21837 }
21838 resultobj = SWIG_Py_Void();
21839 if (SWIG_IsTmpObj(res2)) {
21840 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21841 } else {
21842 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21843 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21844 }
21845 if (SWIG_IsTmpObj(res3)) {
21846 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21847 } else {
21848 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21849 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21850 }
21851 return resultobj;
21852fail:
21853 return NULL;
d55e5bfc
RD
21854}
21855
21856
1bd55598
RD
21857SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21858 PyObject *resultobj = 0;
21859 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21860 wxSize result;
21861 void *argp1 = 0 ;
21862 int res1 = 0 ;
21863 PyObject *swig_obj[1] ;
21864
21865 if (!args) SWIG_fail;
21866 swig_obj[0] = args;
21867 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21868 if (!SWIG_IsOK(res1)) {
21869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21870 }
21871 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21872 {
21873 PyThreadState* __tstate = wxPyBeginAllowThreads();
21874 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
21875 wxPyEndAllowThreads(__tstate);
21876 if (PyErr_Occurred()) SWIG_fail;
21877 }
21878 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21879 return resultobj;
21880fail:
21881 return NULL;
d55e5bfc
RD
21882}
21883
21884
1bd55598
RD
21885SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21886 PyObject *resultobj = 0;
21887 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21888 wxSize result;
21889 void *argp1 = 0 ;
21890 int res1 = 0 ;
21891 PyObject *swig_obj[1] ;
21892
21893 if (!args) SWIG_fail;
21894 swig_obj[0] = args;
21895 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21896 if (!SWIG_IsOK(res1)) {
21897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21898 }
21899 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21900 {
21901 PyThreadState* __tstate = wxPyBeginAllowThreads();
21902 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
21903 wxPyEndAllowThreads(__tstate);
21904 if (PyErr_Occurred()) SWIG_fail;
21905 }
21906 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21907 return resultobj;
21908fail:
21909 return NULL;
d55e5bfc
RD
21910}
21911
21912
1bd55598
RD
21913SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21914 PyObject *resultobj = 0;
21915 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21916 SwigValueWrapper<wxVisualAttributes > result;
21917 void *argp1 = 0 ;
21918 int res1 = 0 ;
21919 PyObject *swig_obj[1] ;
21920
21921 if (!args) SWIG_fail;
21922 swig_obj[0] = args;
21923 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21924 if (!SWIG_IsOK(res1)) {
21925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21926 }
21927 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21928 {
21929 PyThreadState* __tstate = wxPyBeginAllowThreads();
21930 result = (arg1)->GetDefaultAttributes();
21931 wxPyEndAllowThreads(__tstate);
21932 if (PyErr_Occurred()) SWIG_fail;
21933 }
21934 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21935 return resultobj;
21936fail:
21937 return NULL;
d55e5bfc
RD
21938}
21939
21940
1bd55598
RD
21941SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21942 PyObject *resultobj = 0;
21943 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21944 void *argp1 = 0 ;
21945 int res1 = 0 ;
21946 PyObject *swig_obj[1] ;
21947
21948 if (!args) SWIG_fail;
21949 swig_obj[0] = args;
21950 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21951 if (!SWIG_IsOK(res1)) {
21952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21953 }
21954 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21955 {
21956 PyThreadState* __tstate = wxPyBeginAllowThreads();
21957 (arg1)->OnInternalIdle();
21958 wxPyEndAllowThreads(__tstate);
21959 if (PyErr_Occurred()) SWIG_fail;
21960 }
21961 resultobj = SWIG_Py_Void();
21962 return resultobj;
21963fail:
21964 return NULL;
21965}
21966
21967
21968SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21969 PyObject *obj;
21970 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21971 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
21972 return SWIG_Py_Void();
21973}
21974
21975SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21976 return SWIG_Python_InitShadowInstance(args);
21977}
21978
21979SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21980 PyObject *resultobj = 0;
21981 wxWindow *arg1 = (wxWindow *) 0 ;
21982 int arg2 = (int) (int)-1 ;
21983 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21984 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21985 wxSize const &arg4_defvalue = wxDefaultSize ;
21986 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21987 long arg5 = (long) 0 ;
21988 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21989 wxString *arg6 = (wxString *) &arg6_defvalue ;
21990 wxPyPanel *result = 0 ;
21991 void *argp1 = 0 ;
21992 int res1 = 0 ;
21993 int val2 ;
21994 int ecode2 = 0 ;
21995 wxPoint temp3 ;
21996 wxSize temp4 ;
21997 long val5 ;
21998 int ecode5 = 0 ;
21999 bool temp6 = false ;
22000 PyObject * obj0 = 0 ;
22001 PyObject * obj1 = 0 ;
22002 PyObject * obj2 = 0 ;
22003 PyObject * obj3 = 0 ;
22004 PyObject * obj4 = 0 ;
22005 PyObject * obj5 = 0 ;
22006 char * kwnames[] = {
22007 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22008 };
22009
22010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22011 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22012 if (!SWIG_IsOK(res1)) {
22013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22014 }
22015 arg1 = reinterpret_cast< wxWindow * >(argp1);
22016 if (obj1) {
22017 ecode2 = SWIG_AsVal_int(obj1, &val2);
22018 if (!SWIG_IsOK(ecode2)) {
22019 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22020 }
22021 arg2 = static_cast< int >(val2);
22022 }
22023 if (obj2) {
d55e5bfc 22024 {
1bd55598
RD
22025 arg3 = &temp3;
22026 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 22027 }
1bd55598
RD
22028 }
22029 if (obj3) {
d55e5bfc 22030 {
1bd55598
RD
22031 arg4 = &temp4;
22032 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 22033 }
1bd55598
RD
22034 }
22035 if (obj4) {
22036 ecode5 = SWIG_AsVal_long(obj4, &val5);
22037 if (!SWIG_IsOK(ecode5)) {
22038 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22039 }
22040 arg5 = static_cast< long >(val5);
22041 }
22042 if (obj5) {
d55e5bfc 22043 {
1bd55598
RD
22044 arg6 = wxString_in_helper(obj5);
22045 if (arg6 == NULL) SWIG_fail;
22046 temp6 = true;
d55e5bfc 22047 }
1bd55598
RD
22048 }
22049 {
22050 if (!wxPyCheckForApp()) SWIG_fail;
22051 PyThreadState* __tstate = wxPyBeginAllowThreads();
22052 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22053 wxPyEndAllowThreads(__tstate);
22054 if (PyErr_Occurred()) SWIG_fail;
22055 }
22056 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22057 {
22058 if (temp6)
22059 delete arg6;
22060 }
22061 return resultobj;
22062fail:
22063 {
22064 if (temp6)
22065 delete arg6;
22066 }
22067 return NULL;
d55e5bfc
RD
22068}
22069
22070
1bd55598
RD
22071SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22072 PyObject *resultobj = 0;
22073 wxPyPanel *result = 0 ;
22074
22075 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22076 {
22077 if (!wxPyCheckForApp()) SWIG_fail;
22078 PyThreadState* __tstate = wxPyBeginAllowThreads();
22079 result = (wxPyPanel *)new wxPyPanel();
22080 wxPyEndAllowThreads(__tstate);
22081 if (PyErr_Occurred()) SWIG_fail;
22082 }
22083 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22084 return resultobj;
22085fail:
22086 return NULL;
22087}
22088
22089
22090SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22091 PyObject *resultobj = 0;
22092 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22093 PyObject *arg2 = (PyObject *) 0 ;
22094 PyObject *arg3 = (PyObject *) 0 ;
22095 void *argp1 = 0 ;
22096 int res1 = 0 ;
22097 PyObject * obj0 = 0 ;
22098 PyObject * obj1 = 0 ;
22099 PyObject * obj2 = 0 ;
22100 char * kwnames[] = {
22101 (char *) "self",(char *) "self",(char *) "_class", NULL
22102 };
22103
22104 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22105 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22106 if (!SWIG_IsOK(res1)) {
22107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22108 }
22109 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22110 arg2 = obj1;
22111 arg3 = obj2;
22112 {
22113 PyThreadState* __tstate = wxPyBeginAllowThreads();
22114 (arg1)->_setCallbackInfo(arg2,arg3);
22115 wxPyEndAllowThreads(__tstate);
22116 if (PyErr_Occurred()) SWIG_fail;
22117 }
22118 resultobj = SWIG_Py_Void();
22119 return resultobj;
22120fail:
22121 return NULL;
22122}
22123
22124
1bd55598
RD
22125SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22126 PyObject *resultobj = 0;
22127 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22128 wxDC *arg2 = (wxDC *) 0 ;
22129 bool result;
22130 void *argp1 = 0 ;
22131 int res1 = 0 ;
22132 void *argp2 = 0 ;
22133 int res2 = 0 ;
22134 PyObject * obj0 = 0 ;
22135 PyObject * obj1 = 0 ;
22136 char * kwnames[] = {
22137 (char *) "self",(char *) "dc", NULL
22138 };
22139
22140 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22141 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22142 if (!SWIG_IsOK(res1)) {
22143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22144 }
22145 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22146 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22147 if (!SWIG_IsOK(res2)) {
22148 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22149 }
22150 arg2 = reinterpret_cast< wxDC * >(argp2);
22151 {
22152 PyThreadState* __tstate = wxPyBeginAllowThreads();
22153 result = (bool)(arg1)->DoEraseBackground(arg2);
22154 wxPyEndAllowThreads(__tstate);
22155 if (PyErr_Occurred()) SWIG_fail;
22156 }
22157 {
22158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22159 }
22160 return resultobj;
22161fail:
22162 return NULL;
22163}
22164
22165
22166SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22167 PyObject *resultobj = 0;
22168 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22169 int arg2 ;
22170 int arg3 ;
22171 int arg4 ;
22172 int arg5 ;
22173 void *argp1 = 0 ;
22174 int res1 = 0 ;
22175 int val2 ;
22176 int ecode2 = 0 ;
22177 int val3 ;
22178 int ecode3 = 0 ;
22179 int val4 ;
22180 int ecode4 = 0 ;
22181 int val5 ;
22182 int ecode5 = 0 ;
22183 PyObject * obj0 = 0 ;
22184 PyObject * obj1 = 0 ;
22185 PyObject * obj2 = 0 ;
22186 PyObject * obj3 = 0 ;
22187 PyObject * obj4 = 0 ;
22188 char * kwnames[] = {
22189 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22190 };
22191
22192 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22193 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22194 if (!SWIG_IsOK(res1)) {
22195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22196 }
22197 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22198 ecode2 = SWIG_AsVal_int(obj1, &val2);
22199 if (!SWIG_IsOK(ecode2)) {
22200 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22201 }
22202 arg2 = static_cast< int >(val2);
22203 ecode3 = SWIG_AsVal_int(obj2, &val3);
22204 if (!SWIG_IsOK(ecode3)) {
22205 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22206 }
22207 arg3 = static_cast< int >(val3);
22208 ecode4 = SWIG_AsVal_int(obj3, &val4);
22209 if (!SWIG_IsOK(ecode4)) {
22210 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22211 }
22212 arg4 = static_cast< int >(val4);
22213 ecode5 = SWIG_AsVal_int(obj4, &val5);
22214 if (!SWIG_IsOK(ecode5)) {
22215 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22216 }
22217 arg5 = static_cast< int >(val5);
22218 {
22219 PyThreadState* __tstate = wxPyBeginAllowThreads();
22220 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22221 wxPyEndAllowThreads(__tstate);
22222 if (PyErr_Occurred()) SWIG_fail;
22223 }
22224 resultobj = SWIG_Py_Void();
22225 return resultobj;
22226fail:
22227 return NULL;
22228}
22229
22230
22231SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22232 PyObject *resultobj = 0;
22233 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22234 int arg2 ;
22235 int arg3 ;
22236 int arg4 ;
22237 int arg5 ;
22238 int arg6 = (int) wxSIZE_AUTO ;
22239 void *argp1 = 0 ;
22240 int res1 = 0 ;
22241 int val2 ;
22242 int ecode2 = 0 ;
22243 int val3 ;
22244 int ecode3 = 0 ;
22245 int val4 ;
22246 int ecode4 = 0 ;
22247 int val5 ;
22248 int ecode5 = 0 ;
22249 int val6 ;
22250 int ecode6 = 0 ;
22251 PyObject * obj0 = 0 ;
22252 PyObject * obj1 = 0 ;
22253 PyObject * obj2 = 0 ;
22254 PyObject * obj3 = 0 ;
22255 PyObject * obj4 = 0 ;
22256 PyObject * obj5 = 0 ;
22257 char * kwnames[] = {
22258 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22259 };
22260
22261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22263 if (!SWIG_IsOK(res1)) {
22264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22265 }
22266 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22267 ecode2 = SWIG_AsVal_int(obj1, &val2);
22268 if (!SWIG_IsOK(ecode2)) {
22269 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22270 }
22271 arg2 = static_cast< int >(val2);
22272 ecode3 = SWIG_AsVal_int(obj2, &val3);
22273 if (!SWIG_IsOK(ecode3)) {
22274 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22275 }
22276 arg3 = static_cast< int >(val3);
22277 ecode4 = SWIG_AsVal_int(obj3, &val4);
22278 if (!SWIG_IsOK(ecode4)) {
22279 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22280 }
22281 arg4 = static_cast< int >(val4);
22282 ecode5 = SWIG_AsVal_int(obj4, &val5);
22283 if (!SWIG_IsOK(ecode5)) {
22284 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22285 }
22286 arg5 = static_cast< int >(val5);
22287 if (obj5) {
22288 ecode6 = SWIG_AsVal_int(obj5, &val6);
22289 if (!SWIG_IsOK(ecode6)) {
22290 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22291 }
22292 arg6 = static_cast< int >(val6);
22293 }
22294 {
22295 PyThreadState* __tstate = wxPyBeginAllowThreads();
22296 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22297 wxPyEndAllowThreads(__tstate);
22298 if (PyErr_Occurred()) SWIG_fail;
22299 }
22300 resultobj = SWIG_Py_Void();
22301 return resultobj;
22302fail:
22303 return NULL;
22304}
22305
22306
22307SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22308 PyObject *resultobj = 0;
22309 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22310 int arg2 ;
22311 int arg3 ;
22312 void *argp1 = 0 ;
22313 int res1 = 0 ;
22314 int val2 ;
22315 int ecode2 = 0 ;
22316 int val3 ;
22317 int ecode3 = 0 ;
22318 PyObject * obj0 = 0 ;
22319 PyObject * obj1 = 0 ;
22320 PyObject * obj2 = 0 ;
22321 char * kwnames[] = {
22322 (char *) "self",(char *) "width",(char *) "height", NULL
22323 };
22324
22325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22327 if (!SWIG_IsOK(res1)) {
22328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22329 }
22330 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22331 ecode2 = SWIG_AsVal_int(obj1, &val2);
22332 if (!SWIG_IsOK(ecode2)) {
22333 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22334 }
22335 arg2 = static_cast< int >(val2);
22336 ecode3 = SWIG_AsVal_int(obj2, &val3);
22337 if (!SWIG_IsOK(ecode3)) {
22338 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22339 }
22340 arg3 = static_cast< int >(val3);
22341 {
22342 PyThreadState* __tstate = wxPyBeginAllowThreads();
22343 (arg1)->DoSetClientSize(arg2,arg3);
22344 wxPyEndAllowThreads(__tstate);
22345 if (PyErr_Occurred()) SWIG_fail;
22346 }
22347 resultobj = SWIG_Py_Void();
22348 return resultobj;
22349fail:
22350 return NULL;
22351}
22352
22353
22354SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22355 PyObject *resultobj = 0;
22356 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22357 int arg2 ;
22358 int arg3 ;
22359 void *argp1 = 0 ;
22360 int res1 = 0 ;
22361 int val2 ;
22362 int ecode2 = 0 ;
22363 int val3 ;
22364 int ecode3 = 0 ;
22365 PyObject * obj0 = 0 ;
22366 PyObject * obj1 = 0 ;
22367 PyObject * obj2 = 0 ;
22368 char * kwnames[] = {
22369 (char *) "self",(char *) "x",(char *) "y", NULL
22370 };
22371
22372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22374 if (!SWIG_IsOK(res1)) {
22375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22376 }
22377 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22378 ecode2 = SWIG_AsVal_int(obj1, &val2);
22379 if (!SWIG_IsOK(ecode2)) {
22380 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22381 }
22382 arg2 = static_cast< int >(val2);
22383 ecode3 = SWIG_AsVal_int(obj2, &val3);
22384 if (!SWIG_IsOK(ecode3)) {
22385 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22386 }
22387 arg3 = static_cast< int >(val3);
22388 {
22389 PyThreadState* __tstate = wxPyBeginAllowThreads();
22390 (arg1)->DoSetVirtualSize(arg2,arg3);
22391 wxPyEndAllowThreads(__tstate);
22392 if (PyErr_Occurred()) SWIG_fail;
22393 }
22394 resultobj = SWIG_Py_Void();
22395 return resultobj;
22396fail:
22397 return NULL;
22398}
22399
22400
22401SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22402 PyObject *resultobj = 0;
22403 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22404 int *arg2 = (int *) 0 ;
22405 int *arg3 = (int *) 0 ;
22406 void *argp1 = 0 ;
22407 int res1 = 0 ;
22408 int temp2 ;
22409 int res2 = SWIG_TMPOBJ ;
22410 int temp3 ;
22411 int res3 = SWIG_TMPOBJ ;
22412 PyObject *swig_obj[1] ;
22413
22414 arg2 = &temp2;
22415 arg3 = &temp3;
22416 if (!args) SWIG_fail;
22417 swig_obj[0] = args;
22418 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22419 if (!SWIG_IsOK(res1)) {
22420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22421 }
22422 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22423 {
22424 PyThreadState* __tstate = wxPyBeginAllowThreads();
22425 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22426 wxPyEndAllowThreads(__tstate);
22427 if (PyErr_Occurred()) SWIG_fail;
22428 }
22429 resultobj = SWIG_Py_Void();
22430 if (SWIG_IsTmpObj(res2)) {
22431 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22432 } else {
22433 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22434 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22435 }
22436 if (SWIG_IsTmpObj(res3)) {
22437 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22438 } else {
22439 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22440 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22441 }
22442 return resultobj;
22443fail:
22444 return NULL;
22445}
22446
22447
22448SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22449 PyObject *resultobj = 0;
22450 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22451 int *arg2 = (int *) 0 ;
22452 int *arg3 = (int *) 0 ;
22453 void *argp1 = 0 ;
22454 int res1 = 0 ;
22455 int temp2 ;
22456 int res2 = SWIG_TMPOBJ ;
22457 int temp3 ;
22458 int res3 = SWIG_TMPOBJ ;
22459 PyObject *swig_obj[1] ;
22460
22461 arg2 = &temp2;
22462 arg3 = &temp3;
22463 if (!args) SWIG_fail;
22464 swig_obj[0] = args;
22465 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22466 if (!SWIG_IsOK(res1)) {
22467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22468 }
22469 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22470 {
22471 PyThreadState* __tstate = wxPyBeginAllowThreads();
22472 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22473 wxPyEndAllowThreads(__tstate);
22474 if (PyErr_Occurred()) SWIG_fail;
22475 }
22476 resultobj = SWIG_Py_Void();
22477 if (SWIG_IsTmpObj(res2)) {
22478 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22479 } else {
22480 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22481 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22482 }
22483 if (SWIG_IsTmpObj(res3)) {
22484 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22485 } else {
22486 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22487 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22488 }
22489 return resultobj;
22490fail:
22491 return NULL;
22492}
22493
22494
22495SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22496 PyObject *resultobj = 0;
22497 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22498 int *arg2 = (int *) 0 ;
22499 int *arg3 = (int *) 0 ;
22500 void *argp1 = 0 ;
22501 int res1 = 0 ;
22502 int temp2 ;
22503 int res2 = SWIG_TMPOBJ ;
22504 int temp3 ;
22505 int res3 = SWIG_TMPOBJ ;
22506 PyObject *swig_obj[1] ;
22507
22508 arg2 = &temp2;
22509 arg3 = &temp3;
22510 if (!args) SWIG_fail;
22511 swig_obj[0] = args;
22512 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22513 if (!SWIG_IsOK(res1)) {
22514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22515 }
22516 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22517 {
22518 PyThreadState* __tstate = wxPyBeginAllowThreads();
22519 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22520 wxPyEndAllowThreads(__tstate);
22521 if (PyErr_Occurred()) SWIG_fail;
22522 }
22523 resultobj = SWIG_Py_Void();
22524 if (SWIG_IsTmpObj(res2)) {
22525 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22526 } else {
22527 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22528 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22529 }
22530 if (SWIG_IsTmpObj(res3)) {
22531 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22532 } else {
22533 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22534 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22535 }
22536 return resultobj;
22537fail:
22538 return NULL;
d55e5bfc
RD
22539}
22540
22541
1bd55598
RD
22542SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22543 PyObject *resultobj = 0;
22544 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22545 wxSize result;
22546 void *argp1 = 0 ;
22547 int res1 = 0 ;
22548 PyObject *swig_obj[1] ;
22549
22550 if (!args) SWIG_fail;
22551 swig_obj[0] = args;
22552 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22553 if (!SWIG_IsOK(res1)) {
22554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22555 }
22556 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22557 {
22558 PyThreadState* __tstate = wxPyBeginAllowThreads();
22559 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22560 wxPyEndAllowThreads(__tstate);
22561 if (PyErr_Occurred()) SWIG_fail;
22562 }
22563 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22564 return resultobj;
22565fail:
22566 return NULL;
d55e5bfc
RD
22567}
22568
22569
1bd55598
RD
22570SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22571 PyObject *resultobj = 0;
22572 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22573 wxSize result;
22574 void *argp1 = 0 ;
22575 int res1 = 0 ;
22576 PyObject *swig_obj[1] ;
22577
22578 if (!args) SWIG_fail;
22579 swig_obj[0] = args;
22580 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22581 if (!SWIG_IsOK(res1)) {
22582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22583 }
22584 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22585 {
22586 PyThreadState* __tstate = wxPyBeginAllowThreads();
22587 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22588 wxPyEndAllowThreads(__tstate);
22589 if (PyErr_Occurred()) SWIG_fail;
22590 }
22591 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22592 return resultobj;
22593fail:
22594 return NULL;
d55e5bfc
RD
22595}
22596
22597
1bd55598
RD
22598SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22599 PyObject *resultobj = 0;
22600 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22601 SwigValueWrapper<wxVisualAttributes > result;
22602 void *argp1 = 0 ;
22603 int res1 = 0 ;
22604 PyObject *swig_obj[1] ;
22605
22606 if (!args) SWIG_fail;
22607 swig_obj[0] = args;
22608 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22609 if (!SWIG_IsOK(res1)) {
22610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22611 }
22612 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22613 {
22614 PyThreadState* __tstate = wxPyBeginAllowThreads();
22615 result = (arg1)->GetDefaultAttributes();
22616 wxPyEndAllowThreads(__tstate);
22617 if (PyErr_Occurred()) SWIG_fail;
22618 }
22619 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22620 return resultobj;
22621fail:
22622 return NULL;
d55e5bfc
RD
22623}
22624
22625
1bd55598
RD
22626SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22627 PyObject *resultobj = 0;
22628 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22629 void *argp1 = 0 ;
22630 int res1 = 0 ;
22631 PyObject *swig_obj[1] ;
22632
22633 if (!args) SWIG_fail;
22634 swig_obj[0] = args;
22635 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22636 if (!SWIG_IsOK(res1)) {
22637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22638 }
22639 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22640 {
22641 PyThreadState* __tstate = wxPyBeginAllowThreads();
22642 (arg1)->OnInternalIdle();
22643 wxPyEndAllowThreads(__tstate);
22644 if (PyErr_Occurred()) SWIG_fail;
22645 }
22646 resultobj = SWIG_Py_Void();
22647 return resultobj;
22648fail:
22649 return NULL;
22650}
22651
22652
22653SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22654 PyObject *obj;
22655 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22656 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22657 return SWIG_Py_Void();
22658}
22659
22660SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22661 return SWIG_Python_InitShadowInstance(args);
22662}
22663
22664SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22665 PyObject *resultobj = 0;
22666 wxWindow *arg1 = (wxWindow *) 0 ;
22667 int arg2 = (int) (int)-1 ;
22668 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22669 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22670 wxSize const &arg4_defvalue = wxDefaultSize ;
22671 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22672 long arg5 = (long) 0 ;
22673 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22674 wxString *arg6 = (wxString *) &arg6_defvalue ;
22675 wxPyScrolledWindow *result = 0 ;
22676 void *argp1 = 0 ;
22677 int res1 = 0 ;
22678 int val2 ;
22679 int ecode2 = 0 ;
22680 wxPoint temp3 ;
22681 wxSize temp4 ;
22682 long val5 ;
22683 int ecode5 = 0 ;
22684 bool temp6 = false ;
22685 PyObject * obj0 = 0 ;
22686 PyObject * obj1 = 0 ;
22687 PyObject * obj2 = 0 ;
22688 PyObject * obj3 = 0 ;
22689 PyObject * obj4 = 0 ;
22690 PyObject * obj5 = 0 ;
22691 char * kwnames[] = {
22692 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22693 };
22694
22695 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22696 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22697 if (!SWIG_IsOK(res1)) {
22698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22699 }
22700 arg1 = reinterpret_cast< wxWindow * >(argp1);
22701 if (obj1) {
22702 ecode2 = SWIG_AsVal_int(obj1, &val2);
22703 if (!SWIG_IsOK(ecode2)) {
22704 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22705 }
22706 arg2 = static_cast< int >(val2);
22707 }
22708 if (obj2) {
d55e5bfc 22709 {
1bd55598
RD
22710 arg3 = &temp3;
22711 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 22712 }
1bd55598
RD
22713 }
22714 if (obj3) {
d55e5bfc 22715 {
1bd55598
RD
22716 arg4 = &temp4;
22717 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 22718 }
1bd55598
RD
22719 }
22720 if (obj4) {
22721 ecode5 = SWIG_AsVal_long(obj4, &val5);
22722 if (!SWIG_IsOK(ecode5)) {
22723 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22724 }
22725 arg5 = static_cast< long >(val5);
22726 }
22727 if (obj5) {
d55e5bfc 22728 {
1bd55598
RD
22729 arg6 = wxString_in_helper(obj5);
22730 if (arg6 == NULL) SWIG_fail;
22731 temp6 = true;
d55e5bfc 22732 }
1bd55598
RD
22733 }
22734 {
22735 if (!wxPyCheckForApp()) SWIG_fail;
22736 PyThreadState* __tstate = wxPyBeginAllowThreads();
22737 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22738 wxPyEndAllowThreads(__tstate);
22739 if (PyErr_Occurred()) SWIG_fail;
22740 }
22741 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22742 {
22743 if (temp6)
22744 delete arg6;
22745 }
22746 return resultobj;
22747fail:
22748 {
22749 if (temp6)
22750 delete arg6;
22751 }
22752 return NULL;
d55e5bfc
RD
22753}
22754
22755
1bd55598
RD
22756SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22757 PyObject *resultobj = 0;
22758 wxPyScrolledWindow *result = 0 ;
22759
22760 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22761 {
22762 if (!wxPyCheckForApp()) SWIG_fail;
22763 PyThreadState* __tstate = wxPyBeginAllowThreads();
22764 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22765 wxPyEndAllowThreads(__tstate);
22766 if (PyErr_Occurred()) SWIG_fail;
22767 }
22768 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
22769 return resultobj;
22770fail:
22771 return NULL;
22772}
22773
22774
22775SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22776 PyObject *resultobj = 0;
22777 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22778 PyObject *arg2 = (PyObject *) 0 ;
22779 PyObject *arg3 = (PyObject *) 0 ;
22780 void *argp1 = 0 ;
22781 int res1 = 0 ;
22782 PyObject * obj0 = 0 ;
22783 PyObject * obj1 = 0 ;
22784 PyObject * obj2 = 0 ;
22785 char * kwnames[] = {
22786 (char *) "self",(char *) "self",(char *) "_class", NULL
22787 };
22788
22789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22791 if (!SWIG_IsOK(res1)) {
22792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22793 }
22794 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22795 arg2 = obj1;
22796 arg3 = obj2;
22797 {
22798 PyThreadState* __tstate = wxPyBeginAllowThreads();
22799 (arg1)->_setCallbackInfo(arg2,arg3);
22800 wxPyEndAllowThreads(__tstate);
22801 if (PyErr_Occurred()) SWIG_fail;
22802 }
22803 resultobj = SWIG_Py_Void();
22804 return resultobj;
22805fail:
22806 return NULL;
22807}
22808
22809
1bd55598
RD
22810SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22811 PyObject *resultobj = 0;
22812 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22813 wxDC *arg2 = (wxDC *) 0 ;
22814 bool result;
22815 void *argp1 = 0 ;
22816 int res1 = 0 ;
22817 void *argp2 = 0 ;
22818 int res2 = 0 ;
22819 PyObject * obj0 = 0 ;
22820 PyObject * obj1 = 0 ;
22821 char * kwnames[] = {
22822 (char *) "self",(char *) "dc", NULL
22823 };
22824
22825 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22826 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22827 if (!SWIG_IsOK(res1)) {
22828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22829 }
22830 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22831 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22832 if (!SWIG_IsOK(res2)) {
22833 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22834 }
22835 arg2 = reinterpret_cast< wxDC * >(argp2);
22836 {
22837 PyThreadState* __tstate = wxPyBeginAllowThreads();
22838 result = (bool)(arg1)->DoEraseBackground(arg2);
22839 wxPyEndAllowThreads(__tstate);
22840 if (PyErr_Occurred()) SWIG_fail;
22841 }
22842 {
22843 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22844 }
22845 return resultobj;
22846fail:
22847 return NULL;
22848}
22849
22850
22851SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22852 PyObject *resultobj = 0;
22853 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22854 int arg2 ;
22855 int arg3 ;
22856 int arg4 ;
22857 int arg5 ;
22858 void *argp1 = 0 ;
22859 int res1 = 0 ;
22860 int val2 ;
22861 int ecode2 = 0 ;
22862 int val3 ;
22863 int ecode3 = 0 ;
22864 int val4 ;
22865 int ecode4 = 0 ;
22866 int val5 ;
22867 int ecode5 = 0 ;
22868 PyObject * obj0 = 0 ;
22869 PyObject * obj1 = 0 ;
22870 PyObject * obj2 = 0 ;
22871 PyObject * obj3 = 0 ;
22872 PyObject * obj4 = 0 ;
22873 char * kwnames[] = {
22874 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22875 };
22876
22877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22879 if (!SWIG_IsOK(res1)) {
22880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22881 }
22882 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22883 ecode2 = SWIG_AsVal_int(obj1, &val2);
22884 if (!SWIG_IsOK(ecode2)) {
22885 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22886 }
22887 arg2 = static_cast< int >(val2);
22888 ecode3 = SWIG_AsVal_int(obj2, &val3);
22889 if (!SWIG_IsOK(ecode3)) {
22890 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22891 }
22892 arg3 = static_cast< int >(val3);
22893 ecode4 = SWIG_AsVal_int(obj3, &val4);
22894 if (!SWIG_IsOK(ecode4)) {
22895 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22896 }
22897 arg4 = static_cast< int >(val4);
22898 ecode5 = SWIG_AsVal_int(obj4, &val5);
22899 if (!SWIG_IsOK(ecode5)) {
22900 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22901 }
22902 arg5 = static_cast< int >(val5);
22903 {
22904 PyThreadState* __tstate = wxPyBeginAllowThreads();
22905 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22906 wxPyEndAllowThreads(__tstate);
22907 if (PyErr_Occurred()) SWIG_fail;
22908 }
22909 resultobj = SWIG_Py_Void();
22910 return resultobj;
22911fail:
22912 return NULL;
22913}
22914
22915
22916SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22917 PyObject *resultobj = 0;
22918 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22919 int arg2 ;
22920 int arg3 ;
22921 int arg4 ;
22922 int arg5 ;
22923 int arg6 = (int) wxSIZE_AUTO ;
22924 void *argp1 = 0 ;
22925 int res1 = 0 ;
22926 int val2 ;
22927 int ecode2 = 0 ;
22928 int val3 ;
22929 int ecode3 = 0 ;
22930 int val4 ;
22931 int ecode4 = 0 ;
22932 int val5 ;
22933 int ecode5 = 0 ;
22934 int val6 ;
22935 int ecode6 = 0 ;
22936 PyObject * obj0 = 0 ;
22937 PyObject * obj1 = 0 ;
22938 PyObject * obj2 = 0 ;
22939 PyObject * obj3 = 0 ;
22940 PyObject * obj4 = 0 ;
22941 PyObject * obj5 = 0 ;
22942 char * kwnames[] = {
22943 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22944 };
22945
22946 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22948 if (!SWIG_IsOK(res1)) {
22949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22950 }
22951 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22952 ecode2 = SWIG_AsVal_int(obj1, &val2);
22953 if (!SWIG_IsOK(ecode2)) {
22954 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22955 }
22956 arg2 = static_cast< int >(val2);
22957 ecode3 = SWIG_AsVal_int(obj2, &val3);
22958 if (!SWIG_IsOK(ecode3)) {
22959 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22960 }
22961 arg3 = static_cast< int >(val3);
22962 ecode4 = SWIG_AsVal_int(obj3, &val4);
22963 if (!SWIG_IsOK(ecode4)) {
22964 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22965 }
22966 arg4 = static_cast< int >(val4);
22967 ecode5 = SWIG_AsVal_int(obj4, &val5);
22968 if (!SWIG_IsOK(ecode5)) {
22969 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22970 }
22971 arg5 = static_cast< int >(val5);
22972 if (obj5) {
22973 ecode6 = SWIG_AsVal_int(obj5, &val6);
22974 if (!SWIG_IsOK(ecode6)) {
22975 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22976 }
22977 arg6 = static_cast< int >(val6);
22978 }
22979 {
22980 PyThreadState* __tstate = wxPyBeginAllowThreads();
22981 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22982 wxPyEndAllowThreads(__tstate);
22983 if (PyErr_Occurred()) SWIG_fail;
22984 }
22985 resultobj = SWIG_Py_Void();
22986 return resultobj;
22987fail:
22988 return NULL;
22989}
22990
22991
22992SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22993 PyObject *resultobj = 0;
22994 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22995 int arg2 ;
22996 int arg3 ;
22997 void *argp1 = 0 ;
22998 int res1 = 0 ;
22999 int val2 ;
23000 int ecode2 = 0 ;
23001 int val3 ;
23002 int ecode3 = 0 ;
23003 PyObject * obj0 = 0 ;
23004 PyObject * obj1 = 0 ;
23005 PyObject * obj2 = 0 ;
23006 char * kwnames[] = {
23007 (char *) "self",(char *) "width",(char *) "height", NULL
23008 };
23009
23010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23011 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23012 if (!SWIG_IsOK(res1)) {
23013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23014 }
23015 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23016 ecode2 = SWIG_AsVal_int(obj1, &val2);
23017 if (!SWIG_IsOK(ecode2)) {
23018 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23019 }
23020 arg2 = static_cast< int >(val2);
23021 ecode3 = SWIG_AsVal_int(obj2, &val3);
23022 if (!SWIG_IsOK(ecode3)) {
23023 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23024 }
23025 arg3 = static_cast< int >(val3);
23026 {
23027 PyThreadState* __tstate = wxPyBeginAllowThreads();
23028 (arg1)->DoSetClientSize(arg2,arg3);
23029 wxPyEndAllowThreads(__tstate);
23030 if (PyErr_Occurred()) SWIG_fail;
23031 }
23032 resultobj = SWIG_Py_Void();
23033 return resultobj;
23034fail:
23035 return NULL;
23036}
23037
23038
23039SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23040 PyObject *resultobj = 0;
23041 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23042 int arg2 ;
23043 int arg3 ;
23044 void *argp1 = 0 ;
23045 int res1 = 0 ;
23046 int val2 ;
23047 int ecode2 = 0 ;
23048 int val3 ;
23049 int ecode3 = 0 ;
23050 PyObject * obj0 = 0 ;
23051 PyObject * obj1 = 0 ;
23052 PyObject * obj2 = 0 ;
23053 char * kwnames[] = {
23054 (char *) "self",(char *) "x",(char *) "y", NULL
23055 };
23056
23057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23059 if (!SWIG_IsOK(res1)) {
23060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23061 }
23062 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23063 ecode2 = SWIG_AsVal_int(obj1, &val2);
23064 if (!SWIG_IsOK(ecode2)) {
23065 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23066 }
23067 arg2 = static_cast< int >(val2);
23068 ecode3 = SWIG_AsVal_int(obj2, &val3);
23069 if (!SWIG_IsOK(ecode3)) {
23070 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23071 }
23072 arg3 = static_cast< int >(val3);
23073 {
23074 PyThreadState* __tstate = wxPyBeginAllowThreads();
23075 (arg1)->DoSetVirtualSize(arg2,arg3);
23076 wxPyEndAllowThreads(__tstate);
23077 if (PyErr_Occurred()) SWIG_fail;
23078 }
23079 resultobj = SWIG_Py_Void();
23080 return resultobj;
23081fail:
23082 return NULL;
23083}
23084
23085
23086SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23087 PyObject *resultobj = 0;
23088 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23089 int *arg2 = (int *) 0 ;
23090 int *arg3 = (int *) 0 ;
23091 void *argp1 = 0 ;
23092 int res1 = 0 ;
23093 int temp2 ;
23094 int res2 = SWIG_TMPOBJ ;
23095 int temp3 ;
23096 int res3 = SWIG_TMPOBJ ;
23097 PyObject *swig_obj[1] ;
23098
23099 arg2 = &temp2;
23100 arg3 = &temp3;
23101 if (!args) SWIG_fail;
23102 swig_obj[0] = args;
23103 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23104 if (!SWIG_IsOK(res1)) {
23105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23106 }
23107 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23108 {
23109 PyThreadState* __tstate = wxPyBeginAllowThreads();
23110 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23111 wxPyEndAllowThreads(__tstate);
23112 if (PyErr_Occurred()) SWIG_fail;
23113 }
23114 resultobj = SWIG_Py_Void();
23115 if (SWIG_IsTmpObj(res2)) {
23116 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23117 } else {
23118 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23119 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23120 }
23121 if (SWIG_IsTmpObj(res3)) {
23122 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23123 } else {
23124 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23125 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23126 }
23127 return resultobj;
23128fail:
23129 return NULL;
23130}
23131
23132
23133SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23134 PyObject *resultobj = 0;
23135 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23136 int *arg2 = (int *) 0 ;
23137 int *arg3 = (int *) 0 ;
23138 void *argp1 = 0 ;
23139 int res1 = 0 ;
23140 int temp2 ;
23141 int res2 = SWIG_TMPOBJ ;
23142 int temp3 ;
23143 int res3 = SWIG_TMPOBJ ;
23144 PyObject *swig_obj[1] ;
23145
23146 arg2 = &temp2;
23147 arg3 = &temp3;
23148 if (!args) SWIG_fail;
23149 swig_obj[0] = args;
23150 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23151 if (!SWIG_IsOK(res1)) {
23152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23153 }
23154 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23155 {
23156 PyThreadState* __tstate = wxPyBeginAllowThreads();
23157 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23158 wxPyEndAllowThreads(__tstate);
23159 if (PyErr_Occurred()) SWIG_fail;
23160 }
23161 resultobj = SWIG_Py_Void();
23162 if (SWIG_IsTmpObj(res2)) {
23163 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23164 } else {
23165 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23166 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23167 }
23168 if (SWIG_IsTmpObj(res3)) {
23169 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23170 } else {
23171 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23172 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23173 }
23174 return resultobj;
23175fail:
23176 return NULL;
23177}
23178
23179
23180SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23181 PyObject *resultobj = 0;
23182 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23183 int *arg2 = (int *) 0 ;
23184 int *arg3 = (int *) 0 ;
23185 void *argp1 = 0 ;
23186 int res1 = 0 ;
23187 int temp2 ;
23188 int res2 = SWIG_TMPOBJ ;
23189 int temp3 ;
23190 int res3 = SWIG_TMPOBJ ;
23191 PyObject *swig_obj[1] ;
23192
23193 arg2 = &temp2;
23194 arg3 = &temp3;
23195 if (!args) SWIG_fail;
23196 swig_obj[0] = args;
23197 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23198 if (!SWIG_IsOK(res1)) {
23199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23200 }
23201 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23202 {
23203 PyThreadState* __tstate = wxPyBeginAllowThreads();
23204 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23205 wxPyEndAllowThreads(__tstate);
23206 if (PyErr_Occurred()) SWIG_fail;
23207 }
23208 resultobj = SWIG_Py_Void();
23209 if (SWIG_IsTmpObj(res2)) {
23210 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23211 } else {
23212 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23213 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23214 }
23215 if (SWIG_IsTmpObj(res3)) {
23216 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23217 } else {
23218 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23219 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23220 }
23221 return resultobj;
23222fail:
23223 return NULL;
d55e5bfc
RD
23224}
23225
23226
1bd55598
RD
23227SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23228 PyObject *resultobj = 0;
23229 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23230 wxSize result;
23231 void *argp1 = 0 ;
23232 int res1 = 0 ;
23233 PyObject *swig_obj[1] ;
23234
23235 if (!args) SWIG_fail;
23236 swig_obj[0] = args;
23237 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23238 if (!SWIG_IsOK(res1)) {
23239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23240 }
23241 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23242 {
23243 PyThreadState* __tstate = wxPyBeginAllowThreads();
23244 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23245 wxPyEndAllowThreads(__tstate);
23246 if (PyErr_Occurred()) SWIG_fail;
23247 }
23248 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23249 return resultobj;
23250fail:
23251 return NULL;
d55e5bfc
RD
23252}
23253
23254
1bd55598
RD
23255SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23256 PyObject *resultobj = 0;
23257 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23258 wxSize result;
23259 void *argp1 = 0 ;
23260 int res1 = 0 ;
23261 PyObject *swig_obj[1] ;
23262
23263 if (!args) SWIG_fail;
23264 swig_obj[0] = args;
23265 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23266 if (!SWIG_IsOK(res1)) {
23267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23268 }
23269 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23270 {
23271 PyThreadState* __tstate = wxPyBeginAllowThreads();
23272 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23273 wxPyEndAllowThreads(__tstate);
23274 if (PyErr_Occurred()) SWIG_fail;
23275 }
23276 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23277 return resultobj;
23278fail:
23279 return NULL;
d55e5bfc
RD
23280}
23281
23282
1bd55598
RD
23283SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23284 PyObject *resultobj = 0;
23285 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23286 SwigValueWrapper<wxVisualAttributes > result;
23287 void *argp1 = 0 ;
23288 int res1 = 0 ;
23289 PyObject *swig_obj[1] ;
23290
23291 if (!args) SWIG_fail;
23292 swig_obj[0] = args;
23293 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23294 if (!SWIG_IsOK(res1)) {
23295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23296 }
23297 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23298 {
23299 PyThreadState* __tstate = wxPyBeginAllowThreads();
23300 result = (arg1)->GetDefaultAttributes();
23301 wxPyEndAllowThreads(__tstate);
23302 if (PyErr_Occurred()) SWIG_fail;
23303 }
23304 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23305 return resultobj;
23306fail:
23307 return NULL;
d55e5bfc
RD
23308}
23309
23310
1bd55598
RD
23311SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23312 PyObject *resultobj = 0;
23313 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23314 void *argp1 = 0 ;
23315 int res1 = 0 ;
23316 PyObject *swig_obj[1] ;
23317
23318 if (!args) SWIG_fail;
23319 swig_obj[0] = args;
23320 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23321 if (!SWIG_IsOK(res1)) {
23322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23323 }
23324 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23325 {
23326 PyThreadState* __tstate = wxPyBeginAllowThreads();
23327 (arg1)->OnInternalIdle();
23328 wxPyEndAllowThreads(__tstate);
23329 if (PyErr_Occurred()) SWIG_fail;
23330 }
23331 resultobj = SWIG_Py_Void();
23332 return resultobj;
23333fail:
23334 return NULL;
d55e5bfc
RD
23335}
23336
23337
1bd55598
RD
23338SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23339 PyObject *obj;
23340 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23341 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23342 return SWIG_Py_Void();
d55e5bfc
RD
23343}
23344
1bd55598
RD
23345SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23346 return SWIG_Python_InitShadowInstance(args);
23347}
d55e5bfc 23348
1bd55598
RD
23349SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23350 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23351 return 1;
d55e5bfc
RD
23352}
23353
23354
1bd55598
RD
23355SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23356 PyObject *pyobj = 0;
23357
23358 {
d55e5bfc 23359#if wxUSE_UNICODE
1bd55598 23360 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
d55e5bfc 23361#else
1bd55598 23362 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
d55e5bfc 23363#endif
1bd55598
RD
23364 }
23365 return pyobj;
d55e5bfc
RD
23366}
23367
23368
1bd55598
RD
23369SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23370 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23371 return 1;
23372}
23373
23374
23375SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23376 PyObject *pyobj = 0;
23377
23378 {
d55e5bfc 23379#if wxUSE_UNICODE
1bd55598 23380 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
d55e5bfc 23381#else
1bd55598 23382 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
d55e5bfc 23383#endif
1bd55598
RD
23384 }
23385 return pyobj;
d55e5bfc
RD
23386}
23387
23388
1bd55598
RD
23389SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23390 PyObject *resultobj = 0;
23391 wxPrintData *result = 0 ;
23392
23393 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23394 {
23395 PyThreadState* __tstate = wxPyBeginAllowThreads();
23396 result = (wxPrintData *)new wxPrintData();
23397 wxPyEndAllowThreads(__tstate);
23398 if (PyErr_Occurred()) SWIG_fail;
23399 }
23400 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23401 return resultobj;
23402fail:
23403 return NULL;
d55e5bfc
RD
23404}
23405
23406
1bd55598
RD
23407SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23408 PyObject *resultobj = 0;
23409 wxPrintData *arg1 = 0 ;
23410 wxPrintData *result = 0 ;
23411 void *argp1 = 0 ;
23412 int res1 = 0 ;
23413
23414 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23415 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23416 if (!SWIG_IsOK(res1)) {
23417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23418 }
23419 if (!argp1) {
23420 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23421 }
23422 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23423 {
23424 PyThreadState* __tstate = wxPyBeginAllowThreads();
23425 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23426 wxPyEndAllowThreads(__tstate);
23427 if (PyErr_Occurred()) SWIG_fail;
23428 }
23429 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23430 return resultobj;
23431fail:
23432 return NULL;
d55e5bfc
RD
23433}
23434
23435
1bd55598
RD
23436SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23437 int argc;
23438 PyObject *argv[2];
23439
23440 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23441 --argc;
23442 if (argc == 0) {
23443 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23444 }
23445 if (argc == 1) {
23446 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23447 }
23448
23449fail:
23450 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23451 return NULL;
d55e5bfc
RD
23452}
23453
23454
1bd55598
RD
23455SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23456 PyObject *resultobj = 0;
23457 wxPrintData *arg1 = (wxPrintData *) 0 ;
23458 void *argp1 = 0 ;
23459 int res1 = 0 ;
23460 PyObject *swig_obj[1] ;
23461
23462 if (!args) SWIG_fail;
23463 swig_obj[0] = args;
23464 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23465 if (!SWIG_IsOK(res1)) {
23466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23467 }
23468 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23469 {
23470 PyThreadState* __tstate = wxPyBeginAllowThreads();
23471 delete arg1;
d55e5bfc 23472
1bd55598
RD
23473 wxPyEndAllowThreads(__tstate);
23474 if (PyErr_Occurred()) SWIG_fail;
23475 }
23476 resultobj = SWIG_Py_Void();
23477 return resultobj;
23478fail:
23479 return NULL;
d55e5bfc
RD
23480}
23481
23482
1bd55598
RD
23483SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23484 PyObject *resultobj = 0;
23485 wxPrintData *arg1 = (wxPrintData *) 0 ;
23486 int result;
23487 void *argp1 = 0 ;
23488 int res1 = 0 ;
23489 PyObject *swig_obj[1] ;
23490
23491 if (!args) SWIG_fail;
23492 swig_obj[0] = args;
23493 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23494 if (!SWIG_IsOK(res1)) {
23495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23496 }
23497 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23498 {
23499 PyThreadState* __tstate = wxPyBeginAllowThreads();
23500 result = (int)(arg1)->GetNoCopies();
23501 wxPyEndAllowThreads(__tstate);
23502 if (PyErr_Occurred()) SWIG_fail;
23503 }
23504 resultobj = SWIG_From_int(static_cast< int >(result));
23505 return resultobj;
23506fail:
23507 return NULL;
d55e5bfc
RD
23508}
23509
23510
1bd55598
RD
23511SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23512 PyObject *resultobj = 0;
23513 wxPrintData *arg1 = (wxPrintData *) 0 ;
23514 bool result;
23515 void *argp1 = 0 ;
23516 int res1 = 0 ;
23517 PyObject *swig_obj[1] ;
23518
23519 if (!args) SWIG_fail;
23520 swig_obj[0] = args;
23521 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23522 if (!SWIG_IsOK(res1)) {
23523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23524 }
23525 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23526 {
23527 PyThreadState* __tstate = wxPyBeginAllowThreads();
23528 result = (bool)(arg1)->GetCollate();
23529 wxPyEndAllowThreads(__tstate);
23530 if (PyErr_Occurred()) SWIG_fail;
23531 }
23532 {
23533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23534 }
23535 return resultobj;
23536fail:
23537 return NULL;
d55e5bfc
RD
23538}
23539
23540
1bd55598
RD
23541SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23542 PyObject *resultobj = 0;
23543 wxPrintData *arg1 = (wxPrintData *) 0 ;
23544 int result;
23545 void *argp1 = 0 ;
23546 int res1 = 0 ;
23547 PyObject *swig_obj[1] ;
23548
23549 if (!args) SWIG_fail;
23550 swig_obj[0] = args;
23551 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23552 if (!SWIG_IsOK(res1)) {
23553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23554 }
23555 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23556 {
23557 PyThreadState* __tstate = wxPyBeginAllowThreads();
23558 result = (int)(arg1)->GetOrientation();
23559 wxPyEndAllowThreads(__tstate);
23560 if (PyErr_Occurred()) SWIG_fail;
23561 }
23562 resultobj = SWIG_From_int(static_cast< int >(result));
23563 return resultobj;
23564fail:
23565 return NULL;
d55e5bfc
RD
23566}
23567
23568
b39fe951 23569SWIGINTERN PyObject *_wrap_PrintData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1bd55598
RD
23570 PyObject *resultobj = 0;
23571 wxPrintData *arg1 = (wxPrintData *) 0 ;
23572 bool result;
23573 void *argp1 = 0 ;
23574 int res1 = 0 ;
23575 PyObject *swig_obj[1] ;
23576
23577 if (!args) SWIG_fail;
23578 swig_obj[0] = args;
23579 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23580 if (!SWIG_IsOK(res1)) {
b39fe951 23581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
1bd55598
RD
23582 }
23583 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23584 {
23585 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 23586 result = (bool)(arg1)->IsOk();
1bd55598
RD
23587 wxPyEndAllowThreads(__tstate);
23588 if (PyErr_Occurred()) SWIG_fail;
23589 }
23590 {
23591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23592 }
23593 return resultobj;
23594fail:
23595 return NULL;
d55e5bfc
RD
23596}
23597
23598
1bd55598
RD
23599SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23600 PyObject *resultobj = 0;
23601 wxPrintData *arg1 = (wxPrintData *) 0 ;
23602 wxString *result = 0 ;
23603 void *argp1 = 0 ;
23604 int res1 = 0 ;
23605 PyObject *swig_obj[1] ;
23606
23607 if (!args) SWIG_fail;
23608 swig_obj[0] = args;
23609 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23610 if (!SWIG_IsOK(res1)) {
23611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23612 }
23613 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23614 {
23615 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 23616 {
1bd55598
RD
23617 wxString const &_result_ref = (arg1)->GetPrinterName();
23618 result = (wxString *) &_result_ref;
d55e5bfc 23619 }
1bd55598
RD
23620 wxPyEndAllowThreads(__tstate);
23621 if (PyErr_Occurred()) SWIG_fail;
23622 }
23623 {
d55e5bfc 23624#if wxUSE_UNICODE
1bd55598 23625 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d55e5bfc 23626#else
1bd55598 23627 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d55e5bfc 23628#endif
1bd55598
RD
23629 }
23630 return resultobj;
23631fail:
23632 return NULL;
d55e5bfc
RD
23633}
23634
23635
1bd55598
RD
23636SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23637 PyObject *resultobj = 0;
23638 wxPrintData *arg1 = (wxPrintData *) 0 ;
23639 bool result;
23640 void *argp1 = 0 ;
23641 int res1 = 0 ;
23642 PyObject *swig_obj[1] ;
23643
23644 if (!args) SWIG_fail;
23645 swig_obj[0] = args;
23646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23647 if (!SWIG_IsOK(res1)) {
23648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23649 }
23650 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23651 {
23652 PyThreadState* __tstate = wxPyBeginAllowThreads();
23653 result = (bool)(arg1)->GetColour();
23654 wxPyEndAllowThreads(__tstate);
23655 if (PyErr_Occurred()) SWIG_fail;
23656 }
23657 {
23658 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23659 }
23660 return resultobj;
23661fail:
23662 return NULL;
d55e5bfc
RD
23663}
23664
23665
1bd55598
RD
23666SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23667 PyObject *resultobj = 0;
23668 wxPrintData *arg1 = (wxPrintData *) 0 ;
23669 wxDuplexMode result;
23670 void *argp1 = 0 ;
23671 int res1 = 0 ;
23672 PyObject *swig_obj[1] ;
23673
23674 if (!args) SWIG_fail;
23675 swig_obj[0] = args;
23676 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23677 if (!SWIG_IsOK(res1)) {
23678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23679 }
23680 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23681 {
23682 PyThreadState* __tstate = wxPyBeginAllowThreads();
23683 result = (wxDuplexMode)(arg1)->GetDuplex();
23684 wxPyEndAllowThreads(__tstate);
23685 if (PyErr_Occurred()) SWIG_fail;
23686 }
23687 resultobj = SWIG_From_int(static_cast< int >(result));
23688 return resultobj;
23689fail:
23690 return NULL;
d55e5bfc
RD
23691}
23692
23693
1bd55598
RD
23694SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23695 PyObject *resultobj = 0;
23696 wxPrintData *arg1 = (wxPrintData *) 0 ;
23697 wxPaperSize result;
23698 void *argp1 = 0 ;
23699 int res1 = 0 ;
23700 PyObject *swig_obj[1] ;
23701
23702 if (!args) SWIG_fail;
23703 swig_obj[0] = args;
23704 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23705 if (!SWIG_IsOK(res1)) {
23706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23707 }
23708 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23709 {
23710 PyThreadState* __tstate = wxPyBeginAllowThreads();
23711 result = (wxPaperSize)(arg1)->GetPaperId();
23712 wxPyEndAllowThreads(__tstate);
23713 if (PyErr_Occurred()) SWIG_fail;
23714 }
23715 resultobj = SWIG_From_int(static_cast< int >(result));
23716 return resultobj;
23717fail:
23718 return NULL;
070c48b4
RD
23719}
23720
23721
1bd55598
RD
23722SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23723 PyObject *resultobj = 0;
23724 wxPrintData *arg1 = (wxPrintData *) 0 ;
23725 wxSize *result = 0 ;
23726 void *argp1 = 0 ;
23727 int res1 = 0 ;
23728 PyObject *swig_obj[1] ;
23729
23730 if (!args) SWIG_fail;
23731 swig_obj[0] = args;
23732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23733 if (!SWIG_IsOK(res1)) {
23734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23735 }
23736 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23737 {
23738 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4 23739 {
1bd55598
RD
23740 wxSize const &_result_ref = (arg1)->GetPaperSize();
23741 result = (wxSize *) &_result_ref;
070c48b4 23742 }
1bd55598
RD
23743 wxPyEndAllowThreads(__tstate);
23744 if (PyErr_Occurred()) SWIG_fail;
23745 }
23746 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
23747 return resultobj;
23748fail:
23749 return NULL;
d55e5bfc
RD
23750}
23751
23752
1bd55598
RD
23753SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23754 PyObject *resultobj = 0;
23755 wxPrintData *arg1 = (wxPrintData *) 0 ;
23756 int result;
23757 void *argp1 = 0 ;
23758 int res1 = 0 ;
23759 PyObject *swig_obj[1] ;
23760
23761 if (!args) SWIG_fail;
23762 swig_obj[0] = args;
23763 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23764 if (!SWIG_IsOK(res1)) {
23765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23766 }
23767 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23768 {
23769 PyThreadState* __tstate = wxPyBeginAllowThreads();
23770 result = (int)(arg1)->GetQuality();
23771 wxPyEndAllowThreads(__tstate);
23772 if (PyErr_Occurred()) SWIG_fail;
23773 }
23774 resultobj = SWIG_From_int(static_cast< int >(result));
23775 return resultobj;
23776fail:
23777 return NULL;
d55e5bfc
RD
23778}
23779
23780
1bd55598
RD
23781SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23782 PyObject *resultobj = 0;
23783 wxPrintData *arg1 = (wxPrintData *) 0 ;
23784 wxPrintBin result;
23785 void *argp1 = 0 ;
23786 int res1 = 0 ;
23787 PyObject *swig_obj[1] ;
23788
23789 if (!args) SWIG_fail;
23790 swig_obj[0] = args;
23791 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23792 if (!SWIG_IsOK(res1)) {
23793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23794 }
23795 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23796 {
23797 PyThreadState* __tstate = wxPyBeginAllowThreads();
23798 result = (wxPrintBin)(arg1)->GetBin();
23799 wxPyEndAllowThreads(__tstate);
23800 if (PyErr_Occurred()) SWIG_fail;
23801 }
23802 resultobj = SWIG_From_int(static_cast< int >(result));
23803 return resultobj;
23804fail:
23805 return NULL;
d55e5bfc
RD
23806}
23807
23808
1bd55598
RD
23809SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23810 PyObject *resultobj = 0;
23811 wxPrintData *arg1 = (wxPrintData *) 0 ;
23812 wxPrintMode result;
23813 void *argp1 = 0 ;
23814 int res1 = 0 ;
23815 PyObject *swig_obj[1] ;
23816
23817 if (!args) SWIG_fail;
23818 swig_obj[0] = args;
23819 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23820 if (!SWIG_IsOK(res1)) {
23821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23822 }
23823 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23824 {
23825 PyThreadState* __tstate = wxPyBeginAllowThreads();
23826 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
23827 wxPyEndAllowThreads(__tstate);
23828 if (PyErr_Occurred()) SWIG_fail;
23829 }
23830 resultobj = SWIG_From_int(static_cast< int >(result));
23831 return resultobj;
23832fail:
23833 return NULL;
23834}
23835
23836
8f514ab4
RD
23837SWIGINTERN PyObject *_wrap_PrintData_GetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23838 PyObject *resultobj = 0;
23839 wxPrintData *arg1 = (wxPrintData *) 0 ;
23840 int result;
23841 void *argp1 = 0 ;
23842 int res1 = 0 ;
23843 PyObject *swig_obj[1] ;
23844
23845 if (!args) SWIG_fail;
23846 swig_obj[0] = args;
23847 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23848 if (!SWIG_IsOK(res1)) {
23849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23850 }
23851 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23852 {
23853 PyThreadState* __tstate = wxPyBeginAllowThreads();
23854 result = (int)((wxPrintData const *)arg1)->GetMedia();
23855 wxPyEndAllowThreads(__tstate);
23856 if (PyErr_Occurred()) SWIG_fail;
23857 }
23858 resultobj = SWIG_From_int(static_cast< int >(result));
23859 return resultobj;
23860fail:
23861 return NULL;
23862}
23863
23864
1bd55598
RD
23865SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23866 PyObject *resultobj = 0;
23867 wxPrintData *arg1 = (wxPrintData *) 0 ;
23868 int arg2 ;
23869 void *argp1 = 0 ;
23870 int res1 = 0 ;
23871 int val2 ;
23872 int ecode2 = 0 ;
23873 PyObject * obj0 = 0 ;
23874 PyObject * obj1 = 0 ;
23875 char * kwnames[] = {
23876 (char *) "self",(char *) "v", NULL
23877 };
23878
23879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
23880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23881 if (!SWIG_IsOK(res1)) {
23882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23883 }
23884 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23885 ecode2 = SWIG_AsVal_int(obj1, &val2);
23886 if (!SWIG_IsOK(ecode2)) {
23887 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23888 }
23889 arg2 = static_cast< int >(val2);
23890 {
23891 PyThreadState* __tstate = wxPyBeginAllowThreads();
23892 (arg1)->SetNoCopies(arg2);
23893 wxPyEndAllowThreads(__tstate);
23894 if (PyErr_Occurred()) SWIG_fail;
23895 }
23896 resultobj = SWIG_Py_Void();
23897 return resultobj;
23898fail:
23899 return NULL;
23900}
23901
23902
23903SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23904 PyObject *resultobj = 0;
23905 wxPrintData *arg1 = (wxPrintData *) 0 ;
23906 bool arg2 ;
23907 void *argp1 = 0 ;
23908 int res1 = 0 ;
23909 bool val2 ;
23910 int ecode2 = 0 ;
23911 PyObject * obj0 = 0 ;
23912 PyObject * obj1 = 0 ;
23913 char * kwnames[] = {
23914 (char *) "self",(char *) "flag", NULL
23915 };
23916
23917 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
23918 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23919 if (!SWIG_IsOK(res1)) {
23920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23921 }
23922 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23923 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23924 if (!SWIG_IsOK(ecode2)) {
23925 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23926 }
23927 arg2 = static_cast< bool >(val2);
23928 {
23929 PyThreadState* __tstate = wxPyBeginAllowThreads();
23930 (arg1)->SetCollate(arg2);
23931 wxPyEndAllowThreads(__tstate);
23932 if (PyErr_Occurred()) SWIG_fail;
23933 }
23934 resultobj = SWIG_Py_Void();
23935 return resultobj;
23936fail:
23937 return NULL;
23938}
23939
23940
23941SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23942 PyObject *resultobj = 0;
23943 wxPrintData *arg1 = (wxPrintData *) 0 ;
23944 int arg2 ;
23945 void *argp1 = 0 ;
23946 int res1 = 0 ;
23947 int val2 ;
23948 int ecode2 = 0 ;
23949 PyObject * obj0 = 0 ;
23950 PyObject * obj1 = 0 ;
23951 char * kwnames[] = {
23952 (char *) "self",(char *) "orient", NULL
23953 };
23954
23955 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
23956 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23957 if (!SWIG_IsOK(res1)) {
23958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23959 }
23960 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23961 ecode2 = SWIG_AsVal_int(obj1, &val2);
23962 if (!SWIG_IsOK(ecode2)) {
23963 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23964 }
23965 arg2 = static_cast< int >(val2);
23966 {
23967 PyThreadState* __tstate = wxPyBeginAllowThreads();
23968 (arg1)->SetOrientation(arg2);
23969 wxPyEndAllowThreads(__tstate);
23970 if (PyErr_Occurred()) SWIG_fail;
23971 }
23972 resultobj = SWIG_Py_Void();
23973 return resultobj;
23974fail:
23975 return NULL;
23976}
23977
23978
23979SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23980 PyObject *resultobj = 0;
23981 wxPrintData *arg1 = (wxPrintData *) 0 ;
23982 wxString *arg2 = 0 ;
23983 void *argp1 = 0 ;
23984 int res1 = 0 ;
23985 bool temp2 = false ;
23986 PyObject * obj0 = 0 ;
23987 PyObject * obj1 = 0 ;
23988 char * kwnames[] = {
23989 (char *) "self",(char *) "name", NULL
23990 };
23991
23992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",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_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23996 }
23997 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23998 {
23999 arg2 = wxString_in_helper(obj1);
24000 if (arg2 == NULL) SWIG_fail;
24001 temp2 = true;
24002 }
24003 {
24004 PyThreadState* __tstate = wxPyBeginAllowThreads();
24005 (arg1)->SetPrinterName((wxString const &)*arg2);
24006 wxPyEndAllowThreads(__tstate);
24007 if (PyErr_Occurred()) SWIG_fail;
24008 }
24009 resultobj = SWIG_Py_Void();
24010 {
24011 if (temp2)
24012 delete arg2;
24013 }
24014 return resultobj;
24015fail:
24016 {
24017 if (temp2)
24018 delete arg2;
24019 }
24020 return NULL;
24021}
24022
24023
24024SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24025 PyObject *resultobj = 0;
24026 wxPrintData *arg1 = (wxPrintData *) 0 ;
24027 bool arg2 ;
24028 void *argp1 = 0 ;
24029 int res1 = 0 ;
24030 bool val2 ;
24031 int ecode2 = 0 ;
24032 PyObject * obj0 = 0 ;
24033 PyObject * obj1 = 0 ;
24034 char * kwnames[] = {
24035 (char *) "self",(char *) "colour", NULL
24036 };
24037
24038 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24039 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24040 if (!SWIG_IsOK(res1)) {
24041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24042 }
24043 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24044 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24045 if (!SWIG_IsOK(ecode2)) {
24046 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24047 }
24048 arg2 = static_cast< bool >(val2);
24049 {
24050 PyThreadState* __tstate = wxPyBeginAllowThreads();
24051 (arg1)->SetColour(arg2);
24052 wxPyEndAllowThreads(__tstate);
24053 if (PyErr_Occurred()) SWIG_fail;
24054 }
24055 resultobj = SWIG_Py_Void();
24056 return resultobj;
24057fail:
24058 return NULL;
24059}
24060
24061
24062SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24063 PyObject *resultobj = 0;
24064 wxPrintData *arg1 = (wxPrintData *) 0 ;
24065 wxDuplexMode arg2 ;
24066 void *argp1 = 0 ;
24067 int res1 = 0 ;
24068 int val2 ;
24069 int ecode2 = 0 ;
24070 PyObject * obj0 = 0 ;
24071 PyObject * obj1 = 0 ;
24072 char * kwnames[] = {
24073 (char *) "self",(char *) "duplex", NULL
24074 };
24075
24076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24078 if (!SWIG_IsOK(res1)) {
24079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24080 }
24081 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24082 ecode2 = SWIG_AsVal_int(obj1, &val2);
24083 if (!SWIG_IsOK(ecode2)) {
24084 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24085 }
24086 arg2 = static_cast< wxDuplexMode >(val2);
24087 {
24088 PyThreadState* __tstate = wxPyBeginAllowThreads();
24089 (arg1)->SetDuplex(arg2);
24090 wxPyEndAllowThreads(__tstate);
24091 if (PyErr_Occurred()) SWIG_fail;
24092 }
24093 resultobj = SWIG_Py_Void();
24094 return resultobj;
24095fail:
24096 return NULL;
24097}
24098
24099
24100SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24101 PyObject *resultobj = 0;
24102 wxPrintData *arg1 = (wxPrintData *) 0 ;
24103 wxPaperSize arg2 ;
24104 void *argp1 = 0 ;
24105 int res1 = 0 ;
24106 int val2 ;
24107 int ecode2 = 0 ;
24108 PyObject * obj0 = 0 ;
24109 PyObject * obj1 = 0 ;
24110 char * kwnames[] = {
24111 (char *) "self",(char *) "sizeId", NULL
24112 };
24113
24114 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24115 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24116 if (!SWIG_IsOK(res1)) {
24117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24118 }
24119 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24120 ecode2 = SWIG_AsVal_int(obj1, &val2);
24121 if (!SWIG_IsOK(ecode2)) {
24122 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24123 }
24124 arg2 = static_cast< wxPaperSize >(val2);
24125 {
24126 PyThreadState* __tstate = wxPyBeginAllowThreads();
24127 (arg1)->SetPaperId(arg2);
24128 wxPyEndAllowThreads(__tstate);
24129 if (PyErr_Occurred()) SWIG_fail;
24130 }
24131 resultobj = SWIG_Py_Void();
24132 return resultobj;
24133fail:
24134 return NULL;
24135}
24136
24137
24138SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24139 PyObject *resultobj = 0;
24140 wxPrintData *arg1 = (wxPrintData *) 0 ;
24141 wxSize *arg2 = 0 ;
24142 void *argp1 = 0 ;
24143 int res1 = 0 ;
24144 wxSize temp2 ;
24145 PyObject * obj0 = 0 ;
24146 PyObject * obj1 = 0 ;
24147 char * kwnames[] = {
24148 (char *) "self",(char *) "sz", NULL
24149 };
24150
24151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",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_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24155 }
24156 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24157 {
24158 arg2 = &temp2;
24159 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24160 }
24161 {
24162 PyThreadState* __tstate = wxPyBeginAllowThreads();
24163 (arg1)->SetPaperSize((wxSize const &)*arg2);
24164 wxPyEndAllowThreads(__tstate);
24165 if (PyErr_Occurred()) SWIG_fail;
24166 }
24167 resultobj = SWIG_Py_Void();
24168 return resultobj;
24169fail:
24170 return NULL;
24171}
24172
24173
24174SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24175 PyObject *resultobj = 0;
24176 wxPrintData *arg1 = (wxPrintData *) 0 ;
24177 int arg2 ;
24178 void *argp1 = 0 ;
24179 int res1 = 0 ;
24180 int val2 ;
24181 int ecode2 = 0 ;
24182 PyObject * obj0 = 0 ;
24183 PyObject * obj1 = 0 ;
24184 char * kwnames[] = {
24185 (char *) "self",(char *) "quality", NULL
24186 };
24187
24188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24190 if (!SWIG_IsOK(res1)) {
24191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24192 }
24193 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24194 ecode2 = SWIG_AsVal_int(obj1, &val2);
24195 if (!SWIG_IsOK(ecode2)) {
24196 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24197 }
24198 arg2 = static_cast< int >(val2);
24199 {
24200 PyThreadState* __tstate = wxPyBeginAllowThreads();
24201 (arg1)->SetQuality(arg2);
24202 wxPyEndAllowThreads(__tstate);
24203 if (PyErr_Occurred()) SWIG_fail;
24204 }
24205 resultobj = SWIG_Py_Void();
24206 return resultobj;
24207fail:
24208 return NULL;
24209}
24210
24211
24212SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24213 PyObject *resultobj = 0;
24214 wxPrintData *arg1 = (wxPrintData *) 0 ;
24215 wxPrintBin arg2 ;
24216 void *argp1 = 0 ;
24217 int res1 = 0 ;
24218 int val2 ;
24219 int ecode2 = 0 ;
24220 PyObject * obj0 = 0 ;
24221 PyObject * obj1 = 0 ;
24222 char * kwnames[] = {
24223 (char *) "self",(char *) "bin", NULL
24224 };
24225
24226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",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_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24230 }
24231 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24232 ecode2 = SWIG_AsVal_int(obj1, &val2);
24233 if (!SWIG_IsOK(ecode2)) {
24234 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24235 }
24236 arg2 = static_cast< wxPrintBin >(val2);
24237 {
24238 PyThreadState* __tstate = wxPyBeginAllowThreads();
24239 (arg1)->SetBin(arg2);
24240 wxPyEndAllowThreads(__tstate);
24241 if (PyErr_Occurred()) SWIG_fail;
24242 }
24243 resultobj = SWIG_Py_Void();
24244 return resultobj;
24245fail:
24246 return NULL;
24247}
24248
24249
24250SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24251 PyObject *resultobj = 0;
24252 wxPrintData *arg1 = (wxPrintData *) 0 ;
24253 wxPrintMode arg2 ;
24254 void *argp1 = 0 ;
24255 int res1 = 0 ;
24256 int val2 ;
24257 int ecode2 = 0 ;
24258 PyObject * obj0 = 0 ;
24259 PyObject * obj1 = 0 ;
24260 char * kwnames[] = {
24261 (char *) "self",(char *) "printMode", NULL
24262 };
24263
24264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24266 if (!SWIG_IsOK(res1)) {
24267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24268 }
24269 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24270 ecode2 = SWIG_AsVal_int(obj1, &val2);
24271 if (!SWIG_IsOK(ecode2)) {
24272 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24273 }
24274 arg2 = static_cast< wxPrintMode >(val2);
24275 {
24276 PyThreadState* __tstate = wxPyBeginAllowThreads();
24277 (arg1)->SetPrintMode(arg2);
24278 wxPyEndAllowThreads(__tstate);
24279 if (PyErr_Occurred()) SWIG_fail;
24280 }
24281 resultobj = SWIG_Py_Void();
24282 return resultobj;
24283fail:
24284 return NULL;
24285}
d55e5bfc
RD
24286
24287
8f514ab4
RD
24288SWIGINTERN PyObject *_wrap_PrintData_SetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24289 PyObject *resultobj = 0;
24290 wxPrintData *arg1 = (wxPrintData *) 0 ;
24291 int arg2 ;
24292 void *argp1 = 0 ;
24293 int res1 = 0 ;
24294 int val2 ;
24295 int ecode2 = 0 ;
24296 PyObject * obj0 = 0 ;
24297 PyObject * obj1 = 0 ;
24298 char * kwnames[] = {
24299 (char *) "self",(char *) "media", NULL
24300 };
24301
24302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetMedia",kwnames,&obj0,&obj1)) SWIG_fail;
24303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24304 if (!SWIG_IsOK(res1)) {
24305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24306 }
24307 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24308 ecode2 = SWIG_AsVal_int(obj1, &val2);
24309 if (!SWIG_IsOK(ecode2)) {
24310 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24311 }
24312 arg2 = static_cast< int >(val2);
24313 {
24314 PyThreadState* __tstate = wxPyBeginAllowThreads();
24315 (arg1)->SetMedia(arg2);
24316 wxPyEndAllowThreads(__tstate);
24317 if (PyErr_Occurred()) SWIG_fail;
24318 }
24319 resultobj = SWIG_Py_Void();
24320 return resultobj;
24321fail:
24322 return NULL;
24323}
24324
24325
1bd55598
RD
24326SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24327 PyObject *resultobj = 0;
24328 wxPrintData *arg1 = (wxPrintData *) 0 ;
24329 wxString result;
24330 void *argp1 = 0 ;
24331 int res1 = 0 ;
24332 PyObject *swig_obj[1] ;
24333
24334 if (!args) SWIG_fail;
24335 swig_obj[0] = args;
24336 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24337 if (!SWIG_IsOK(res1)) {
24338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24339 }
24340 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24341 {
24342 PyThreadState* __tstate = wxPyBeginAllowThreads();
24343 result = ((wxPrintData const *)arg1)->GetFilename();
24344 wxPyEndAllowThreads(__tstate);
24345 if (PyErr_Occurred()) SWIG_fail;
24346 }
24347 {
24348#if wxUSE_UNICODE
24349 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24350#else
24351 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24352#endif
24353 }
24354 return resultobj;
24355fail:
24356 return NULL;
24357}
24358
24359
24360SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24361 PyObject *resultobj = 0;
24362 wxPrintData *arg1 = (wxPrintData *) 0 ;
24363 wxString *arg2 = 0 ;
24364 void *argp1 = 0 ;
24365 int res1 = 0 ;
24366 bool temp2 = false ;
24367 PyObject * obj0 = 0 ;
24368 PyObject * obj1 = 0 ;
24369 char * kwnames[] = {
24370 (char *) "self",(char *) "filename", NULL
24371 };
24372
24373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24375 if (!SWIG_IsOK(res1)) {
24376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24377 }
24378 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24379 {
24380 arg2 = wxString_in_helper(obj1);
24381 if (arg2 == NULL) SWIG_fail;
24382 temp2 = true;
24383 }
24384 {
24385 PyThreadState* __tstate = wxPyBeginAllowThreads();
24386 (arg1)->SetFilename((wxString const &)*arg2);
24387 wxPyEndAllowThreads(__tstate);
24388 if (PyErr_Occurred()) SWIG_fail;
24389 }
24390 resultobj = SWIG_Py_Void();
24391 {
24392 if (temp2)
24393 delete arg2;
24394 }
24395 return resultobj;
24396fail:
24397 {
24398 if (temp2)
24399 delete arg2;
24400 }
24401 return NULL;
d55e5bfc
RD
24402}
24403
24404
1bd55598
RD
24405SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24406 PyObject *resultobj = 0;
24407 wxPrintData *arg1 = (wxPrintData *) 0 ;
24408 PyObject *result = 0 ;
24409 void *argp1 = 0 ;
24410 int res1 = 0 ;
24411 PyObject *swig_obj[1] ;
24412
24413 if (!args) SWIG_fail;
24414 swig_obj[0] = args;
24415 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24416 if (!SWIG_IsOK(res1)) {
24417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24418 }
24419 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24420 {
24421 PyThreadState* __tstate = wxPyBeginAllowThreads();
24422 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24423 wxPyEndAllowThreads(__tstate);
24424 if (PyErr_Occurred()) SWIG_fail;
24425 }
24426 resultobj = result;
24427 return resultobj;
24428fail:
24429 return NULL;
24430}
24431
24432
24433SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24434 PyObject *resultobj = 0;
24435 wxPrintData *arg1 = (wxPrintData *) 0 ;
24436 PyObject *arg2 = (PyObject *) 0 ;
24437 void *argp1 = 0 ;
24438 int res1 = 0 ;
24439 PyObject * obj0 = 0 ;
24440 PyObject * obj1 = 0 ;
24441 char * kwnames[] = {
24442 (char *) "self",(char *) "data", NULL
24443 };
24444
24445 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24446 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24447 if (!SWIG_IsOK(res1)) {
24448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24449 }
24450 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24451 arg2 = obj1;
24452 {
24453 PyThreadState* __tstate = wxPyBeginAllowThreads();
24454 wxPrintData_SetPrivData(arg1,arg2);
24455 wxPyEndAllowThreads(__tstate);
24456 if (PyErr_Occurred()) SWIG_fail;
24457 }
24458 resultobj = SWIG_Py_Void();
24459 return resultobj;
24460fail:
24461 return NULL;
d55e5bfc
RD
24462}
24463
24464
1bd55598
RD
24465SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24466 PyObject *obj;
24467 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24468 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24469 return SWIG_Py_Void();
d55e5bfc
RD
24470}
24471
1bd55598
RD
24472SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24473 return SWIG_Python_InitShadowInstance(args);
24474}
d55e5bfc 24475
1bd55598
RD
24476SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24477 PyObject *resultobj = 0;
24478 wxPageSetupDialogData *result = 0 ;
24479
24480 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24481 {
24482 PyThreadState* __tstate = wxPyBeginAllowThreads();
24483 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24484 wxPyEndAllowThreads(__tstate);
24485 if (PyErr_Occurred()) SWIG_fail;
24486 }
24487 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24488 return resultobj;
24489fail:
24490 return NULL;
d55e5bfc
RD
24491}
24492
24493
1bd55598
RD
24494SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24495 PyObject *resultobj = 0;
24496 wxPageSetupDialogData *arg1 = 0 ;
24497 wxPageSetupDialogData *result = 0 ;
24498 void *argp1 = 0 ;
24499 int res1 = 0 ;
24500
24501 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24502 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24503 if (!SWIG_IsOK(res1)) {
24504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24505 }
24506 if (!argp1) {
24507 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24508 }
24509 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24510 {
24511 PyThreadState* __tstate = wxPyBeginAllowThreads();
24512 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24513 wxPyEndAllowThreads(__tstate);
24514 if (PyErr_Occurred()) SWIG_fail;
24515 }
24516 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24517 return resultobj;
24518fail:
24519 return NULL;
d55e5bfc
RD
24520}
24521
24522
1bd55598
RD
24523SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24524 PyObject *resultobj = 0;
24525 wxPrintData *arg1 = 0 ;
24526 wxPageSetupDialogData *result = 0 ;
24527 void *argp1 = 0 ;
24528 int res1 = 0 ;
24529
24530 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24531 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24532 if (!SWIG_IsOK(res1)) {
24533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24534 }
24535 if (!argp1) {
24536 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24537 }
24538 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24539 {
24540 PyThreadState* __tstate = wxPyBeginAllowThreads();
24541 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24542 wxPyEndAllowThreads(__tstate);
24543 if (PyErr_Occurred()) SWIG_fail;
24544 }
24545 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24546 return resultobj;
24547fail:
24548 return NULL;
d55e5bfc
RD
24549}
24550
24551
1bd55598
RD
24552SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24553 int argc;
24554 PyObject *argv[2];
24555
24556 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24557 --argc;
24558 if (argc == 0) {
24559 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24560 }
24561 if (argc == 1) {
24562 int _v = 0;
36ed4f51 24563 {
1bd55598
RD
24564 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24565 _v = SWIG_CheckState(res);
d55e5bfc 24566 }
1bd55598
RD
24567 if (!_v) goto check_2;
24568 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24569 }
24570check_2:
24571
24572 if (argc == 1) {
24573 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24574 }
24575
24576fail:
24577 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24578 return NULL;
d55e5bfc
RD
24579}
24580
24581
1bd55598
RD
24582SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24583 PyObject *resultobj = 0;
24584 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24585 void *argp1 = 0 ;
24586 int res1 = 0 ;
24587 PyObject *swig_obj[1] ;
24588
24589 if (!args) SWIG_fail;
24590 swig_obj[0] = args;
24591 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24592 if (!SWIG_IsOK(res1)) {
24593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24594 }
24595 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24596 {
24597 PyThreadState* __tstate = wxPyBeginAllowThreads();
24598 delete arg1;
d55e5bfc 24599
1bd55598
RD
24600 wxPyEndAllowThreads(__tstate);
24601 if (PyErr_Occurred()) SWIG_fail;
24602 }
24603 resultobj = SWIG_Py_Void();
24604 return resultobj;
24605fail:
24606 return NULL;
24607}
24608
24609
24610SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24611 PyObject *resultobj = 0;
24612 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24613 bool arg2 ;
24614 void *argp1 = 0 ;
24615 int res1 = 0 ;
24616 bool val2 ;
24617 int ecode2 = 0 ;
24618 PyObject * obj0 = 0 ;
24619 PyObject * obj1 = 0 ;
24620 char * kwnames[] = {
24621 (char *) "self",(char *) "flag", NULL
24622 };
24623
24624 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24625 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24626 if (!SWIG_IsOK(res1)) {
24627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24628 }
24629 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24630 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24631 if (!SWIG_IsOK(ecode2)) {
24632 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24633 }
24634 arg2 = static_cast< bool >(val2);
24635 {
24636 PyThreadState* __tstate = wxPyBeginAllowThreads();
24637 (arg1)->EnableHelp(arg2);
24638 wxPyEndAllowThreads(__tstate);
24639 if (PyErr_Occurred()) SWIG_fail;
24640 }
24641 resultobj = SWIG_Py_Void();
24642 return resultobj;
24643fail:
24644 return NULL;
24645}
24646
24647
24648SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24649 PyObject *resultobj = 0;
24650 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24651 bool arg2 ;
24652 void *argp1 = 0 ;
24653 int res1 = 0 ;
24654 bool val2 ;
24655 int ecode2 = 0 ;
24656 PyObject * obj0 = 0 ;
24657 PyObject * obj1 = 0 ;
24658 char * kwnames[] = {
24659 (char *) "self",(char *) "flag", NULL
24660 };
24661
24662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24664 if (!SWIG_IsOK(res1)) {
24665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24666 }
24667 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24668 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24669 if (!SWIG_IsOK(ecode2)) {
24670 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24671 }
24672 arg2 = static_cast< bool >(val2);
24673 {
24674 PyThreadState* __tstate = wxPyBeginAllowThreads();
24675 (arg1)->EnableMargins(arg2);
24676 wxPyEndAllowThreads(__tstate);
24677 if (PyErr_Occurred()) SWIG_fail;
24678 }
24679 resultobj = SWIG_Py_Void();
24680 return resultobj;
24681fail:
24682 return NULL;
24683}
24684
24685
24686SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24687 PyObject *resultobj = 0;
24688 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24689 bool arg2 ;
24690 void *argp1 = 0 ;
24691 int res1 = 0 ;
24692 bool val2 ;
24693 int ecode2 = 0 ;
24694 PyObject * obj0 = 0 ;
24695 PyObject * obj1 = 0 ;
24696 char * kwnames[] = {
24697 (char *) "self",(char *) "flag", NULL
24698 };
24699
24700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24702 if (!SWIG_IsOK(res1)) {
24703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24704 }
24705 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24706 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24707 if (!SWIG_IsOK(ecode2)) {
24708 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24709 }
24710 arg2 = static_cast< bool >(val2);
24711 {
24712 PyThreadState* __tstate = wxPyBeginAllowThreads();
24713 (arg1)->EnableOrientation(arg2);
24714 wxPyEndAllowThreads(__tstate);
24715 if (PyErr_Occurred()) SWIG_fail;
24716 }
24717 resultobj = SWIG_Py_Void();
24718 return resultobj;
24719fail:
24720 return NULL;
24721}
24722
24723
24724SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24725 PyObject *resultobj = 0;
24726 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24727 bool arg2 ;
24728 void *argp1 = 0 ;
24729 int res1 = 0 ;
24730 bool val2 ;
24731 int ecode2 = 0 ;
24732 PyObject * obj0 = 0 ;
24733 PyObject * obj1 = 0 ;
24734 char * kwnames[] = {
24735 (char *) "self",(char *) "flag", NULL
24736 };
24737
24738 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24739 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24740 if (!SWIG_IsOK(res1)) {
24741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24742 }
24743 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24744 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24745 if (!SWIG_IsOK(ecode2)) {
24746 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24747 }
24748 arg2 = static_cast< bool >(val2);
24749 {
24750 PyThreadState* __tstate = wxPyBeginAllowThreads();
24751 (arg1)->EnablePaper(arg2);
24752 wxPyEndAllowThreads(__tstate);
24753 if (PyErr_Occurred()) SWIG_fail;
24754 }
24755 resultobj = SWIG_Py_Void();
24756 return resultobj;
24757fail:
24758 return NULL;
24759}
24760
24761
24762SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24763 PyObject *resultobj = 0;
24764 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24765 bool arg2 ;
24766 void *argp1 = 0 ;
24767 int res1 = 0 ;
24768 bool val2 ;
24769 int ecode2 = 0 ;
24770 PyObject * obj0 = 0 ;
24771 PyObject * obj1 = 0 ;
24772 char * kwnames[] = {
24773 (char *) "self",(char *) "flag", NULL
24774 };
24775
24776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24778 if (!SWIG_IsOK(res1)) {
24779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24780 }
24781 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24782 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24783 if (!SWIG_IsOK(ecode2)) {
24784 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24785 }
24786 arg2 = static_cast< bool >(val2);
24787 {
24788 PyThreadState* __tstate = wxPyBeginAllowThreads();
24789 (arg1)->EnablePrinter(arg2);
24790 wxPyEndAllowThreads(__tstate);
24791 if (PyErr_Occurred()) SWIG_fail;
24792 }
24793 resultobj = SWIG_Py_Void();
24794 return resultobj;
24795fail:
24796 return NULL;
d55e5bfc
RD
24797}
24798
24799
1bd55598
RD
24800SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24801 PyObject *resultobj = 0;
24802 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24803 bool result;
24804 void *argp1 = 0 ;
24805 int res1 = 0 ;
24806 PyObject *swig_obj[1] ;
24807
24808 if (!args) SWIG_fail;
24809 swig_obj[0] = args;
24810 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24811 if (!SWIG_IsOK(res1)) {
24812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24813 }
24814 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24815 {
24816 PyThreadState* __tstate = wxPyBeginAllowThreads();
24817 result = (bool)(arg1)->GetDefaultMinMargins();
24818 wxPyEndAllowThreads(__tstate);
24819 if (PyErr_Occurred()) SWIG_fail;
24820 }
24821 {
24822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24823 }
24824 return resultobj;
24825fail:
24826 return NULL;
d55e5bfc
RD
24827}
24828
24829
1bd55598
RD
24830SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24831 PyObject *resultobj = 0;
24832 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24833 bool result;
24834 void *argp1 = 0 ;
24835 int res1 = 0 ;
24836 PyObject *swig_obj[1] ;
24837
24838 if (!args) SWIG_fail;
24839 swig_obj[0] = args;
24840 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24841 if (!SWIG_IsOK(res1)) {
24842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24843 }
24844 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24845 {
24846 PyThreadState* __tstate = wxPyBeginAllowThreads();
24847 result = (bool)(arg1)->GetEnableMargins();
24848 wxPyEndAllowThreads(__tstate);
24849 if (PyErr_Occurred()) SWIG_fail;
24850 }
24851 {
24852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24853 }
24854 return resultobj;
24855fail:
24856 return NULL;
d55e5bfc
RD
24857}
24858
24859
1bd55598
RD
24860SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24861 PyObject *resultobj = 0;
24862 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24863 bool result;
24864 void *argp1 = 0 ;
24865 int res1 = 0 ;
24866 PyObject *swig_obj[1] ;
24867
24868 if (!args) SWIG_fail;
24869 swig_obj[0] = args;
24870 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24871 if (!SWIG_IsOK(res1)) {
24872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24873 }
24874 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24875 {
24876 PyThreadState* __tstate = wxPyBeginAllowThreads();
24877 result = (bool)(arg1)->GetEnableOrientation();
24878 wxPyEndAllowThreads(__tstate);
24879 if (PyErr_Occurred()) SWIG_fail;
24880 }
24881 {
24882 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24883 }
24884 return resultobj;
24885fail:
24886 return NULL;
d55e5bfc
RD
24887}
24888
24889
1bd55598
RD
24890SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24891 PyObject *resultobj = 0;
24892 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24893 bool result;
24894 void *argp1 = 0 ;
24895 int res1 = 0 ;
24896 PyObject *swig_obj[1] ;
24897
24898 if (!args) SWIG_fail;
24899 swig_obj[0] = args;
24900 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24901 if (!SWIG_IsOK(res1)) {
24902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24903 }
24904 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24905 {
24906 PyThreadState* __tstate = wxPyBeginAllowThreads();
24907 result = (bool)(arg1)->GetEnablePaper();
24908 wxPyEndAllowThreads(__tstate);
24909 if (PyErr_Occurred()) SWIG_fail;
24910 }
24911 {
24912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24913 }
24914 return resultobj;
24915fail:
24916 return NULL;
d55e5bfc
RD
24917}
24918
24919
1bd55598
RD
24920SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24921 PyObject *resultobj = 0;
24922 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24923 bool result;
24924 void *argp1 = 0 ;
24925 int res1 = 0 ;
24926 PyObject *swig_obj[1] ;
24927
24928 if (!args) SWIG_fail;
24929 swig_obj[0] = args;
24930 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24931 if (!SWIG_IsOK(res1)) {
24932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24933 }
24934 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24935 {
24936 PyThreadState* __tstate = wxPyBeginAllowThreads();
24937 result = (bool)(arg1)->GetEnablePrinter();
24938 wxPyEndAllowThreads(__tstate);
24939 if (PyErr_Occurred()) SWIG_fail;
24940 }
24941 {
24942 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24943 }
24944 return resultobj;
24945fail:
24946 return NULL;
32fe5131
RD
24947}
24948
24949
1bd55598
RD
24950SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24951 PyObject *resultobj = 0;
24952 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24953 bool result;
24954 void *argp1 = 0 ;
24955 int res1 = 0 ;
24956 PyObject *swig_obj[1] ;
24957
24958 if (!args) SWIG_fail;
24959 swig_obj[0] = args;
24960 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24961 if (!SWIG_IsOK(res1)) {
24962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24963 }
24964 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24965 {
24966 PyThreadState* __tstate = wxPyBeginAllowThreads();
24967 result = (bool)(arg1)->GetEnableHelp();
24968 wxPyEndAllowThreads(__tstate);
24969 if (PyErr_Occurred()) SWIG_fail;
24970 }
24971 {
24972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24973 }
24974 return resultobj;
24975fail:
24976 return NULL;
d55e5bfc
RD
24977}
24978
24979
1bd55598
RD
24980SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24981 PyObject *resultobj = 0;
24982 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24983 bool result;
24984 void *argp1 = 0 ;
24985 int res1 = 0 ;
24986 PyObject *swig_obj[1] ;
24987
24988 if (!args) SWIG_fail;
24989 swig_obj[0] = args;
24990 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24991 if (!SWIG_IsOK(res1)) {
24992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24993 }
24994 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24995 {
24996 PyThreadState* __tstate = wxPyBeginAllowThreads();
24997 result = (bool)(arg1)->GetDefaultInfo();
24998 wxPyEndAllowThreads(__tstate);
24999 if (PyErr_Occurred()) SWIG_fail;
25000 }
25001 {
25002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25003 }
25004 return resultobj;
25005fail:
25006 return NULL;
d55e5bfc
RD
25007}
25008
25009
1bd55598
RD
25010SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25011 PyObject *resultobj = 0;
25012 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25013 wxPoint result;
25014 void *argp1 = 0 ;
25015 int res1 = 0 ;
25016 PyObject *swig_obj[1] ;
25017
25018 if (!args) SWIG_fail;
25019 swig_obj[0] = args;
25020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25021 if (!SWIG_IsOK(res1)) {
25022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25023 }
25024 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25025 {
25026 PyThreadState* __tstate = wxPyBeginAllowThreads();
25027 result = (arg1)->GetMarginTopLeft();
25028 wxPyEndAllowThreads(__tstate);
25029 if (PyErr_Occurred()) SWIG_fail;
25030 }
25031 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25032 return resultobj;
25033fail:
25034 return NULL;
d55e5bfc
RD
25035}
25036
25037
1bd55598
RD
25038SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25039 PyObject *resultobj = 0;
25040 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25041 wxPoint result;
25042 void *argp1 = 0 ;
25043 int res1 = 0 ;
25044 PyObject *swig_obj[1] ;
25045
25046 if (!args) SWIG_fail;
25047 swig_obj[0] = args;
25048 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25049 if (!SWIG_IsOK(res1)) {
25050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25051 }
25052 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25053 {
25054 PyThreadState* __tstate = wxPyBeginAllowThreads();
25055 result = (arg1)->GetMarginBottomRight();
25056 wxPyEndAllowThreads(__tstate);
25057 if (PyErr_Occurred()) SWIG_fail;
25058 }
25059 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25060 return resultobj;
25061fail:
25062 return NULL;
d55e5bfc
RD
25063}
25064
25065
1bd55598
RD
25066SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25067 PyObject *resultobj = 0;
25068 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25069 wxPoint result;
25070 void *argp1 = 0 ;
25071 int res1 = 0 ;
25072 PyObject *swig_obj[1] ;
25073
25074 if (!args) SWIG_fail;
25075 swig_obj[0] = args;
25076 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25077 if (!SWIG_IsOK(res1)) {
25078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25079 }
25080 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25081 {
25082 PyThreadState* __tstate = wxPyBeginAllowThreads();
25083 result = (arg1)->GetMinMarginTopLeft();
25084 wxPyEndAllowThreads(__tstate);
25085 if (PyErr_Occurred()) SWIG_fail;
25086 }
25087 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25088 return resultobj;
25089fail:
25090 return NULL;
d55e5bfc
RD
25091}
25092
25093
1bd55598
RD
25094SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25095 PyObject *resultobj = 0;
25096 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25097 wxPoint result;
25098 void *argp1 = 0 ;
25099 int res1 = 0 ;
25100 PyObject *swig_obj[1] ;
25101
25102 if (!args) SWIG_fail;
25103 swig_obj[0] = args;
25104 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25105 if (!SWIG_IsOK(res1)) {
25106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25107 }
25108 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25109 {
25110 PyThreadState* __tstate = wxPyBeginAllowThreads();
25111 result = (arg1)->GetMinMarginBottomRight();
25112 wxPyEndAllowThreads(__tstate);
25113 if (PyErr_Occurred()) SWIG_fail;
25114 }
25115 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25116 return resultobj;
25117fail:
25118 return NULL;
d55e5bfc
RD
25119}
25120
25121
1bd55598
RD
25122SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25123 PyObject *resultobj = 0;
25124 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25125 wxPaperSize result;
25126 void *argp1 = 0 ;
25127 int res1 = 0 ;
25128 PyObject *swig_obj[1] ;
25129
25130 if (!args) SWIG_fail;
25131 swig_obj[0] = args;
25132 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25133 if (!SWIG_IsOK(res1)) {
25134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25135 }
25136 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25137 {
25138 PyThreadState* __tstate = wxPyBeginAllowThreads();
25139 result = (wxPaperSize)(arg1)->GetPaperId();
25140 wxPyEndAllowThreads(__tstate);
25141 if (PyErr_Occurred()) SWIG_fail;
25142 }
25143 resultobj = SWIG_From_int(static_cast< int >(result));
25144 return resultobj;
25145fail:
25146 return NULL;
d55e5bfc
RD
25147}
25148
25149
1bd55598
RD
25150SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25151 PyObject *resultobj = 0;
25152 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25153 wxSize result;
25154 void *argp1 = 0 ;
25155 int res1 = 0 ;
25156 PyObject *swig_obj[1] ;
25157
25158 if (!args) SWIG_fail;
25159 swig_obj[0] = args;
25160 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25161 if (!SWIG_IsOK(res1)) {
25162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25163 }
25164 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25165 {
25166 PyThreadState* __tstate = wxPyBeginAllowThreads();
25167 result = (arg1)->GetPaperSize();
25168 wxPyEndAllowThreads(__tstate);
25169 if (PyErr_Occurred()) SWIG_fail;
25170 }
25171 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25172 return resultobj;
25173fail:
25174 return NULL;
d55e5bfc
RD
25175}
25176
25177
1bd55598
RD
25178SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25179 PyObject *resultobj = 0;
25180 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25181 wxPrintData *result = 0 ;
25182 void *argp1 = 0 ;
25183 int res1 = 0 ;
25184 PyObject *swig_obj[1] ;
25185
25186 if (!args) SWIG_fail;
25187 swig_obj[0] = args;
25188 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25189 if (!SWIG_IsOK(res1)) {
25190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25191 }
25192 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25193 {
25194 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 25195 {
1bd55598
RD
25196 wxPrintData &_result_ref = (arg1)->GetPrintData();
25197 result = (wxPrintData *) &_result_ref;
d55e5bfc 25198 }
1bd55598
RD
25199 wxPyEndAllowThreads(__tstate);
25200 if (PyErr_Occurred()) SWIG_fail;
25201 }
25202 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25203 return resultobj;
25204fail:
25205 return NULL;
d55e5bfc
RD
25206}
25207
25208
b39fe951 25209SWIGINTERN PyObject *_wrap_PageSetupDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1bd55598
RD
25210 PyObject *resultobj = 0;
25211 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25212 bool result;
25213 void *argp1 = 0 ;
25214 int res1 = 0 ;
25215 PyObject *swig_obj[1] ;
25216
25217 if (!args) SWIG_fail;
25218 swig_obj[0] = args;
25219 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25220 if (!SWIG_IsOK(res1)) {
b39fe951 25221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
1bd55598
RD
25222 }
25223 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25224 {
25225 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 25226 result = (bool)(arg1)->IsOk();
1bd55598
RD
25227 wxPyEndAllowThreads(__tstate);
25228 if (PyErr_Occurred()) SWIG_fail;
25229 }
25230 {
25231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25232 }
25233 return resultobj;
25234fail:
25235 return NULL;
25236}
25237
25238
25239SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25240 PyObject *resultobj = 0;
25241 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25242 bool arg2 ;
25243 void *argp1 = 0 ;
25244 int res1 = 0 ;
25245 bool val2 ;
25246 int ecode2 = 0 ;
25247 PyObject * obj0 = 0 ;
25248 PyObject * obj1 = 0 ;
25249 char * kwnames[] = {
25250 (char *) "self",(char *) "flag", NULL
25251 };
25252
25253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25255 if (!SWIG_IsOK(res1)) {
25256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25257 }
25258 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25259 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25260 if (!SWIG_IsOK(ecode2)) {
25261 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25262 }
25263 arg2 = static_cast< bool >(val2);
25264 {
25265 PyThreadState* __tstate = wxPyBeginAllowThreads();
25266 (arg1)->SetDefaultInfo(arg2);
25267 wxPyEndAllowThreads(__tstate);
25268 if (PyErr_Occurred()) SWIG_fail;
25269 }
25270 resultobj = SWIG_Py_Void();
25271 return resultobj;
25272fail:
25273 return NULL;
25274}
25275
25276
25277SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25278 PyObject *resultobj = 0;
25279 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25280 bool arg2 ;
25281 void *argp1 = 0 ;
25282 int res1 = 0 ;
25283 bool val2 ;
25284 int ecode2 = 0 ;
25285 PyObject * obj0 = 0 ;
25286 PyObject * obj1 = 0 ;
25287 char * kwnames[] = {
25288 (char *) "self",(char *) "flag", NULL
25289 };
25290
25291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25293 if (!SWIG_IsOK(res1)) {
25294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25295 }
25296 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25297 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25298 if (!SWIG_IsOK(ecode2)) {
25299 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25300 }
25301 arg2 = static_cast< bool >(val2);
25302 {
25303 PyThreadState* __tstate = wxPyBeginAllowThreads();
25304 (arg1)->SetDefaultMinMargins(arg2);
25305 wxPyEndAllowThreads(__tstate);
25306 if (PyErr_Occurred()) SWIG_fail;
25307 }
25308 resultobj = SWIG_Py_Void();
25309 return resultobj;
25310fail:
25311 return NULL;
25312}
25313
25314
25315SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25316 PyObject *resultobj = 0;
25317 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25318 wxPoint *arg2 = 0 ;
25319 void *argp1 = 0 ;
25320 int res1 = 0 ;
25321 wxPoint temp2 ;
25322 PyObject * obj0 = 0 ;
25323 PyObject * obj1 = 0 ;
25324 char * kwnames[] = {
25325 (char *) "self",(char *) "pt", NULL
25326 };
25327
25328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",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_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25332 }
25333 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25334 {
25335 arg2 = &temp2;
25336 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25337 }
25338 {
25339 PyThreadState* __tstate = wxPyBeginAllowThreads();
25340 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25341 wxPyEndAllowThreads(__tstate);
25342 if (PyErr_Occurred()) SWIG_fail;
25343 }
25344 resultobj = SWIG_Py_Void();
25345 return resultobj;
25346fail:
25347 return NULL;
25348}
25349
25350
25351SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25352 PyObject *resultobj = 0;
25353 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25354 wxPoint *arg2 = 0 ;
25355 void *argp1 = 0 ;
25356 int res1 = 0 ;
25357 wxPoint temp2 ;
25358 PyObject * obj0 = 0 ;
25359 PyObject * obj1 = 0 ;
25360 char * kwnames[] = {
25361 (char *) "self",(char *) "pt", NULL
25362 };
25363
25364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25366 if (!SWIG_IsOK(res1)) {
25367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25368 }
25369 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25370 {
25371 arg2 = &temp2;
25372 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25373 }
25374 {
25375 PyThreadState* __tstate = wxPyBeginAllowThreads();
25376 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25377 wxPyEndAllowThreads(__tstate);
25378 if (PyErr_Occurred()) SWIG_fail;
25379 }
25380 resultobj = SWIG_Py_Void();
25381 return resultobj;
25382fail:
25383 return NULL;
25384}
25385
25386
25387SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25388 PyObject *resultobj = 0;
25389 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25390 wxPoint *arg2 = 0 ;
25391 void *argp1 = 0 ;
25392 int res1 = 0 ;
25393 wxPoint temp2 ;
25394 PyObject * obj0 = 0 ;
25395 PyObject * obj1 = 0 ;
25396 char * kwnames[] = {
25397 (char *) "self",(char *) "pt", NULL
25398 };
25399
25400 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25401 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25402 if (!SWIG_IsOK(res1)) {
25403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25404 }
25405 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25406 {
25407 arg2 = &temp2;
25408 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25409 }
25410 {
25411 PyThreadState* __tstate = wxPyBeginAllowThreads();
25412 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25413 wxPyEndAllowThreads(__tstate);
25414 if (PyErr_Occurred()) SWIG_fail;
25415 }
25416 resultobj = SWIG_Py_Void();
25417 return resultobj;
25418fail:
25419 return NULL;
25420}
25421
25422
25423SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25424 PyObject *resultobj = 0;
25425 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25426 wxPoint *arg2 = 0 ;
25427 void *argp1 = 0 ;
25428 int res1 = 0 ;
25429 wxPoint temp2 ;
25430 PyObject * obj0 = 0 ;
25431 PyObject * obj1 = 0 ;
25432 char * kwnames[] = {
25433 (char *) "self",(char *) "pt", NULL
25434 };
25435
25436 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25437 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25438 if (!SWIG_IsOK(res1)) {
25439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25440 }
25441 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25442 {
25443 arg2 = &temp2;
25444 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25445 }
25446 {
25447 PyThreadState* __tstate = wxPyBeginAllowThreads();
25448 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25449 wxPyEndAllowThreads(__tstate);
25450 if (PyErr_Occurred()) SWIG_fail;
25451 }
25452 resultobj = SWIG_Py_Void();
25453 return resultobj;
25454fail:
25455 return NULL;
25456}
25457
25458
25459SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25460 PyObject *resultobj = 0;
25461 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25462 wxPaperSize arg2 ;
25463 void *argp1 = 0 ;
25464 int res1 = 0 ;
25465 int val2 ;
25466 int ecode2 = 0 ;
25467 PyObject * obj0 = 0 ;
25468 PyObject * obj1 = 0 ;
25469 char * kwnames[] = {
25470 (char *) "self",(char *) "id", NULL
25471 };
25472
25473 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",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_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25477 }
25478 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25479 ecode2 = SWIG_AsVal_int(obj1, &val2);
25480 if (!SWIG_IsOK(ecode2)) {
25481 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25482 }
25483 arg2 = static_cast< wxPaperSize >(val2);
25484 {
25485 PyThreadState* __tstate = wxPyBeginAllowThreads();
25486 (arg1)->SetPaperId(arg2);
25487 wxPyEndAllowThreads(__tstate);
25488 if (PyErr_Occurred()) SWIG_fail;
25489 }
25490 resultobj = SWIG_Py_Void();
25491 return resultobj;
25492fail:
25493 return NULL;
25494}
25495
25496
25497SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25498 PyObject *resultobj = 0;
25499 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25500 wxSize *arg2 = 0 ;
25501 void *argp1 = 0 ;
25502 int res1 = 0 ;
25503 wxSize temp2 ;
25504 PyObject * obj0 = 0 ;
25505 PyObject * obj1 = 0 ;
25506 char * kwnames[] = {
25507 (char *) "self",(char *) "size", NULL
25508 };
25509
25510 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",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_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25514 }
25515 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25516 {
25517 arg2 = &temp2;
25518 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25519 }
25520 {
25521 PyThreadState* __tstate = wxPyBeginAllowThreads();
25522 (arg1)->SetPaperSize((wxSize const &)*arg2);
25523 wxPyEndAllowThreads(__tstate);
25524 if (PyErr_Occurred()) SWIG_fail;
25525 }
25526 resultobj = SWIG_Py_Void();
25527 return resultobj;
25528fail:
25529 return NULL;
25530}
25531
25532
25533SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25534 PyObject *resultobj = 0;
25535 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25536 wxPrintData *arg2 = 0 ;
25537 void *argp1 = 0 ;
25538 int res1 = 0 ;
25539 void *argp2 = 0 ;
25540 int res2 = 0 ;
25541 PyObject * obj0 = 0 ;
25542 PyObject * obj1 = 0 ;
25543 char * kwnames[] = {
25544 (char *) "self",(char *) "printData", NULL
25545 };
25546
25547 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",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_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25551 }
25552 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25553 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25554 if (!SWIG_IsOK(res2)) {
25555 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25556 }
25557 if (!argp2) {
25558 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25559 }
25560 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25561 {
25562 PyThreadState* __tstate = wxPyBeginAllowThreads();
25563 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25564 wxPyEndAllowThreads(__tstate);
25565 if (PyErr_Occurred()) SWIG_fail;
25566 }
25567 resultobj = SWIG_Py_Void();
25568 return resultobj;
25569fail:
25570 return NULL;
d55e5bfc
RD
25571}
25572
25573
1bd55598
RD
25574SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25575 PyObject *resultobj = 0;
25576 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25577 void *argp1 = 0 ;
25578 int res1 = 0 ;
25579 PyObject *swig_obj[1] ;
25580
25581 if (!args) SWIG_fail;
25582 swig_obj[0] = args;
25583 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25584 if (!SWIG_IsOK(res1)) {
25585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25586 }
25587 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25588 {
25589 PyThreadState* __tstate = wxPyBeginAllowThreads();
25590 (arg1)->CalculateIdFromPaperSize();
25591 wxPyEndAllowThreads(__tstate);
25592 if (PyErr_Occurred()) SWIG_fail;
25593 }
25594 resultobj = SWIG_Py_Void();
25595 return resultobj;
25596fail:
25597 return NULL;
d55e5bfc
RD
25598}
25599
25600
1bd55598
RD
25601SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25602 PyObject *resultobj = 0;
25603 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25604 void *argp1 = 0 ;
25605 int res1 = 0 ;
25606 PyObject *swig_obj[1] ;
25607
25608 if (!args) SWIG_fail;
25609 swig_obj[0] = args;
25610 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25611 if (!SWIG_IsOK(res1)) {
25612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25613 }
25614 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25615 {
25616 PyThreadState* __tstate = wxPyBeginAllowThreads();
25617 (arg1)->CalculatePaperSizeFromId();
25618 wxPyEndAllowThreads(__tstate);
25619 if (PyErr_Occurred()) SWIG_fail;
25620 }
25621 resultobj = SWIG_Py_Void();
25622 return resultobj;
25623fail:
25624 return NULL;
d55e5bfc
RD
25625}
25626
25627
1bd55598
RD
25628SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25629 PyObject *obj;
25630 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25631 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25632 return SWIG_Py_Void();
d55e5bfc
RD
25633}
25634
1bd55598
RD
25635SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25636 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
25637}
25638
1bd55598
RD
25639SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25640 PyObject *resultobj = 0;
25641 wxWindow *arg1 = (wxWindow *) 0 ;
25642 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25643 wxPageSetupDialog *result = 0 ;
25644 void *argp1 = 0 ;
25645 int res1 = 0 ;
25646 void *argp2 = 0 ;
25647 int res2 = 0 ;
25648 PyObject * obj0 = 0 ;
25649 PyObject * obj1 = 0 ;
25650 char * kwnames[] = {
25651 (char *) "parent",(char *) "data", NULL
25652 };
25653
25654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25656 if (!SWIG_IsOK(res1)) {
25657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25658 }
25659 arg1 = reinterpret_cast< wxWindow * >(argp1);
25660 if (obj1) {
25661 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25662 if (!SWIG_IsOK(res2)) {
25663 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
36ed4f51 25664 }
1bd55598
RD
25665 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25666 }
25667 {
25668 if (!wxPyCheckForApp()) SWIG_fail;
25669 PyThreadState* __tstate = wxPyBeginAllowThreads();
25670 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25671 wxPyEndAllowThreads(__tstate);
25672 if (PyErr_Occurred()) SWIG_fail;
25673 }
25674 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25675 return resultobj;
25676fail:
25677 return NULL;
d55e5bfc
RD
25678}
25679
25680
06810ecf
RD
25681SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25682 PyObject *resultobj = 0;
25683 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25684 void *argp1 = 0 ;
25685 int res1 = 0 ;
25686 PyObject *swig_obj[1] ;
25687
25688 if (!args) SWIG_fail;
25689 swig_obj[0] = args;
25690 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
25691 if (!SWIG_IsOK(res1)) {
25692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25693 }
25694 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25695 {
25696 PyThreadState* __tstate = wxPyBeginAllowThreads();
25697 delete arg1;
25698
25699 wxPyEndAllowThreads(__tstate);
25700 if (PyErr_Occurred()) SWIG_fail;
25701 }
25702 resultobj = SWIG_Py_Void();
25703 return resultobj;
25704fail:
25705 return NULL;
25706}
25707
25708
1bd55598
RD
25709SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25710 PyObject *resultobj = 0;
25711 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25712 wxPageSetupDialogData *result = 0 ;
25713 void *argp1 = 0 ;
25714 int res1 = 0 ;
25715 PyObject *swig_obj[1] ;
25716
25717 if (!args) SWIG_fail;
25718 swig_obj[0] = args;
25719 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25720 if (!SWIG_IsOK(res1)) {
25721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25722 }
25723 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25724 {
25725 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 25726 {
1bd55598
RD
25727 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25728 result = (wxPageSetupDialogData *) &_result_ref;
36ed4f51 25729 }
1bd55598
RD
25730 wxPyEndAllowThreads(__tstate);
25731 if (PyErr_Occurred()) SWIG_fail;
25732 }
25733 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25734 return resultobj;
25735fail:
25736 return NULL;
d55e5bfc
RD
25737}
25738
25739
1bd55598
RD
25740SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25741 PyObject *resultobj = 0;
25742 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25743 wxPageSetupDialogData *result = 0 ;
25744 void *argp1 = 0 ;
25745 int res1 = 0 ;
25746 PyObject *swig_obj[1] ;
25747
25748 if (!args) SWIG_fail;
25749 swig_obj[0] = args;
25750 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25751 if (!SWIG_IsOK(res1)) {
25752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25753 }
25754 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25755 {
25756 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 25757 {
1bd55598
RD
25758 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25759 result = (wxPageSetupDialogData *) &_result_ref;
d55e5bfc 25760 }
1bd55598
RD
25761 wxPyEndAllowThreads(__tstate);
25762 if (PyErr_Occurred()) SWIG_fail;
25763 }
25764 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25765 return resultobj;
25766fail:
25767 return NULL;
d55e5bfc
RD
25768}
25769
25770
1bd55598
RD
25771SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25772 PyObject *resultobj = 0;
25773 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25774 int result;
25775 void *argp1 = 0 ;
25776 int res1 = 0 ;
25777 PyObject *swig_obj[1] ;
25778
25779 if (!args) SWIG_fail;
25780 swig_obj[0] = args;
25781 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25782 if (!SWIG_IsOK(res1)) {
25783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25784 }
25785 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25786 {
25787 PyThreadState* __tstate = wxPyBeginAllowThreads();
25788 result = (int)(arg1)->ShowModal();
25789 wxPyEndAllowThreads(__tstate);
25790 if (PyErr_Occurred()) SWIG_fail;
25791 }
25792 resultobj = SWIG_From_int(static_cast< int >(result));
25793 return resultobj;
25794fail:
25795 return NULL;
d55e5bfc
RD
25796}
25797
25798
1bd55598
RD
25799SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25800 PyObject *obj;
25801 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25802 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
25803 return SWIG_Py_Void();
d55e5bfc
RD
25804}
25805
1bd55598
RD
25806SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25807 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
25808}
25809
1bd55598
RD
25810SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25811 PyObject *resultobj = 0;
25812 wxPrintDialogData *result = 0 ;
25813
25814 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25815 {
25816 PyThreadState* __tstate = wxPyBeginAllowThreads();
25817 result = (wxPrintDialogData *)new wxPrintDialogData();
25818 wxPyEndAllowThreads(__tstate);
25819 if (PyErr_Occurred()) SWIG_fail;
25820 }
25821 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25822 return resultobj;
25823fail:
25824 return NULL;
d55e5bfc
RD
25825}
25826
25827
1bd55598
RD
25828SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25829 PyObject *resultobj = 0;
25830 wxPrintData *arg1 = 0 ;
25831 wxPrintDialogData *result = 0 ;
25832 void *argp1 = 0 ;
25833 int res1 = 0 ;
25834
25835 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25836 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25837 if (!SWIG_IsOK(res1)) {
25838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25839 }
25840 if (!argp1) {
25841 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25842 }
25843 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25844 {
25845 PyThreadState* __tstate = wxPyBeginAllowThreads();
25846 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
25847 wxPyEndAllowThreads(__tstate);
25848 if (PyErr_Occurred()) SWIG_fail;
25849 }
25850 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25851 return resultobj;
25852fail:
25853 return NULL;
d55e5bfc
RD
25854}
25855
25856
1bd55598
RD
25857SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25858 PyObject *resultobj = 0;
25859 wxPrintDialogData *arg1 = 0 ;
25860 wxPrintDialogData *result = 0 ;
25861 void *argp1 = 0 ;
25862 int res1 = 0 ;
25863
25864 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25865 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
25866 if (!SWIG_IsOK(res1)) {
25867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25868 }
25869 if (!argp1) {
25870 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25871 }
25872 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25873 {
25874 PyThreadState* __tstate = wxPyBeginAllowThreads();
25875 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
25876 wxPyEndAllowThreads(__tstate);
25877 if (PyErr_Occurred()) SWIG_fail;
25878 }
25879 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25880 return resultobj;
25881fail:
25882 return NULL;
d55e5bfc
RD
25883}
25884
25885
1bd55598
RD
25886SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
25887 int argc;
25888 PyObject *argv[2];
25889
25890 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
25891 --argc;
25892 if (argc == 0) {
25893 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
25894 }
25895 if (argc == 1) {
25896 int _v = 0;
d55e5bfc 25897 {
1bd55598
RD
25898 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
25899 _v = SWIG_CheckState(res);
d55e5bfc 25900 }
1bd55598
RD
25901 if (!_v) goto check_2;
25902 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
25903 }
25904check_2:
25905
25906 if (argc == 1) {
25907 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
25908 }
25909
25910fail:
25911 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
25912 return NULL;
d55e5bfc
RD
25913}
25914
25915
1bd55598
RD
25916SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25917 PyObject *resultobj = 0;
25918 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25919 void *argp1 = 0 ;
25920 int res1 = 0 ;
25921 PyObject *swig_obj[1] ;
25922
25923 if (!args) SWIG_fail;
25924 swig_obj[0] = args;
25925 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
25926 if (!SWIG_IsOK(res1)) {
25927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25928 }
25929 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25930 {
25931 PyThreadState* __tstate = wxPyBeginAllowThreads();
25932 delete arg1;
d55e5bfc 25933
1bd55598
RD
25934 wxPyEndAllowThreads(__tstate);
25935 if (PyErr_Occurred()) SWIG_fail;
25936 }
25937 resultobj = SWIG_Py_Void();
25938 return resultobj;
25939fail:
25940 return NULL;
d55e5bfc
RD
25941}
25942
25943
1bd55598
RD
25944SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25945 PyObject *resultobj = 0;
25946 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25947 int result;
25948 void *argp1 = 0 ;
25949 int res1 = 0 ;
25950 PyObject *swig_obj[1] ;
25951
25952 if (!args) SWIG_fail;
25953 swig_obj[0] = args;
25954 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25955 if (!SWIG_IsOK(res1)) {
25956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25957 }
25958 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25959 {
25960 PyThreadState* __tstate = wxPyBeginAllowThreads();
25961 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
25962 wxPyEndAllowThreads(__tstate);
25963 if (PyErr_Occurred()) SWIG_fail;
25964 }
25965 resultobj = SWIG_From_int(static_cast< int >(result));
25966 return resultobj;
25967fail:
25968 return NULL;
d55e5bfc
RD
25969}
25970
25971
1bd55598
RD
25972SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25973 PyObject *resultobj = 0;
25974 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25975 int result;
25976 void *argp1 = 0 ;
25977 int res1 = 0 ;
25978 PyObject *swig_obj[1] ;
25979
25980 if (!args) SWIG_fail;
25981 swig_obj[0] = args;
25982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25983 if (!SWIG_IsOK(res1)) {
25984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25985 }
25986 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25987 {
25988 PyThreadState* __tstate = wxPyBeginAllowThreads();
25989 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
25990 wxPyEndAllowThreads(__tstate);
25991 if (PyErr_Occurred()) SWIG_fail;
25992 }
25993 resultobj = SWIG_From_int(static_cast< int >(result));
25994 return resultobj;
25995fail:
25996 return NULL;
d55e5bfc
RD
25997}
25998
25999
1bd55598
RD
26000SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26001 PyObject *resultobj = 0;
26002 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26003 int result;
26004 void *argp1 = 0 ;
26005 int res1 = 0 ;
26006 PyObject *swig_obj[1] ;
26007
26008 if (!args) SWIG_fail;
26009 swig_obj[0] = args;
26010 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26011 if (!SWIG_IsOK(res1)) {
26012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26013 }
26014 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26015 {
26016 PyThreadState* __tstate = wxPyBeginAllowThreads();
26017 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
26018 wxPyEndAllowThreads(__tstate);
26019 if (PyErr_Occurred()) SWIG_fail;
26020 }
26021 resultobj = SWIG_From_int(static_cast< int >(result));
26022 return resultobj;
26023fail:
26024 return NULL;
d55e5bfc
RD
26025}
26026
26027
1bd55598
RD
26028SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26029 PyObject *resultobj = 0;
26030 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26031 int result;
26032 void *argp1 = 0 ;
26033 int res1 = 0 ;
26034 PyObject *swig_obj[1] ;
26035
26036 if (!args) SWIG_fail;
26037 swig_obj[0] = args;
26038 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26039 if (!SWIG_IsOK(res1)) {
26040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26041 }
26042 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26043 {
26044 PyThreadState* __tstate = wxPyBeginAllowThreads();
26045 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26046 wxPyEndAllowThreads(__tstate);
26047 if (PyErr_Occurred()) SWIG_fail;
26048 }
26049 resultobj = SWIG_From_int(static_cast< int >(result));
26050 return resultobj;
26051fail:
26052 return NULL;
d55e5bfc
RD
26053}
26054
26055
1bd55598
RD
26056SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26057 PyObject *resultobj = 0;
26058 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26059 int result;
26060 void *argp1 = 0 ;
26061 int res1 = 0 ;
26062 PyObject *swig_obj[1] ;
26063
26064 if (!args) SWIG_fail;
26065 swig_obj[0] = args;
26066 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26067 if (!SWIG_IsOK(res1)) {
26068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26069 }
26070 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26071 {
26072 PyThreadState* __tstate = wxPyBeginAllowThreads();
26073 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26074 wxPyEndAllowThreads(__tstate);
26075 if (PyErr_Occurred()) SWIG_fail;
26076 }
26077 resultobj = SWIG_From_int(static_cast< int >(result));
26078 return resultobj;
26079fail:
26080 return NULL;
d55e5bfc
RD
26081}
26082
26083
1bd55598
RD
26084SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26085 PyObject *resultobj = 0;
26086 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26087 bool result;
26088 void *argp1 = 0 ;
26089 int res1 = 0 ;
26090 PyObject *swig_obj[1] ;
26091
26092 if (!args) SWIG_fail;
26093 swig_obj[0] = args;
26094 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26095 if (!SWIG_IsOK(res1)) {
26096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26097 }
26098 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26099 {
26100 PyThreadState* __tstate = wxPyBeginAllowThreads();
26101 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26102 wxPyEndAllowThreads(__tstate);
26103 if (PyErr_Occurred()) SWIG_fail;
26104 }
26105 {
26106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26107 }
26108 return resultobj;
26109fail:
26110 return NULL;
d55e5bfc
RD
26111}
26112
26113
1bd55598
RD
26114SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26115 PyObject *resultobj = 0;
26116 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26117 bool result;
26118 void *argp1 = 0 ;
26119 int res1 = 0 ;
26120 PyObject *swig_obj[1] ;
26121
26122 if (!args) SWIG_fail;
26123 swig_obj[0] = args;
26124 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26125 if (!SWIG_IsOK(res1)) {
26126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26127 }
26128 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26129 {
26130 PyThreadState* __tstate = wxPyBeginAllowThreads();
26131 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26132 wxPyEndAllowThreads(__tstate);
26133 if (PyErr_Occurred()) SWIG_fail;
26134 }
26135 {
26136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26137 }
26138 return resultobj;
26139fail:
26140 return NULL;
d55e5bfc
RD
26141}
26142
26143
1bd55598
RD
26144SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26145 PyObject *resultobj = 0;
26146 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26147 bool result;
26148 void *argp1 = 0 ;
26149 int res1 = 0 ;
26150 PyObject *swig_obj[1] ;
26151
26152 if (!args) SWIG_fail;
26153 swig_obj[0] = args;
26154 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26155 if (!SWIG_IsOK(res1)) {
26156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26157 }
26158 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26159 {
26160 PyThreadState* __tstate = wxPyBeginAllowThreads();
26161 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26162 wxPyEndAllowThreads(__tstate);
26163 if (PyErr_Occurred()) SWIG_fail;
26164 }
26165 {
26166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26167 }
26168 return resultobj;
26169fail:
26170 return NULL;
d55e5bfc
RD
26171}
26172
26173
1bd55598
RD
26174SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26175 PyObject *resultobj = 0;
26176 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26177 bool result;
26178 void *argp1 = 0 ;
26179 int res1 = 0 ;
26180 PyObject *swig_obj[1] ;
26181
26182 if (!args) SWIG_fail;
26183 swig_obj[0] = args;
26184 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26185 if (!SWIG_IsOK(res1)) {
26186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26187 }
26188 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26189 {
26190 PyThreadState* __tstate = wxPyBeginAllowThreads();
26191 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26192 wxPyEndAllowThreads(__tstate);
26193 if (PyErr_Occurred()) SWIG_fail;
26194 }
26195 {
26196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26197 }
26198 return resultobj;
26199fail:
26200 return NULL;
26201}
26202
26203
26204SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26205 PyObject *resultobj = 0;
26206 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26207 int arg2 ;
26208 void *argp1 = 0 ;
26209 int res1 = 0 ;
26210 int val2 ;
26211 int ecode2 = 0 ;
26212 PyObject * obj0 = 0 ;
26213 PyObject * obj1 = 0 ;
26214 char * kwnames[] = {
26215 (char *) "self",(char *) "v", NULL
26216 };
26217
26218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26220 if (!SWIG_IsOK(res1)) {
26221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26222 }
26223 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26224 ecode2 = SWIG_AsVal_int(obj1, &val2);
26225 if (!SWIG_IsOK(ecode2)) {
26226 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26227 }
26228 arg2 = static_cast< int >(val2);
26229 {
26230 PyThreadState* __tstate = wxPyBeginAllowThreads();
26231 (arg1)->SetFromPage(arg2);
26232 wxPyEndAllowThreads(__tstate);
26233 if (PyErr_Occurred()) SWIG_fail;
26234 }
26235 resultobj = SWIG_Py_Void();
26236 return resultobj;
26237fail:
26238 return NULL;
26239}
26240
26241
26242SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26243 PyObject *resultobj = 0;
26244 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26245 int arg2 ;
26246 void *argp1 = 0 ;
26247 int res1 = 0 ;
26248 int val2 ;
26249 int ecode2 = 0 ;
26250 PyObject * obj0 = 0 ;
26251 PyObject * obj1 = 0 ;
26252 char * kwnames[] = {
26253 (char *) "self",(char *) "v", NULL
26254 };
26255
26256 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26257 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26258 if (!SWIG_IsOK(res1)) {
26259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26260 }
26261 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26262 ecode2 = SWIG_AsVal_int(obj1, &val2);
26263 if (!SWIG_IsOK(ecode2)) {
26264 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26265 }
26266 arg2 = static_cast< int >(val2);
26267 {
26268 PyThreadState* __tstate = wxPyBeginAllowThreads();
26269 (arg1)->SetToPage(arg2);
26270 wxPyEndAllowThreads(__tstate);
26271 if (PyErr_Occurred()) SWIG_fail;
26272 }
26273 resultobj = SWIG_Py_Void();
26274 return resultobj;
26275fail:
26276 return NULL;
26277}
26278
26279
26280SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26281 PyObject *resultobj = 0;
26282 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26283 int arg2 ;
26284 void *argp1 = 0 ;
26285 int res1 = 0 ;
26286 int val2 ;
26287 int ecode2 = 0 ;
26288 PyObject * obj0 = 0 ;
26289 PyObject * obj1 = 0 ;
26290 char * kwnames[] = {
26291 (char *) "self",(char *) "v", NULL
26292 };
26293
26294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26296 if (!SWIG_IsOK(res1)) {
26297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26298 }
26299 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26300 ecode2 = SWIG_AsVal_int(obj1, &val2);
26301 if (!SWIG_IsOK(ecode2)) {
26302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26303 }
26304 arg2 = static_cast< int >(val2);
26305 {
26306 PyThreadState* __tstate = wxPyBeginAllowThreads();
26307 (arg1)->SetMinPage(arg2);
26308 wxPyEndAllowThreads(__tstate);
26309 if (PyErr_Occurred()) SWIG_fail;
26310 }
26311 resultobj = SWIG_Py_Void();
26312 return resultobj;
26313fail:
26314 return NULL;
26315}
26316
26317
26318SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26319 PyObject *resultobj = 0;
26320 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26321 int arg2 ;
26322 void *argp1 = 0 ;
26323 int res1 = 0 ;
26324 int val2 ;
26325 int ecode2 = 0 ;
26326 PyObject * obj0 = 0 ;
26327 PyObject * obj1 = 0 ;
26328 char * kwnames[] = {
26329 (char *) "self",(char *) "v", NULL
26330 };
26331
26332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26334 if (!SWIG_IsOK(res1)) {
26335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26336 }
26337 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26338 ecode2 = SWIG_AsVal_int(obj1, &val2);
26339 if (!SWIG_IsOK(ecode2)) {
26340 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26341 }
26342 arg2 = static_cast< int >(val2);
26343 {
26344 PyThreadState* __tstate = wxPyBeginAllowThreads();
26345 (arg1)->SetMaxPage(arg2);
26346 wxPyEndAllowThreads(__tstate);
26347 if (PyErr_Occurred()) SWIG_fail;
26348 }
26349 resultobj = SWIG_Py_Void();
26350 return resultobj;
26351fail:
26352 return NULL;
26353}
26354
26355
26356SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26357 PyObject *resultobj = 0;
26358 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26359 int arg2 ;
26360 void *argp1 = 0 ;
26361 int res1 = 0 ;
26362 int val2 ;
26363 int ecode2 = 0 ;
26364 PyObject * obj0 = 0 ;
26365 PyObject * obj1 = 0 ;
26366 char * kwnames[] = {
26367 (char *) "self",(char *) "v", NULL
26368 };
26369
26370 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26371 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26372 if (!SWIG_IsOK(res1)) {
26373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26374 }
26375 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26376 ecode2 = SWIG_AsVal_int(obj1, &val2);
26377 if (!SWIG_IsOK(ecode2)) {
26378 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26379 }
26380 arg2 = static_cast< int >(val2);
26381 {
26382 PyThreadState* __tstate = wxPyBeginAllowThreads();
26383 (arg1)->SetNoCopies(arg2);
26384 wxPyEndAllowThreads(__tstate);
26385 if (PyErr_Occurred()) SWIG_fail;
26386 }
26387 resultobj = SWIG_Py_Void();
26388 return resultobj;
26389fail:
26390 return NULL;
26391}
26392
26393
26394SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26395 PyObject *resultobj = 0;
26396 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26397 bool arg2 ;
26398 void *argp1 = 0 ;
26399 int res1 = 0 ;
26400 bool val2 ;
26401 int ecode2 = 0 ;
26402 PyObject * obj0 = 0 ;
26403 PyObject * obj1 = 0 ;
26404 char * kwnames[] = {
26405 (char *) "self",(char *) "flag", NULL
26406 };
26407
26408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26410 if (!SWIG_IsOK(res1)) {
26411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26412 }
26413 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26414 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26415 if (!SWIG_IsOK(ecode2)) {
26416 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26417 }
26418 arg2 = static_cast< bool >(val2);
26419 {
26420 PyThreadState* __tstate = wxPyBeginAllowThreads();
26421 (arg1)->SetAllPages(arg2);
26422 wxPyEndAllowThreads(__tstate);
26423 if (PyErr_Occurred()) SWIG_fail;
26424 }
26425 resultobj = SWIG_Py_Void();
26426 return resultobj;
26427fail:
26428 return NULL;
26429}
26430
26431
26432SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26433 PyObject *resultobj = 0;
26434 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26435 bool arg2 ;
26436 void *argp1 = 0 ;
26437 int res1 = 0 ;
26438 bool val2 ;
26439 int ecode2 = 0 ;
26440 PyObject * obj0 = 0 ;
26441 PyObject * obj1 = 0 ;
26442 char * kwnames[] = {
26443 (char *) "self",(char *) "flag", NULL
26444 };
26445
26446 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26447 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26448 if (!SWIG_IsOK(res1)) {
26449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26450 }
26451 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26452 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26453 if (!SWIG_IsOK(ecode2)) {
26454 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26455 }
26456 arg2 = static_cast< bool >(val2);
26457 {
26458 PyThreadState* __tstate = wxPyBeginAllowThreads();
26459 (arg1)->SetSelection(arg2);
26460 wxPyEndAllowThreads(__tstate);
26461 if (PyErr_Occurred()) SWIG_fail;
26462 }
26463 resultobj = SWIG_Py_Void();
26464 return resultobj;
26465fail:
26466 return NULL;
26467}
26468
26469
26470SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26471 PyObject *resultobj = 0;
26472 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26473 bool arg2 ;
26474 void *argp1 = 0 ;
26475 int res1 = 0 ;
26476 bool val2 ;
26477 int ecode2 = 0 ;
26478 PyObject * obj0 = 0 ;
26479 PyObject * obj1 = 0 ;
26480 char * kwnames[] = {
26481 (char *) "self",(char *) "flag", NULL
26482 };
26483
26484 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26485 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26486 if (!SWIG_IsOK(res1)) {
26487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26488 }
26489 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26490 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26491 if (!SWIG_IsOK(ecode2)) {
26492 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26493 }
26494 arg2 = static_cast< bool >(val2);
26495 {
26496 PyThreadState* __tstate = wxPyBeginAllowThreads();
26497 (arg1)->SetCollate(arg2);
26498 wxPyEndAllowThreads(__tstate);
26499 if (PyErr_Occurred()) SWIG_fail;
26500 }
26501 resultobj = SWIG_Py_Void();
26502 return resultobj;
26503fail:
26504 return NULL;
26505}
26506
26507
26508SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26509 PyObject *resultobj = 0;
26510 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26511 bool arg2 ;
26512 void *argp1 = 0 ;
26513 int res1 = 0 ;
26514 bool val2 ;
26515 int ecode2 = 0 ;
26516 PyObject * obj0 = 0 ;
26517 PyObject * obj1 = 0 ;
26518 char * kwnames[] = {
26519 (char *) "self",(char *) "flag", NULL
26520 };
26521
26522 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26523 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26524 if (!SWIG_IsOK(res1)) {
26525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26526 }
26527 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26528 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26529 if (!SWIG_IsOK(ecode2)) {
26530 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26531 }
26532 arg2 = static_cast< bool >(val2);
26533 {
26534 PyThreadState* __tstate = wxPyBeginAllowThreads();
26535 (arg1)->SetPrintToFile(arg2);
26536 wxPyEndAllowThreads(__tstate);
26537 if (PyErr_Occurred()) SWIG_fail;
26538 }
26539 resultobj = SWIG_Py_Void();
26540 return resultobj;
26541fail:
26542 return NULL;
26543}
26544
26545
26546SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26547 PyObject *resultobj = 0;
26548 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26549 bool arg2 ;
26550 void *argp1 = 0 ;
26551 int res1 = 0 ;
26552 bool val2 ;
26553 int ecode2 = 0 ;
26554 PyObject * obj0 = 0 ;
26555 PyObject * obj1 = 0 ;
26556 char * kwnames[] = {
26557 (char *) "self",(char *) "flag", NULL
26558 };
26559
26560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26562 if (!SWIG_IsOK(res1)) {
26563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26564 }
26565 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26566 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26567 if (!SWIG_IsOK(ecode2)) {
26568 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26569 }
26570 arg2 = static_cast< bool >(val2);
26571 {
26572 PyThreadState* __tstate = wxPyBeginAllowThreads();
26573 (arg1)->EnablePrintToFile(arg2);
26574 wxPyEndAllowThreads(__tstate);
26575 if (PyErr_Occurred()) SWIG_fail;
26576 }
26577 resultobj = SWIG_Py_Void();
26578 return resultobj;
26579fail:
26580 return NULL;
26581}
26582
26583
26584SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26585 PyObject *resultobj = 0;
26586 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26587 bool arg2 ;
26588 void *argp1 = 0 ;
26589 int res1 = 0 ;
26590 bool val2 ;
26591 int ecode2 = 0 ;
26592 PyObject * obj0 = 0 ;
26593 PyObject * obj1 = 0 ;
26594 char * kwnames[] = {
26595 (char *) "self",(char *) "flag", NULL
26596 };
26597
26598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26600 if (!SWIG_IsOK(res1)) {
26601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26602 }
26603 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26604 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26605 if (!SWIG_IsOK(ecode2)) {
26606 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26607 }
26608 arg2 = static_cast< bool >(val2);
26609 {
26610 PyThreadState* __tstate = wxPyBeginAllowThreads();
26611 (arg1)->EnableSelection(arg2);
26612 wxPyEndAllowThreads(__tstate);
26613 if (PyErr_Occurred()) SWIG_fail;
26614 }
26615 resultobj = SWIG_Py_Void();
26616 return resultobj;
26617fail:
26618 return NULL;
26619}
26620
26621
26622SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26623 PyObject *resultobj = 0;
26624 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26625 bool arg2 ;
26626 void *argp1 = 0 ;
26627 int res1 = 0 ;
26628 bool val2 ;
26629 int ecode2 = 0 ;
26630 PyObject * obj0 = 0 ;
26631 PyObject * obj1 = 0 ;
26632 char * kwnames[] = {
26633 (char *) "self",(char *) "flag", NULL
26634 };
26635
26636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26638 if (!SWIG_IsOK(res1)) {
26639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26640 }
26641 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26642 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26643 if (!SWIG_IsOK(ecode2)) {
26644 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26645 }
26646 arg2 = static_cast< bool >(val2);
26647 {
26648 PyThreadState* __tstate = wxPyBeginAllowThreads();
26649 (arg1)->EnablePageNumbers(arg2);
26650 wxPyEndAllowThreads(__tstate);
26651 if (PyErr_Occurred()) SWIG_fail;
26652 }
26653 resultobj = SWIG_Py_Void();
26654 return resultobj;
26655fail:
26656 return NULL;
26657}
26658
26659
26660SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26661 PyObject *resultobj = 0;
26662 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26663 bool arg2 ;
26664 void *argp1 = 0 ;
26665 int res1 = 0 ;
26666 bool val2 ;
26667 int ecode2 = 0 ;
26668 PyObject * obj0 = 0 ;
26669 PyObject * obj1 = 0 ;
26670 char * kwnames[] = {
26671 (char *) "self",(char *) "flag", NULL
26672 };
26673
26674 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26675 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26676 if (!SWIG_IsOK(res1)) {
26677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26678 }
26679 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26680 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26681 if (!SWIG_IsOK(ecode2)) {
26682 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26683 }
26684 arg2 = static_cast< bool >(val2);
26685 {
26686 PyThreadState* __tstate = wxPyBeginAllowThreads();
26687 (arg1)->EnableHelp(arg2);
26688 wxPyEndAllowThreads(__tstate);
26689 if (PyErr_Occurred()) SWIG_fail;
26690 }
26691 resultobj = SWIG_Py_Void();
26692 return resultobj;
26693fail:
26694 return NULL;
26695}
d55e5bfc 26696
1bd55598
RD
26697
26698SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26699 PyObject *resultobj = 0;
26700 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26701 bool result;
26702 void *argp1 = 0 ;
26703 int res1 = 0 ;
26704 PyObject *swig_obj[1] ;
26705
26706 if (!args) SWIG_fail;
26707 swig_obj[0] = args;
26708 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26709 if (!SWIG_IsOK(res1)) {
26710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26711 }
26712 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26713 {
26714 PyThreadState* __tstate = wxPyBeginAllowThreads();
26715 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26716 wxPyEndAllowThreads(__tstate);
26717 if (PyErr_Occurred()) SWIG_fail;
26718 }
26719 {
26720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26721 }
26722 return resultobj;
26723fail:
26724 return NULL;
d55e5bfc
RD
26725}
26726
26727
1bd55598
RD
26728SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26729 PyObject *resultobj = 0;
26730 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26731 bool result;
26732 void *argp1 = 0 ;
26733 int res1 = 0 ;
26734 PyObject *swig_obj[1] ;
26735
26736 if (!args) SWIG_fail;
26737 swig_obj[0] = args;
26738 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26739 if (!SWIG_IsOK(res1)) {
26740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26741 }
26742 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26743 {
26744 PyThreadState* __tstate = wxPyBeginAllowThreads();
26745 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26746 wxPyEndAllowThreads(__tstate);
26747 if (PyErr_Occurred()) SWIG_fail;
26748 }
26749 {
26750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26751 }
26752 return resultobj;
26753fail:
26754 return NULL;
d55e5bfc
RD
26755}
26756
26757
1bd55598
RD
26758SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26759 PyObject *resultobj = 0;
26760 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26761 bool result;
26762 void *argp1 = 0 ;
26763 int res1 = 0 ;
26764 PyObject *swig_obj[1] ;
26765
26766 if (!args) SWIG_fail;
26767 swig_obj[0] = args;
26768 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26769 if (!SWIG_IsOK(res1)) {
26770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26771 }
26772 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26773 {
26774 PyThreadState* __tstate = wxPyBeginAllowThreads();
26775 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26776 wxPyEndAllowThreads(__tstate);
26777 if (PyErr_Occurred()) SWIG_fail;
26778 }
26779 {
26780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26781 }
26782 return resultobj;
26783fail:
26784 return NULL;
d55e5bfc
RD
26785}
26786
26787
1bd55598
RD
26788SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26789 PyObject *resultobj = 0;
26790 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26791 bool result;
26792 void *argp1 = 0 ;
26793 int res1 = 0 ;
26794 PyObject *swig_obj[1] ;
26795
26796 if (!args) SWIG_fail;
26797 swig_obj[0] = args;
26798 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26799 if (!SWIG_IsOK(res1)) {
26800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26801 }
26802 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26803 {
26804 PyThreadState* __tstate = wxPyBeginAllowThreads();
26805 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
26806 wxPyEndAllowThreads(__tstate);
26807 if (PyErr_Occurred()) SWIG_fail;
26808 }
26809 {
26810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26811 }
26812 return resultobj;
26813fail:
26814 return NULL;
d55e5bfc
RD
26815}
26816
26817
b39fe951 26818SWIGINTERN PyObject *_wrap_PrintDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1bd55598
RD
26819 PyObject *resultobj = 0;
26820 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26821 bool result;
26822 void *argp1 = 0 ;
26823 int res1 = 0 ;
26824 PyObject *swig_obj[1] ;
26825
26826 if (!args) SWIG_fail;
26827 swig_obj[0] = args;
26828 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26829 if (!SWIG_IsOK(res1)) {
b39fe951 26830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
1bd55598
RD
26831 }
26832 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26833 {
26834 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 26835 result = (bool)((wxPrintDialogData const *)arg1)->IsOk();
1bd55598
RD
26836 wxPyEndAllowThreads(__tstate);
26837 if (PyErr_Occurred()) SWIG_fail;
26838 }
26839 {
26840 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26841 }
26842 return resultobj;
26843fail:
26844 return NULL;
d55e5bfc
RD
26845}
26846
26847
1bd55598
RD
26848SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26849 PyObject *resultobj = 0;
26850 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26851 wxPrintData *result = 0 ;
26852 void *argp1 = 0 ;
26853 int res1 = 0 ;
26854 PyObject *swig_obj[1] ;
26855
26856 if (!args) SWIG_fail;
26857 swig_obj[0] = args;
26858 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26859 if (!SWIG_IsOK(res1)) {
26860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26861 }
26862 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26863 {
26864 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 26865 {
1bd55598
RD
26866 wxPrintData &_result_ref = (arg1)->GetPrintData();
26867 result = (wxPrintData *) &_result_ref;
26868 }
26869 wxPyEndAllowThreads(__tstate);
26870 if (PyErr_Occurred()) SWIG_fail;
26871 }
26872 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26873 return resultobj;
26874fail:
26875 return NULL;
26876}
26877
26878
26879SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26880 PyObject *resultobj = 0;
26881 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26882 wxPrintData *arg2 = 0 ;
26883 void *argp1 = 0 ;
26884 int res1 = 0 ;
26885 void *argp2 = 0 ;
26886 int res2 = 0 ;
26887 PyObject * obj0 = 0 ;
26888 PyObject * obj1 = 0 ;
26889 char * kwnames[] = {
26890 (char *) "self",(char *) "printData", NULL
26891 };
26892
26893 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26894 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26895 if (!SWIG_IsOK(res1)) {
26896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26897 }
26898 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26899 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26900 if (!SWIG_IsOK(res2)) {
26901 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26902 }
26903 if (!argp2) {
26904 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26905 }
26906 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26907 {
26908 PyThreadState* __tstate = wxPyBeginAllowThreads();
26909 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26910 wxPyEndAllowThreads(__tstate);
26911 if (PyErr_Occurred()) SWIG_fail;
26912 }
26913 resultobj = SWIG_Py_Void();
26914 return resultobj;
26915fail:
26916 return NULL;
d55e5bfc
RD
26917}
26918
26919
1bd55598
RD
26920SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26921 PyObject *obj;
26922 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26923 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
26924 return SWIG_Py_Void();
26925}
26926
26927SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26928 return SWIG_Python_InitShadowInstance(args);
26929}
26930
26931SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26932 PyObject *resultobj = 0;
26933 wxWindow *arg1 = (wxWindow *) 0 ;
26934 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
26935 wxPrintDialog *result = 0 ;
26936 void *argp1 = 0 ;
26937 int res1 = 0 ;
26938 void *argp2 = 0 ;
26939 int res2 = 0 ;
26940 PyObject * obj0 = 0 ;
26941 PyObject * obj1 = 0 ;
26942 char * kwnames[] = {
26943 (char *) "parent",(char *) "data", NULL
26944 };
26945
26946 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26948 if (!SWIG_IsOK(res1)) {
26949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26950 }
26951 arg1 = reinterpret_cast< wxWindow * >(argp1);
26952 if (obj1) {
26953 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26954 if (!SWIG_IsOK(res2)) {
26955 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
d55e5bfc 26956 }
1bd55598
RD
26957 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
26958 }
26959 {
26960 if (!wxPyCheckForApp()) SWIG_fail;
26961 PyThreadState* __tstate = wxPyBeginAllowThreads();
26962 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
26963 wxPyEndAllowThreads(__tstate);
26964 if (PyErr_Occurred()) SWIG_fail;
26965 }
26966 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
26967 return resultobj;
26968fail:
26969 return NULL;
d55e5bfc
RD
26970}
26971
26972
06810ecf
RD
26973SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26974 PyObject *resultobj = 0;
26975 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26976 void *argp1 = 0 ;
26977 int res1 = 0 ;
26978 PyObject *swig_obj[1] ;
26979
26980 if (!args) SWIG_fail;
26981 swig_obj[0] = args;
26982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
26983 if (!SWIG_IsOK(res1)) {
26984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26985 }
26986 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26987 {
26988 PyThreadState* __tstate = wxPyBeginAllowThreads();
26989 delete arg1;
26990
26991 wxPyEndAllowThreads(__tstate);
26992 if (PyErr_Occurred()) SWIG_fail;
26993 }
26994 resultobj = SWIG_Py_Void();
26995 return resultobj;
26996fail:
26997 return NULL;
26998}
26999
27000
1bd55598
RD
27001SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27002 PyObject *resultobj = 0;
27003 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27004 int result;
27005 void *argp1 = 0 ;
27006 int res1 = 0 ;
27007 PyObject *swig_obj[1] ;
27008
27009 if (!args) SWIG_fail;
27010 swig_obj[0] = args;
27011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27012 if (!SWIG_IsOK(res1)) {
27013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27014 }
27015 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27016 {
27017 PyThreadState* __tstate = wxPyBeginAllowThreads();
27018 result = (int)(arg1)->ShowModal();
27019 wxPyEndAllowThreads(__tstate);
27020 if (PyErr_Occurred()) SWIG_fail;
27021 }
27022 resultobj = SWIG_From_int(static_cast< int >(result));
27023 return resultobj;
27024fail:
27025 return NULL;
d55e5bfc
RD
27026}
27027
27028
1bd55598
RD
27029SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27030 PyObject *resultobj = 0;
27031 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27032 wxPrintDialogData *result = 0 ;
27033 void *argp1 = 0 ;
27034 int res1 = 0 ;
27035 PyObject *swig_obj[1] ;
27036
27037 if (!args) SWIG_fail;
27038 swig_obj[0] = args;
27039 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27040 if (!SWIG_IsOK(res1)) {
27041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27042 }
27043 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27044 {
27045 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 27046 {
1bd55598
RD
27047 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27048 result = (wxPrintDialogData *) &_result_ref;
d55e5bfc 27049 }
1bd55598
RD
27050 wxPyEndAllowThreads(__tstate);
27051 if (PyErr_Occurred()) SWIG_fail;
27052 }
27053 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27054 return resultobj;
27055fail:
27056 return NULL;
d55e5bfc
RD
27057}
27058
27059
1bd55598
RD
27060SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27061 PyObject *resultobj = 0;
27062 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27063 wxPrintData *result = 0 ;
27064 void *argp1 = 0 ;
27065 int res1 = 0 ;
27066 PyObject *swig_obj[1] ;
27067
27068 if (!args) SWIG_fail;
27069 swig_obj[0] = args;
27070 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27071 if (!SWIG_IsOK(res1)) {
27072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27073 }
27074 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27075 {
27076 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 27077 {
1bd55598
RD
27078 wxPrintData &_result_ref = (arg1)->GetPrintData();
27079 result = (wxPrintData *) &_result_ref;
d55e5bfc 27080 }
1bd55598
RD
27081 wxPyEndAllowThreads(__tstate);
27082 if (PyErr_Occurred()) SWIG_fail;
27083 }
27084 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27085 return resultobj;
27086fail:
27087 return NULL;
d55e5bfc
RD
27088}
27089
27090
1bd55598
RD
27091SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27092 PyObject *resultobj = 0;
27093 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27094 wxDC *result = 0 ;
27095 void *argp1 = 0 ;
27096 int res1 = 0 ;
27097 PyObject *swig_obj[1] ;
27098
27099 if (!args) SWIG_fail;
27100 swig_obj[0] = args;
27101 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27102 if (!SWIG_IsOK(res1)) {
27103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27104 }
27105 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27106 {
27107 PyThreadState* __tstate = wxPyBeginAllowThreads();
27108 result = (wxDC *)(arg1)->GetPrintDC();
27109 wxPyEndAllowThreads(__tstate);
27110 if (PyErr_Occurred()) SWIG_fail;
27111 }
27112 {
27113 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27114 }
27115 return resultobj;
27116fail:
27117 return NULL;
d55e5bfc
RD
27118}
27119
27120
1bd55598
RD
27121SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27122 PyObject *obj;
27123 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27124 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27125 return SWIG_Py_Void();
d55e5bfc
RD
27126}
27127
1bd55598
RD
27128SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27129 return SWIG_Python_InitShadowInstance(args);
27130}
d55e5bfc 27131
1bd55598
RD
27132SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27133 PyObject *resultobj = 0;
27134 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27135 wxPrinter *result = 0 ;
27136 void *argp1 = 0 ;
27137 int res1 = 0 ;
27138 PyObject * obj0 = 0 ;
27139 char * kwnames[] = {
27140 (char *) "data", NULL
27141 };
27142
27143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27144 if (obj0) {
27145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27146 if (!SWIG_IsOK(res1)) {
27147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
d55e5bfc 27148 }
1bd55598
RD
27149 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27150 }
27151 {
27152 if (!wxPyCheckForApp()) SWIG_fail;
27153 PyThreadState* __tstate = wxPyBeginAllowThreads();
27154 result = (wxPrinter *)new wxPrinter(arg1);
27155 wxPyEndAllowThreads(__tstate);
27156 if (PyErr_Occurred()) SWIG_fail;
27157 }
27158 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27159 return resultobj;
27160fail:
27161 return NULL;
d55e5bfc
RD
27162}
27163
27164
1bd55598
RD
27165SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27166 PyObject *resultobj = 0;
27167 wxPrinter *arg1 = (wxPrinter *) 0 ;
27168 void *argp1 = 0 ;
27169 int res1 = 0 ;
27170 PyObject *swig_obj[1] ;
27171
27172 if (!args) SWIG_fail;
27173 swig_obj[0] = args;
27174 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27175 if (!SWIG_IsOK(res1)) {
27176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27177 }
27178 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27179 {
27180 PyThreadState* __tstate = wxPyBeginAllowThreads();
27181 delete arg1;
d55e5bfc 27182
1bd55598
RD
27183 wxPyEndAllowThreads(__tstate);
27184 if (PyErr_Occurred()) SWIG_fail;
27185 }
27186 resultobj = SWIG_Py_Void();
27187 return resultobj;
27188fail:
27189 return NULL;
27190}
27191
27192
27193SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27194 PyObject *resultobj = 0;
27195 wxPrinter *arg1 = (wxPrinter *) 0 ;
27196 wxWindow *arg2 = (wxWindow *) 0 ;
27197 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27198 wxWindow *result = 0 ;
27199 void *argp1 = 0 ;
27200 int res1 = 0 ;
27201 void *argp2 = 0 ;
27202 int res2 = 0 ;
27203 void *argp3 = 0 ;
27204 int res3 = 0 ;
27205 PyObject * obj0 = 0 ;
27206 PyObject * obj1 = 0 ;
27207 PyObject * obj2 = 0 ;
27208 char * kwnames[] = {
27209 (char *) "self",(char *) "parent",(char *) "printout", NULL
27210 };
27211
27212 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27213 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27214 if (!SWIG_IsOK(res1)) {
27215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27216 }
27217 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27218 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27219 if (!SWIG_IsOK(res2)) {
27220 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27221 }
27222 arg2 = reinterpret_cast< wxWindow * >(argp2);
27223 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27224 if (!SWIG_IsOK(res3)) {
27225 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27226 }
27227 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27228 {
27229 PyThreadState* __tstate = wxPyBeginAllowThreads();
27230 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27231 wxPyEndAllowThreads(__tstate);
27232 if (PyErr_Occurred()) SWIG_fail;
27233 }
27234 {
27235 resultobj = wxPyMake_wxObject(result, 0);
27236 }
27237 return resultobj;
27238fail:
27239 return NULL;
27240}
27241
27242
27243SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27244 PyObject *resultobj = 0;
27245 wxPrinter *arg1 = (wxPrinter *) 0 ;
27246 wxWindow *arg2 = (wxWindow *) 0 ;
27247 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27248 wxString *arg4 = 0 ;
27249 void *argp1 = 0 ;
27250 int res1 = 0 ;
27251 void *argp2 = 0 ;
27252 int res2 = 0 ;
27253 void *argp3 = 0 ;
27254 int res3 = 0 ;
27255 bool temp4 = false ;
27256 PyObject * obj0 = 0 ;
27257 PyObject * obj1 = 0 ;
27258 PyObject * obj2 = 0 ;
27259 PyObject * obj3 = 0 ;
27260 char * kwnames[] = {
27261 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27262 };
27263
27264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27266 if (!SWIG_IsOK(res1)) {
27267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27268 }
27269 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27270 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27271 if (!SWIG_IsOK(res2)) {
27272 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27273 }
27274 arg2 = reinterpret_cast< wxWindow * >(argp2);
27275 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27276 if (!SWIG_IsOK(res3)) {
27277 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27278 }
27279 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27280 {
27281 arg4 = wxString_in_helper(obj3);
27282 if (arg4 == NULL) SWIG_fail;
27283 temp4 = true;
27284 }
27285 {
27286 PyThreadState* __tstate = wxPyBeginAllowThreads();
27287 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27288 wxPyEndAllowThreads(__tstate);
27289 if (PyErr_Occurred()) SWIG_fail;
27290 }
27291 resultobj = SWIG_Py_Void();
27292 {
27293 if (temp4)
27294 delete arg4;
27295 }
27296 return resultobj;
27297fail:
27298 {
27299 if (temp4)
27300 delete arg4;
27301 }
27302 return NULL;
27303}
27304
27305
27306SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27307 PyObject *resultobj = 0;
27308 wxPrinter *arg1 = (wxPrinter *) 0 ;
27309 wxWindow *arg2 = (wxWindow *) 0 ;
27310 bool result;
27311 void *argp1 = 0 ;
27312 int res1 = 0 ;
27313 void *argp2 = 0 ;
27314 int res2 = 0 ;
27315 PyObject * obj0 = 0 ;
27316 PyObject * obj1 = 0 ;
27317 char * kwnames[] = {
27318 (char *) "self",(char *) "parent", NULL
27319 };
27320
27321 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27322 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27323 if (!SWIG_IsOK(res1)) {
27324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27325 }
27326 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27327 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27328 if (!SWIG_IsOK(res2)) {
27329 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27330 }
27331 arg2 = reinterpret_cast< wxWindow * >(argp2);
27332 {
27333 PyThreadState* __tstate = wxPyBeginAllowThreads();
27334 result = (bool)(arg1)->Setup(arg2);
27335 wxPyEndAllowThreads(__tstate);
27336 if (PyErr_Occurred()) SWIG_fail;
27337 }
27338 {
27339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27340 }
27341 return resultobj;
27342fail:
27343 return NULL;
27344}
27345
27346
27347SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27348 PyObject *resultobj = 0;
27349 wxPrinter *arg1 = (wxPrinter *) 0 ;
27350 wxWindow *arg2 = (wxWindow *) 0 ;
27351 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27352 bool arg4 = (bool) true ;
27353 bool result;
27354 void *argp1 = 0 ;
27355 int res1 = 0 ;
27356 void *argp2 = 0 ;
27357 int res2 = 0 ;
27358 void *argp3 = 0 ;
27359 int res3 = 0 ;
27360 bool val4 ;
27361 int ecode4 = 0 ;
27362 PyObject * obj0 = 0 ;
27363 PyObject * obj1 = 0 ;
27364 PyObject * obj2 = 0 ;
27365 PyObject * obj3 = 0 ;
27366 char * kwnames[] = {
27367 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27368 };
27369
27370 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27371 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27372 if (!SWIG_IsOK(res1)) {
27373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27374 }
27375 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27376 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27377 if (!SWIG_IsOK(res2)) {
27378 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27379 }
27380 arg2 = reinterpret_cast< wxWindow * >(argp2);
27381 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27382 if (!SWIG_IsOK(res3)) {
27383 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27384 }
27385 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27386 if (obj3) {
27387 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27388 if (!SWIG_IsOK(ecode4)) {
27389 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27390 }
27391 arg4 = static_cast< bool >(val4);
27392 }
27393 {
27394 PyThreadState* __tstate = wxPyBeginAllowThreads();
27395 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27396 wxPyEndAllowThreads(__tstate);
27397 if (PyErr_Occurred()) SWIG_fail;
27398 }
27399 {
27400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27401 }
27402 return resultobj;
27403fail:
27404 return NULL;
27405}
27406
27407
27408SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27409 PyObject *resultobj = 0;
27410 wxPrinter *arg1 = (wxPrinter *) 0 ;
27411 wxWindow *arg2 = (wxWindow *) 0 ;
27412 wxDC *result = 0 ;
27413 void *argp1 = 0 ;
27414 int res1 = 0 ;
27415 void *argp2 = 0 ;
27416 int res2 = 0 ;
27417 PyObject * obj0 = 0 ;
27418 PyObject * obj1 = 0 ;
27419 char * kwnames[] = {
27420 (char *) "self",(char *) "parent", NULL
27421 };
27422
27423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27425 if (!SWIG_IsOK(res1)) {
27426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27427 }
27428 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27429 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27430 if (!SWIG_IsOK(res2)) {
27431 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27432 }
27433 arg2 = reinterpret_cast< wxWindow * >(argp2);
27434 {
27435 PyThreadState* __tstate = wxPyBeginAllowThreads();
27436 result = (wxDC *)(arg1)->PrintDialog(arg2);
27437 wxPyEndAllowThreads(__tstate);
27438 if (PyErr_Occurred()) SWIG_fail;
27439 }
27440 {
27441 resultobj = wxPyMake_wxObject(result, (bool)0);
27442 }
27443 return resultobj;
27444fail:
27445 return NULL;
d55e5bfc
RD
27446}
27447
27448
1bd55598
RD
27449SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27450 PyObject *resultobj = 0;
27451 wxPrinter *arg1 = (wxPrinter *) 0 ;
27452 wxPrintDialogData *result = 0 ;
27453 void *argp1 = 0 ;
27454 int res1 = 0 ;
27455 PyObject *swig_obj[1] ;
27456
27457 if (!args) SWIG_fail;
27458 swig_obj[0] = args;
27459 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27460 if (!SWIG_IsOK(res1)) {
27461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27462 }
27463 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27464 {
27465 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 27466 {
1bd55598
RD
27467 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27468 result = (wxPrintDialogData *) &_result_ref;
36ed4f51 27469 }
1bd55598
RD
27470 wxPyEndAllowThreads(__tstate);
27471 if (PyErr_Occurred()) SWIG_fail;
27472 }
27473 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27474 return resultobj;
27475fail:
27476 return NULL;
d55e5bfc
RD
27477}
27478
27479
1bd55598
RD
27480SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27481 PyObject *resultobj = 0;
27482 wxPrinter *arg1 = (wxPrinter *) 0 ;
27483 bool result;
27484 void *argp1 = 0 ;
27485 int res1 = 0 ;
27486 PyObject *swig_obj[1] ;
27487
27488 if (!args) SWIG_fail;
27489 swig_obj[0] = args;
27490 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27491 if (!SWIG_IsOK(res1)) {
27492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27493 }
27494 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27495 {
27496 PyThreadState* __tstate = wxPyBeginAllowThreads();
27497 result = (bool)(arg1)->GetAbort();
27498 wxPyEndAllowThreads(__tstate);
27499 if (PyErr_Occurred()) SWIG_fail;
27500 }
27501 {
27502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27503 }
27504 return resultobj;
27505fail:
27506 return NULL;
d55e5bfc
RD
27507}
27508
27509
1bd55598
RD
27510SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27511 PyObject *resultobj = 0;
27512 wxPrinterError result;
27513
27514 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27515 {
27516 PyThreadState* __tstate = wxPyBeginAllowThreads();
27517 result = (wxPrinterError)wxPrinter::GetLastError();
27518 wxPyEndAllowThreads(__tstate);
27519 if (PyErr_Occurred()) SWIG_fail;
27520 }
27521 resultobj = SWIG_From_int(static_cast< int >(result));
27522 return resultobj;
27523fail:
27524 return NULL;
d55e5bfc
RD
27525}
27526
27527
1bd55598
RD
27528SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27529 PyObject *obj;
27530 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27531 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27532 return SWIG_Py_Void();
d55e5bfc
RD
27533}
27534
1bd55598
RD
27535SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27536 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
27537}
27538
1bd55598
RD
27539SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27540 PyObject *resultobj = 0;
27541 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27542 wxString *arg1 = (wxString *) &arg1_defvalue ;
27543 wxPyPrintout *result = 0 ;
27544 bool temp1 = false ;
27545 PyObject * obj0 = 0 ;
27546 char * kwnames[] = {
27547 (char *) "title", NULL
27548 };
27549
27550 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27551 if (obj0) {
d55e5bfc 27552 {
1bd55598
RD
27553 arg1 = wxString_in_helper(obj0);
27554 if (arg1 == NULL) SWIG_fail;
27555 temp1 = true;
d55e5bfc 27556 }
1bd55598
RD
27557 }
27558 {
27559 if (!wxPyCheckForApp()) SWIG_fail;
27560 PyThreadState* __tstate = wxPyBeginAllowThreads();
27561 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27562 wxPyEndAllowThreads(__tstate);
27563 if (PyErr_Occurred()) SWIG_fail;
27564 }
27565 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27566 {
27567 if (temp1)
27568 delete arg1;
27569 }
27570 return resultobj;
27571fail:
27572 {
27573 if (temp1)
27574 delete arg1;
27575 }
27576 return NULL;
d55e5bfc
RD
27577}
27578
27579
1bd55598
RD
27580SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27581 PyObject *resultobj = 0;
27582 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27583 void *argp1 = 0 ;
27584 int res1 = 0 ;
27585 PyObject *swig_obj[1] ;
27586
27587 if (!args) SWIG_fail;
27588 swig_obj[0] = args;
27589 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27590 if (!SWIG_IsOK(res1)) {
27591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27592 }
27593 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27594 {
27595 PyThreadState* __tstate = wxPyBeginAllowThreads();
27596 delete arg1;
d55e5bfc 27597
1bd55598
RD
27598 wxPyEndAllowThreads(__tstate);
27599 if (PyErr_Occurred()) SWIG_fail;
27600 }
27601 resultobj = SWIG_Py_Void();
27602 return resultobj;
27603fail:
27604 return NULL;
27605}
27606
27607
27608SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27609 PyObject *resultobj = 0;
27610 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27611 PyObject *arg2 = (PyObject *) 0 ;
27612 PyObject *arg3 = (PyObject *) 0 ;
27613 void *argp1 = 0 ;
27614 int res1 = 0 ;
27615 PyObject * obj0 = 0 ;
27616 PyObject * obj1 = 0 ;
27617 PyObject * obj2 = 0 ;
27618 char * kwnames[] = {
27619 (char *) "self",(char *) "self",(char *) "_class", NULL
27620 };
27621
27622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27624 if (!SWIG_IsOK(res1)) {
27625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27626 }
27627 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27628 arg2 = obj1;
27629 arg3 = obj2;
27630 {
27631 PyThreadState* __tstate = wxPyBeginAllowThreads();
27632 (arg1)->_setCallbackInfo(arg2,arg3);
27633 wxPyEndAllowThreads(__tstate);
27634 if (PyErr_Occurred()) SWIG_fail;
27635 }
27636 resultobj = SWIG_Py_Void();
27637 return resultobj;
27638fail:
27639 return NULL;
d55e5bfc
RD
27640}
27641
27642
1bd55598
RD
27643SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27644 PyObject *resultobj = 0;
27645 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27646 wxString result;
27647 void *argp1 = 0 ;
27648 int res1 = 0 ;
27649 PyObject *swig_obj[1] ;
27650
27651 if (!args) SWIG_fail;
27652 swig_obj[0] = args;
27653 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27654 if (!SWIG_IsOK(res1)) {
27655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27656 }
27657 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27658 {
27659 PyThreadState* __tstate = wxPyBeginAllowThreads();
27660 result = ((wxPyPrintout const *)arg1)->GetTitle();
27661 wxPyEndAllowThreads(__tstate);
27662 if (PyErr_Occurred()) SWIG_fail;
27663 }
27664 {
27665#if wxUSE_UNICODE
27666 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27667#else
27668 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27669#endif
27670 }
27671 return resultobj;
27672fail:
27673 return NULL;
d55e5bfc
RD
27674}
27675
27676
1bd55598
RD
27677SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27678 PyObject *resultobj = 0;
27679 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27680 wxDC *result = 0 ;
27681 void *argp1 = 0 ;
27682 int res1 = 0 ;
27683 PyObject *swig_obj[1] ;
27684
27685 if (!args) SWIG_fail;
27686 swig_obj[0] = args;
27687 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27688 if (!SWIG_IsOK(res1)) {
27689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27690 }
27691 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27692 {
27693 PyThreadState* __tstate = wxPyBeginAllowThreads();
27694 result = (wxDC *)(arg1)->GetDC();
27695 wxPyEndAllowThreads(__tstate);
27696 if (PyErr_Occurred()) SWIG_fail;
27697 }
27698 {
27699 resultobj = wxPyMake_wxObject(result, (bool)0);
27700 }
27701 return resultobj;
27702fail:
27703 return NULL;
27704}
27705
27706
27707SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27708 PyObject *resultobj = 0;
27709 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27710 wxDC *arg2 = (wxDC *) 0 ;
27711 void *argp1 = 0 ;
27712 int res1 = 0 ;
27713 void *argp2 = 0 ;
27714 int res2 = 0 ;
27715 PyObject * obj0 = 0 ;
27716 PyObject * obj1 = 0 ;
27717 char * kwnames[] = {
27718 (char *) "self",(char *) "dc", NULL
27719 };
27720
27721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27723 if (!SWIG_IsOK(res1)) {
27724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27725 }
27726 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27727 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27728 if (!SWIG_IsOK(res2)) {
27729 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27730 }
27731 arg2 = reinterpret_cast< wxDC * >(argp2);
27732 {
27733 PyThreadState* __tstate = wxPyBeginAllowThreads();
27734 (arg1)->SetDC(arg2);
27735 wxPyEndAllowThreads(__tstate);
27736 if (PyErr_Occurred()) SWIG_fail;
27737 }
27738 resultobj = SWIG_Py_Void();
27739 return resultobj;
27740fail:
27741 return NULL;
27742}
27743
27744
70d7cb34
RD
27745SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27746 PyObject *resultobj = 0;
27747 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27748 wxSize *arg2 = 0 ;
27749 void *argp1 = 0 ;
27750 int res1 = 0 ;
27751 wxSize temp2 ;
27752 PyObject * obj0 = 0 ;
27753 PyObject * obj1 = 0 ;
27754 char * kwnames[] = {
27755 (char *) "self",(char *) "imageSize", NULL
27756 };
27757
27758 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPaper",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_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27762 }
27763 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27764 {
27765 arg2 = &temp2;
27766 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
27767 }
27768 {
27769 PyThreadState* __tstate = wxPyBeginAllowThreads();
27770 (arg1)->FitThisSizeToPaper((wxSize const &)*arg2);
27771 wxPyEndAllowThreads(__tstate);
27772 if (PyErr_Occurred()) SWIG_fail;
27773 }
27774 resultobj = SWIG_Py_Void();
27775 return resultobj;
27776fail:
27777 return NULL;
27778}
27779
27780
27781SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27782 PyObject *resultobj = 0;
27783 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27784 wxSize *arg2 = 0 ;
27785 void *argp1 = 0 ;
27786 int res1 = 0 ;
27787 wxSize temp2 ;
27788 PyObject * obj0 = 0 ;
27789 PyObject * obj1 = 0 ;
27790 char * kwnames[] = {
27791 (char *) "self",(char *) "imageSize", NULL
27792 };
27793
27794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPage",kwnames,&obj0,&obj1)) SWIG_fail;
27795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27796 if (!SWIG_IsOK(res1)) {
27797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27798 }
27799 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27800 {
27801 arg2 = &temp2;
27802 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
27803 }
27804 {
27805 PyThreadState* __tstate = wxPyBeginAllowThreads();
27806 (arg1)->FitThisSizeToPage((wxSize const &)*arg2);
27807 wxPyEndAllowThreads(__tstate);
27808 if (PyErr_Occurred()) SWIG_fail;
27809 }
27810 resultobj = SWIG_Py_Void();
27811 return resultobj;
27812fail:
27813 return NULL;
27814}
27815
27816
27817SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27818 PyObject *resultobj = 0;
27819 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27820 wxSize *arg2 = 0 ;
27821 wxPageSetupDialogData *arg3 = 0 ;
27822 void *argp1 = 0 ;
27823 int res1 = 0 ;
27824 wxSize temp2 ;
27825 void *argp3 = 0 ;
27826 int res3 = 0 ;
27827 PyObject * obj0 = 0 ;
27828 PyObject * obj1 = 0 ;
27829 PyObject * obj2 = 0 ;
27830 char * kwnames[] = {
27831 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
27832 };
27833
27834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27836 if (!SWIG_IsOK(res1)) {
27837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27838 }
27839 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27840 {
27841 arg2 = &temp2;
27842 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
27843 }
27844 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
27845 if (!SWIG_IsOK(res3)) {
27846 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
27847 }
27848 if (!argp3) {
27849 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
27850 }
27851 arg3 = reinterpret_cast< wxPageSetupDialogData * >(argp3);
27852 {
27853 PyThreadState* __tstate = wxPyBeginAllowThreads();
27854 (arg1)->FitThisSizeToPageMargins((wxSize const &)*arg2,(wxPageSetupDialogData const &)*arg3);
27855 wxPyEndAllowThreads(__tstate);
27856 if (PyErr_Occurred()) SWIG_fail;
27857 }
27858 resultobj = SWIG_Py_Void();
27859 return resultobj;
27860fail:
27861 return NULL;
27862}
27863
27864
27865SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27866 PyObject *resultobj = 0;
27867 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27868 void *argp1 = 0 ;
27869 int res1 = 0 ;
27870 PyObject *swig_obj[1] ;
27871
27872 if (!args) SWIG_fail;
27873 swig_obj[0] = args;
27874 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27875 if (!SWIG_IsOK(res1)) {
27876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27877 }
27878 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27879 {
27880 PyThreadState* __tstate = wxPyBeginAllowThreads();
27881 (arg1)->MapScreenSizeToPaper();
27882 wxPyEndAllowThreads(__tstate);
27883 if (PyErr_Occurred()) SWIG_fail;
27884 }
27885 resultobj = SWIG_Py_Void();
27886 return resultobj;
27887fail:
27888 return NULL;
27889}
27890
27891
27892SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27893 PyObject *resultobj = 0;
27894 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27895 void *argp1 = 0 ;
27896 int res1 = 0 ;
27897 PyObject *swig_obj[1] ;
27898
27899 if (!args) SWIG_fail;
27900 swig_obj[0] = args;
27901 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27902 if (!SWIG_IsOK(res1)) {
27903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27904 }
27905 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27906 {
27907 PyThreadState* __tstate = wxPyBeginAllowThreads();
27908 (arg1)->MapScreenSizeToPage();
27909 wxPyEndAllowThreads(__tstate);
27910 if (PyErr_Occurred()) SWIG_fail;
27911 }
27912 resultobj = SWIG_Py_Void();
27913 return resultobj;
27914fail:
27915 return NULL;
27916}
27917
27918
27919SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27920 PyObject *resultobj = 0;
27921 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27922 wxPageSetupDialogData *arg2 = 0 ;
27923 void *argp1 = 0 ;
27924 int res1 = 0 ;
27925 void *argp2 = 0 ;
27926 int res2 = 0 ;
27927 PyObject * obj0 = 0 ;
27928 PyObject * obj1 = 0 ;
27929 char * kwnames[] = {
27930 (char *) "self",(char *) "pageSetupData", NULL
27931 };
27932
27933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames,&obj0,&obj1)) SWIG_fail;
27934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27935 if (!SWIG_IsOK(res1)) {
27936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27937 }
27938 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27939 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
27940 if (!SWIG_IsOK(res2)) {
27941 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
27942 }
27943 if (!argp2) {
27944 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
27945 }
27946 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
27947 {
27948 PyThreadState* __tstate = wxPyBeginAllowThreads();
27949 (arg1)->MapScreenSizeToPageMargins((wxPageSetupDialogData const &)*arg2);
27950 wxPyEndAllowThreads(__tstate);
27951 if (PyErr_Occurred()) SWIG_fail;
27952 }
27953 resultobj = SWIG_Py_Void();
27954 return resultobj;
27955fail:
27956 return NULL;
27957}
27958
27959
27960SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToDevice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27961 PyObject *resultobj = 0;
27962 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27963 void *argp1 = 0 ;
27964 int res1 = 0 ;
27965 PyObject *swig_obj[1] ;
27966
27967 if (!args) SWIG_fail;
27968 swig_obj[0] = args;
27969 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27970 if (!SWIG_IsOK(res1)) {
27971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27972 }
27973 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27974 {
27975 PyThreadState* __tstate = wxPyBeginAllowThreads();
27976 (arg1)->MapScreenSizeToDevice();
27977 wxPyEndAllowThreads(__tstate);
27978 if (PyErr_Occurred()) SWIG_fail;
27979 }
27980 resultobj = SWIG_Py_Void();
27981 return resultobj;
27982fail:
27983 return NULL;
27984}
27985
27986
27987SWIGINTERN PyObject *_wrap_Printout_GetLogicalPaperRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27988 PyObject *resultobj = 0;
27989 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27990 wxRect result;
27991 void *argp1 = 0 ;
27992 int res1 = 0 ;
27993 PyObject *swig_obj[1] ;
27994
27995 if (!args) SWIG_fail;
27996 swig_obj[0] = args;
27997 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27998 if (!SWIG_IsOK(res1)) {
27999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28000 }
28001 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28002 {
28003 PyThreadState* __tstate = wxPyBeginAllowThreads();
28004 result = ((wxPyPrintout const *)arg1)->GetLogicalPaperRect();
28005 wxPyEndAllowThreads(__tstate);
28006 if (PyErr_Occurred()) SWIG_fail;
28007 }
28008 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28009 return resultobj;
28010fail:
28011 return NULL;
28012}
28013
28014
28015SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28016 PyObject *resultobj = 0;
28017 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28018 wxRect result;
28019 void *argp1 = 0 ;
28020 int res1 = 0 ;
28021 PyObject *swig_obj[1] ;
28022
28023 if (!args) SWIG_fail;
28024 swig_obj[0] = args;
28025 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28026 if (!SWIG_IsOK(res1)) {
28027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28028 }
28029 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28030 {
28031 PyThreadState* __tstate = wxPyBeginAllowThreads();
28032 result = ((wxPyPrintout const *)arg1)->GetLogicalPageRect();
28033 wxPyEndAllowThreads(__tstate);
28034 if (PyErr_Occurred()) SWIG_fail;
28035 }
28036 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28037 return resultobj;
28038fail:
28039 return NULL;
28040}
28041
28042
28043SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageMarginsRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28044 PyObject *resultobj = 0;
28045 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28046 wxPageSetupDialogData *arg2 = 0 ;
28047 wxRect result;
28048 void *argp1 = 0 ;
28049 int res1 = 0 ;
28050 void *argp2 = 0 ;
28051 int res2 = 0 ;
28052 PyObject * obj0 = 0 ;
28053 PyObject * obj1 = 0 ;
28054 char * kwnames[] = {
28055 (char *) "self",(char *) "pageSetupData", NULL
28056 };
28057
28058 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames,&obj0,&obj1)) SWIG_fail;
28059 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28060 if (!SWIG_IsOK(res1)) {
28061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28062 }
28063 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28064 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28065 if (!SWIG_IsOK(res2)) {
28066 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28067 }
28068 if (!argp2) {
28069 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28070 }
28071 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28072 {
28073 PyThreadState* __tstate = wxPyBeginAllowThreads();
28074 result = ((wxPyPrintout const *)arg1)->GetLogicalPageMarginsRect((wxPageSetupDialogData const &)*arg2);
28075 wxPyEndAllowThreads(__tstate);
28076 if (PyErr_Occurred()) SWIG_fail;
28077 }
28078 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28079 return resultobj;
28080fail:
28081 return NULL;
28082}
28083
28084
28085SWIGINTERN PyObject *_wrap_Printout_SetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28086 PyObject *resultobj = 0;
28087 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28088 int arg2 ;
28089 int arg3 ;
28090 void *argp1 = 0 ;
28091 int res1 = 0 ;
28092 int val2 ;
28093 int ecode2 = 0 ;
28094 int val3 ;
28095 int ecode3 = 0 ;
28096 PyObject * obj0 = 0 ;
28097 PyObject * obj1 = 0 ;
28098 PyObject * obj2 = 0 ;
28099 char * kwnames[] = {
28100 (char *) "self",(char *) "x",(char *) "y", NULL
28101 };
28102
28103 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28105 if (!SWIG_IsOK(res1)) {
28106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28107 }
28108 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28109 ecode2 = SWIG_AsVal_int(obj1, &val2);
28110 if (!SWIG_IsOK(ecode2)) {
28111 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28112 }
28113 arg2 = static_cast< int >(val2);
28114 ecode3 = SWIG_AsVal_int(obj2, &val3);
28115 if (!SWIG_IsOK(ecode3)) {
28116 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28117 }
28118 arg3 = static_cast< int >(val3);
28119 {
28120 PyThreadState* __tstate = wxPyBeginAllowThreads();
28121 (arg1)->SetLogicalOrigin(arg2,arg3);
28122 wxPyEndAllowThreads(__tstate);
28123 if (PyErr_Occurred()) SWIG_fail;
28124 }
28125 resultobj = SWIG_Py_Void();
28126 return resultobj;
28127fail:
28128 return NULL;
28129}
28130
28131
28132SWIGINTERN PyObject *_wrap_Printout_OffsetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28133 PyObject *resultobj = 0;
28134 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28135 int arg2 ;
28136 int arg3 ;
28137 void *argp1 = 0 ;
28138 int res1 = 0 ;
28139 int val2 ;
28140 int ecode2 = 0 ;
28141 int val3 ;
28142 int ecode3 = 0 ;
28143 PyObject * obj0 = 0 ;
28144 PyObject * obj1 = 0 ;
28145 PyObject * obj2 = 0 ;
28146 char * kwnames[] = {
28147 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28148 };
28149
28150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28152 if (!SWIG_IsOK(res1)) {
28153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28154 }
28155 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28156 ecode2 = SWIG_AsVal_int(obj1, &val2);
28157 if (!SWIG_IsOK(ecode2)) {
28158 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28159 }
28160 arg2 = static_cast< int >(val2);
28161 ecode3 = SWIG_AsVal_int(obj2, &val3);
28162 if (!SWIG_IsOK(ecode3)) {
28163 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28164 }
28165 arg3 = static_cast< int >(val3);
28166 {
28167 PyThreadState* __tstate = wxPyBeginAllowThreads();
28168 (arg1)->OffsetLogicalOrigin(arg2,arg3);
28169 wxPyEndAllowThreads(__tstate);
28170 if (PyErr_Occurred()) SWIG_fail;
28171 }
28172 resultobj = SWIG_Py_Void();
28173 return resultobj;
28174fail:
28175 return NULL;
28176}
28177
28178
1bd55598
RD
28179SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28180 PyObject *resultobj = 0;
28181 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28182 int arg2 ;
28183 int arg3 ;
28184 void *argp1 = 0 ;
28185 int res1 = 0 ;
28186 int val2 ;
28187 int ecode2 = 0 ;
28188 int val3 ;
28189 int ecode3 = 0 ;
28190 PyObject * obj0 = 0 ;
28191 PyObject * obj1 = 0 ;
28192 PyObject * obj2 = 0 ;
28193 char * kwnames[] = {
28194 (char *) "self",(char *) "w",(char *) "h", NULL
28195 };
28196
28197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28199 if (!SWIG_IsOK(res1)) {
28200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28201 }
28202 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28203 ecode2 = SWIG_AsVal_int(obj1, &val2);
28204 if (!SWIG_IsOK(ecode2)) {
28205 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28206 }
28207 arg2 = static_cast< int >(val2);
28208 ecode3 = SWIG_AsVal_int(obj2, &val3);
28209 if (!SWIG_IsOK(ecode3)) {
28210 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28211 }
28212 arg3 = static_cast< int >(val3);
28213 {
28214 PyThreadState* __tstate = wxPyBeginAllowThreads();
28215 (arg1)->SetPageSizePixels(arg2,arg3);
28216 wxPyEndAllowThreads(__tstate);
28217 if (PyErr_Occurred()) SWIG_fail;
28218 }
28219 resultobj = SWIG_Py_Void();
28220 return resultobj;
28221fail:
28222 return NULL;
28223}
28224
28225
28226SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28227 PyObject *resultobj = 0;
28228 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28229 int *arg2 = (int *) 0 ;
28230 int *arg3 = (int *) 0 ;
28231 void *argp1 = 0 ;
28232 int res1 = 0 ;
28233 int temp2 ;
28234 int res2 = SWIG_TMPOBJ ;
28235 int temp3 ;
28236 int res3 = SWIG_TMPOBJ ;
28237 PyObject *swig_obj[1] ;
28238
28239 arg2 = &temp2;
28240 arg3 = &temp3;
28241 if (!args) SWIG_fail;
28242 swig_obj[0] = args;
28243 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28244 if (!SWIG_IsOK(res1)) {
28245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28246 }
28247 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28248 {
28249 PyThreadState* __tstate = wxPyBeginAllowThreads();
28250 (arg1)->GetPageSizePixels(arg2,arg3);
28251 wxPyEndAllowThreads(__tstate);
28252 if (PyErr_Occurred()) SWIG_fail;
28253 }
28254 resultobj = SWIG_Py_Void();
28255 if (SWIG_IsTmpObj(res2)) {
28256 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28257 } else {
28258 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28259 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28260 }
28261 if (SWIG_IsTmpObj(res3)) {
28262 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28263 } else {
28264 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28265 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28266 }
28267 return resultobj;
28268fail:
28269 return NULL;
28270}
28271
28272
28273SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28274 PyObject *resultobj = 0;
28275 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28276 int arg2 ;
28277 int arg3 ;
28278 void *argp1 = 0 ;
28279 int res1 = 0 ;
28280 int val2 ;
28281 int ecode2 = 0 ;
28282 int val3 ;
28283 int ecode3 = 0 ;
28284 PyObject * obj0 = 0 ;
28285 PyObject * obj1 = 0 ;
28286 PyObject * obj2 = 0 ;
28287 char * kwnames[] = {
28288 (char *) "self",(char *) "w",(char *) "h", NULL
28289 };
28290
28291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28293 if (!SWIG_IsOK(res1)) {
28294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28295 }
28296 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28297 ecode2 = SWIG_AsVal_int(obj1, &val2);
28298 if (!SWIG_IsOK(ecode2)) {
28299 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28300 }
28301 arg2 = static_cast< int >(val2);
28302 ecode3 = SWIG_AsVal_int(obj2, &val3);
28303 if (!SWIG_IsOK(ecode3)) {
28304 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28305 }
28306 arg3 = static_cast< int >(val3);
28307 {
28308 PyThreadState* __tstate = wxPyBeginAllowThreads();
28309 (arg1)->SetPageSizeMM(arg2,arg3);
28310 wxPyEndAllowThreads(__tstate);
28311 if (PyErr_Occurred()) SWIG_fail;
28312 }
28313 resultobj = SWIG_Py_Void();
28314 return resultobj;
28315fail:
28316 return NULL;
28317}
28318
28319
28320SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28321 PyObject *resultobj = 0;
28322 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28323 int *arg2 = (int *) 0 ;
28324 int *arg3 = (int *) 0 ;
28325 void *argp1 = 0 ;
28326 int res1 = 0 ;
28327 int temp2 ;
28328 int res2 = SWIG_TMPOBJ ;
28329 int temp3 ;
28330 int res3 = SWIG_TMPOBJ ;
28331 PyObject *swig_obj[1] ;
28332
28333 arg2 = &temp2;
28334 arg3 = &temp3;
28335 if (!args) SWIG_fail;
28336 swig_obj[0] = args;
28337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28338 if (!SWIG_IsOK(res1)) {
28339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28340 }
28341 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28342 {
28343 PyThreadState* __tstate = wxPyBeginAllowThreads();
28344 (arg1)->GetPageSizeMM(arg2,arg3);
28345 wxPyEndAllowThreads(__tstate);
28346 if (PyErr_Occurred()) SWIG_fail;
28347 }
28348 resultobj = SWIG_Py_Void();
28349 if (SWIG_IsTmpObj(res2)) {
28350 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28351 } else {
28352 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28353 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28354 }
28355 if (SWIG_IsTmpObj(res3)) {
28356 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28357 } else {
28358 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28359 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28360 }
28361 return resultobj;
28362fail:
28363 return NULL;
28364}
28365
28366
28367SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28368 PyObject *resultobj = 0;
28369 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28370 int arg2 ;
28371 int arg3 ;
28372 void *argp1 = 0 ;
28373 int res1 = 0 ;
28374 int val2 ;
28375 int ecode2 = 0 ;
28376 int val3 ;
28377 int ecode3 = 0 ;
28378 PyObject * obj0 = 0 ;
28379 PyObject * obj1 = 0 ;
28380 PyObject * obj2 = 0 ;
28381 char * kwnames[] = {
28382 (char *) "self",(char *) "x",(char *) "y", NULL
28383 };
28384
28385 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28387 if (!SWIG_IsOK(res1)) {
28388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28389 }
28390 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28391 ecode2 = SWIG_AsVal_int(obj1, &val2);
28392 if (!SWIG_IsOK(ecode2)) {
28393 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28394 }
28395 arg2 = static_cast< int >(val2);
28396 ecode3 = SWIG_AsVal_int(obj2, &val3);
28397 if (!SWIG_IsOK(ecode3)) {
28398 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28399 }
28400 arg3 = static_cast< int >(val3);
28401 {
28402 PyThreadState* __tstate = wxPyBeginAllowThreads();
28403 (arg1)->SetPPIScreen(arg2,arg3);
28404 wxPyEndAllowThreads(__tstate);
28405 if (PyErr_Occurred()) SWIG_fail;
28406 }
28407 resultobj = SWIG_Py_Void();
28408 return resultobj;
28409fail:
28410 return NULL;
28411}
28412
28413
28414SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28415 PyObject *resultobj = 0;
28416 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28417 int *arg2 = (int *) 0 ;
28418 int *arg3 = (int *) 0 ;
28419 void *argp1 = 0 ;
28420 int res1 = 0 ;
28421 int temp2 ;
28422 int res2 = SWIG_TMPOBJ ;
28423 int temp3 ;
28424 int res3 = SWIG_TMPOBJ ;
28425 PyObject *swig_obj[1] ;
28426
28427 arg2 = &temp2;
28428 arg3 = &temp3;
28429 if (!args) SWIG_fail;
28430 swig_obj[0] = args;
28431 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28432 if (!SWIG_IsOK(res1)) {
28433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28434 }
28435 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28436 {
28437 PyThreadState* __tstate = wxPyBeginAllowThreads();
28438 (arg1)->GetPPIScreen(arg2,arg3);
28439 wxPyEndAllowThreads(__tstate);
28440 if (PyErr_Occurred()) SWIG_fail;
28441 }
28442 resultobj = SWIG_Py_Void();
28443 if (SWIG_IsTmpObj(res2)) {
28444 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28445 } else {
28446 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28447 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28448 }
28449 if (SWIG_IsTmpObj(res3)) {
28450 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28451 } else {
28452 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28453 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28454 }
28455 return resultobj;
28456fail:
28457 return NULL;
28458}
28459
28460
28461SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28462 PyObject *resultobj = 0;
28463 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28464 int arg2 ;
28465 int arg3 ;
28466 void *argp1 = 0 ;
28467 int res1 = 0 ;
28468 int val2 ;
28469 int ecode2 = 0 ;
28470 int val3 ;
28471 int ecode3 = 0 ;
28472 PyObject * obj0 = 0 ;
28473 PyObject * obj1 = 0 ;
28474 PyObject * obj2 = 0 ;
28475 char * kwnames[] = {
28476 (char *) "self",(char *) "x",(char *) "y", NULL
28477 };
28478
28479 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28480 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28481 if (!SWIG_IsOK(res1)) {
28482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28483 }
28484 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28485 ecode2 = SWIG_AsVal_int(obj1, &val2);
28486 if (!SWIG_IsOK(ecode2)) {
28487 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28488 }
28489 arg2 = static_cast< int >(val2);
28490 ecode3 = SWIG_AsVal_int(obj2, &val3);
28491 if (!SWIG_IsOK(ecode3)) {
28492 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28493 }
28494 arg3 = static_cast< int >(val3);
28495 {
28496 PyThreadState* __tstate = wxPyBeginAllowThreads();
28497 (arg1)->SetPPIPrinter(arg2,arg3);
28498 wxPyEndAllowThreads(__tstate);
28499 if (PyErr_Occurred()) SWIG_fail;
28500 }
28501 resultobj = SWIG_Py_Void();
28502 return resultobj;
28503fail:
28504 return NULL;
28505}
28506
28507
28508SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28509 PyObject *resultobj = 0;
28510 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28511 int *arg2 = (int *) 0 ;
28512 int *arg3 = (int *) 0 ;
28513 void *argp1 = 0 ;
28514 int res1 = 0 ;
28515 int temp2 ;
28516 int res2 = SWIG_TMPOBJ ;
28517 int temp3 ;
28518 int res3 = SWIG_TMPOBJ ;
28519 PyObject *swig_obj[1] ;
28520
28521 arg2 = &temp2;
28522 arg3 = &temp3;
28523 if (!args) SWIG_fail;
28524 swig_obj[0] = args;
28525 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28526 if (!SWIG_IsOK(res1)) {
28527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28528 }
28529 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28530 {
28531 PyThreadState* __tstate = wxPyBeginAllowThreads();
28532 (arg1)->GetPPIPrinter(arg2,arg3);
28533 wxPyEndAllowThreads(__tstate);
28534 if (PyErr_Occurred()) SWIG_fail;
28535 }
28536 resultobj = SWIG_Py_Void();
28537 if (SWIG_IsTmpObj(res2)) {
28538 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28539 } else {
28540 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28541 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28542 }
28543 if (SWIG_IsTmpObj(res3)) {
28544 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28545 } else {
28546 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28547 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28548 }
28549 return resultobj;
28550fail:
28551 return NULL;
d55e5bfc
RD
28552}
28553
28554
70d7cb34
RD
28555SWIGINTERN PyObject *_wrap_Printout_SetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28556 PyObject *resultobj = 0;
28557 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28558 wxRect *arg2 = 0 ;
28559 void *argp1 = 0 ;
28560 int res1 = 0 ;
28561 wxRect temp2 ;
28562 PyObject * obj0 = 0 ;
28563 PyObject * obj1 = 0 ;
28564 char * kwnames[] = {
28565 (char *) "self",(char *) "paperRectPixels", NULL
28566 };
28567
28568 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetPaperRectPixels",kwnames,&obj0,&obj1)) SWIG_fail;
28569 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28570 if (!SWIG_IsOK(res1)) {
28571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28572 }
28573 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28574 {
28575 arg2 = &temp2;
28576 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
28577 }
28578 {
28579 PyThreadState* __tstate = wxPyBeginAllowThreads();
28580 (arg1)->SetPaperRectPixels((wxRect const &)*arg2);
28581 wxPyEndAllowThreads(__tstate);
28582 if (PyErr_Occurred()) SWIG_fail;
28583 }
28584 resultobj = SWIG_Py_Void();
28585 return resultobj;
28586fail:
28587 return NULL;
28588}
28589
28590
28591SWIGINTERN PyObject *_wrap_Printout_GetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28592 PyObject *resultobj = 0;
28593 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28594 wxRect result;
28595 void *argp1 = 0 ;
28596 int res1 = 0 ;
28597 PyObject *swig_obj[1] ;
28598
28599 if (!args) SWIG_fail;
28600 swig_obj[0] = args;
28601 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28602 if (!SWIG_IsOK(res1)) {
28603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28604 }
28605 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28606 {
28607 PyThreadState* __tstate = wxPyBeginAllowThreads();
28608 result = ((wxPyPrintout const *)arg1)->GetPaperRectPixels();
28609 wxPyEndAllowThreads(__tstate);
28610 if (PyErr_Occurred()) SWIG_fail;
28611 }
28612 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28613 return resultobj;
28614fail:
28615 return NULL;
28616}
28617
28618
1bd55598
RD
28619SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28620 PyObject *resultobj = 0;
28621 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28622 bool result;
28623 void *argp1 = 0 ;
28624 int res1 = 0 ;
28625 PyObject *swig_obj[1] ;
28626
28627 if (!args) SWIG_fail;
28628 swig_obj[0] = args;
28629 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28630 if (!SWIG_IsOK(res1)) {
28631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28632 }
28633 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28634 {
28635 PyThreadState* __tstate = wxPyBeginAllowThreads();
28636 result = (bool)(arg1)->IsPreview();
28637 wxPyEndAllowThreads(__tstate);
28638 if (PyErr_Occurred()) SWIG_fail;
28639 }
28640 {
28641 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28642 }
28643 return resultobj;
28644fail:
28645 return NULL;
28646}
28647
28648
28649SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28650 PyObject *resultobj = 0;
28651 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28652 bool arg2 ;
28653 void *argp1 = 0 ;
28654 int res1 = 0 ;
28655 bool val2 ;
28656 int ecode2 = 0 ;
28657 PyObject * obj0 = 0 ;
28658 PyObject * obj1 = 0 ;
28659 char * kwnames[] = {
28660 (char *) "self",(char *) "p", NULL
28661 };
28662
28663 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
28664 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28665 if (!SWIG_IsOK(res1)) {
28666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28667 }
28668 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28669 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28670 if (!SWIG_IsOK(ecode2)) {
28671 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28672 }
28673 arg2 = static_cast< bool >(val2);
28674 {
28675 PyThreadState* __tstate = wxPyBeginAllowThreads();
28676 (arg1)->SetIsPreview(arg2);
28677 wxPyEndAllowThreads(__tstate);
28678 if (PyErr_Occurred()) SWIG_fail;
28679 }
28680 resultobj = SWIG_Py_Void();
28681 return resultobj;
28682fail:
28683 return NULL;
28684}
28685
28686
28687SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28688 PyObject *resultobj = 0;
28689 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28690 int arg2 ;
28691 int arg3 ;
28692 bool result;
28693 void *argp1 = 0 ;
28694 int res1 = 0 ;
28695 int val2 ;
28696 int ecode2 = 0 ;
28697 int val3 ;
28698 int ecode3 = 0 ;
28699 PyObject * obj0 = 0 ;
28700 PyObject * obj1 = 0 ;
28701 PyObject * obj2 = 0 ;
28702 char * kwnames[] = {
28703 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28704 };
28705
28706 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28707 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28708 if (!SWIG_IsOK(res1)) {
28709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28710 }
28711 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28712 ecode2 = SWIG_AsVal_int(obj1, &val2);
28713 if (!SWIG_IsOK(ecode2)) {
28714 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28715 }
28716 arg2 = static_cast< int >(val2);
28717 ecode3 = SWIG_AsVal_int(obj2, &val3);
28718 if (!SWIG_IsOK(ecode3)) {
28719 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28720 }
28721 arg3 = static_cast< int >(val3);
28722 {
28723 PyThreadState* __tstate = wxPyBeginAllowThreads();
28724 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28725 wxPyEndAllowThreads(__tstate);
28726 if (PyErr_Occurred()) SWIG_fail;
28727 }
28728 {
28729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28730 }
28731 return resultobj;
28732fail:
28733 return NULL;
d55e5bfc
RD
28734}
28735
28736
1bd55598
RD
28737SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28738 PyObject *resultobj = 0;
28739 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28740 void *argp1 = 0 ;
28741 int res1 = 0 ;
28742 PyObject *swig_obj[1] ;
28743
28744 if (!args) SWIG_fail;
28745 swig_obj[0] = args;
28746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28747 if (!SWIG_IsOK(res1)) {
28748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28749 }
28750 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28751 {
28752 PyThreadState* __tstate = wxPyBeginAllowThreads();
28753 (arg1)->OnEndDocument();
28754 wxPyEndAllowThreads(__tstate);
28755 if (PyErr_Occurred()) SWIG_fail;
28756 }
28757 resultobj = SWIG_Py_Void();
28758 return resultobj;
28759fail:
28760 return NULL;
28761}
28762
28763
28764SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28765 PyObject *resultobj = 0;
28766 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28767 void *argp1 = 0 ;
28768 int res1 = 0 ;
28769 PyObject *swig_obj[1] ;
28770
28771 if (!args) SWIG_fail;
28772 swig_obj[0] = args;
28773 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28774 if (!SWIG_IsOK(res1)) {
28775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28776 }
28777 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28778 {
28779 PyThreadState* __tstate = wxPyBeginAllowThreads();
28780 (arg1)->OnBeginPrinting();
28781 wxPyEndAllowThreads(__tstate);
28782 if (PyErr_Occurred()) SWIG_fail;
28783 }
28784 resultobj = SWIG_Py_Void();
28785 return resultobj;
28786fail:
28787 return NULL;
28788}
28789
28790
28791SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28792 PyObject *resultobj = 0;
28793 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28794 void *argp1 = 0 ;
28795 int res1 = 0 ;
28796 PyObject *swig_obj[1] ;
28797
28798 if (!args) SWIG_fail;
28799 swig_obj[0] = args;
28800 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28801 if (!SWIG_IsOK(res1)) {
28802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28803 }
28804 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28805 {
28806 PyThreadState* __tstate = wxPyBeginAllowThreads();
28807 (arg1)->OnEndPrinting();
28808 wxPyEndAllowThreads(__tstate);
28809 if (PyErr_Occurred()) SWIG_fail;
28810 }
28811 resultobj = SWIG_Py_Void();
28812 return resultobj;
28813fail:
28814 return NULL;
28815}
28816
28817
28818SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28819 PyObject *resultobj = 0;
28820 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28821 void *argp1 = 0 ;
28822 int res1 = 0 ;
28823 PyObject *swig_obj[1] ;
28824
28825 if (!args) SWIG_fail;
28826 swig_obj[0] = args;
28827 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28828 if (!SWIG_IsOK(res1)) {
28829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28830 }
28831 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28832 {
28833 PyThreadState* __tstate = wxPyBeginAllowThreads();
28834 (arg1)->OnPreparePrinting();
28835 wxPyEndAllowThreads(__tstate);
28836 if (PyErr_Occurred()) SWIG_fail;
28837 }
28838 resultobj = SWIG_Py_Void();
28839 return resultobj;
28840fail:
28841 return NULL;
28842}
28843
28844
28845SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28846 PyObject *resultobj = 0;
28847 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28848 int arg2 ;
28849 bool result;
28850 void *argp1 = 0 ;
28851 int res1 = 0 ;
28852 int val2 ;
28853 int ecode2 = 0 ;
28854 PyObject * obj0 = 0 ;
28855 PyObject * obj1 = 0 ;
28856 char * kwnames[] = {
28857 (char *) "self",(char *) "page", NULL
28858 };
28859
28860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28862 if (!SWIG_IsOK(res1)) {
28863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28864 }
28865 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28866 ecode2 = SWIG_AsVal_int(obj1, &val2);
28867 if (!SWIG_IsOK(ecode2)) {
28868 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28869 }
28870 arg2 = static_cast< int >(val2);
28871 {
28872 PyThreadState* __tstate = wxPyBeginAllowThreads();
28873 result = (bool)(arg1)->HasPage(arg2);
28874 wxPyEndAllowThreads(__tstate);
28875 if (PyErr_Occurred()) SWIG_fail;
28876 }
28877 {
28878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28879 }
28880 return resultobj;
28881fail:
28882 return NULL;
28883}
28884
28885
28886SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28887 PyObject *resultobj = 0;
28888 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28889 int *arg2 = (int *) 0 ;
28890 int *arg3 = (int *) 0 ;
28891 int *arg4 = (int *) 0 ;
28892 int *arg5 = (int *) 0 ;
28893 void *argp1 = 0 ;
28894 int res1 = 0 ;
28895 int temp2 ;
28896 int res2 = SWIG_TMPOBJ ;
28897 int temp3 ;
28898 int res3 = SWIG_TMPOBJ ;
28899 int temp4 ;
28900 int res4 = SWIG_TMPOBJ ;
28901 int temp5 ;
28902 int res5 = SWIG_TMPOBJ ;
28903 PyObject *swig_obj[1] ;
28904
28905 arg2 = &temp2;
28906 arg3 = &temp3;
28907 arg4 = &temp4;
28908 arg5 = &temp5;
28909 if (!args) SWIG_fail;
28910 swig_obj[0] = args;
28911 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28912 if (!SWIG_IsOK(res1)) {
28913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28914 }
28915 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28916 {
28917 PyThreadState* __tstate = wxPyBeginAllowThreads();
28918 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28919 wxPyEndAllowThreads(__tstate);
28920 if (PyErr_Occurred()) SWIG_fail;
28921 }
28922 resultobj = SWIG_Py_Void();
28923 if (SWIG_IsTmpObj(res2)) {
28924 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28925 } else {
28926 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28927 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28928 }
28929 if (SWIG_IsTmpObj(res3)) {
28930 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28931 } else {
28932 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28933 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28934 }
28935 if (SWIG_IsTmpObj(res4)) {
28936 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28937 } else {
28938 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28939 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28940 }
28941 if (SWIG_IsTmpObj(res5)) {
28942 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28943 } else {
28944 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28945 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28946 }
28947 return resultobj;
28948fail:
28949 return NULL;
28950}
28951
28952
28953SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28954 PyObject *obj;
28955 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28956 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28957 return SWIG_Py_Void();
28958}
28959
28960SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28961 return SWIG_Python_InitShadowInstance(args);
28962}
28963
28964SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28965 PyObject *resultobj = 0;
28966 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28967 wxWindow *arg2 = (wxWindow *) 0 ;
28968 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28969 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28970 wxSize const &arg4_defvalue = wxDefaultSize ;
28971 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28972 long arg5 = (long) 0 ;
28973 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28974 wxString *arg6 = (wxString *) &arg6_defvalue ;
28975 wxPreviewCanvas *result = 0 ;
28976 void *argp1 = 0 ;
28977 int res1 = 0 ;
28978 void *argp2 = 0 ;
28979 int res2 = 0 ;
28980 wxPoint temp3 ;
28981 wxSize temp4 ;
28982 long val5 ;
28983 int ecode5 = 0 ;
28984 bool temp6 = false ;
28985 PyObject * obj0 = 0 ;
28986 PyObject * obj1 = 0 ;
28987 PyObject * obj2 = 0 ;
28988 PyObject * obj3 = 0 ;
28989 PyObject * obj4 = 0 ;
28990 PyObject * obj5 = 0 ;
28991 char * kwnames[] = {
28992 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28993 };
28994
28995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28997 if (!SWIG_IsOK(res1)) {
28998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28999 }
29000 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29001 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29002 if (!SWIG_IsOK(res2)) {
29003 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29004 }
29005 arg2 = reinterpret_cast< wxWindow * >(argp2);
29006 if (obj2) {
d55e5bfc 29007 {
1bd55598
RD
29008 arg3 = &temp3;
29009 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 29010 }
1bd55598
RD
29011 }
29012 if (obj3) {
d55e5bfc 29013 {
1bd55598
RD
29014 arg4 = &temp4;
29015 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 29016 }
1bd55598
RD
29017 }
29018 if (obj4) {
29019 ecode5 = SWIG_AsVal_long(obj4, &val5);
29020 if (!SWIG_IsOK(ecode5)) {
29021 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29022 }
29023 arg5 = static_cast< long >(val5);
29024 }
29025 if (obj5) {
d55e5bfc 29026 {
1bd55598
RD
29027 arg6 = wxString_in_helper(obj5);
29028 if (arg6 == NULL) SWIG_fail;
29029 temp6 = true;
d55e5bfc 29030 }
1bd55598
RD
29031 }
29032 {
29033 if (!wxPyCheckForApp()) SWIG_fail;
29034 PyThreadState* __tstate = wxPyBeginAllowThreads();
29035 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
29036 wxPyEndAllowThreads(__tstate);
29037 if (PyErr_Occurred()) SWIG_fail;
29038 }
29039 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
29040 {
29041 if (temp6)
29042 delete arg6;
29043 }
29044 return resultobj;
29045fail:
29046 {
29047 if (temp6)
29048 delete arg6;
29049 }
29050 return NULL;
29051}
29052
29053
29054SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29055 PyObject *obj;
29056 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29057 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
29058 return SWIG_Py_Void();
29059}
29060
29061SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29062 return SWIG_Python_InitShadowInstance(args);
29063}
29064
29065SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29066 PyObject *resultobj = 0;
29067 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29068 wxFrame *arg2 = (wxFrame *) 0 ;
29069 wxString *arg3 = 0 ;
29070 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29071 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29072 wxSize const &arg5_defvalue = wxDefaultSize ;
29073 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29074 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
29075 wxString const &arg7_defvalue = wxPyFrameNameStr ;
29076 wxString *arg7 = (wxString *) &arg7_defvalue ;
29077 wxPreviewFrame *result = 0 ;
29078 int res1 = 0 ;
29079 void *argp2 = 0 ;
29080 int res2 = 0 ;
29081 bool temp3 = false ;
29082 wxPoint temp4 ;
29083 wxSize temp5 ;
29084 long val6 ;
29085 int ecode6 = 0 ;
29086 bool temp7 = false ;
29087 PyObject * obj0 = 0 ;
29088 PyObject * obj1 = 0 ;
29089 PyObject * obj2 = 0 ;
29090 PyObject * obj3 = 0 ;
29091 PyObject * obj4 = 0 ;
29092 PyObject * obj5 = 0 ;
29093 PyObject * obj6 = 0 ;
29094 char * kwnames[] = {
29095 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29096 };
29097
29098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29099 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29100 if (!SWIG_IsOK(res1)) {
29101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29102 }
29103 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29104 if (!SWIG_IsOK(res2)) {
29105 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29106 }
29107 arg2 = reinterpret_cast< wxFrame * >(argp2);
29108 {
29109 arg3 = wxString_in_helper(obj2);
29110 if (arg3 == NULL) SWIG_fail;
29111 temp3 = true;
29112 }
29113 if (obj3) {
d55e5bfc 29114 {
1bd55598
RD
29115 arg4 = &temp4;
29116 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 29117 }
1bd55598
RD
29118 }
29119 if (obj4) {
d55e5bfc 29120 {
1bd55598
RD
29121 arg5 = &temp5;
29122 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 29123 }
1bd55598
RD
29124 }
29125 if (obj5) {
29126 ecode6 = SWIG_AsVal_long(obj5, &val6);
29127 if (!SWIG_IsOK(ecode6)) {
29128 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29129 }
29130 arg6 = static_cast< long >(val6);
29131 }
29132 if (obj6) {
d55e5bfc 29133 {
1bd55598
RD
29134 arg7 = wxString_in_helper(obj6);
29135 if (arg7 == NULL) SWIG_fail;
29136 temp7 = true;
d55e5bfc 29137 }
1bd55598
RD
29138 }
29139 {
29140 if (!wxPyCheckForApp()) SWIG_fail;
29141 PyThreadState* __tstate = wxPyBeginAllowThreads();
29142 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29143 wxPyEndAllowThreads(__tstate);
29144 if (PyErr_Occurred()) SWIG_fail;
29145 }
29146 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
29147 {
29148 if (temp3)
29149 delete arg3;
29150 }
29151 {
29152 if (temp7)
29153 delete arg7;
29154 }
29155 return resultobj;
29156fail:
29157 {
29158 if (temp3)
29159 delete arg3;
29160 }
29161 {
29162 if (temp7)
29163 delete arg7;
29164 }
29165 return NULL;
d55e5bfc
RD
29166}
29167
29168
1bd55598
RD
29169SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29170 PyObject *resultobj = 0;
29171 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29172 void *argp1 = 0 ;
29173 int res1 = 0 ;
29174 PyObject *swig_obj[1] ;
29175
29176 if (!args) SWIG_fail;
29177 swig_obj[0] = args;
29178 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29179 if (!SWIG_IsOK(res1)) {
29180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29181 }
29182 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29183 {
29184 PyThreadState* __tstate = wxPyBeginAllowThreads();
29185 (arg1)->Initialize();
29186 wxPyEndAllowThreads(__tstate);
29187 if (PyErr_Occurred()) SWIG_fail;
29188 }
29189 resultobj = SWIG_Py_Void();
29190 return resultobj;
29191fail:
29192 return NULL;
d55e5bfc
RD
29193}
29194
29195
1bd55598
RD
29196SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29197 PyObject *resultobj = 0;
29198 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29199 void *argp1 = 0 ;
29200 int res1 = 0 ;
29201 PyObject *swig_obj[1] ;
29202
29203 if (!args) SWIG_fail;
29204 swig_obj[0] = args;
29205 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29206 if (!SWIG_IsOK(res1)) {
29207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29208 }
29209 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29210 {
29211 PyThreadState* __tstate = wxPyBeginAllowThreads();
29212 (arg1)->CreateControlBar();
29213 wxPyEndAllowThreads(__tstate);
29214 if (PyErr_Occurred()) SWIG_fail;
29215 }
29216 resultobj = SWIG_Py_Void();
29217 return resultobj;
29218fail:
29219 return NULL;
d55e5bfc
RD
29220}
29221
29222
1bd55598
RD
29223SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29224 PyObject *resultobj = 0;
29225 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29226 void *argp1 = 0 ;
29227 int res1 = 0 ;
29228 PyObject *swig_obj[1] ;
29229
29230 if (!args) SWIG_fail;
29231 swig_obj[0] = args;
29232 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29233 if (!SWIG_IsOK(res1)) {
29234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29235 }
29236 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29237 {
29238 PyThreadState* __tstate = wxPyBeginAllowThreads();
29239 (arg1)->CreateCanvas();
29240 wxPyEndAllowThreads(__tstate);
29241 if (PyErr_Occurred()) SWIG_fail;
29242 }
29243 resultobj = SWIG_Py_Void();
29244 return resultobj;
29245fail:
29246 return NULL;
d55e5bfc
RD
29247}
29248
29249
1bd55598
RD
29250SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29251 PyObject *resultobj = 0;
29252 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29253 wxPreviewControlBar *result = 0 ;
29254 void *argp1 = 0 ;
29255 int res1 = 0 ;
29256 PyObject *swig_obj[1] ;
29257
29258 if (!args) SWIG_fail;
29259 swig_obj[0] = args;
29260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29261 if (!SWIG_IsOK(res1)) {
29262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29263 }
29264 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29265 {
29266 PyThreadState* __tstate = wxPyBeginAllowThreads();
29267 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
29268 wxPyEndAllowThreads(__tstate);
29269 if (PyErr_Occurred()) SWIG_fail;
29270 }
29271 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29272 return resultobj;
29273fail:
29274 return NULL;
29275}
29276
29277
29278SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29279 PyObject *obj;
29280 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29281 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
29282 return SWIG_Py_Void();
29283}
29284
29285SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29286 return SWIG_Python_InitShadowInstance(args);
29287}
29288
29289SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29290 PyObject *resultobj = 0;
29291 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29292 long arg2 ;
29293 wxWindow *arg3 = (wxWindow *) 0 ;
29294 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29295 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29296 wxSize const &arg5_defvalue = wxDefaultSize ;
29297 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29298 long arg6 = (long) wxTAB_TRAVERSAL ;
29299 wxString const &arg7_defvalue = wxPyPanelNameStr ;
29300 wxString *arg7 = (wxString *) &arg7_defvalue ;
29301 wxPreviewControlBar *result = 0 ;
29302 void *argp1 = 0 ;
29303 int res1 = 0 ;
29304 long val2 ;
29305 int ecode2 = 0 ;
29306 void *argp3 = 0 ;
29307 int res3 = 0 ;
29308 wxPoint temp4 ;
29309 wxSize temp5 ;
29310 long val6 ;
29311 int ecode6 = 0 ;
29312 bool temp7 = false ;
29313 PyObject * obj0 = 0 ;
29314 PyObject * obj1 = 0 ;
29315 PyObject * obj2 = 0 ;
29316 PyObject * obj3 = 0 ;
29317 PyObject * obj4 = 0 ;
29318 PyObject * obj5 = 0 ;
29319 PyObject * obj6 = 0 ;
29320 char * kwnames[] = {
29321 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29322 };
29323
29324 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29325 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29326 if (!SWIG_IsOK(res1)) {
29327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29328 }
29329 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29330 ecode2 = SWIG_AsVal_long(obj1, &val2);
29331 if (!SWIG_IsOK(ecode2)) {
29332 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29333 }
29334 arg2 = static_cast< long >(val2);
29335 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
29336 if (!SWIG_IsOK(res3)) {
29337 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29338 }
29339 arg3 = reinterpret_cast< wxWindow * >(argp3);
29340 if (obj3) {
29341 {
29342 arg4 = &temp4;
29343 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29344 }
29345 }
29346 if (obj4) {
a5ee0656 29347 {
1bd55598
RD
29348 arg5 = &temp5;
29349 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
a5ee0656 29350 }
1bd55598
RD
29351 }
29352 if (obj5) {
29353 ecode6 = SWIG_AsVal_long(obj5, &val6);
29354 if (!SWIG_IsOK(ecode6)) {
29355 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29356 }
29357 arg6 = static_cast< long >(val6);
29358 }
29359 if (obj6) {
a5ee0656 29360 {
1bd55598
RD
29361 arg7 = wxString_in_helper(obj6);
29362 if (arg7 == NULL) SWIG_fail;
29363 temp7 = true;
a5ee0656 29364 }
1bd55598
RD
29365 }
29366 {
29367 if (!wxPyCheckForApp()) SWIG_fail;
29368 PyThreadState* __tstate = wxPyBeginAllowThreads();
29369 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29370 wxPyEndAllowThreads(__tstate);
29371 if (PyErr_Occurred()) SWIG_fail;
29372 }
29373 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
29374 {
29375 if (temp7)
29376 delete arg7;
29377 }
29378 return resultobj;
29379fail:
29380 {
29381 if (temp7)
29382 delete arg7;
29383 }
29384 return NULL;
a5ee0656
RD
29385}
29386
29387
1bd55598
RD
29388SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29389 PyObject *resultobj = 0;
29390 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29391 int result;
29392 void *argp1 = 0 ;
29393 int res1 = 0 ;
29394 PyObject *swig_obj[1] ;
29395
29396 if (!args) SWIG_fail;
29397 swig_obj[0] = args;
29398 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29399 if (!SWIG_IsOK(res1)) {
29400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29401 }
29402 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29403 {
29404 PyThreadState* __tstate = wxPyBeginAllowThreads();
29405 result = (int)(arg1)->GetZoomControl();
29406 wxPyEndAllowThreads(__tstate);
29407 if (PyErr_Occurred()) SWIG_fail;
29408 }
29409 resultobj = SWIG_From_int(static_cast< int >(result));
29410 return resultobj;
29411fail:
29412 return NULL;
29413}
29414
29415
29416SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29417 PyObject *resultobj = 0;
29418 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29419 int arg2 ;
29420 void *argp1 = 0 ;
29421 int res1 = 0 ;
29422 int val2 ;
29423 int ecode2 = 0 ;
29424 PyObject * obj0 = 0 ;
29425 PyObject * obj1 = 0 ;
29426 char * kwnames[] = {
29427 (char *) "self",(char *) "zoom", NULL
29428 };
29429
29430 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
29431 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29432 if (!SWIG_IsOK(res1)) {
29433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29434 }
29435 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29436 ecode2 = SWIG_AsVal_int(obj1, &val2);
29437 if (!SWIG_IsOK(ecode2)) {
29438 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29439 }
29440 arg2 = static_cast< int >(val2);
29441 {
29442 PyThreadState* __tstate = wxPyBeginAllowThreads();
29443 (arg1)->SetZoomControl(arg2);
29444 wxPyEndAllowThreads(__tstate);
29445 if (PyErr_Occurred()) SWIG_fail;
29446 }
29447 resultobj = SWIG_Py_Void();
29448 return resultobj;
29449fail:
29450 return NULL;
8d38bd1d
RD
29451}
29452
29453
1bd55598
RD
29454SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29455 PyObject *resultobj = 0;
29456 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29457 wxPrintPreview *result = 0 ;
29458 void *argp1 = 0 ;
29459 int res1 = 0 ;
29460 PyObject *swig_obj[1] ;
29461
29462 if (!args) SWIG_fail;
29463 swig_obj[0] = args;
29464 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29465 if (!SWIG_IsOK(res1)) {
29466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29467 }
29468 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29469 {
29470 PyThreadState* __tstate = wxPyBeginAllowThreads();
29471 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
29472 wxPyEndAllowThreads(__tstate);
29473 if (PyErr_Occurred()) SWIG_fail;
29474 }
29475 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29476 return resultobj;
29477fail:
29478 return NULL;
d55e5bfc
RD
29479}
29480
29481
1bd55598
RD
29482SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29483 PyObject *resultobj = 0;
29484 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29485 void *argp1 = 0 ;
29486 int res1 = 0 ;
29487 PyObject *swig_obj[1] ;
29488
29489 if (!args) SWIG_fail;
29490 swig_obj[0] = args;
29491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29492 if (!SWIG_IsOK(res1)) {
29493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29494 }
29495 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29496 {
29497 PyThreadState* __tstate = wxPyBeginAllowThreads();
29498 (arg1)->OnNext();
29499 wxPyEndAllowThreads(__tstate);
29500 if (PyErr_Occurred()) SWIG_fail;
29501 }
29502 resultobj = SWIG_Py_Void();
29503 return resultobj;
29504fail:
29505 return NULL;
d55e5bfc
RD
29506}
29507
29508
1bd55598
RD
29509SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29510 PyObject *resultobj = 0;
29511 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29512 void *argp1 = 0 ;
29513 int res1 = 0 ;
29514 PyObject *swig_obj[1] ;
29515
29516 if (!args) SWIG_fail;
29517 swig_obj[0] = args;
29518 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29519 if (!SWIG_IsOK(res1)) {
29520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29521 }
29522 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29523 {
29524 PyThreadState* __tstate = wxPyBeginAllowThreads();
29525 (arg1)->OnPrevious();
29526 wxPyEndAllowThreads(__tstate);
29527 if (PyErr_Occurred()) SWIG_fail;
29528 }
29529 resultobj = SWIG_Py_Void();
29530 return resultobj;
29531fail:
29532 return NULL;
d55e5bfc
RD
29533}
29534
29535
1bd55598
RD
29536SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29537 PyObject *resultobj = 0;
29538 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29539 void *argp1 = 0 ;
29540 int res1 = 0 ;
29541 PyObject *swig_obj[1] ;
29542
29543 if (!args) SWIG_fail;
29544 swig_obj[0] = args;
29545 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29546 if (!SWIG_IsOK(res1)) {
29547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29548 }
29549 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29550 {
29551 PyThreadState* __tstate = wxPyBeginAllowThreads();
29552 (arg1)->OnFirst();
29553 wxPyEndAllowThreads(__tstate);
29554 if (PyErr_Occurred()) SWIG_fail;
29555 }
29556 resultobj = SWIG_Py_Void();
29557 return resultobj;
29558fail:
29559 return NULL;
a5ee0656
RD
29560}
29561
29562
1bd55598
RD
29563SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29564 PyObject *resultobj = 0;
29565 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29566 void *argp1 = 0 ;
29567 int res1 = 0 ;
29568 PyObject *swig_obj[1] ;
29569
29570 if (!args) SWIG_fail;
29571 swig_obj[0] = args;
29572 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29573 if (!SWIG_IsOK(res1)) {
29574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29575 }
29576 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29577 {
29578 PyThreadState* __tstate = wxPyBeginAllowThreads();
29579 (arg1)->OnLast();
29580 wxPyEndAllowThreads(__tstate);
29581 if (PyErr_Occurred()) SWIG_fail;
29582 }
29583 resultobj = SWIG_Py_Void();
29584 return resultobj;
29585fail:
29586 return NULL;
976dbff5
RD
29587}
29588
29589
1bd55598
RD
29590SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29591 PyObject *resultobj = 0;
29592 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29593 void *argp1 = 0 ;
29594 int res1 = 0 ;
29595 PyObject *swig_obj[1] ;
29596
29597 if (!args) SWIG_fail;
29598 swig_obj[0] = args;
29599 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29600 if (!SWIG_IsOK(res1)) {
29601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29602 }
29603 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29604 {
29605 PyThreadState* __tstate = wxPyBeginAllowThreads();
29606 (arg1)->OnGoto();
29607 wxPyEndAllowThreads(__tstate);
29608 if (PyErr_Occurred()) SWIG_fail;
29609 }
29610 resultobj = SWIG_Py_Void();
29611 return resultobj;
29612fail:
29613 return NULL;
d55e5bfc
RD
29614}
29615
29616
1bd55598
RD
29617SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29618 PyObject *obj;
29619 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29620 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
29621 return SWIG_Py_Void();
29622}
29623
29624SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29625 return SWIG_Python_InitShadowInstance(args);
29626}
29627
29628SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29629 PyObject *resultobj = 0;
29630 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29631 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29632 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29633 wxPrintPreview *result = 0 ;
29634 int res1 = 0 ;
29635 int res2 = 0 ;
29636 void *argp3 = 0 ;
29637 int res3 = 0 ;
29638
29639 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29640 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29641 if (!SWIG_IsOK(res1)) {
29642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29643 }
29644 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29645 if (!SWIG_IsOK(res2)) {
29646 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29647 }
29648 if (swig_obj[2]) {
29649 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29650 if (!SWIG_IsOK(res3)) {
29651 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
36ed4f51 29652 }
1bd55598
RD
29653 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29654 }
29655 {
29656 if (!wxPyCheckForApp()) SWIG_fail;
29657 PyThreadState* __tstate = wxPyBeginAllowThreads();
29658 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29659 wxPyEndAllowThreads(__tstate);
29660 if (PyErr_Occurred()) SWIG_fail;
29661 }
29662 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29663 return resultobj;
29664fail:
29665 return NULL;
29666}
29667
29668
29669SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29670 PyObject *resultobj = 0;
29671 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29672 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29673 wxPrintData *arg3 = (wxPrintData *) 0 ;
29674 wxPrintPreview *result = 0 ;
29675 int res1 = 0 ;
29676 int res2 = 0 ;
29677 void *argp3 = 0 ;
29678 int res3 = 0 ;
29679
29680 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29681 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29682 if (!SWIG_IsOK(res1)) {
29683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29684 }
29685 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29686 if (!SWIG_IsOK(res2)) {
29687 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29688 }
29689 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29690 if (!SWIG_IsOK(res3)) {
29691 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29692 }
29693 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29694 {
29695 if (!wxPyCheckForApp()) SWIG_fail;
29696 PyThreadState* __tstate = wxPyBeginAllowThreads();
29697 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29698 wxPyEndAllowThreads(__tstate);
29699 if (PyErr_Occurred()) SWIG_fail;
29700 }
29701 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29702 return resultobj;
29703fail:
29704 return NULL;
d55e5bfc
RD
29705}
29706
29707
1bd55598
RD
29708SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
29709 int argc;
29710 PyObject *argv[4];
29711
29712 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
29713 --argc;
29714 if ((argc >= 2) && (argc <= 3)) {
29715 int _v = 0;
29716 if (argc > 2) {
29717 {
29718 void *vptr = 0;
29719 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29720 _v = SWIG_CheckState(res);
29721 }
29722 if (!_v) goto check_1;
36ed4f51 29723 }
1bd55598
RD
29724 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29725 }
29726check_1:
29727
29728 if (argc == 3) {
29729 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29730 }
29731
29732fail:
29733 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29734 return NULL;
d55e5bfc
RD
29735}
29736
29737
1bd55598
RD
29738SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29739 PyObject *resultobj = 0;
29740 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29741 void *argp1 = 0 ;
29742 int res1 = 0 ;
29743 PyObject *swig_obj[1] ;
29744
29745 if (!args) SWIG_fail;
29746 swig_obj[0] = args;
29747 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29748 if (!SWIG_IsOK(res1)) {
29749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29750 }
29751 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29752 {
29753 PyThreadState* __tstate = wxPyBeginAllowThreads();
29754 delete arg1;
d55e5bfc 29755
1bd55598
RD
29756 wxPyEndAllowThreads(__tstate);
29757 if (PyErr_Occurred()) SWIG_fail;
29758 }
29759 resultobj = SWIG_Py_Void();
29760 return resultobj;
29761fail:
29762 return NULL;
29763}
29764
29765
29766SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29767 PyObject *resultobj = 0;
29768 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29769 int arg2 ;
29770 bool result;
29771 void *argp1 = 0 ;
29772 int res1 = 0 ;
29773 int val2 ;
29774 int ecode2 = 0 ;
29775 PyObject * obj0 = 0 ;
29776 PyObject * obj1 = 0 ;
29777 char * kwnames[] = {
29778 (char *) "self",(char *) "pageNum", NULL
29779 };
29780
29781 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
29782 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29783 if (!SWIG_IsOK(res1)) {
29784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29785 }
29786 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29787 ecode2 = SWIG_AsVal_int(obj1, &val2);
29788 if (!SWIG_IsOK(ecode2)) {
29789 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29790 }
29791 arg2 = static_cast< int >(val2);
29792 {
29793 PyThreadState* __tstate = wxPyBeginAllowThreads();
29794 result = (bool)(arg1)->SetCurrentPage(arg2);
29795 wxPyEndAllowThreads(__tstate);
29796 if (PyErr_Occurred()) SWIG_fail;
29797 }
29798 {
29799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29800 }
29801 return resultobj;
29802fail:
29803 return NULL;
d55e5bfc
RD
29804}
29805
29806
1bd55598
RD
29807SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29808 PyObject *resultobj = 0;
29809 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29810 int result;
29811 void *argp1 = 0 ;
29812 int res1 = 0 ;
29813 PyObject *swig_obj[1] ;
29814
29815 if (!args) SWIG_fail;
29816 swig_obj[0] = args;
29817 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29818 if (!SWIG_IsOK(res1)) {
29819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29820 }
29821 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29822 {
29823 PyThreadState* __tstate = wxPyBeginAllowThreads();
29824 result = (int)(arg1)->GetCurrentPage();
29825 wxPyEndAllowThreads(__tstate);
29826 if (PyErr_Occurred()) SWIG_fail;
29827 }
29828 resultobj = SWIG_From_int(static_cast< int >(result));
29829 return resultobj;
29830fail:
29831 return NULL;
29832}
29833
29834
29835SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29836 PyObject *resultobj = 0;
29837 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29838 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29839 void *argp1 = 0 ;
29840 int res1 = 0 ;
29841 int res2 = 0 ;
29842 PyObject * obj0 = 0 ;
29843 PyObject * obj1 = 0 ;
29844 char * kwnames[] = {
29845 (char *) "self",(char *) "printout", NULL
29846 };
29847
29848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29849 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29850 if (!SWIG_IsOK(res1)) {
29851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29852 }
29853 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29854 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29855 if (!SWIG_IsOK(res2)) {
29856 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29857 }
29858 {
29859 PyThreadState* __tstate = wxPyBeginAllowThreads();
29860 (arg1)->SetPrintout(arg2);
29861 wxPyEndAllowThreads(__tstate);
29862 if (PyErr_Occurred()) SWIG_fail;
29863 }
29864 resultobj = SWIG_Py_Void();
29865 return resultobj;
29866fail:
29867 return NULL;
d55e5bfc
RD
29868}
29869
29870
1bd55598
RD
29871SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29872 PyObject *resultobj = 0;
29873 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29874 wxPyPrintout *result = 0 ;
29875 void *argp1 = 0 ;
29876 int res1 = 0 ;
29877 PyObject *swig_obj[1] ;
29878
29879 if (!args) SWIG_fail;
29880 swig_obj[0] = args;
29881 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29882 if (!SWIG_IsOK(res1)) {
29883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29884 }
29885 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29886 {
29887 PyThreadState* __tstate = wxPyBeginAllowThreads();
29888 result = (wxPyPrintout *)(arg1)->GetPrintout();
29889 wxPyEndAllowThreads(__tstate);
29890 if (PyErr_Occurred()) SWIG_fail;
29891 }
29892 {
29893 resultobj = wxPyMake_wxObject(result, 0);
29894 }
29895 return resultobj;
29896fail:
29897 return NULL;
d55e5bfc
RD
29898}
29899
29900
1bd55598
RD
29901SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29902 PyObject *resultobj = 0;
29903 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29904 wxPyPrintout *result = 0 ;
29905 void *argp1 = 0 ;
29906 int res1 = 0 ;
29907 PyObject *swig_obj[1] ;
29908
29909 if (!args) SWIG_fail;
29910 swig_obj[0] = args;
29911 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29912 if (!SWIG_IsOK(res1)) {
29913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29914 }
29915 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29916 {
29917 PyThreadState* __tstate = wxPyBeginAllowThreads();
29918 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29919 wxPyEndAllowThreads(__tstate);
29920 if (PyErr_Occurred()) SWIG_fail;
29921 }
29922 {
29923 resultobj = wxPyMake_wxObject(result, 0);
29924 }
29925 return resultobj;
29926fail:
29927 return NULL;
29928}
29929
29930
29931SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29932 PyObject *resultobj = 0;
29933 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29934 wxFrame *arg2 = (wxFrame *) 0 ;
29935 void *argp1 = 0 ;
29936 int res1 = 0 ;
29937 void *argp2 = 0 ;
29938 int res2 = 0 ;
29939 PyObject * obj0 = 0 ;
29940 PyObject * obj1 = 0 ;
29941 char * kwnames[] = {
29942 (char *) "self",(char *) "frame", NULL
29943 };
29944
29945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29946 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29947 if (!SWIG_IsOK(res1)) {
29948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29949 }
29950 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29951 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29952 if (!SWIG_IsOK(res2)) {
29953 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29954 }
29955 arg2 = reinterpret_cast< wxFrame * >(argp2);
29956 {
29957 PyThreadState* __tstate = wxPyBeginAllowThreads();
29958 (arg1)->SetFrame(arg2);
29959 wxPyEndAllowThreads(__tstate);
29960 if (PyErr_Occurred()) SWIG_fail;
29961 }
29962 resultobj = SWIG_Py_Void();
29963 return resultobj;
29964fail:
29965 return NULL;
29966}
29967
29968
29969SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29970 PyObject *resultobj = 0;
29971 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29972 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29973 void *argp1 = 0 ;
29974 int res1 = 0 ;
29975 void *argp2 = 0 ;
29976 int res2 = 0 ;
29977 PyObject * obj0 = 0 ;
29978 PyObject * obj1 = 0 ;
29979 char * kwnames[] = {
29980 (char *) "self",(char *) "canvas", NULL
29981 };
29982
29983 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29984 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29985 if (!SWIG_IsOK(res1)) {
29986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29987 }
29988 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29989 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29990 if (!SWIG_IsOK(res2)) {
29991 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29992 }
29993 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29994 {
29995 PyThreadState* __tstate = wxPyBeginAllowThreads();
29996 (arg1)->SetCanvas(arg2);
29997 wxPyEndAllowThreads(__tstate);
29998 if (PyErr_Occurred()) SWIG_fail;
29999 }
30000 resultobj = SWIG_Py_Void();
30001 return resultobj;
30002fail:
30003 return NULL;
d55e5bfc
RD
30004}
30005
30006
1bd55598
RD
30007SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30008 PyObject *resultobj = 0;
30009 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30010 wxFrame *result = 0 ;
30011 void *argp1 = 0 ;
30012 int res1 = 0 ;
30013 PyObject *swig_obj[1] ;
30014
30015 if (!args) SWIG_fail;
30016 swig_obj[0] = args;
30017 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30018 if (!SWIG_IsOK(res1)) {
30019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30020 }
30021 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30022 {
30023 PyThreadState* __tstate = wxPyBeginAllowThreads();
30024 result = (wxFrame *)(arg1)->GetFrame();
30025 wxPyEndAllowThreads(__tstate);
30026 if (PyErr_Occurred()) SWIG_fail;
30027 }
30028 {
30029 resultobj = wxPyMake_wxObject(result, 0);
30030 }
30031 return resultobj;
30032fail:
30033 return NULL;
d55e5bfc
RD
30034}
30035
30036
1bd55598
RD
30037SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30038 PyObject *resultobj = 0;
30039 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30040 wxPreviewCanvas *result = 0 ;
30041 void *argp1 = 0 ;
30042 int res1 = 0 ;
30043 PyObject *swig_obj[1] ;
30044
30045 if (!args) SWIG_fail;
30046 swig_obj[0] = args;
30047 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30048 if (!SWIG_IsOK(res1)) {
30049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30050 }
30051 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30052 {
30053 PyThreadState* __tstate = wxPyBeginAllowThreads();
30054 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
30055 wxPyEndAllowThreads(__tstate);
30056 if (PyErr_Occurred()) SWIG_fail;
30057 }
30058 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30059 return resultobj;
30060fail:
30061 return NULL;
30062}
30063
30064
30065SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30066 PyObject *resultobj = 0;
30067 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30068 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30069 wxDC *arg3 = 0 ;
30070 bool result;
30071 void *argp1 = 0 ;
30072 int res1 = 0 ;
30073 void *argp2 = 0 ;
30074 int res2 = 0 ;
30075 void *argp3 = 0 ;
30076 int res3 = 0 ;
30077 PyObject * obj0 = 0 ;
30078 PyObject * obj1 = 0 ;
30079 PyObject * obj2 = 0 ;
30080 char * kwnames[] = {
30081 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30082 };
30083
30084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30086 if (!SWIG_IsOK(res1)) {
30087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30088 }
30089 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30090 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30091 if (!SWIG_IsOK(res2)) {
30092 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30093 }
30094 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30095 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30096 if (!SWIG_IsOK(res3)) {
30097 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30098 }
30099 if (!argp3) {
30100 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30101 }
30102 arg3 = reinterpret_cast< wxDC * >(argp3);
30103 {
30104 PyThreadState* __tstate = wxPyBeginAllowThreads();
30105 result = (bool)(arg1)->PaintPage(arg2,*arg3);
30106 wxPyEndAllowThreads(__tstate);
30107 if (PyErr_Occurred()) SWIG_fail;
30108 }
30109 {
30110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30111 }
30112 return resultobj;
30113fail:
30114 return NULL;
30115}
30116
30117
30118SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30119 PyObject *resultobj = 0;
30120 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30121 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30122 wxDC *arg3 = 0 ;
30123 bool result;
30124 void *argp1 = 0 ;
30125 int res1 = 0 ;
30126 void *argp2 = 0 ;
30127 int res2 = 0 ;
30128 void *argp3 = 0 ;
30129 int res3 = 0 ;
30130 PyObject * obj0 = 0 ;
30131 PyObject * obj1 = 0 ;
30132 PyObject * obj2 = 0 ;
30133 char * kwnames[] = {
30134 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30135 };
30136
30137 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30138 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30139 if (!SWIG_IsOK(res1)) {
30140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30141 }
30142 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30143 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30144 if (!SWIG_IsOK(res2)) {
30145 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30146 }
30147 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30148 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30149 if (!SWIG_IsOK(res3)) {
30150 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30151 }
30152 if (!argp3) {
30153 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30154 }
30155 arg3 = reinterpret_cast< wxDC * >(argp3);
30156 {
30157 PyThreadState* __tstate = wxPyBeginAllowThreads();
30158 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
30159 wxPyEndAllowThreads(__tstate);
30160 if (PyErr_Occurred()) SWIG_fail;
30161 }
30162 {
30163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30164 }
30165 return resultobj;
30166fail:
30167 return NULL;
30168}
30169
30170
30171SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30172 PyObject *resultobj = 0;
30173 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30174 int arg2 ;
30175 bool result;
30176 void *argp1 = 0 ;
30177 int res1 = 0 ;
30178 int val2 ;
30179 int ecode2 = 0 ;
30180 PyObject * obj0 = 0 ;
30181 PyObject * obj1 = 0 ;
30182 char * kwnames[] = {
30183 (char *) "self",(char *) "pageNum", NULL
30184 };
30185
30186 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
30187 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30188 if (!SWIG_IsOK(res1)) {
30189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30190 }
30191 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30192 ecode2 = SWIG_AsVal_int(obj1, &val2);
30193 if (!SWIG_IsOK(ecode2)) {
30194 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30195 }
30196 arg2 = static_cast< int >(val2);
30197 {
30198 PyThreadState* __tstate = wxPyBeginAllowThreads();
30199 result = (bool)(arg1)->RenderPage(arg2);
30200 wxPyEndAllowThreads(__tstate);
30201 if (PyErr_Occurred()) SWIG_fail;
30202 }
30203 {
30204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30205 }
30206 return resultobj;
30207fail:
30208 return NULL;
30209}
30210
30211
30212SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30213 PyObject *resultobj = 0;
30214 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30215 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30216 void *argp1 = 0 ;
30217 int res1 = 0 ;
30218 void *argp2 = 0 ;
30219 int res2 = 0 ;
30220 PyObject * obj0 = 0 ;
30221 PyObject * obj1 = 0 ;
30222 char * kwnames[] = {
30223 (char *) "self",(char *) "canvas", NULL
30224 };
30225
30226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
30227 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30228 if (!SWIG_IsOK(res1)) {
30229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30230 }
30231 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30232 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30233 if (!SWIG_IsOK(res2)) {
30234 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30235 }
30236 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30237 {
30238 PyThreadState* __tstate = wxPyBeginAllowThreads();
30239 (arg1)->AdjustScrollbars(arg2);
30240 wxPyEndAllowThreads(__tstate);
30241 if (PyErr_Occurred()) SWIG_fail;
30242 }
30243 resultobj = SWIG_Py_Void();
30244 return resultobj;
30245fail:
30246 return NULL;
d55e5bfc
RD
30247}
30248
30249
1bd55598
RD
30250SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30251 PyObject *resultobj = 0;
30252 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30253 wxPrintDialogData *result = 0 ;
30254 void *argp1 = 0 ;
30255 int res1 = 0 ;
30256 PyObject *swig_obj[1] ;
30257
30258 if (!args) SWIG_fail;
30259 swig_obj[0] = args;
30260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30261 if (!SWIG_IsOK(res1)) {
30262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30263 }
30264 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30265 {
30266 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 30267 {
1bd55598
RD
30268 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
30269 result = (wxPrintDialogData *) &_result_ref;
d55e5bfc 30270 }
1bd55598
RD
30271 wxPyEndAllowThreads(__tstate);
30272 if (PyErr_Occurred()) SWIG_fail;
30273 }
30274 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30275 return resultobj;
30276fail:
30277 return NULL;
30278}
30279
30280
30281SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30282 PyObject *resultobj = 0;
30283 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30284 int arg2 ;
30285 void *argp1 = 0 ;
30286 int res1 = 0 ;
30287 int val2 ;
30288 int ecode2 = 0 ;
30289 PyObject * obj0 = 0 ;
30290 PyObject * obj1 = 0 ;
30291 char * kwnames[] = {
30292 (char *) "self",(char *) "percent", NULL
30293 };
30294
30295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
30296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30297 if (!SWIG_IsOK(res1)) {
30298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30299 }
30300 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30301 ecode2 = SWIG_AsVal_int(obj1, &val2);
30302 if (!SWIG_IsOK(ecode2)) {
30303 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30304 }
30305 arg2 = static_cast< int >(val2);
30306 {
30307 PyThreadState* __tstate = wxPyBeginAllowThreads();
30308 (arg1)->SetZoom(arg2);
30309 wxPyEndAllowThreads(__tstate);
30310 if (PyErr_Occurred()) SWIG_fail;
30311 }
30312 resultobj = SWIG_Py_Void();
30313 return resultobj;
30314fail:
30315 return NULL;
d55e5bfc
RD
30316}
30317
30318
1bd55598
RD
30319SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30320 PyObject *resultobj = 0;
30321 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30322 int result;
30323 void *argp1 = 0 ;
30324 int res1 = 0 ;
30325 PyObject *swig_obj[1] ;
30326
30327 if (!args) SWIG_fail;
30328 swig_obj[0] = args;
30329 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30330 if (!SWIG_IsOK(res1)) {
30331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30332 }
30333 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30334 {
30335 PyThreadState* __tstate = wxPyBeginAllowThreads();
30336 result = (int)(arg1)->GetZoom();
30337 wxPyEndAllowThreads(__tstate);
30338 if (PyErr_Occurred()) SWIG_fail;
30339 }
30340 resultobj = SWIG_From_int(static_cast< int >(result));
30341 return resultobj;
30342fail:
30343 return NULL;
d55e5bfc
RD
30344}
30345
30346
1bd55598
RD
30347SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30348 PyObject *resultobj = 0;
30349 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30350 int result;
30351 void *argp1 = 0 ;
30352 int res1 = 0 ;
30353 PyObject *swig_obj[1] ;
30354
30355 if (!args) SWIG_fail;
30356 swig_obj[0] = args;
30357 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30358 if (!SWIG_IsOK(res1)) {
30359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30360 }
30361 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30362 {
30363 PyThreadState* __tstate = wxPyBeginAllowThreads();
30364 result = (int)(arg1)->GetMaxPage();
30365 wxPyEndAllowThreads(__tstate);
30366 if (PyErr_Occurred()) SWIG_fail;
30367 }
30368 resultobj = SWIG_From_int(static_cast< int >(result));
30369 return resultobj;
30370fail:
30371 return NULL;
d55e5bfc
RD
30372}
30373
30374
1bd55598
RD
30375SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30376 PyObject *resultobj = 0;
30377 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30378 int result;
30379 void *argp1 = 0 ;
30380 int res1 = 0 ;
30381 PyObject *swig_obj[1] ;
30382
30383 if (!args) SWIG_fail;
30384 swig_obj[0] = args;
30385 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30386 if (!SWIG_IsOK(res1)) {
30387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30388 }
30389 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30390 {
30391 PyThreadState* __tstate = wxPyBeginAllowThreads();
30392 result = (int)(arg1)->GetMinPage();
30393 wxPyEndAllowThreads(__tstate);
30394 if (PyErr_Occurred()) SWIG_fail;
30395 }
30396 resultobj = SWIG_From_int(static_cast< int >(result));
30397 return resultobj;
30398fail:
30399 return NULL;
d55e5bfc
RD
30400}
30401
30402
b39fe951 30403SWIGINTERN PyObject *_wrap_PrintPreview_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1bd55598
RD
30404 PyObject *resultobj = 0;
30405 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30406 bool result;
30407 void *argp1 = 0 ;
30408 int res1 = 0 ;
30409 PyObject *swig_obj[1] ;
30410
30411 if (!args) SWIG_fail;
30412 swig_obj[0] = args;
30413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30414 if (!SWIG_IsOK(res1)) {
b39fe951 30415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
1bd55598
RD
30416 }
30417 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30418 {
30419 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 30420 result = (bool)(arg1)->IsOk();
1bd55598
RD
30421 wxPyEndAllowThreads(__tstate);
30422 if (PyErr_Occurred()) SWIG_fail;
30423 }
30424 {
30425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30426 }
30427 return resultobj;
30428fail:
30429 return NULL;
30430}
30431
30432
30433SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30434 PyObject *resultobj = 0;
30435 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30436 bool arg2 ;
30437 void *argp1 = 0 ;
30438 int res1 = 0 ;
30439 bool val2 ;
30440 int ecode2 = 0 ;
30441 PyObject * obj0 = 0 ;
30442 PyObject * obj1 = 0 ;
30443 char * kwnames[] = {
30444 (char *) "self",(char *) "ok", NULL
30445 };
30446
30447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
30448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30449 if (!SWIG_IsOK(res1)) {
30450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30451 }
30452 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30453 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30454 if (!SWIG_IsOK(ecode2)) {
30455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30456 }
30457 arg2 = static_cast< bool >(val2);
30458 {
30459 PyThreadState* __tstate = wxPyBeginAllowThreads();
30460 (arg1)->SetOk(arg2);
30461 wxPyEndAllowThreads(__tstate);
30462 if (PyErr_Occurred()) SWIG_fail;
30463 }
30464 resultobj = SWIG_Py_Void();
30465 return resultobj;
30466fail:
30467 return NULL;
30468}
30469
30470
30471SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30472 PyObject *resultobj = 0;
30473 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30474 bool arg2 ;
30475 bool result;
30476 void *argp1 = 0 ;
30477 int res1 = 0 ;
30478 bool val2 ;
30479 int ecode2 = 0 ;
30480 PyObject * obj0 = 0 ;
30481 PyObject * obj1 = 0 ;
30482 char * kwnames[] = {
30483 (char *) "self",(char *) "interactive", NULL
30484 };
30485
30486 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
30487 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30488 if (!SWIG_IsOK(res1)) {
30489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30490 }
30491 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30492 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30493 if (!SWIG_IsOK(ecode2)) {
30494 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30495 }
30496 arg2 = static_cast< bool >(val2);
30497 {
30498 PyThreadState* __tstate = wxPyBeginAllowThreads();
30499 result = (bool)(arg1)->Print(arg2);
30500 wxPyEndAllowThreads(__tstate);
30501 if (PyErr_Occurred()) SWIG_fail;
30502 }
30503 {
30504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30505 }
30506 return resultobj;
30507fail:
30508 return NULL;
d55e5bfc
RD
30509}
30510
30511
1bd55598
RD
30512SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30513 PyObject *resultobj = 0;
30514 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30515 void *argp1 = 0 ;
30516 int res1 = 0 ;
30517 PyObject *swig_obj[1] ;
30518
30519 if (!args) SWIG_fail;
30520 swig_obj[0] = args;
30521 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30522 if (!SWIG_IsOK(res1)) {
30523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30524 }
30525 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30526 {
30527 PyThreadState* __tstate = wxPyBeginAllowThreads();
30528 (arg1)->DetermineScaling();
30529 wxPyEndAllowThreads(__tstate);
30530 if (PyErr_Occurred()) SWIG_fail;
30531 }
30532 resultobj = SWIG_Py_Void();
30533 return resultobj;
30534fail:
30535 return NULL;
d55e5bfc
RD
30536}
30537
30538
1bd55598
RD
30539SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30540 PyObject *obj;
30541 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30542 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
30543 return SWIG_Py_Void();
d55e5bfc
RD
30544}
30545
1bd55598
RD
30546SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30547 return SWIG_Python_InitShadowInstance(args);
30548}
d55e5bfc 30549
1bd55598
RD
30550SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30551 PyObject *resultobj = 0;
30552 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30553 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30554 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30555 wxPyPrintPreview *result = 0 ;
30556 int res1 = 0 ;
30557 int res2 = 0 ;
30558 void *argp3 = 0 ;
30559 int res3 = 0 ;
30560
30561 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30562 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30563 if (!SWIG_IsOK(res1)) {
30564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30565 }
30566 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30567 if (!SWIG_IsOK(res2)) {
30568 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30569 }
30570 if (swig_obj[2]) {
30571 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30572 if (!SWIG_IsOK(res3)) {
30573 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30574 }
30575 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30576 }
30577 {
30578 if (!wxPyCheckForApp()) SWIG_fail;
30579 PyThreadState* __tstate = wxPyBeginAllowThreads();
30580 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30581 wxPyEndAllowThreads(__tstate);
30582 if (PyErr_Occurred()) SWIG_fail;
30583 }
30584 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30585 return resultobj;
30586fail:
30587 return NULL;
30588}
30589
30590
30591SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30592 PyObject *resultobj = 0;
30593 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30594 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30595 wxPrintData *arg3 = (wxPrintData *) 0 ;
30596 wxPyPrintPreview *result = 0 ;
30597 int res1 = 0 ;
30598 int res2 = 0 ;
30599 void *argp3 = 0 ;
30600 int res3 = 0 ;
30601
30602 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30603 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30604 if (!SWIG_IsOK(res1)) {
30605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30606 }
30607 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30608 if (!SWIG_IsOK(res2)) {
30609 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30610 }
30611 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30612 if (!SWIG_IsOK(res3)) {
30613 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30614 }
30615 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30616 {
30617 if (!wxPyCheckForApp()) SWIG_fail;
30618 PyThreadState* __tstate = wxPyBeginAllowThreads();
30619 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30620 wxPyEndAllowThreads(__tstate);
30621 if (PyErr_Occurred()) SWIG_fail;
30622 }
30623 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30624 return resultobj;
30625fail:
30626 return NULL;
d55e5bfc
RD
30627}
30628
30629
1bd55598
RD
30630SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
30631 int argc;
30632 PyObject *argv[4];
30633
30634 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
30635 --argc;
30636 if ((argc >= 2) && (argc <= 3)) {
30637 int _v = 0;
30638 if (argc > 2) {
30639 {
30640 void *vptr = 0;
30641 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30642 _v = SWIG_CheckState(res);
30643 }
30644 if (!_v) goto check_1;
36ed4f51 30645 }
1bd55598
RD
30646 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
30647 }
30648check_1:
30649
30650 if (argc == 3) {
30651 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
30652 }
30653
30654fail:
30655 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
30656 return NULL;
30657}
30658
30659
30660SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30661 PyObject *resultobj = 0;
30662 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
30663 PyObject *arg2 = (PyObject *) 0 ;
30664 PyObject *arg3 = (PyObject *) 0 ;
30665 void *argp1 = 0 ;
30666 int res1 = 0 ;
30667 PyObject * obj0 = 0 ;
30668 PyObject * obj1 = 0 ;
30669 PyObject * obj2 = 0 ;
30670 char * kwnames[] = {
30671 (char *) "self",(char *) "self",(char *) "_class", NULL
30672 };
30673
30674 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30675 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
30676 if (!SWIG_IsOK(res1)) {
30677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30678 }
30679 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
30680 arg2 = obj1;
30681 arg3 = obj2;
30682 {
30683 PyThreadState* __tstate = wxPyBeginAllowThreads();
30684 (arg1)->_setCallbackInfo(arg2,arg3);
30685 wxPyEndAllowThreads(__tstate);
30686 if (PyErr_Occurred()) SWIG_fail;
30687 }
30688 resultobj = SWIG_Py_Void();
30689 return resultobj;
30690fail:
30691 return NULL;
30692}
30693
30694
30695SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30696 PyObject *obj;
30697 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30698 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
30699 return SWIG_Py_Void();
30700}
30701
30702SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30703 return SWIG_Python_InitShadowInstance(args);
30704}
30705
30706SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30707 PyObject *resultobj = 0;
30708 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30709 wxFrame *arg2 = (wxFrame *) 0 ;
30710 wxString *arg3 = 0 ;
30711 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30712 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30713 wxSize const &arg5_defvalue = wxDefaultSize ;
30714 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30715 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
30716 wxString const &arg7_defvalue = wxPyFrameNameStr ;
30717 wxString *arg7 = (wxString *) &arg7_defvalue ;
30718 wxPyPreviewFrame *result = 0 ;
1bd55598
RD
30719 int res1 = 0 ;
30720 void *argp2 = 0 ;
30721 int res2 = 0 ;
30722 bool temp3 = false ;
30723 wxPoint temp4 ;
30724 wxSize temp5 ;
30725 long val6 ;
30726 int ecode6 = 0 ;
30727 bool temp7 = false ;
30728 PyObject * obj0 = 0 ;
30729 PyObject * obj1 = 0 ;
30730 PyObject * obj2 = 0 ;
30731 PyObject * obj3 = 0 ;
30732 PyObject * obj4 = 0 ;
30733 PyObject * obj5 = 0 ;
30734 PyObject * obj6 = 0 ;
30735 char * kwnames[] = {
30736 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30737 };
30738
30739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9057d6d4 30740 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
1bd55598 30741 if (!SWIG_IsOK(res1)) {
9057d6d4 30742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
1bd55598 30743 }
1bd55598
RD
30744 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30745 if (!SWIG_IsOK(res2)) {
30746 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30747 }
30748 arg2 = reinterpret_cast< wxFrame * >(argp2);
30749 {
30750 arg3 = wxString_in_helper(obj2);
30751 if (arg3 == NULL) SWIG_fail;
30752 temp3 = true;
30753 }
30754 if (obj3) {
36ed4f51 30755 {
1bd55598
RD
30756 arg4 = &temp4;
30757 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 30758 }
1bd55598
RD
30759 }
30760 if (obj4) {
d55e5bfc 30761 {
1bd55598
RD
30762 arg5 = &temp5;
30763 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 30764 }
1bd55598
RD
30765 }
30766 if (obj5) {
30767 ecode6 = SWIG_AsVal_long(obj5, &val6);
30768 if (!SWIG_IsOK(ecode6)) {
30769 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30770 }
30771 arg6 = static_cast< long >(val6);
30772 }
30773 if (obj6) {
36ed4f51 30774 {
1bd55598
RD
30775 arg7 = wxString_in_helper(obj6);
30776 if (arg7 == NULL) SWIG_fail;
30777 temp7 = true;
36ed4f51 30778 }
1bd55598
RD
30779 }
30780 {
30781 if (!wxPyCheckForApp()) SWIG_fail;
30782 PyThreadState* __tstate = wxPyBeginAllowThreads();
30783 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30784 wxPyEndAllowThreads(__tstate);
30785 if (PyErr_Occurred()) SWIG_fail;
30786 }
30787 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30788 {
30789 if (temp3)
30790 delete arg3;
30791 }
30792 {
30793 if (temp7)
30794 delete arg7;
30795 }
30796 return resultobj;
30797fail:
30798 {
30799 if (temp3)
30800 delete arg3;
30801 }
30802 {
30803 if (temp7)
30804 delete arg7;
30805 }
30806 return NULL;
30807}
30808
30809
30810SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30811 PyObject *resultobj = 0;
30812 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30813 PyObject *arg2 = (PyObject *) 0 ;
30814 PyObject *arg3 = (PyObject *) 0 ;
30815 void *argp1 = 0 ;
30816 int res1 = 0 ;
30817 PyObject * obj0 = 0 ;
30818 PyObject * obj1 = 0 ;
30819 PyObject * obj2 = 0 ;
30820 char * kwnames[] = {
30821 (char *) "self",(char *) "self",(char *) "_class", NULL
30822 };
30823
30824 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30825 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30826 if (!SWIG_IsOK(res1)) {
30827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30828 }
30829 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30830 arg2 = obj1;
30831 arg3 = obj2;
30832 {
30833 PyThreadState* __tstate = wxPyBeginAllowThreads();
30834 (arg1)->_setCallbackInfo(arg2,arg3);
30835 wxPyEndAllowThreads(__tstate);
30836 if (PyErr_Occurred()) SWIG_fail;
30837 }
30838 resultobj = SWIG_Py_Void();
30839 return resultobj;
30840fail:
30841 return NULL;
30842}
30843
30844
30845SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30846 PyObject *resultobj = 0;
30847 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30848 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30849 void *argp1 = 0 ;
30850 int res1 = 0 ;
30851 void *argp2 = 0 ;
30852 int res2 = 0 ;
30853 PyObject * obj0 = 0 ;
30854 PyObject * obj1 = 0 ;
30855 char * kwnames[] = {
30856 (char *) "self",(char *) "canvas", NULL
30857 };
30858
30859 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30860 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30861 if (!SWIG_IsOK(res1)) {
30862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30863 }
30864 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30865 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30866 if (!SWIG_IsOK(res2)) {
30867 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30868 }
30869 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30870 {
30871 PyThreadState* __tstate = wxPyBeginAllowThreads();
30872 (arg1)->SetPreviewCanvas(arg2);
30873 wxPyEndAllowThreads(__tstate);
30874 if (PyErr_Occurred()) SWIG_fail;
30875 }
30876 resultobj = SWIG_Py_Void();
30877 return resultobj;
30878fail:
30879 return NULL;
30880}
30881
30882
30883SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30884 PyObject *resultobj = 0;
30885 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30886 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30887 void *argp1 = 0 ;
30888 int res1 = 0 ;
30889 void *argp2 = 0 ;
30890 int res2 = 0 ;
30891 PyObject * obj0 = 0 ;
30892 PyObject * obj1 = 0 ;
30893 char * kwnames[] = {
30894 (char *) "self",(char *) "bar", NULL
30895 };
30896
30897 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30898 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30899 if (!SWIG_IsOK(res1)) {
30900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30901 }
30902 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30903 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30904 if (!SWIG_IsOK(res2)) {
30905 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30906 }
30907 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30908 {
30909 PyThreadState* __tstate = wxPyBeginAllowThreads();
30910 (arg1)->SetControlBar(arg2);
30911 wxPyEndAllowThreads(__tstate);
30912 if (PyErr_Occurred()) SWIG_fail;
30913 }
30914 resultobj = SWIG_Py_Void();
30915 return resultobj;
30916fail:
30917 return NULL;
d55e5bfc
RD
30918}
30919
30920
1bd55598
RD
30921SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30922 PyObject *resultobj = 0;
30923 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30924 void *argp1 = 0 ;
30925 int res1 = 0 ;
30926 PyObject *swig_obj[1] ;
30927
30928 if (!args) SWIG_fail;
30929 swig_obj[0] = args;
30930 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30931 if (!SWIG_IsOK(res1)) {
30932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30933 }
30934 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30935 {
30936 PyThreadState* __tstate = wxPyBeginAllowThreads();
30937 (arg1)->Initialize();
30938 wxPyEndAllowThreads(__tstate);
30939 if (PyErr_Occurred()) SWIG_fail;
30940 }
30941 resultobj = SWIG_Py_Void();
30942 return resultobj;
30943fail:
30944 return NULL;
d55e5bfc
RD
30945}
30946
30947
1bd55598
RD
30948SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30949 PyObject *resultobj = 0;
30950 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30951 void *argp1 = 0 ;
30952 int res1 = 0 ;
30953 PyObject *swig_obj[1] ;
30954
30955 if (!args) SWIG_fail;
30956 swig_obj[0] = args;
30957 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30958 if (!SWIG_IsOK(res1)) {
30959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30960 }
30961 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30962 {
30963 PyThreadState* __tstate = wxPyBeginAllowThreads();
30964 (arg1)->CreateCanvas();
30965 wxPyEndAllowThreads(__tstate);
30966 if (PyErr_Occurred()) SWIG_fail;
30967 }
30968 resultobj = SWIG_Py_Void();
30969 return resultobj;
30970fail:
30971 return NULL;
d55e5bfc
RD
30972}
30973
30974
1bd55598
RD
30975SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30976 PyObject *resultobj = 0;
30977 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30978 void *argp1 = 0 ;
30979 int res1 = 0 ;
30980 PyObject *swig_obj[1] ;
30981
30982 if (!args) SWIG_fail;
30983 swig_obj[0] = args;
30984 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30985 if (!SWIG_IsOK(res1)) {
30986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30987 }
30988 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30989 {
30990 PyThreadState* __tstate = wxPyBeginAllowThreads();
30991 (arg1)->CreateControlBar();
30992 wxPyEndAllowThreads(__tstate);
30993 if (PyErr_Occurred()) SWIG_fail;
30994 }
30995 resultobj = SWIG_Py_Void();
30996 return resultobj;
30997fail:
30998 return NULL;
30999}
31000
31001
31002SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31003 PyObject *obj;
31004 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31005 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
31006 return SWIG_Py_Void();
31007}
31008
31009SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31010 return SWIG_Python_InitShadowInstance(args);
31011}
31012
31013SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31014 PyObject *resultobj = 0;
31015 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31016 long arg2 ;
31017 wxWindow *arg3 = (wxWindow *) 0 ;
31018 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31019 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31020 wxSize const &arg5_defvalue = wxDefaultSize ;
31021 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31022 long arg6 = (long) 0 ;
31023 wxString const &arg7_defvalue = wxPyPanelNameStr ;
31024 wxString *arg7 = (wxString *) &arg7_defvalue ;
31025 wxPyPreviewControlBar *result = 0 ;
1bd55598
RD
31026 int res1 = 0 ;
31027 long val2 ;
31028 int ecode2 = 0 ;
31029 void *argp3 = 0 ;
31030 int res3 = 0 ;
31031 wxPoint temp4 ;
31032 wxSize temp5 ;
31033 long val6 ;
31034 int ecode6 = 0 ;
31035 bool temp7 = false ;
31036 PyObject * obj0 = 0 ;
31037 PyObject * obj1 = 0 ;
31038 PyObject * obj2 = 0 ;
31039 PyObject * obj3 = 0 ;
31040 PyObject * obj4 = 0 ;
31041 PyObject * obj5 = 0 ;
31042 PyObject * obj6 = 0 ;
31043 char * kwnames[] = {
31044 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31045 };
31046
31047 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9057d6d4 31048 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
1bd55598 31049 if (!SWIG_IsOK(res1)) {
9057d6d4 31050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
1bd55598 31051 }
1bd55598
RD
31052 ecode2 = SWIG_AsVal_long(obj1, &val2);
31053 if (!SWIG_IsOK(ecode2)) {
31054 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31055 }
31056 arg2 = static_cast< long >(val2);
31057 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
31058 if (!SWIG_IsOK(res3)) {
31059 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31060 }
31061 arg3 = reinterpret_cast< wxWindow * >(argp3);
31062 if (obj3) {
d55e5bfc 31063 {
1bd55598
RD
31064 arg4 = &temp4;
31065 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 31066 }
1bd55598
RD
31067 }
31068 if (obj4) {
d55e5bfc 31069 {
1bd55598
RD
31070 arg5 = &temp5;
31071 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 31072 }
1bd55598
RD
31073 }
31074 if (obj5) {
31075 ecode6 = SWIG_AsVal_long(obj5, &val6);
31076 if (!SWIG_IsOK(ecode6)) {
31077 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31078 }
31079 arg6 = static_cast< long >(val6);
31080 }
31081 if (obj6) {
d55e5bfc 31082 {
1bd55598
RD
31083 arg7 = wxString_in_helper(obj6);
31084 if (arg7 == NULL) SWIG_fail;
31085 temp7 = true;
d55e5bfc 31086 }
1bd55598
RD
31087 }
31088 {
31089 if (!wxPyCheckForApp()) SWIG_fail;
31090 PyThreadState* __tstate = wxPyBeginAllowThreads();
31091 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31092 wxPyEndAllowThreads(__tstate);
31093 if (PyErr_Occurred()) SWIG_fail;
31094 }
31095 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
31096 {
31097 if (temp7)
31098 delete arg7;
31099 }
31100 return resultobj;
31101fail:
31102 {
31103 if (temp7)
31104 delete arg7;
31105 }
31106 return NULL;
31107}
31108
31109
31110SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31111 PyObject *resultobj = 0;
31112 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31113 PyObject *arg2 = (PyObject *) 0 ;
31114 PyObject *arg3 = (PyObject *) 0 ;
31115 void *argp1 = 0 ;
31116 int res1 = 0 ;
31117 PyObject * obj0 = 0 ;
31118 PyObject * obj1 = 0 ;
31119 PyObject * obj2 = 0 ;
31120 char * kwnames[] = {
31121 (char *) "self",(char *) "self",(char *) "_class", NULL
31122 };
31123
31124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31126 if (!SWIG_IsOK(res1)) {
31127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31128 }
31129 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31130 arg2 = obj1;
31131 arg3 = obj2;
31132 {
31133 PyThreadState* __tstate = wxPyBeginAllowThreads();
31134 (arg1)->_setCallbackInfo(arg2,arg3);
31135 wxPyEndAllowThreads(__tstate);
31136 if (PyErr_Occurred()) SWIG_fail;
31137 }
31138 resultobj = SWIG_Py_Void();
31139 return resultobj;
31140fail:
31141 return NULL;
31142}
31143
31144
31145SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31146 PyObject *resultobj = 0;
31147 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31148 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
31149 void *argp1 = 0 ;
31150 int res1 = 0 ;
1bd55598
RD
31151 int res2 = 0 ;
31152 PyObject * obj0 = 0 ;
31153 PyObject * obj1 = 0 ;
31154 char * kwnames[] = {
31155 (char *) "self",(char *) "preview", NULL
31156 };
31157
31158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
31159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31160 if (!SWIG_IsOK(res1)) {
31161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31162 }
31163 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
9057d6d4 31164 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
1bd55598 31165 if (!SWIG_IsOK(res2)) {
9057d6d4 31166 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
1bd55598 31167 }
1bd55598
RD
31168 {
31169 PyThreadState* __tstate = wxPyBeginAllowThreads();
31170 (arg1)->SetPrintPreview(arg2);
31171 wxPyEndAllowThreads(__tstate);
31172 if (PyErr_Occurred()) SWIG_fail;
31173 }
31174 resultobj = SWIG_Py_Void();
31175 return resultobj;
31176fail:
31177 return NULL;
d55e5bfc
RD
31178}
31179
31180
1bd55598
RD
31181SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31182 PyObject *resultobj = 0;
31183 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31184 void *argp1 = 0 ;
31185 int res1 = 0 ;
31186 PyObject *swig_obj[1] ;
31187
31188 if (!args) SWIG_fail;
31189 swig_obj[0] = args;
31190 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31191 if (!SWIG_IsOK(res1)) {
31192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31193 }
31194 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31195 {
31196 PyThreadState* __tstate = wxPyBeginAllowThreads();
31197 (arg1)->CreateButtons();
31198 wxPyEndAllowThreads(__tstate);
31199 if (PyErr_Occurred()) SWIG_fail;
31200 }
31201 resultobj = SWIG_Py_Void();
31202 return resultobj;
31203fail:
31204 return NULL;
31205}
31206
31207
31208SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31209 PyObject *resultobj = 0;
31210 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31211 int arg2 ;
31212 void *argp1 = 0 ;
31213 int res1 = 0 ;
31214 int val2 ;
31215 int ecode2 = 0 ;
31216 PyObject * obj0 = 0 ;
31217 PyObject * obj1 = 0 ;
31218 char * kwnames[] = {
31219 (char *) "self",(char *) "zoom", NULL
31220 };
31221
31222 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
31223 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31224 if (!SWIG_IsOK(res1)) {
31225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31226 }
31227 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31228 ecode2 = SWIG_AsVal_int(obj1, &val2);
31229 if (!SWIG_IsOK(ecode2)) {
31230 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31231 }
31232 arg2 = static_cast< int >(val2);
31233 {
31234 PyThreadState* __tstate = wxPyBeginAllowThreads();
31235 (arg1)->SetZoomControl(arg2);
31236 wxPyEndAllowThreads(__tstate);
31237 if (PyErr_Occurred()) SWIG_fail;
31238 }
31239 resultobj = SWIG_Py_Void();
31240 return resultobj;
31241fail:
31242 return NULL;
d55e5bfc
RD
31243}
31244
31245
1bd55598
RD
31246SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31247 PyObject *obj;
31248 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31249 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
31250 return SWIG_Py_Void();
d55e5bfc
RD
31251}
31252
1bd55598
RD
31253SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31254 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
31255}
31256
d55e5bfc 31257static PyMethodDef SwigMethods[] = {
36ed4f51 31258 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31259 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
36ed4f51 31260 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31261 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
36ed4f51
RD
31262 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31263 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
1bd55598 31264 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
36ed4f51 31265 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31266 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
36ed4f51
RD
31267 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31268 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31269 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
31270 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31271 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31272 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31273 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
36ed4f51 31274 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31275 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
36ed4f51 31276 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31277 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
31278 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
36ed4f51
RD
31279 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
31280 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
1bd55598 31281 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
36ed4f51
RD
31282 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
31283 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31284 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
36ed4f51 31285 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31286 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
36ed4f51
RD
31287 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
31288 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31289 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31290 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 31291 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31292 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
36ed4f51 31293 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31294 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
2131d850 31295 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
1bd55598
RD
31296 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
31297 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
36ed4f51
RD
31298 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31299 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
31300 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31301 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
36ed4f51 31302 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31303 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
70d7cb34 31304 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
31305 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
31306 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31307 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
36ed4f51 31308 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31309 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
b1fcee84 31310 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
1eeb270e
RD
31311 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
31312 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31313 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31314 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
36ed4f51
RD
31315 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
31316 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31317 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
36ed4f51 31318 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31319 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
36ed4f51 31320 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31321 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
36ed4f51
RD
31322 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31323 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31324 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
36ed4f51
RD
31325 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31326 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31327 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31328 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31329 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31330 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31331 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
36ed4f51 31332 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31333 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
36ed4f51
RD
31334 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31335 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31336 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
31337 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31338 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
1bd55598 31339 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
36ed4f51 31340 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31341 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
36ed4f51
RD
31342 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31343 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31344 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
b1fcee84 31345 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31346 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
b1fcee84 31347 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31348 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
36ed4f51 31349 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
b39fe951
RD
31350 { (char *)"Dialog__CreateButtonSizer", (PyCFunction) _wrap_Dialog__CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31351 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction) _wrap_Dialog_CreateSeparatedButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
62d32a5f 31352 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31353 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
31354 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
36ed4f51
RD
31355 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
31356 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31357 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
1bd55598 31358 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
36ed4f51 31359 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31360 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
36ed4f51
RD
31361 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31362 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
1bd55598 31363 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31364 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31365 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31366 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
36ed4f51 31367 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31368 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 31369 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31370 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
31371 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
31372 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
36ed4f51 31373 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
1bd55598 31374 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
36ed4f51 31375 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31376 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
36ed4f51
RD
31377 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31378 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31379 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
36ed4f51
RD
31380 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31381 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31382 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31383 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31384 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31385 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
31386 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
31387 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31388 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
31389 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
36ed4f51
RD
31390 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31391 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
1bd55598 31392 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
36ed4f51 31393 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31394 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
36ed4f51 31395 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31396 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
31397 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
36ed4f51 31398 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31399 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
36ed4f51
RD
31400 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
31401 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
31402 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
31403 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
31404 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31405 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
31406 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
36ed4f51
RD
31407 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
31408 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31409 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
31410 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
36ed4f51 31411 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31412 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
36ed4f51 31413 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31414 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
36ed4f51 31415 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31416 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
36ed4f51 31417 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31418 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
36ed4f51 31419 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31420 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
36ed4f51
RD
31421 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31422 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31423 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31424 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31425 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31426 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
31427 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
31428 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
31429 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
36ed4f51 31430 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
1bd55598 31431 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
36ed4f51 31432 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31433 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
36ed4f51
RD
31434 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31435 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31436 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31437 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31438 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31439 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
31440 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31441 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
36ed4f51 31442 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31443 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
36ed4f51
RD
31444 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31445 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31446 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
31447 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
36ed4f51
RD
31448 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31449 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31450 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
31451 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
36ed4f51 31452 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31453 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
36ed4f51 31454 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31455 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31456 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31457 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31458 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
36ed4f51 31459 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31460 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
36ed4f51 31461 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31462 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
36ed4f51 31463 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
1bd55598 31464 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31465 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31466 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31467 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
36ed4f51 31468 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31469 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
36ed4f51 31470 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31471 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
36ed4f51 31472 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31473 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
36ed4f51 31474 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31475 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
36ed4f51 31476 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
1bd55598 31477 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31478 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31479 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31480 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
36ed4f51 31481 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31482 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
36ed4f51 31483 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
1bd55598 31484 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
36ed4f51 31485 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31486 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
36ed4f51 31487 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31488 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
31489 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
36ed4f51
RD
31490 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31491 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
31492 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31493 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
1bd55598
RD
31494 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
31495 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
31496 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
36ed4f51
RD
31497 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31498 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31499 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31500 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
1bd55598 31501 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
36ed4f51 31502 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31503 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
36ed4f51 31504 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31505 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 31506 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31507 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
36ed4f51 31508 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31509 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31510 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31511 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31512 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
36ed4f51 31513 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31514 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 31515 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31516 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
36ed4f51
RD
31517 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31518 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31519 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
31520 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
31521 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
31522 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
31523 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
31524 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31525 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
31526 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
31527 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
31528 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
7993762b 31529 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31530 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
31531 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
31532 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
31533 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31534 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31535 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 31536 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31537 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
36ed4f51
RD
31538 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31539 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31540 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
31541 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
31542 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
36ed4f51
RD
31543 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
31544 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31545 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
31546 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
36ed4f51 31547 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31548 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
31549 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
36ed4f51 31550 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31551 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
36ed4f51
RD
31552 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31553 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
31554 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
31555 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31556 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
31557 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
36ed4f51
RD
31558 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31559 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
31560 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
1c71765a
RD
31561 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
31562 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31563 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
1bd55598 31564 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
36ed4f51 31565 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31566 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
36ed4f51
RD
31567 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31568 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31569 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31570 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
e9d6f3a4 31571 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31572 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
1bd55598
RD
31573 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
31574 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
31575 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
36ed4f51 31576 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31577 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
31578 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
31579 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
36ed4f51 31580 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31581 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
36ed4f51
RD
31582 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31583 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
1bd55598 31584 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31585 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31586 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
1bd55598
RD
31587 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
31588 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
31589 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
31590 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
31591 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
36ed4f51
RD
31592 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31593 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
31594 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31595 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31596 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
1bd55598 31597 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
36ed4f51 31598 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31599 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
36ed4f51 31600 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31601 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
32fe5131 31602 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31603 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31604 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
31605 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
36ed4f51
RD
31606 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31607 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31608 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31609 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31610 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31611 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31612 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31613 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
31614 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31615 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31616 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31617 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
31618 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
31619 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
31620 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
31621 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
1bd55598
RD
31622 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
31623 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
31624 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
36ed4f51 31625 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31626 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31627 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31628 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31629 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
36ed4f51 31630 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31631 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 31632 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31633 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
31634 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
36ed4f51
RD
31635 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31636 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31637 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 31638 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31639 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
36ed4f51
RD
31640 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
31641 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31642 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31643 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31644 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31645 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
27e45892
RD
31646 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31647 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
31648 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
31649 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
1bd55598
RD
31650 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
31651 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
36ed4f51 31652 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31653 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
31654 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
31655 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
31656 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
31657 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
31658 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
36ed4f51
RD
31659 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
31660 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
31661 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31662 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
31663 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
31664 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31665 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
1bd55598 31666 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
36ed4f51 31667 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31668 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
36ed4f51 31669 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31670 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
32fe5131 31671 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
31672 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31673 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31674 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31675 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31676 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
6b449b19 31677 { (char *)"ProgressDialog_Pulse", (PyCFunction) _wrap_ProgressDialog_Pulse, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31678 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
36ed4f51 31679 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31680 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 31681 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31682 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
31683 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
31684 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
31685 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
36ed4f51
RD
31686 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31687 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31688 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31689 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
1bd55598 31690 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
36ed4f51 31691 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31692 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
31693 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
31694 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
31695 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
36ed4f51
RD
31696 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31697 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31698 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31699 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
1bd55598 31700 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
36ed4f51 31701 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31702 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
36ed4f51 31703 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31704 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
36ed4f51
RD
31705 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
31706 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31707 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 31708 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31709 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
36ed4f51 31710 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31711 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
31712 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
31713 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
31714 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
31715 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
31716 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
36ed4f51
RD
31717 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
31718 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
1bd55598 31719 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
36ed4f51 31720 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31721 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
36ed4f51 31722 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31723 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
36ed4f51 31724 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
1bd55598 31725 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
36ed4f51 31726 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31727 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
36ed4f51
RD
31728 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31729 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31730 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 31731 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31732 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
36ed4f51 31733 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 31734 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
31735 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31736 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31737 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31738 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31739 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
31740 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
31741 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
31742 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
31743 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
31744 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
31745 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
36ed4f51 31746 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31747 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 31748 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31749 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
36ed4f51 31750 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 31751 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
31752 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31753 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31754 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31755 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31756 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
31757 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
31758 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
31759 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
31760 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
31761 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
31762 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
36ed4f51 31763 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
1bd55598 31764 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
36ed4f51 31765 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31766 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
36ed4f51 31767 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 31768 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
31769 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31770 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31771 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31772 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31773 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
31774 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
31775 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
31776 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
31777 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
31778 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
31779 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
36ed4f51 31780 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31781 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 31782 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
1bd55598
RD
31783 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
31784 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
31785 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
31786 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
b39fe951 31787 { (char *)"PrintData_IsOk", (PyCFunction)_wrap_PrintData_IsOk, METH_O, NULL},
1bd55598
RD
31788 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31789 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31790 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31791 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31792 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31793 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31794 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31795 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
8f514ab4 31796 { (char *)"PrintData_GetMedia", (PyCFunction)_wrap_PrintData_GetMedia, METH_O, NULL},
36ed4f51
RD
31797 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31798 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31799 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31800 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31801 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31802 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31803 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31804 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31805 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31806 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31807 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
8f514ab4 31808 { (char *)"PrintData_SetMedia", (PyCFunction) _wrap_PrintData_SetMedia, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31809 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
36ed4f51 31810 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31811 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
7fbf8399 31812 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31813 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
1bd55598 31814 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
36ed4f51 31815 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
1bd55598 31816 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
36ed4f51
RD
31817 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31818 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31819 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31820 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31821 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31822 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31823 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31824 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31825 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31826 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31827 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31828 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31829 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31830 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31831 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31832 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31833 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31834 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31835 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
b39fe951 31836 { (char *)"PageSetupDialogData_IsOk", (PyCFunction)_wrap_PageSetupDialogData_IsOk, METH_O, NULL},
36ed4f51
RD
31837 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31838 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31839 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31840 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31841 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31842 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31843 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31844 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31845 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31846 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31847 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
36ed4f51 31848 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
1bd55598 31849 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
36ed4f51 31850 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
06810ecf 31851 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
1bd55598
RD
31852 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31853 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31854 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
36ed4f51 31855 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31856 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 31857 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
1bd55598
RD
31858 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31859 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31860 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31861 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31862 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31863 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31864 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31865 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31866 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31867 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
36ed4f51
RD
31868 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31869 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31870 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31871 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31872 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31873 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31874 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31875 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31876 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31877 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31878 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31879 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31880 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31881 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31882 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31883 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31884 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
b39fe951 31885 { (char *)"PrintDialogData_IsOk", (PyCFunction)_wrap_PrintDialogData_IsOk, METH_O, NULL},
1bd55598 31886 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
36ed4f51
RD
31887 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31888 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
1bd55598 31889 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
36ed4f51 31890 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
06810ecf 31891 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
1bd55598
RD
31892 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31893 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31894 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31895 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
36ed4f51 31896 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31897 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 31898 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31899 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
36ed4f51
RD
31900 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31901 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31902 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31903 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31904 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31905 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31906 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31907 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
36ed4f51 31908 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
1bd55598 31909 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
36ed4f51 31910 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31911 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
36ed4f51 31912 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31913 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31914 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
36ed4f51 31915 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
70d7cb34
RD
31916 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction) _wrap_Printout_FitThisSizeToPaper, METH_VARARGS | METH_KEYWORDS, NULL},
31917 { (char *)"Printout_FitThisSizeToPage", (PyCFunction) _wrap_Printout_FitThisSizeToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31918 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction) _wrap_Printout_FitThisSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31919 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction)_wrap_Printout_MapScreenSizeToPaper, METH_O, NULL},
31920 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction)_wrap_Printout_MapScreenSizeToPage, METH_O, NULL},
31921 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction) _wrap_Printout_MapScreenSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31922 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction)_wrap_Printout_MapScreenSizeToDevice, METH_O, NULL},
31923 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction)_wrap_Printout_GetLogicalPaperRect, METH_O, NULL},
31924 { (char *)"Printout_GetLogicalPageRect", (PyCFunction)_wrap_Printout_GetLogicalPageRect, METH_O, NULL},
31925 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction) _wrap_Printout_GetLogicalPageMarginsRect, METH_VARARGS | METH_KEYWORDS, NULL},
31926 { (char *)"Printout_SetLogicalOrigin", (PyCFunction) _wrap_Printout_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
31927 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction) _wrap_Printout_OffsetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31928 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31929 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
36ed4f51 31930 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31931 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
36ed4f51 31932 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31933 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
36ed4f51 31934 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31935 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
70d7cb34
RD
31936 { (char *)"Printout_SetPaperRectPixels", (PyCFunction) _wrap_Printout_SetPaperRectPixels, METH_VARARGS | METH_KEYWORDS, NULL},
31937 { (char *)"Printout_GetPaperRectPixels", (PyCFunction)_wrap_Printout_GetPaperRectPixels, METH_O, NULL},
1bd55598 31938 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
36ed4f51 31939 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166 31940 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31941 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31942 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31943 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31944 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
7f7aa166 31945 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31946 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
36ed4f51 31947 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
1bd55598 31948 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31949 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31950 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
1bd55598 31951 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
36ed4f51 31952 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31953 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31954 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31955 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
31956 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
36ed4f51 31957 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
1bd55598 31958 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
36ed4f51 31959 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31960 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
36ed4f51 31961 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31962 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31963 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31964 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31965 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31966 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31967 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
36ed4f51 31968 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
1bd55598 31969 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
36ed4f51 31970 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
1bd55598 31971 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
36ed4f51 31972 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31973 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
36ed4f51 31974 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31975 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31976 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
36ed4f51
RD
31977 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31978 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31979 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31980 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
36ed4f51
RD
31981 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31982 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31983 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31984 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31985 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
36ed4f51 31986 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31987 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31988 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31989 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
b39fe951 31990 { (char *)"PrintPreview_IsOk", (PyCFunction)_wrap_PrintPreview_IsOk, METH_O, NULL},
36ed4f51
RD
31991 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31992 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31993 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
36ed4f51 31994 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
1bd55598 31995 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31996 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31997 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31998 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
1bd55598 31999 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
32000 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32001 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32002 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32003 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32004 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
32005 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
32006 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
36ed4f51 32007 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
1bd55598 32008 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
32009 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32010 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32011 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32012 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
7f7aa166 32013 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 32014 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
1bd55598 32015 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
c370783e 32016 { NULL, NULL, 0, NULL }
d55e5bfc
RD
32017};
32018
32019
32020/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32021
32022static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
32023 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32024}
32025static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32026 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32027}
32028static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32029 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32030}
32031static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32032 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32033}
32034static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32035 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32036}
32037static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32038 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32039}
32040static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32041 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32042}
32043static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
32044 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32045}
32046static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32047 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32048}
32049static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32050 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32051}
32052static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
32053 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
32054}
d55e5bfc
RD
32055static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32056 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32057}
34e0a3bb
RD
32058static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
32059 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
32060}
2131d850
RD
32061static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32062 return (void *)((wxEvent *) ((wxPyEvent *) x));
32063}
d55e5bfc
RD
32064static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
32065 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
32066}
32067static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32068 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32069}
32070static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32071 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32072}
32073static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32074 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32075}
32076static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32077 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32078}
32079static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32080 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32081}
32082static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32083 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32084}
32085static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32086 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32087}
32088static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32089 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32090}
53aa7709
RD
32091static void *_p_wxDateEventTo_p_wxEvent(void *x) {
32092 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
32093}
d55e5bfc
RD
32094static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32095 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32096}
32097static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32098 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32099}
34e0a3bb
RD
32100static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
32101 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
32102}
d55e5bfc
RD
32103static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32104 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32105}
32106static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32107 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32108}
32109static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32110 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32111}
32112static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32113 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32114}
32115static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32116 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32117}
32118static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32119 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32120}
32121static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32122 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32123}
32124static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32125 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32126}
32127static void *_p_wxSashEventTo_p_wxEvent(void *x) {
32128 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
32129}
32130static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
32131 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32132}
32133static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32134 return (void *)((wxEvent *) ((wxShowEvent *) x));
32135}
32136static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32137 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32138}
32139static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32140 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32141}
32142static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32143 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32144}
32145static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32146 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32147}
32148static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32149 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32150}
32151static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32152 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32153}
32154static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
32155 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
32156}
32157static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
32158 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
32159}
070c48b4
RD
32160static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
32161 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32162}
d55e5bfc
RD
32163static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
32164 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32165}
32166static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
32167 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32168}
32169static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
32170 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32171}
32172static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32173 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32174}
32175static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32176 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32177}
32178static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32179 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32180}
32181static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32182 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32183}
070c48b4
RD
32184static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
32185 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32186}
d55e5bfc
RD
32187static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
32188 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32189}
32190static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
32191 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32192}
32193static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
32194 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32195}
32196static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
32197 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32198}
27e45892
RD
32199static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
32200 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32201}
d55e5bfc
RD
32202static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
32203 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32204}
32205static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
32206 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32207}
32208static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
32209 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32210}
32211static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
32212 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
32213}
32214static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
32215 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
32216}
32217static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
32218 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32219}
32220static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
32221 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
32222}
32223static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
32224 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32225}
32226static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
32227 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
32228}
32229static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
32230 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32231}
32232static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
32233 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
32234}
32235static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
32236 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
32237}
32238static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
32239 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
32240}
32241static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32242 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32243}
32244static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
32245 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32246}
32247static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
32248 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
32249}
32250static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
32251 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
32252}
32253static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
32254 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32255}
32256static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32257 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32258}
32259static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
32260 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32261}
32262static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
32263 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32264}
32265static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
32266 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32267}
32268static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32269 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32270}
32271static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32272 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32273}
32274static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
32275 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
32276}
32277static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
32278 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32279}
32280static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
32281 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32282}
32283static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
32284 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32285}
32286static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
32287 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32288}
32289static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
32290 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32291}
5e483524
RD
32292static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
32293 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
32294}
32295static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
32296 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32297}
d55e5bfc
RD
32298static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
32299 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32300}
32301static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
32302 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32303}
32304static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
32305 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32306}
070c48b4
RD
32307static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
32308 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32309}
d55e5bfc
RD
32310static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
32311 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32312}
32313static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
32314 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
32315}
32316static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
32317 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
32318}
32319static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
32320 return (void *)((wxFrame *) ((wxProgressDialog *) x));
32321}
32322static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
32323 return (void *)((wxFrame *) ((wxTipWindow *) x));
32324}
32325static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
32326 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
32327}
32328static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
32329 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32330}
32331static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
32332 return (void *)((wxFrame *) ((wxMiniFrame *) x));
32333}
32334static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
32335 return (void *)((wxFrame *) ((wxSplashScreen *) x));
32336}
32337static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
32338 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
32339}
32340static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32341 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32342}
32343static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
32344 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32345}
32346static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
32347 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32348}
32349static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
32350 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32351}
d55e5bfc
RD
32352static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32353 return (void *)((wxObject *) ((wxSizerItem *) x));
32354}
34e0a3bb
RD
32355static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32356 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32357}
d55e5bfc
RD
32358static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32359 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32360}
32361static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32362 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32363}
32364static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32365 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32366}
32367static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32368 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32369}
32370static void *_p_wxSizerTo_p_wxObject(void *x) {
32371 return (void *)((wxObject *) ((wxSizer *) x));
32372}
32373static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32374 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32375}
32376static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32377 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32378}
32379static void *_p_wxPyPanelTo_p_wxObject(void *x) {
32380 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32381}
32382static void *_p_wxEventTo_p_wxObject(void *x) {
32383 return (void *)((wxObject *) ((wxEvent *) x));
32384}
32385static void *_p_wxFontDataTo_p_wxObject(void *x) {
32386 return (void *)((wxObject *) ((wxFontData *) x));
32387}
32388static void *_p_wxPrintDataTo_p_wxObject(void *x) {
32389 return (void *)((wxObject *) ((wxPrintData *) x));
32390}
32391static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32392 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32393}
32394static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32395 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32396}
32397static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32398 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32399}
32400static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
32401 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
32402}
5e483524
RD
32403static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
32404 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
32405}
32406static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
32407 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
32408}
2131d850
RD
32409static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
32410 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
32411}
d55e5bfc
RD
32412static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32413 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32414}
32415static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32416 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32417}
32418static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32419 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32420}
32421static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32422 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32423}
32424static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32425 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32426}
32427static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32428 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32429}
32430static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
32431 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32432}
32433static void *_p_wxControlTo_p_wxObject(void *x) {
32434 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32435}
32436static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32437 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32438}
32439static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
32440 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32441}
32442static void *_p_wxFSFileTo_p_wxObject(void *x) {
32443 return (void *)((wxObject *) ((wxFSFile *) x));
32444}
32445static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
32446 return (void *)((wxObject *) ((wxFindReplaceData *) x));
32447}
32448static void *_p_wxPySizerTo_p_wxObject(void *x) {
32449 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32450}
32451static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
32452 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32453}
32454static void *_p_wxColourDataTo_p_wxObject(void *x) {
32455 return (void *)((wxObject *) ((wxColourData *) x));
32456}
32457static void *_p_wxPyEventTo_p_wxObject(void *x) {
32458 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32459}
32460static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32461 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32462}
32463static void *_p_wxPyWindowTo_p_wxObject(void *x) {
32464 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
32465}
32466static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
32467 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32468}
32469static void *_p_wxFileDialogTo_p_wxObject(void *x) {
32470 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32471}
32472static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
32473 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32474}
32475static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
32476 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32477}
32478static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
32479 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32480}
070c48b4
RD
32481static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
32482 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32483}
27e45892
RD
32484static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
32485 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32486}
d55e5bfc
RD
32487static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
32488 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32489}
32490static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
32491 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32492}
32493static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
32494 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32495}
32496static void *_p_wxShowEventTo_p_wxObject(void *x) {
32497 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32498}
32499static void *_p_wxPrinterTo_p_wxObject(void *x) {
32500 return (void *)((wxObject *) ((wxPrinter *) x));
32501}
32502static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32503 return (void *)((wxObject *) ((wxMenuItem *) x));
32504}
53aa7709
RD
32505static void *_p_wxDateEventTo_p_wxObject(void *x) {
32506 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
32507}
d55e5bfc
RD
32508static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32509 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32510}
32511static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32512 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32513}
32514static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32515 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32516}
32517static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32518 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32519}
32520static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32521 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32522}
32523static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32524 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32525}
32526static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32527 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32528}
32529static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32530 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32531}
d55e5bfc
RD
32532static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32533 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32534}
32535static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32536 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32537}
32538static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32539 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32540}
32541static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32542 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32543}
32544static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32545 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32546}
32547static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32548 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32549}
32550static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32551 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32552}
32553static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32554 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32555}
32556static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32557 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32558}
943e8dfd
RD
32559static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
32560 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
32561}
d55e5bfc
RD
32562static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32563 return (void *)((wxObject *) ((wxImageHandler *) x));
32564}
943e8dfd
RD
32565static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32566 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32567}
d55e5bfc
RD
32568static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32569 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32570}
580080c5
RD
32571static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
32572 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
32573}
d55e5bfc
RD
32574static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32575 return (void *)((wxObject *) ((wxEvtHandler *) x));
32576}
34e0a3bb
RD
32577static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
32578 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
32579}
d55e5bfc
RD
32580static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
32581 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
32582}
32583static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
32584 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32585}
32586static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
32587 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32588}
32589static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32590 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32591}
580080c5
RD
32592static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
32593 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
32594}
d55e5bfc
RD
32595static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
32596 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32597}
32598static void *_p_wxImageTo_p_wxObject(void *x) {
32599 return (void *)((wxObject *) ((wxImage *) x));
32600}
32601static void *_p_wxFrameTo_p_wxObject(void *x) {
32602 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32603}
32604static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
32605 return (void *)((wxObject *) ((wxPyPrintout *) x));
32606}
32607static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32608 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32609}
32610static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
32611 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
32612}
32613static void *_p_wxStatusBarTo_p_wxObject(void *x) {
32614 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
32615}
32616static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
32617 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32618}
32619static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32620 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32621}
32622static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32623 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32624}
32625static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32626 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32627}
32628static void *_p_wxWindowTo_p_wxObject(void *x) {
32629 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32630}
32631static void *_p_wxMenuTo_p_wxObject(void *x) {
32632 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32633}
32634static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32635 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32636}
32637static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
32638 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32639}
32640static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
32641 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
32642}
32643static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
32644 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
32645}
32646static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
32647 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
32648}
32649static void *_p_wxSashWindowTo_p_wxObject(void *x) {
32650 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
32651}
32652static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
32653 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32654}
32655static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
32656 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
32657}
32658static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
32659 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32660}
32661static void *_p_wxTipWindowTo_p_wxObject(void *x) {
32662 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
32663}
32664static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
32665 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32666}
32667static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
32668 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
32669}
32670static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
32671 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32672}
32673static void *_p_wxSashEventTo_p_wxObject(void *x) {
32674 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
32675}
32676static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
32677 return (void *)((wxObject *) ((wxPrintPreview *) x));
32678}
32679static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
32680 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
32681}
32682static void *_p_wxPanelTo_p_wxObject(void *x) {
32683 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
32684}
32685static void *_p_wxDialogTo_p_wxObject(void *x) {
32686 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32687}
32688static void *_p_wxColourDialogTo_p_wxObject(void *x) {
32689 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32690}
32691static void *_p_wxDirDialogTo_p_wxObject(void *x) {
32692 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32693}
32694static void *_p_wxFontDialogTo_p_wxObject(void *x) {
32695 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32696}
32697static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
6e0de3df 32698 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d55e5bfc
RD
32699}
32700static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
070c48b4 32701 return (void *)((wxObject *) ((wxPrintDialog *) x));
d55e5bfc
RD
32702}
32703static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32704 return (void *)((wxObject *) ((wxFileSystem *) x));
32705}
32706static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32707 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32708}
32709static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32710 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32711}
32712static void *_p_wxPyAppTo_p_wxObject(void *x) {
32713 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32714}
32715static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32716 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32717}
32718static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32719 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32720}
32721static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32722 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32723}
32724static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32725 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32726}
32727static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32728 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32729}
32730static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
32731 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32732}
32733static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
32734 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32735}
32736static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32737 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32738}
32739static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32740 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32741}
32742static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32743 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32744}
32745static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32746 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32747}
32748static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
32749 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
32750}
32751static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
32752 return (void *)((wxObject *) ((wxPrintDialogData *) x));
32753}
32754static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32755 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32756}
32757static void *_p_wxValidatorTo_p_wxObject(void *x) {
32758 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32759}
32760static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
32761 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32762}
32763static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
32764 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
32765}
32766static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
32767 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32768}
32769static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
32770 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
32771}
32772static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
32773 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
32774}
32775static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
32776 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
32777}
32778static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
32779 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
32780}
32781static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
32782 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
32783}
32784static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
32785 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
32786}
32787static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
32788 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
32789}
d55e5bfc
RD
32790static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
32791 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
32792}
32793static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
32794 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
32795}
32796static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
32797 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
32798}
32799static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
32800 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
32801}
27e45892
RD
32802static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
32803 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
d55e5bfc 32804}
070c48b4
RD
32805static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
32806 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32807}
d55e5bfc
RD
32808static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
32809 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
32810}
32811static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32812 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
32813}
32814static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32815 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
32816}
32817static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
32818 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
32819}
27e45892
RD
32820static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
32821 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
32822}
070c48b4
RD
32823static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
32824 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
32825}
d55e5bfc
RD
32826static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
32827 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
32828}
32829static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32830 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
32831}
32832static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32833 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32834}
32835static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32836 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32837}
32838static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32839 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32840}
32841static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32842 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32843}
32844static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32845 return (void *)((wxWindow *) ((wxMenuBar *) x));
32846}
32847static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32848 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32849}
32850static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32851 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32852}
32853static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32854 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32855}
27e45892
RD
32856static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
32857 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32858}
070c48b4
RD
32859static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32860 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32861}
d55e5bfc
RD
32862static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
32863 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32864}
32865static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
32866 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32867}
32868static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
32869 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32870}
32871static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
32872 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32873}
32874static void *_p_wxPanelTo_p_wxWindow(void *x) {
32875 return (void *)((wxWindow *) ((wxPanel *) x));
32876}
32877static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
32878 return (void *)((wxWindow *) ((wxStatusBar *) x));
32879}
d55e5bfc
RD
32880static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
32881 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
32882}
32883static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
32884 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
32885}
32886static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32887 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32888}
32889static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32890 return (void *)((wxWindow *) ((wxPopupWindow *) x));
32891}
32892static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32893 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32894}
32895static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32896 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32897}
32898static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32899 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32900}
32901static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32902 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32903}
32904static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32905 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32906}
32907static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32908 return (void *)((wxWindow *) ((wxSashWindow *) x));
32909}
070c48b4
RD
32910static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32911 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32912}
d55e5bfc
RD
32913static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32914 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32915}
32916static void *_p_wxControlTo_p_wxWindow(void *x) {
32917 return (void *)((wxWindow *) ((wxControl *) x));
32918}
32919static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32920 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32921}
32922static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32923 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32924}
32925static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32926 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32927}
32928static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32929 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32930}
32931static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32932 return (void *)((wxWindow *) ((wxPyWindow *) x));
32933}
32934static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32935 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32936}
32937static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32938 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32939}
32940static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32941 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32942}
32943static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32944 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32945}
32946static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32947 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32948}
32949static void *_p_wxFrameTo_p_wxWindow(void *x) {
32950 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32951}
32952static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32953 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32954}
32955static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32956 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32957}
32958static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32959 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32960}
32961static void *_p_wxDialogTo_p_wxWindow(void *x) {
32962 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32963}
d55e5bfc
RD
32964static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32965 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32966}
32967static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
32968 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32969}
32970static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
32971 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
32972}
32973static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
32974 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
32975}
32976static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
32977 return (void *)((wxDialog *) ((wxColourDialog *) x));
32978}
32979static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
32980 return (void *)((wxDialog *) ((wxDirDialog *) x));
32981}
32982static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
32983 return (void *)((wxDialog *) ((wxFontDialog *) x));
32984}
d55e5bfc
RD
32985static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
32986 return (void *)((wxDialog *) ((wxFileDialog *) x));
32987}
32988static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32989 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32990}
32991static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32992 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32993}
32994static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32995 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32996}
070c48b4
RD
32997static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32998 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32999}
27e45892
RD
33000static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
33001 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
33002}
d55e5bfc
RD
33003static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
33004 return (void *)((wxDialog *) ((wxMessageDialog *) x));
33005}
33006static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
33007 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
33008}
33009static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
33010 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
33011}
33012static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
33013 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
33014}
33015static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
33016 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33017}
33018static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
33019 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33020}
33021static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
33022 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33023}
33024static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
33025 return (void *)((wxPanel *) ((wxPyPanel *) x));
33026}
33027static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
33028 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
33029}
33030static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
33031 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
33032}
33033static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
33034 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33035}
33036static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
33037 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
33038}
33039static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
33040 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
33041}
33042static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
33043 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
33044}
53aa7709
RD
33045static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
33046 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
33047}
d55e5bfc
RD
33048static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
33049 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
33050}
2131d850
RD
33051static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
33052 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
33053}
d55e5bfc
RD
33054static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
33055 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
33056}
33057static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
33058 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33059}
33060static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
33061 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
33062}
33063static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
33064 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
33065}
33066static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
33067 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
33068}
33069static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
33070 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
33071}
33072static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
33073 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
33074}
33075static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
33076 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33077}
2131d850 33078static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
1bd55598
RD
33079static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
33080static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
33081static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
33082static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33083static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33084static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33085static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33086static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33087static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33088static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33089static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33090static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33091static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
2131d850
RD
33092static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33093static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
1bd55598 33094static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
2131d850
RD
33095static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33096static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33097static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
1bd55598
RD
33098static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33099static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33100static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
1bd55598
RD
33101static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33102static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33103static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33104static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33105static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33106static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33107static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33108static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33109static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33110static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33111static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33112static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
34e0a3bb 33113static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
1bd55598
RD
33114static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33115static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33116static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33117static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33118static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33119static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33120static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33121static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33122static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33123static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33124static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33125static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33126static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33127static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33128static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33129static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33130static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33131static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33132static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33133static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
33134static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33135static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
33136static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
33137static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33138static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33139static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33140static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33141static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33142static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33143static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33144static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33145static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33146static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
e9d6f3a4 33147static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
1bd55598
RD
33148static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33149static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33150static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33151static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33152static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33153static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33154static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33155static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33156static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33157static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33158static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33159static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
27e45892 33160static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
1bd55598
RD
33161static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33162static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
1bd55598 33163static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
34e0a3bb 33164static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
1bd55598
RD
33165static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33166static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33167static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33168static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
33169static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33170static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33171static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33172static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
33173static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
33174static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
1bd55598
RD
33175static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33176static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33177static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33178static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33179static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33180static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33181static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33182static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33183static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
27e45892 33184static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
2131d850 33185static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
1bd55598
RD
33186static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33187static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
580080c5 33188static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
1bd55598
RD
33189static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33190static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
33191static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33192static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33193static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33194static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33195static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33196static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33197static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33198static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33199static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33200static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33201static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33202static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33203static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33204static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33205static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33206static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33207static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33208static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33209static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33210static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33211static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33212static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33213static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33214static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33215static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33216static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33217static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33218static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33219static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33220static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33221static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33222static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33223static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33224static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33225static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33226static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33227static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33228static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33229static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33230static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33231static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33232static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33233static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33234static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33235static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33236static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33237static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33238static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33239static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33240static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33241static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33242static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33243static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32fe5131
RD
33244
33245static swig_type_info *swig_type_initial[] = {
2131d850 33246 &_swigt__p_bool,
32fe5131
RD
33247 &_swigt__p_char,
33248 &_swigt__p_form_ops_t,
33249 &_swigt__p_int,
33250 &_swigt__p_unsigned_char,
33251 &_swigt__p_unsigned_int,
33252 &_swigt__p_unsigned_long,
33253 &_swigt__p_wxANIHandler,
33254 &_swigt__p_wxAcceleratorTable,
33255 &_swigt__p_wxActivateEvent,
33256 &_swigt__p_wxArrayInt,
33257 &_swigt__p_wxBMPHandler,
33258 &_swigt__p_wxBitmap,
33259 &_swigt__p_wxBoxSizer,
33260 &_swigt__p_wxCURHandler,
33261 &_swigt__p_wxCalculateLayoutEvent,
33262 &_swigt__p_wxChildFocusEvent,
2131d850 33263 &_swigt__p_wxClipboardTextEvent,
32fe5131
RD
33264 &_swigt__p_wxCloseEvent,
33265 &_swigt__p_wxColour,
33266 &_swigt__p_wxColourData,
33267 &_swigt__p_wxColourDialog,
33268 &_swigt__p_wxCommandEvent,
33269 &_swigt__p_wxContextMenuEvent,
33270 &_swigt__p_wxControl,
33271 &_swigt__p_wxControlWithItems,
33272 &_swigt__p_wxDC,
33273 &_swigt__p_wxDateEvent,
33274 &_swigt__p_wxDialog,
33275 &_swigt__p_wxDirDialog,
33276 &_swigt__p_wxDisplayChangedEvent,
33277 &_swigt__p_wxDropFilesEvent,
33278 &_swigt__p_wxDuplexMode,
33279 &_swigt__p_wxEraseEvent,
33280 &_swigt__p_wxEvent,
33281 &_swigt__p_wxEvtHandler,
33282 &_swigt__p_wxFSFile,
33283 &_swigt__p_wxFileDialog,
33284 &_swigt__p_wxFileSystem,
33285 &_swigt__p_wxFindDialogEvent,
33286 &_swigt__p_wxFindReplaceData,
33287 &_swigt__p_wxFindReplaceDialog,
33288 &_swigt__p_wxFlexGridSizer,
33289 &_swigt__p_wxFocusEvent,
33290 &_swigt__p_wxFont,
33291 &_swigt__p_wxFontData,
33292 &_swigt__p_wxFontDialog,
33293 &_swigt__p_wxFrame,
33294 &_swigt__p_wxGBSizerItem,
33295 &_swigt__p_wxGIFHandler,
33296 &_swigt__p_wxGridBagSizer,
33297 &_swigt__p_wxGridSizer,
e9d6f3a4 33298 &_swigt__p_wxHtmlLinkInfo,
32fe5131
RD
33299 &_swigt__p_wxICOHandler,
33300 &_swigt__p_wxIcon,
33301 &_swigt__p_wxIconBundle,
33302 &_swigt__p_wxIconizeEvent,
33303 &_swigt__p_wxIdleEvent,
33304 &_swigt__p_wxImage,
33305 &_swigt__p_wxImageHandler,
33306 &_swigt__p_wxIndividualLayoutConstraint,
33307 &_swigt__p_wxInitDialogEvent,
33308 &_swigt__p_wxJPEGHandler,
33309 &_swigt__p_wxKeyEvent,
33310 &_swigt__p_wxLayoutAlgorithm,
33311 &_swigt__p_wxLayoutConstraints,
33312 &_swigt__p_wxMDIChildFrame,
33313 &_swigt__p_wxMDIClientWindow,
33314 &_swigt__p_wxMDIParentFrame,
33315 &_swigt__p_wxMaximizeEvent,
33316 &_swigt__p_wxMenu,
33317 &_swigt__p_wxMenuBar,
33318 &_swigt__p_wxMenuEvent,
33319 &_swigt__p_wxMenuItem,
33320 &_swigt__p_wxMessageDialog,
33321 &_swigt__p_wxMiniFrame,
33322 &_swigt__p_wxMouseCaptureChangedEvent,
34e0a3bb 33323 &_swigt__p_wxMouseCaptureLostEvent,
32fe5131
RD
33324 &_swigt__p_wxMouseEvent,
33325 &_swigt__p_wxMoveEvent,
33326 &_swigt__p_wxMultiChoiceDialog,
33327 &_swigt__p_wxNavigationKeyEvent,
33328 &_swigt__p_wxNcPaintEvent,
33329 &_swigt__p_wxNotifyEvent,
27e45892 33330 &_swigt__p_wxNumberEntryDialog,
32fe5131
RD
33331 &_swigt__p_wxObject,
33332 &_swigt__p_wxPCXHandler,
33333 &_swigt__p_wxPNGHandler,
33334 &_swigt__p_wxPNMHandler,
33335 &_swigt__p_wxPageSetupDialog,
33336 &_swigt__p_wxPageSetupDialogData,
33337 &_swigt__p_wxPaintEvent,
33338 &_swigt__p_wxPaletteChangedEvent,
33339 &_swigt__p_wxPanel,
33340 &_swigt__p_wxPaperSize,
33341 &_swigt__p_wxPasswordEntryDialog,
33342 &_swigt__p_wxPoint,
33343 &_swigt__p_wxPopupWindow,
33344 &_swigt__p_wxPreviewCanvas,
33345 &_swigt__p_wxPreviewControlBar,
33346 &_swigt__p_wxPreviewFrame,
33347 &_swigt__p_wxPrintData,
33348 &_swigt__p_wxPrintDialog,
33349 &_swigt__p_wxPrintDialogData,
33350 &_swigt__p_wxPrintPreview,
33351 &_swigt__p_wxPrinter,
33352 &_swigt__p_wxProgressDialog,
33353 &_swigt__p_wxPyApp,
33354 &_swigt__p_wxPyCommandEvent,
33355 &_swigt__p_wxPyEvent,
33356 &_swigt__p_wxPyHtmlListBox,
33357 &_swigt__p_wxPyImageHandler,
33358 &_swigt__p_wxPyPanel,
33359 &_swigt__p_wxPyPopupTransientWindow,
33360 &_swigt__p_wxPyPreviewControlBar,
33361 &_swigt__p_wxPyPreviewFrame,
33362 &_swigt__p_wxPyPrintPreview,
33363 &_swigt__p_wxPyPrintout,
33364 &_swigt__p_wxPyScrolledWindow,
33365 &_swigt__p_wxPySizer,
33366 &_swigt__p_wxPyTaskBarIcon,
33367 &_swigt__p_wxPyVListBox,
33368 &_swigt__p_wxPyVScrolledWindow,
33369 &_swigt__p_wxPyValidator,
33370 &_swigt__p_wxPyWindow,
33371 &_swigt__p_wxQueryLayoutInfoEvent,
33372 &_swigt__p_wxQueryNewPaletteEvent,
33373 &_swigt__p_wxRect,
33374 &_swigt__p_wxRegion,
33375 &_swigt__p_wxSashEvent,
33376 &_swigt__p_wxSashLayoutWindow,
33377 &_swigt__p_wxSashWindow,
33378 &_swigt__p_wxScrollEvent,
33379 &_swigt__p_wxScrollWinEvent,
33380 &_swigt__p_wxScrolledWindow,
33381 &_swigt__p_wxSetCursorEvent,
33382 &_swigt__p_wxShowEvent,
33383 &_swigt__p_wxSingleChoiceDialog,
33384 &_swigt__p_wxSize,
33385 &_swigt__p_wxSizeEvent,
33386 &_swigt__p_wxSizer,
33387 &_swigt__p_wxSizerItem,
33388 &_swigt__p_wxSplashScreen,
33389 &_swigt__p_wxSplashScreenWindow,
33390 &_swigt__p_wxSplitterEvent,
33391 &_swigt__p_wxSplitterWindow,
33392 &_swigt__p_wxStaticBoxSizer,
33393 &_swigt__p_wxStatusBar,
33394 &_swigt__p_wxStdDialogButtonSizer,
33395 &_swigt__p_wxString,
33396 &_swigt__p_wxSysColourChangedEvent,
580080c5 33397 &_swigt__p_wxTGAHandler,
32fe5131
RD
33398 &_swigt__p_wxTIFFHandler,
33399 &_swigt__p_wxTaskBarIcon,
33400 &_swigt__p_wxTaskBarIconEvent,
33401 &_swigt__p_wxTextEntryDialog,
33402 &_swigt__p_wxTipWindow,
33403 &_swigt__p_wxToolBar,
33404 &_swigt__p_wxTopLevelWindow,
33405 &_swigt__p_wxUpdateUIEvent,
33406 &_swigt__p_wxValidator,
33407 &_swigt__p_wxVisualAttributes,
33408 &_swigt__p_wxWindow,
33409 &_swigt__p_wxWindowCreateEvent,
33410 &_swigt__p_wxWindowDestroyEvent,
33411 &_swigt__p_wxXPMHandler,
32fe5131
RD
33412};
33413
2131d850 33414static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33415static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
33416static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
33417static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
33418static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
33419static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
33420static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
33421static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
33422static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
33423static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
33424static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
33425static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
33426static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
2131d850
RD
33427static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
33428static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 33429static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850
RD
33430static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
33431static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33432static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33433static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
33434static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
33435static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 33436static 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 33437static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
27e45892 33438static 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
33439static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
33440static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
33441static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33442static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
33443static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
33444static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
33445static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
33446static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33447static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 33448static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33449static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
33450static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
33451static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33452static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33453static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
33454static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33455static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
33456static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33457static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33458static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33459static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33460static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33461static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33462static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
33463static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33464static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
33465static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33466static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 33467static 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
33468static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
33469static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
33470static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
33471static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
33472static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
27e45892 33473static 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
33474static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
33475static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
33476static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33477static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
33478static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
33479static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
33480static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
33481static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
33482static 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 33483static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33484static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
33485static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
33486static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
33487static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
33488static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
33489static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
33490static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
33491static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
33492static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
33493static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
33494static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33495static 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 33496static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 33497static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 33498static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 33499static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33500static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
33501static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33502static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33503static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
33504static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
33505static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33506static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33507static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
33508static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
33509static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33510static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
33511static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
33512static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
33513static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
33514static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
33515static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
33516static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
33517static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
33518static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
27e45892 33519static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
2131d850 33520static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33521static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
33522static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
580080c5 33523static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33524static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
33525static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
580080c5 33526static 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_wxTGAHandler, _p_wxTGAHandlerTo_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_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_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
33527static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
33528static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
33529static 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}};
33530static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
33531static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33532static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
33533static 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}};
33534static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
33535static 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}};
33536static 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}};
33537static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
33538static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
33539static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
33540static 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}};
33541static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
33542static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
33543static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
33544static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
33545static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
33546static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
33547static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
33548static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
33549static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
33550static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
33551static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33552static 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}};
33553static 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}};
33554static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
33555static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
33556static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
33557static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
33558static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
33559static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
33560static 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}};
33561static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
33562static 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}};
33563static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33564static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
33565static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
33566static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
33567static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
33568static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
33569static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
33570static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
33571static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
33572static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33573static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
33574static 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}};
33575static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
33576static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
27e45892 33577static 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 33578static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
27e45892 33579static 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
33580
33581static swig_cast_info *swig_cast_initial[] = {
2131d850 33582 _swigc__p_bool,
32fe5131
RD
33583 _swigc__p_char,
33584 _swigc__p_form_ops_t,
33585 _swigc__p_int,
33586 _swigc__p_unsigned_char,
33587 _swigc__p_unsigned_int,
33588 _swigc__p_unsigned_long,
33589 _swigc__p_wxANIHandler,
33590 _swigc__p_wxAcceleratorTable,
33591 _swigc__p_wxActivateEvent,
33592 _swigc__p_wxArrayInt,
33593 _swigc__p_wxBMPHandler,
33594 _swigc__p_wxBitmap,
33595 _swigc__p_wxBoxSizer,
33596 _swigc__p_wxCURHandler,
33597 _swigc__p_wxCalculateLayoutEvent,
33598 _swigc__p_wxChildFocusEvent,
2131d850 33599 _swigc__p_wxClipboardTextEvent,
32fe5131
RD
33600 _swigc__p_wxCloseEvent,
33601 _swigc__p_wxColour,
33602 _swigc__p_wxColourData,
33603 _swigc__p_wxColourDialog,
33604 _swigc__p_wxCommandEvent,
33605 _swigc__p_wxContextMenuEvent,
33606 _swigc__p_wxControl,
33607 _swigc__p_wxControlWithItems,
33608 _swigc__p_wxDC,
33609 _swigc__p_wxDateEvent,
33610 _swigc__p_wxDialog,
33611 _swigc__p_wxDirDialog,
33612 _swigc__p_wxDisplayChangedEvent,
33613 _swigc__p_wxDropFilesEvent,
33614 _swigc__p_wxDuplexMode,
33615 _swigc__p_wxEraseEvent,
33616 _swigc__p_wxEvent,
33617 _swigc__p_wxEvtHandler,
33618 _swigc__p_wxFSFile,
33619 _swigc__p_wxFileDialog,
33620 _swigc__p_wxFileSystem,
33621 _swigc__p_wxFindDialogEvent,
33622 _swigc__p_wxFindReplaceData,
33623 _swigc__p_wxFindReplaceDialog,
33624 _swigc__p_wxFlexGridSizer,
33625 _swigc__p_wxFocusEvent,
33626 _swigc__p_wxFont,
33627 _swigc__p_wxFontData,
33628 _swigc__p_wxFontDialog,
33629 _swigc__p_wxFrame,
33630 _swigc__p_wxGBSizerItem,
33631 _swigc__p_wxGIFHandler,
33632 _swigc__p_wxGridBagSizer,
33633 _swigc__p_wxGridSizer,
e9d6f3a4 33634 _swigc__p_wxHtmlLinkInfo,
32fe5131
RD
33635 _swigc__p_wxICOHandler,
33636 _swigc__p_wxIcon,
33637 _swigc__p_wxIconBundle,
33638 _swigc__p_wxIconizeEvent,
33639 _swigc__p_wxIdleEvent,
33640 _swigc__p_wxImage,
33641 _swigc__p_wxImageHandler,
33642 _swigc__p_wxIndividualLayoutConstraint,
33643 _swigc__p_wxInitDialogEvent,
33644 _swigc__p_wxJPEGHandler,
33645 _swigc__p_wxKeyEvent,
33646 _swigc__p_wxLayoutAlgorithm,
33647 _swigc__p_wxLayoutConstraints,
33648 _swigc__p_wxMDIChildFrame,
33649 _swigc__p_wxMDIClientWindow,
33650 _swigc__p_wxMDIParentFrame,
33651 _swigc__p_wxMaximizeEvent,
33652 _swigc__p_wxMenu,
33653 _swigc__p_wxMenuBar,
33654 _swigc__p_wxMenuEvent,
33655 _swigc__p_wxMenuItem,
33656 _swigc__p_wxMessageDialog,
33657 _swigc__p_wxMiniFrame,
33658 _swigc__p_wxMouseCaptureChangedEvent,
34e0a3bb 33659 _swigc__p_wxMouseCaptureLostEvent,
32fe5131
RD
33660 _swigc__p_wxMouseEvent,
33661 _swigc__p_wxMoveEvent,
33662 _swigc__p_wxMultiChoiceDialog,
33663 _swigc__p_wxNavigationKeyEvent,
33664 _swigc__p_wxNcPaintEvent,
33665 _swigc__p_wxNotifyEvent,
27e45892 33666 _swigc__p_wxNumberEntryDialog,
32fe5131
RD
33667 _swigc__p_wxObject,
33668 _swigc__p_wxPCXHandler,
33669 _swigc__p_wxPNGHandler,
33670 _swigc__p_wxPNMHandler,
33671 _swigc__p_wxPageSetupDialog,
33672 _swigc__p_wxPageSetupDialogData,
33673 _swigc__p_wxPaintEvent,
33674 _swigc__p_wxPaletteChangedEvent,
33675 _swigc__p_wxPanel,
33676 _swigc__p_wxPaperSize,
33677 _swigc__p_wxPasswordEntryDialog,
33678 _swigc__p_wxPoint,
33679 _swigc__p_wxPopupWindow,
33680 _swigc__p_wxPreviewCanvas,
33681 _swigc__p_wxPreviewControlBar,
33682 _swigc__p_wxPreviewFrame,
33683 _swigc__p_wxPrintData,
33684 _swigc__p_wxPrintDialog,
33685 _swigc__p_wxPrintDialogData,
33686 _swigc__p_wxPrintPreview,
33687 _swigc__p_wxPrinter,
33688 _swigc__p_wxProgressDialog,
33689 _swigc__p_wxPyApp,
33690 _swigc__p_wxPyCommandEvent,
33691 _swigc__p_wxPyEvent,
33692 _swigc__p_wxPyHtmlListBox,
33693 _swigc__p_wxPyImageHandler,
33694 _swigc__p_wxPyPanel,
33695 _swigc__p_wxPyPopupTransientWindow,
33696 _swigc__p_wxPyPreviewControlBar,
33697 _swigc__p_wxPyPreviewFrame,
33698 _swigc__p_wxPyPrintPreview,
33699 _swigc__p_wxPyPrintout,
33700 _swigc__p_wxPyScrolledWindow,
33701 _swigc__p_wxPySizer,
33702 _swigc__p_wxPyTaskBarIcon,
33703 _swigc__p_wxPyVListBox,
33704 _swigc__p_wxPyVScrolledWindow,
33705 _swigc__p_wxPyValidator,
33706 _swigc__p_wxPyWindow,
33707 _swigc__p_wxQueryLayoutInfoEvent,
33708 _swigc__p_wxQueryNewPaletteEvent,
33709 _swigc__p_wxRect,
33710 _swigc__p_wxRegion,
33711 _swigc__p_wxSashEvent,
33712 _swigc__p_wxSashLayoutWindow,
33713 _swigc__p_wxSashWindow,
33714 _swigc__p_wxScrollEvent,
33715 _swigc__p_wxScrollWinEvent,
33716 _swigc__p_wxScrolledWindow,
33717 _swigc__p_wxSetCursorEvent,
33718 _swigc__p_wxShowEvent,
33719 _swigc__p_wxSingleChoiceDialog,
33720 _swigc__p_wxSize,
1bd55598
RD
33721 _swigc__p_wxSizeEvent,
33722 _swigc__p_wxSizer,
33723 _swigc__p_wxSizerItem,
33724 _swigc__p_wxSplashScreen,
33725 _swigc__p_wxSplashScreenWindow,
33726 _swigc__p_wxSplitterEvent,
33727 _swigc__p_wxSplitterWindow,
33728 _swigc__p_wxStaticBoxSizer,
33729 _swigc__p_wxStatusBar,
33730 _swigc__p_wxStdDialogButtonSizer,
33731 _swigc__p_wxString,
33732 _swigc__p_wxSysColourChangedEvent,
580080c5 33733 _swigc__p_wxTGAHandler,
1bd55598
RD
33734 _swigc__p_wxTIFFHandler,
33735 _swigc__p_wxTaskBarIcon,
33736 _swigc__p_wxTaskBarIconEvent,
33737 _swigc__p_wxTextEntryDialog,
33738 _swigc__p_wxTipWindow,
33739 _swigc__p_wxToolBar,
33740 _swigc__p_wxTopLevelWindow,
33741 _swigc__p_wxUpdateUIEvent,
33742 _swigc__p_wxValidator,
33743 _swigc__p_wxVisualAttributes,
33744 _swigc__p_wxWindow,
33745 _swigc__p_wxWindowCreateEvent,
33746 _swigc__p_wxWindowDestroyEvent,
33747 _swigc__p_wxXPMHandler,
33748};
33749
33750
33751/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33752
33753static swig_const_info swig_const_table[] = {
33754{0, 0, 0, 0.0, 0, 0}};
33755
36ed4f51
RD
33756#ifdef __cplusplus
33757}
33758#endif
1bd55598
RD
33759/* -----------------------------------------------------------------------------
33760 * Type initialization:
33761 * This problem is tough by the requirement that no dynamic
33762 * memory is used. Also, since swig_type_info structures store pointers to
33763 * swig_cast_info structures and swig_cast_info structures store pointers back
33764 * to swig_type_info structures, we need some lookup code at initialization.
33765 * The idea is that swig generates all the structures that are needed.
33766 * The runtime then collects these partially filled structures.
33767 * The SWIG_InitializeModule function takes these initial arrays out of
33768 * swig_module, and does all the lookup, filling in the swig_module.types
33769 * array with the correct data and linking the correct swig_cast_info
33770 * structures together.
33771 *
33772 * The generated swig_type_info structures are assigned staticly to an initial
33773 * array. We just loop though that array, and handle each type individually.
33774 * First we lookup if this type has been already loaded, and if so, use the
33775 * loaded structure instead of the generated one. Then we have to fill in the
33776 * cast linked list. The cast data is initially stored in something like a
33777 * two-dimensional array. Each row corresponds to a type (there are the same
33778 * number of rows as there are in the swig_type_initial array). Each entry in
33779 * a column is one of the swig_cast_info structures for that type.
33780 * The cast_initial array is actually an array of arrays, because each row has
33781 * a variable number of columns. So to actually build the cast linked list,
33782 * we find the array of casts associated with the type, and loop through it
33783 * adding the casts to the list. The one last trick we need to do is making
33784 * sure the type pointer in the swig_cast_info struct is correct.
33785 *
33786 * First off, we lookup the cast->type name to see if it is already loaded.
33787 * There are three cases to handle:
33788 * 1) If the cast->type has already been loaded AND the type we are adding
33789 * casting info to has not been loaded (it is in this module), THEN we
33790 * replace the cast->type pointer with the type pointer that has already
33791 * been loaded.
33792 * 2) If BOTH types (the one we are adding casting info to, and the
33793 * cast->type) are loaded, THEN the cast info has already been loaded by
33794 * the previous module so we just ignore it.
33795 * 3) Finally, if cast->type has not already been loaded, then we add that
33796 * swig_cast_info to the linked list (because the cast->type) pointer will
33797 * be correct.
33798 * ----------------------------------------------------------------------------- */
36ed4f51 33799
d55e5bfc 33800#ifdef __cplusplus
1bd55598
RD
33801extern "C" {
33802#if 0
33803} /* c-mode */
33804#endif
33805#endif
33806
33807#if 0
33808#define SWIGRUNTIME_DEBUG
33809#endif
33810
33811SWIGRUNTIME void
33812SWIG_InitializeModule(void *clientdata) {
33813 size_t i;
33814 swig_module_info *module_head;
33815 static int init_run = 0;
33816
33817 clientdata = clientdata;
33818
33819 if (init_run) return;
33820 init_run = 1;
33821
33822 /* Initialize the swig_module */
33823 swig_module.type_initial = swig_type_initial;
33824 swig_module.cast_initial = swig_cast_initial;
33825
33826 /* Try and load any already created modules */
33827 module_head = SWIG_GetModule(clientdata);
33828 if (module_head) {
33829 swig_module.next = module_head->next;
33830 module_head->next = &swig_module;
33831 } else {
33832 /* This is the first module loaded */
33833 swig_module.next = &swig_module;
33834 SWIG_SetModule(clientdata, &swig_module);
33835 }
33836
33837 /* Now work on filling in swig_module.types */
33838#ifdef SWIGRUNTIME_DEBUG
33839 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
33840#endif
33841 for (i = 0; i < swig_module.size; ++i) {
33842 swig_type_info *type = 0;
33843 swig_type_info *ret;
33844 swig_cast_info *cast;
d55e5bfc 33845
1bd55598
RD
33846#ifdef SWIGRUNTIME_DEBUG
33847 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33848#endif
d55e5bfc 33849
1bd55598
RD
33850 /* if there is another module already loaded */
33851 if (swig_module.next != &swig_module) {
33852 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
36ed4f51 33853 }
1bd55598
RD
33854 if (type) {
33855 /* Overwrite clientdata field */
33856#ifdef SWIGRUNTIME_DEBUG
33857 printf("SWIG_InitializeModule: found type %s\n", type->name);
33858#endif
33859 if (swig_module.type_initial[i]->clientdata) {
33860 type->clientdata = swig_module.type_initial[i]->clientdata;
33861#ifdef SWIGRUNTIME_DEBUG
33862 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
33863#endif
33864 }
33865 } else {
33866 type = swig_module.type_initial[i];
36ed4f51 33867 }
1bd55598
RD
33868
33869 /* Insert casting types */
33870 cast = swig_module.cast_initial[i];
33871 while (cast->type) {
33872 /* Don't need to add information already in the list */
33873 ret = 0;
33874#ifdef SWIGRUNTIME_DEBUG
33875 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
33876#endif
33877 if (swig_module.next != &swig_module) {
33878 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
33879#ifdef SWIGRUNTIME_DEBUG
33880 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
33881#endif
33882 }
33883 if (ret) {
33884 if (type == swig_module.type_initial[i]) {
33885#ifdef SWIGRUNTIME_DEBUG
33886 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
33887#endif
33888 cast->type = ret;
33889 ret = 0;
33890 } else {
33891 /* Check for casting already in the list */
33892 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
33893#ifdef SWIGRUNTIME_DEBUG
33894 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
33895#endif
33896 if (!ocast) ret = 0;
33897 }
33898 }
33899
33900 if (!ret) {
33901#ifdef SWIGRUNTIME_DEBUG
33902 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33903#endif
33904 if (type->cast) {
33905 type->cast->prev = cast;
33906 cast->next = type->cast;
33907 }
33908 type->cast = cast;
33909 }
33910 cast++;
36ed4f51 33911 }
1bd55598
RD
33912 /* Set entry in modules->types array equal to the type */
33913 swig_module.types[i] = type;
33914 }
33915 swig_module.types[i] = 0;
33916
33917#ifdef SWIGRUNTIME_DEBUG
33918 printf("**** SWIG_InitializeModule: Cast List ******\n");
33919 for (i = 0; i < swig_module.size; ++i) {
33920 int j = 0;
33921 swig_cast_info *cast = swig_module.cast_initial[i];
33922 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33923 while (cast->type) {
33924 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33925 cast++;
33926 ++j;
33927 }
33928 printf("---- Total casts: %d\n",j);
33929 }
33930 printf("**** SWIG_InitializeModule: Cast List ******\n");
33931#endif
33932}
33933
33934/* This function will propagate the clientdata field of type to
33935* any new swig_type_info structures that have been added into the list
33936* of equivalent types. It is like calling
33937* SWIG_TypeClientData(type, clientdata) a second time.
33938*/
33939SWIGRUNTIME void
33940SWIG_PropagateClientData(void) {
33941 size_t i;
33942 swig_cast_info *equiv;
33943 static int init_run = 0;
33944
33945 if (init_run) return;
33946 init_run = 1;
33947
33948 for (i = 0; i < swig_module.size; i++) {
33949 if (swig_module.types[i]->clientdata) {
33950 equiv = swig_module.types[i]->cast;
33951 while (equiv) {
33952 if (!equiv->converter) {
33953 if (equiv->type && !equiv->type->clientdata)
33954 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33955 }
33956 equiv = equiv->next;
33957 }
36ed4f51 33958 }
1bd55598
RD
33959 }
33960}
33961
33962#ifdef __cplusplus
33963#if 0
33964{
33965 /* c-mode */
33966#endif
33967}
33968#endif
33969
33970
33971
33972#ifdef __cplusplus
33973extern "C" {
33974#endif
33975
33976 /* Python-specific SWIG API */
33977#define SWIG_newvarlink() SWIG_Python_newvarlink()
33978#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33979#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33980
33981 /* -----------------------------------------------------------------------------
33982 * global variable support code.
33983 * ----------------------------------------------------------------------------- */
33984
33985 typedef struct swig_globalvar {
33986 char *name; /* Name of global variable */
33987 PyObject *(*get_attr)(void); /* Return the current value */
33988 int (*set_attr)(PyObject *); /* Set the value */
33989 struct swig_globalvar *next;
33990 } swig_globalvar;
33991
33992 typedef struct swig_varlinkobject {
33993 PyObject_HEAD
33994 swig_globalvar *vars;
33995 } swig_varlinkobject;
33996
33997 SWIGINTERN PyObject *
33998 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33999 return PyString_FromString("<Swig global variables>");
34000 }
34001
34002 SWIGINTERN PyObject *
34003 swig_varlink_str(swig_varlinkobject *v) {
34004 PyObject *str = PyString_FromString("(");
34005 swig_globalvar *var;
34006 for (var = v->vars; var; var=var->next) {
34007 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
34008 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
34009 }
34010 PyString_ConcatAndDel(&str,PyString_FromString(")"));
34011 return str;
34012 }
34013
34014 SWIGINTERN int
34015 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
34016 PyObject *str = swig_varlink_str(v);
34017 fprintf(fp,"Swig global variables ");
34018 fprintf(fp,"%s\n", PyString_AsString(str));
34019 Py_DECREF(str);
34020 return 0;
34021 }
34022
34023 SWIGINTERN void
34024 swig_varlink_dealloc(swig_varlinkobject *v) {
34025 swig_globalvar *var = v->vars;
34026 while (var) {
34027 swig_globalvar *n = var->next;
34028 free(var->name);
34029 free(var);
34030 var = n;
36ed4f51 34031 }
1bd55598
RD
34032 }
34033
34034 SWIGINTERN PyObject *
34035 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
34036 PyObject *res = NULL;
34037 swig_globalvar *var = v->vars;
34038 while (var) {
34039 if (strcmp(var->name,n) == 0) {
34040 res = (*var->get_attr)();
34041 break;
34042 }
34043 var = var->next;
36ed4f51 34044 }
1bd55598
RD
34045 if (res == NULL && !PyErr_Occurred()) {
34046 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36ed4f51 34047 }
1bd55598
RD
34048 return res;
34049 }
34050
34051 SWIGINTERN int
34052 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
34053 int res = 1;
34054 swig_globalvar *var = v->vars;
34055 while (var) {
34056 if (strcmp(var->name,n) == 0) {
34057 res = (*var->set_attr)(p);
34058 break;
34059 }
34060 var = var->next;
36ed4f51 34061 }
1bd55598
RD
34062 if (res == 1 && !PyErr_Occurred()) {
34063 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36ed4f51 34064 }
1bd55598
RD
34065 return res;
34066 }
34067
34068 SWIGINTERN PyTypeObject*
34069 swig_varlink_type(void) {
34070 static char varlink__doc__[] = "Swig var link object";
34071 static PyTypeObject varlink_type;
34072 static int type_init = 0;
34073 if (!type_init) {
34074 const PyTypeObject tmp
34075 = {
34076 PyObject_HEAD_INIT(NULL)
34077 0, /* Number of items in variable part (ob_size) */
34078 (char *)"swigvarlink", /* Type name (tp_name) */
34079 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
34080 0, /* Itemsize (tp_itemsize) */
34081 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
34082 (printfunc) swig_varlink_print, /* Print (tp_print) */
34083 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
34084 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
34085 0, /* tp_compare */
34086 (reprfunc) swig_varlink_repr, /* tp_repr */
34087 0, /* tp_as_number */
34088 0, /* tp_as_sequence */
34089 0, /* tp_as_mapping */
34090 0, /* tp_hash */
34091 0, /* tp_call */
34092 (reprfunc)swig_varlink_str, /* tp_str */
34093 0, /* tp_getattro */
34094 0, /* tp_setattro */
34095 0, /* tp_as_buffer */
34096 0, /* tp_flags */
34097 varlink__doc__, /* tp_doc */
34098 0, /* tp_traverse */
34099 0, /* tp_clear */
34100 0, /* tp_richcompare */
34101 0, /* tp_weaklistoffset */
34102#if PY_VERSION_HEX >= 0x02020000
34103 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34104#endif
34105#if PY_VERSION_HEX >= 0x02030000
34106 0, /* tp_del */
34107#endif
34108#ifdef COUNT_ALLOCS
34109 0,0,0,0 /* tp_alloc -> tp_next */
34110#endif
34111 };
34112 varlink_type = tmp;
34113 varlink_type.ob_type = &PyType_Type;
34114 type_init = 1;
36ed4f51 34115 }
1bd55598
RD
34116 return &varlink_type;
34117 }
34118
34119 /* Create a variable linking object for use later */
34120 SWIGINTERN PyObject *
34121 SWIG_Python_newvarlink(void) {
34122 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
34123 if (result) {
34124 result->vars = 0;
34125 }
34126 return ((PyObject*) result);
34127 }
34128
34129 SWIGINTERN void
34130 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
34131 swig_varlinkobject *v = (swig_varlinkobject *) p;
34132 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
34133 if (gv) {
34134 size_t size = strlen(name)+1;
34135 gv->name = (char *)malloc(size);
34136 if (gv->name) {
34137 strncpy(gv->name,name,size);
34138 gv->get_attr = get_attr;
34139 gv->set_attr = set_attr;
34140 gv->next = v->vars;
34141 }
36ed4f51 34142 }
1bd55598
RD
34143 v->vars = gv;
34144 }
34145
34146 SWIGINTERN PyObject *
34147 SWIG_globals() {
34148 static PyObject *_SWIG_globals = 0;
34149 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
34150 return _SWIG_globals;
34151 }
34152
34153 /* -----------------------------------------------------------------------------
34154 * constants/methods manipulation
34155 * ----------------------------------------------------------------------------- */
34156
34157 /* Install Constants */
34158 SWIGINTERN void
34159 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
34160 PyObject *obj = 0;
34161 size_t i;
34162 for (i = 0; constants[i].type; ++i) {
34163 switch(constants[i].type) {
34164 case SWIG_PY_POINTER:
34165 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
34166 break;
34167 case SWIG_PY_BINARY:
34168 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
34169 break;
34170 default:
34171 obj = 0;
34172 break;
34173 }
34174 if (obj) {
34175 PyDict_SetItemString(d, constants[i].name, obj);
34176 Py_DECREF(obj);
34177 }
36ed4f51 34178 }
1bd55598
RD
34179 }
34180
34181 /* -----------------------------------------------------------------------------*/
34182 /* Fix SwigMethods to carry the callback ptrs when needed */
34183 /* -----------------------------------------------------------------------------*/
34184
34185 SWIGINTERN void
34186 SWIG_Python_FixMethods(PyMethodDef *methods,
34187 swig_const_info *const_table,
34188 swig_type_info **types,
34189 swig_type_info **types_initial) {
34190 size_t i;
34191 for (i = 0; methods[i].ml_name; ++i) {
3d6c9062 34192 const char *c = methods[i].ml_doc;
1bd55598
RD
34193 if (c && (c = strstr(c, "swig_ptr: "))) {
34194 int j;
34195 swig_const_info *ci = 0;
3d6c9062 34196 const char *name = c + 10;
1bd55598
RD
34197 for (j = 0; const_table[j].type; ++j) {
34198 if (strncmp(const_table[j].name, name,
34199 strlen(const_table[j].name)) == 0) {
34200 ci = &(const_table[j]);
34201 break;
34202 }
34203 }
34204 if (ci) {
34205 size_t shift = (ci->ptype) - types;
34206 swig_type_info *ty = types_initial[shift];
34207 size_t ldoc = (c - methods[i].ml_doc);
34208 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
34209 char *ndoc = (char*)malloc(ldoc + lptr + 10);
34210 if (ndoc) {
34211 char *buff = ndoc;
34212 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
34213 if (ptr) {
34214 strncpy(buff, methods[i].ml_doc, ldoc);
34215 buff += ldoc;
34216 strncpy(buff, "swig_ptr: ", 10);
34217 buff += 10;
34218 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
34219 methods[i].ml_doc = ndoc;
34220 }
34221 }
34222 }
34223 }
36ed4f51 34224 }
1bd55598
RD
34225 }
34226
34227#ifdef __cplusplus
34228}
34229#endif
34230
34231/* -----------------------------------------------------------------------------*
34232 * Partial Init method
34233 * -----------------------------------------------------------------------------*/
34234
34235#ifdef __cplusplus
34236extern "C"
34237#endif
34238SWIGEXPORT void SWIG_init(void) {
34239 PyObject *m, *d;
34240
34241 /* Fix SwigMethods to carry the callback ptrs when needed */
34242 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
34243
34244 m = Py_InitModule((char *) SWIG_name, SwigMethods);
34245 d = PyModule_GetDict(m);
34246
34247 SWIG_InitializeModule(0);
34248 SWIG_InstallConstants(d,swig_const_table);
34249
34250
34251 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
34252 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
34253 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
34254 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
34255 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
34256 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
34257 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
34258 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
34259 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
34260 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
34261 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
34262 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
34263 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
34264 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
34265 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
34266 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
34267 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
34268 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
34269 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
34270 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
34271 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
34272 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
34273 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
34274 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
34275 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
34276 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
34277 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
34278 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
34279 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
fc46b7f3 34280 SWIG_Python_SetConstant(d, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP)));
1bd55598
RD
34281 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
34282 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
34283 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
34284 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
fc46b7f3
RD
34285 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
34286 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
1bd55598
RD
34287 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
34288 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
34289 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
34290 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
34291 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
34292 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
34293 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
34294 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
34295 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
34296 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
5eb8189c 34297 SWIG_Python_SetConstant(d, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE)));
1bd55598
RD
34298 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
34299 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
34300 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
34301 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
34302 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
34303 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
34304 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
34305 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
34306 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
34307 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
34308 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
34309 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
34310 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
34311 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
34312 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
34313 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
34314 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
34315 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
34316 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
34317 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
34318 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
34319 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
34320 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
34321 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
34322 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
34323 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
34324 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
34325 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
34326 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
34327 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
34328 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
34329 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
34330 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
34331 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
34332 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
34333 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
34334 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
34335 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
34336 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
34337 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
34338 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
34339 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
34340 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
34341 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
34342 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
34343 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
34344 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
34345 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
34346 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
34347 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
34348 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
34349 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
34350 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
34351 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
34352 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
34353 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
34354 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
34355 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
34356 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
34357
34358 // Map renamed classes back to their common name for OOR
34359 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34360 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34361 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34362
34363 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
34364 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
34365 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
34366 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
34367 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
34368 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
34369 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
34370 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
34371 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
34372 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
34373 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
34374 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
34375 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
704eda0c
RD
34376 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
34377 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
34378 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
34379 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
34380 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
34381 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
34382 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
34383 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
34384 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
b02396e8 34385 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
704eda0c
RD
34386 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
34387 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
34388 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
34389 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
34390 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
34391 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
1eeb270e 34392 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
704eda0c 34393 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
1bd55598
RD
34394 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
34395 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
34396 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
0d2c9713
RD
34397 SWIG_Python_SetConstant(d, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE)));
34398 SWIG_Python_SetConstant(d, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL)));
34399 SWIG_Python_SetConstant(d, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT)));
34400 SWIG_Python_SetConstant(d, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME)));
34401 SWIG_Python_SetConstant(d, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME)));
34402 SWIG_Python_SetConstant(d, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME)));
34403 SWIG_Python_SetConstant(d, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH)));
34404 SWIG_Python_SetConstant(d, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP)));
1bd55598
RD
34405 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
34406 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
34407 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
34408 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
34409 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
34410 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
34411 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
34412 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
34413 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
34414 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
34415 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
34416 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
34417 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34418 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34419 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34420 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34421 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34422 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34423 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34424 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34425 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34426 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
34427 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
34428 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
34429 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
34430 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
34431 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
34432 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
34433 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
34434 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
34435 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
34436 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
34437 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
34438 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
34439 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
34440 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
34441 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
34442 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
34443 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
34444 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
34445 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
34446 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
34447 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
34448 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
34449 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
34450 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
34451 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
34452 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
34453 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
34454 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
34455 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
34456 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
34457 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
34458 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
34459 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
34460 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
34461 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
34462 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
34463 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
34464 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
34465 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
34466 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
34467
34468 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
34469
d55e5bfc
RD
34470}
34471