]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_windows_wrap.cpp
Disown the preview object when calling wxPyPreviewFrame ctor
[wxWidgets.git] / wxPython / src / msw / _windows_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
554f62e9 3 * Version 1.3.29
d55e5bfc
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
554f62e9 12#define SWIG_PYTHON_DIRECTOR_NO_VTABLE
d55e5bfc
RD
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
093d3ff1 27};
d55e5bfc
RD
28#endif
29
554f62e9 30/* -----------------------------------------------------------------------------
7449af73
RD
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
554f62e9 33 * ----------------------------------------------------------------------------- */
d55e5bfc 34
7449af73
RD
35/* template workaround for compilers that cannot correctly implement the C++ standard */
36#ifndef SWIGTEMPLATEDISAMBIGUATOR
554f62e9
RD
37# if defined(__SUNPRO_CC)
38# if (__SUNPRO_CC <= 0x560)
39# define SWIGTEMPLATEDISAMBIGUATOR template
40# else
41# define SWIGTEMPLATEDISAMBIGUATOR
42# endif
43# else
44# define SWIGTEMPLATEDISAMBIGUATOR
45# endif
093d3ff1 46#endif
d55e5bfc 47
7449af73
RD
48/* inline attribute */
49#ifndef SWIGINLINE
50# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51# define SWIGINLINE inline
52# else
53# define SWIGINLINE
54# endif
55#endif
56
57/* attribute recognised by some compilers to avoid 'unused' warnings */
58#ifndef SWIGUNUSED
554f62e9
RD
59# if defined(__GNUC__)
60# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61# define SWIGUNUSED __attribute__ ((__unused__))
62# else
63# define SWIGUNUSED
64# endif
65# elif defined(__ICC)
66# define SWIGUNUSED __attribute__ ((__unused__))
7449af73
RD
67# else
68# define SWIGUNUSED
69# endif
70#endif
71
554f62e9
RD
72#ifndef SWIGUNUSEDPARM
73# ifdef __cplusplus
74# define SWIGUNUSEDPARM(p)
75# else
76# define SWIGUNUSEDPARM(p) p SWIGUNUSED
77# endif
78#endif
79
7449af73
RD
80/* internal SWIG method */
81#ifndef SWIGINTERN
82# define SWIGINTERN static SWIGUNUSED
83#endif
84
85/* internal inline SWIG method */
86#ifndef SWIGINTERNINLINE
87# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88#endif
89
554f62e9
RD
90/* exporting methods */
91#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92# ifndef GCC_HASCLASSVISIBILITY
93# define GCC_HASCLASSVISIBILITY
94# endif
95#endif
96
7449af73
RD
97#ifndef SWIGEXPORT
98# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99# if defined(STATIC_LINKED)
100# define SWIGEXPORT
101# else
102# define SWIGEXPORT __declspec(dllexport)
103# endif
104# else
554f62e9
RD
105# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106# define SWIGEXPORT __attribute__ ((visibility("default")))
107# else
108# define SWIGEXPORT
109# endif
7449af73
RD
110# endif
111#endif
112
113/* calling conventions for Windows */
114#ifndef SWIGSTDCALL
115# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116# define SWIGSTDCALL __stdcall
117# else
118# define SWIGSTDCALL
119# endif
120#endif
121
554f62e9
RD
122/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124# define _CRT_SECURE_NO_DEPRECATE
125#endif
7449af73 126
d55e5bfc 127
554f62e9 128/* Python.h has to appear first */
093d3ff1 129#include <Python.h>
d55e5bfc 130
554f62e9 131/* -----------------------------------------------------------------------------
093d3ff1 132 * swigrun.swg
d55e5bfc 133 *
554f62e9
RD
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
d55e5bfc 137
093d3ff1
RD
138/* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
7449af73 140#define SWIG_RUNTIME_VERSION "2"
d55e5bfc 141
093d3ff1
RD
142/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143#ifdef SWIG_TYPE_TABLE
7449af73
RD
144# define SWIG_QUOTE_STRING(x) #x
145# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d55e5bfc 147#else
7449af73 148# define SWIG_TYPE_TABLE_NAME
093d3ff1
RD
149#endif
150
151/*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158*/
7449af73 159
093d3ff1 160#ifndef SWIGRUNTIME
7449af73 161# define SWIGRUNTIME SWIGINTERN
093d3ff1 162#endif
7449af73 163
093d3ff1 164#ifndef SWIGRUNTIMEINLINE
7449af73 165# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d55e5bfc
RD
166#endif
167
554f62e9
RD
168/* Generic buffer size */
169#ifndef SWIG_BUFFER_SIZE
170# define SWIG_BUFFER_SIZE 1024
171#endif
172
173/* Flags for pointer conversions */
174#define SWIG_POINTER_DISOWN 0x1
175
176/* Flags for new pointer objects */
177#define SWIG_POINTER_OWN 0x1
178
179
180/*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260#define SWIG_OK (0)
261#define SWIG_ERROR (-1)
262#define SWIG_IsOK(r) (r >= 0)
263#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265/* The CastRankLimit says how many bits are used for the cast rank */
266#define SWIG_CASTRANKLIMIT (1 << 8)
267/* The NewMask denotes the object was created (using new/malloc) */
268#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269/* The TmpMask is for in/out typemaps that use temporal objects */
270#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271/* Simple returning values */
272#define SWIG_BADOBJ (SWIG_ERROR)
273#define SWIG_OLDOBJ (SWIG_OK)
274#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276/* Check, add and del mask methods */
277#define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278#define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279#define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280#define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281#define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282#define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285/* Cast-Rank Mode */
286#if defined(SWIG_CASTRANK_MODE)
287# ifndef SWIG_TypeRank
288# define SWIG_TypeRank unsigned long
289# endif
290# ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291# define SWIG_MAXCASTRANK (2)
292# endif
293# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297}
298SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300}
301#else /* no cast-rank mode */
302# define SWIG_AddCast
303# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304#endif
305
306
307
308
7449af73
RD
309#include <string.h>
310
d55e5bfc
RD
311#ifdef __cplusplus
312extern "C" {
313#endif
314
315typedef void *(*swig_converter_func)(void *);
316typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
7449af73 318/* Structure to store inforomation on one type */
d55e5bfc 319typedef struct swig_type_info {
7449af73
RD
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
554f62e9 325 int owndata; /* flag if the structure owns the clientdata */
d55e5bfc
RD
326} swig_type_info;
327
7449af73
RD
328/* Structure to store a type and conversion function used for casting */
329typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334} swig_cast_info;
335
336/* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346} swig_module_info;
347
093d3ff1
RD
348/*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354*/
355SWIGRUNTIME int
356SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
554f62e9 361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
093d3ff1
RD
362 }
363 return (l1 - f1) - (l2 - f2);
364}
365
366/*
367 Check type equivalence in a name list like <name1>|<name2>|...
7449af73 368 Return 0 if not equal, 1 if equal
093d3ff1
RD
369*/
370SWIGRUNTIME int
371SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
7449af73 379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
093d3ff1
RD
380 if (*ne) ++ne;
381 }
382 return equiv;
383}
384
385/*
7449af73
RD
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
093d3ff1 388*/
7449af73
RD
389SWIGRUNTIME int
390SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
093d3ff1 397 }
7449af73
RD
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
093d3ff1 400 }
7449af73 401 return equiv;
093d3ff1
RD
402}
403
7449af73
RD
404
405/* think of this as a c++ template<> or a scheme macro */
406#define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
093d3ff1
RD
427/*
428 Check the typename
429*/
7449af73 430SWIGRUNTIME swig_cast_info *
093d3ff1 431SWIG_TypeCheck(const char *c, swig_type_info *ty) {
7449af73
RD
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433}
434
435/* Same as previous function, except strcmp is replaced with a pointer comparison */
436SWIGRUNTIME swig_cast_info *
437SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
093d3ff1
RD
439}
440
441/*
442 Cast a pointer up an inheritance hierarchy
443*/
444SWIGRUNTIMEINLINE void *
7449af73 445SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
093d3ff1
RD
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447}
448
449/*
450 Dynamic pointer casting. Down an inheritance hierarchy
451*/
452SWIGRUNTIME swig_type_info *
453SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461}
462
463/*
464 Return the name associated with this type
465*/
466SWIGRUNTIMEINLINE const char *
467SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469}
470
471/*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474*/
475SWIGRUNTIME const char *
476SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
554f62e9 481 if (!type) return NULL;
093d3ff1
RD
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491}
492
093d3ff1
RD
493/*
494 Set the clientdata field for a type
495*/
496SWIGRUNTIME void
7449af73
RD
497SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
093d3ff1
RD
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
7449af73
RD
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
093d3ff1 507 }
7449af73
RD
508 }
509 cast = cast->next;
510 }
511}
554f62e9
RD
512SWIGRUNTIME void
513SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516}
517
7449af73
RD
518/*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525*/
526SWIGRUNTIME swig_type_info *
527SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
093d3ff1 556 }
7449af73
RD
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560}
561
562/*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570*/
571SWIGRUNTIME swig_type_info *
572SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
093d3ff1 591 }
7449af73
RD
592
593 /* neither found a match */
594 return 0;
093d3ff1
RD
595}
596
597/*
598 Pack binary data into a string
599*/
600SWIGRUNTIME char *
601SWIG_PackData(char *c, void *ptr, size_t sz) {
7449af73
RD
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
093d3ff1 605 for (; u != eu; ++u) {
7449af73 606 register unsigned char uu = *u;
093d3ff1
RD
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611}
612
613/*
614 Unpack binary data from a string
615*/
616SWIGRUNTIME const char *
617SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
7449af73 619 register const unsigned char *eu = u + sz;
093d3ff1 620 for (; u != eu; ++u) {
7449af73 621 register char d = *(c++);
554f62e9 622 register unsigned char uu;
093d3ff1
RD
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639}
640
093d3ff1
RD
641/*
642 Pack 'void *' into a string buffer.
643*/
644SWIGRUNTIME char *
645SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653}
654
655SWIGRUNTIME const char *
656SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666}
667
668SWIGRUNTIME char *
669SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681}
d55e5bfc 682
093d3ff1
RD
683SWIGRUNTIME const char *
684SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694}
d55e5bfc
RD
695
696#ifdef __cplusplus
697}
698#endif
699
554f62e9
RD
700/* Errors in SWIG */
701#define SWIG_UnknownError -1
702#define SWIG_IOError -2
703#define SWIG_RuntimeError -3
704#define SWIG_IndexError -4
705#define SWIG_TypeError -5
706#define SWIG_DivisionByZero -6
707#define SWIG_OverflowError -7
708#define SWIG_SyntaxError -8
709#define SWIG_ValueError -9
710#define SWIG_SystemError -10
711#define SWIG_AttributeError -11
712#define SWIG_MemoryError -12
713#define SWIG_NullReferenceError -13
d55e5bfc 714
554f62e9
RD
715
716
717/* Python.h has to appear first */
718#include <Python.h>
719
720/* Add PyOS_snprintf for old Pythons */
721#if PY_VERSION_HEX < 0x02020000
722# if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723# define PyOS_snprintf _snprintf
724# else
725# define PyOS_snprintf snprintf
726# endif
727#endif
728
729/* A crude PyString_FromFormat implementation for old Pythons */
730#if PY_VERSION_HEX < 0x02020000
731
732#ifndef SWIG_PYBUFFER_SIZE
733# define SWIG_PYBUFFER_SIZE 1024
734#endif
735
736static PyObject *
737PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745}
746#endif
747
748/* Add PyObject_Del for old Pythons */
749#if PY_VERSION_HEX < 0x01060000
750# define PyObject_Del(op) PyMem_DEL((op))
751#endif
752#ifndef PyObject_DEL
753# define PyObject_DEL PyObject_Del
754#endif
755
756/* A crude PyExc_StopIteration exception for old Pythons */
757#if PY_VERSION_HEX < 0x02020000
758# ifndef PyExc_StopIteration
759# define PyExc_StopIteration PyExc_RuntimeError
760# endif
761# ifndef PyObject_GenericGetAttr
762# define PyObject_GenericGetAttr 0
763# endif
093d3ff1 764#endif
554f62e9
RD
765/* Py_NotImplemented is defined in 2.1 and up. */
766#if PY_VERSION_HEX < 0x02010000
767# ifndef Py_NotImplemented
768# define Py_NotImplemented PyExc_RuntimeError
769# endif
770#endif
771
772
773/* A crude PyString_AsStringAndSize implementation for old Pythons */
774#if PY_VERSION_HEX < 0x02010000
775# ifndef PyString_AsStringAndSize
776# define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777# endif
778#endif
779
780/* PySequence_Size for old Pythons */
781#if PY_VERSION_HEX < 0x02000000
782# ifndef PySequence_Size
783# define PySequence_Size PySequence_Length
784# endif
785#endif
786
787
788/* PyBool_FromLong for old Pythons */
789#if PY_VERSION_HEX < 0x02030000
790static
791PyObject *PyBool_FromLong(long ok)
792{
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796}
797#endif
798
c32bde28 799
093d3ff1 800/* -----------------------------------------------------------------------------
554f62e9 801 * error manipulation
093d3ff1 802 * ----------------------------------------------------------------------------- */
d55e5bfc 803
554f62e9
RD
804SWIGRUNTIME PyObject*
805SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845}
d55e5bfc 846
554f62e9
RD
847
848SWIGRUNTIME void
849SWIG_Python_AddErrorMsg(const char* mesg)
850{
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866}
867
868
869
870#if defined(SWIG_PYTHON_NO_THREADS)
871# if defined(SWIG_PYTHON_THREADS)
872# undef SWIG_PYTHON_THREADS
873# endif
874#endif
875#if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876# if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877# if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878# define SWIG_PYTHON_USE_GIL
879# endif
880# endif
881# if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882# ifndef SWIG_PYTHON_INITIALIZE_THREADS
883# define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884# endif
885# ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902# define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903# define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904# define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905# define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906# else /* C code */
907# define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908# define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909# define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910# define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911# endif
912# else /* Old thread way, not implemented, user must provide it */
913# if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914# define SWIG_PYTHON_INITIALIZE_THREADS
915# endif
916# if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918# endif
919# if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920# define SWIG_PYTHON_THREAD_END_BLOCK
921# endif
922# if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924# endif
925# if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926# define SWIG_PYTHON_THREAD_END_ALLOW
927# endif
928# endif
929#else /* No thread support */
930# define SWIG_PYTHON_INITIALIZE_THREADS
931# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932# define SWIG_PYTHON_THREAD_END_BLOCK
933# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934# define SWIG_PYTHON_THREAD_END_ALLOW
093d3ff1 935#endif
d55e5bfc 936
554f62e9
RD
937/* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
093d3ff1 940
554f62e9
RD
941#ifdef __cplusplus
942extern "C" {
943#if 0
944} /* cc-mode */
945#endif
946#endif
093d3ff1
RD
947
948/* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
d55e5bfc 951
093d3ff1 952/* Constant Types */
093d3ff1
RD
953#define SWIG_PY_POINTER 4
954#define SWIG_PY_BINARY 5
955
956/* Constant information structure */
957typedef struct swig_const_info {
554f62e9
RD
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
093d3ff1 964} swig_const_info;
d55e5bfc 965
d55e5bfc 966#ifdef __cplusplus
554f62e9
RD
967#if 0
968{ /* cc-mode */
969#endif
093d3ff1
RD
970}
971#endif
d55e5bfc 972
d55e5bfc 973
554f62e9
RD
974/* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
093d3ff1
RD
978 * pyrun.swg
979 *
554f62e9
RD
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
093d3ff1 983 *
554f62e9 984 * ----------------------------------------------------------------------------- */
d55e5bfc 985
093d3ff1 986/* Common SWIG API */
d55e5bfc 987
96221a45
RD
988#if PY_VERSION_HEX < 0x02050000
989typedef int Py_ssize_t;
990#endif
991
554f62e9
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
554f62e9
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
554f62e9
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
554f62e9
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
554f62e9
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)
7449af73 1016
d55e5bfc 1017
554f62e9 1018/* Runtime API */
d55e5bfc 1019
554f62e9
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)
7449af73 1023
554f62e9
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
7449af73 1029
d55e5bfc 1030
554f62e9 1031/* Runtime API implementation */
d55e5bfc 1032
554f62e9 1033/* Error manipulation */
d55e5bfc 1034
554f62e9
RD
1035SWIGINTERN void
1036SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
c32bde28 1041}
d55e5bfc 1042
554f62e9
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
554f62e9 1050#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
7449af73 1051
554f62e9 1052/* Set a constant value */
d55e5bfc 1053
554f62e9
RD
1054SWIGINTERN void
1055SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
c32bde28 1058}
d55e5bfc 1059
554f62e9 1060/* Append a value to the result obj */
d55e5bfc 1061
554f62e9
RD
1062SWIGINTERN PyObject*
1063SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064#if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080#else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
093d3ff1 1088 } else {
554f62e9
RD
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
c32bde28 1100 }
554f62e9
RD
1101 return result;
1102#endif
c32bde28
RD
1103}
1104
554f62e9 1105/* Unpack the argument tuple */
d55e5bfc 1106
554f62e9
RD
1107SWIGINTERN int
1108SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109{
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143}
1144
1145/* A functor is a function object with one single object argument */
1146#if PY_VERSION_HEX >= 0x02020000
1147#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148#else
1149#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150#endif
1151
1152/*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155*/
1156#ifdef __cplusplus
1157#define SWIG_STATIC_POINTER(var) var
1158#else
1159#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160#endif
1161
1162/* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166/* Flags for new pointer objects */
1167#define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168#define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172#ifdef __cplusplus
1173extern "C" {
1174#if 0
1175} /* cc-mode */
1176#endif
1177#endif
1178
1179/* How to access Py_None */
1180#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181# ifndef SWIG_PYTHON_NO_BUILD_NONE
1182# ifndef SWIG_PYTHON_BUILD_NONE
1183# define SWIG_PYTHON_BUILD_NONE
1184# endif
1185# endif
1186#endif
1187
1188#ifdef SWIG_PYTHON_BUILD_NONE
1189# ifdef Py_None
1190# undef Py_None
1191# define Py_None SWIG_Py_None()
1192# endif
1193SWIGRUNTIMEINLINE PyObject *
1194_SWIG_Py_None(void)
1195{
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199}
1200SWIGRUNTIME PyObject *
1201SWIG_Py_None(void)
1202{
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205}
1206#endif
1207
1208/* The python void return value */
1209
1210SWIGRUNTIMEINLINE PyObject *
1211SWIG_Py_Void(void)
1212{
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216}
1217
1218/* PySwigClientData */
1219
1220typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227} PySwigClientData;
1228
1229SWIGRUNTIMEINLINE int
1230SWIG_Python_CheckImplicit(swig_type_info *ty)
1231{
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234}
1235
1236SWIGRUNTIMEINLINE PyObject *
1237SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241}
1242
1243
1244SWIGRUNTIME PySwigClientData *
1245PySwigClientData_New(PyObject* obj)
1246{
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260#if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262#else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264#endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284#ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286#else
1287 data->delargs = 0;
1288#endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295}
1296
1297SWIGRUNTIME void
1298PySwigClientData_Del(PySwigClientData* data)
1299{
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303}
1304
1305/* =============== PySwigObject =====================*/
1306
1307typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313} PySwigObject;
1314
1315SWIGRUNTIME PyObject *
1316PySwigObject_long(PySwigObject *v)
1317{
1318 return PyLong_FromVoidPtr(v->ptr);
1319}
1320
1321SWIGRUNTIME PyObject *
1322PySwigObject_format(const char* fmt, PySwigObject *v)
1323{
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337}
1338
1339SWIGRUNTIME PyObject *
1340PySwigObject_oct(PySwigObject *v)
1341{
1342 return PySwigObject_format("%o",v);
1343}
1344
1345SWIGRUNTIME PyObject *
1346PySwigObject_hex(PySwigObject *v)
1347{
1348 return PySwigObject_format("%x",v);
1349}
1350
1351SWIGRUNTIME PyObject *
1352#ifdef METH_NOARGS
1353PySwigObject_repr(PySwigObject *v)
1354#else
1355PySwigObject_repr(PySwigObject *v, PyObject *args)
1356#endif
1357{
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363#ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365#else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367#endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371}
1372
1373SWIGRUNTIME int
1374PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375{
1376#ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378#else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380#endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388}
1389
1390SWIGRUNTIME PyObject *
1391PySwigObject_str(PySwigObject *v)
1392{
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396}
1397
1398SWIGRUNTIME int
1399PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400{
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404}
1405
1406SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408SWIGRUNTIME PyTypeObject*
1409PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412}
1413
1414SWIGRUNTIMEINLINE int
1415PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418}
1419
1420SWIGRUNTIME PyObject *
1421PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423SWIGRUNTIME void
1424PySwigObject_dealloc(PyObject *v)
1425{
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450#endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455}
1456
1457SWIGRUNTIME PyObject*
1458PySwigObject_append(PyObject* v, PyObject* next)
1459{
1460 PySwigObject *sobj = (PySwigObject *) v;
1461#ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465#endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472}
1473
1474SWIGRUNTIME PyObject*
1475#ifdef METH_NOARGS
1476PySwigObject_next(PyObject* v)
1477#else
1478PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479#endif
1480{
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488}
1489
1490SWIGINTERN PyObject*
1491#ifdef METH_NOARGS
1492PySwigObject_disown(PyObject *v)
1493#else
1494PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495#endif
1496{
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500}
1501
1502SWIGINTERN PyObject*
1503#ifdef METH_NOARGS
1504PySwigObject_acquire(PyObject *v)
1505#else
1506PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507#endif
1508{
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512}
1513
1514SWIGINTERN PyObject*
1515PySwigObject_own(PyObject *v, PyObject *args)
1516{
1517 PyObject *val = 0;
1518#if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520#else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522#endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531#ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537#else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543#endif
1544 }
1545 return obj;
1546 }
1547}
1548
1549#ifdef METH_O
1550static PyMethodDef
1551swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559};
1560#else
1561static PyMethodDef
1562swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570};
1571#endif
1572
1573#if PY_VERSION_HEX < 0x02020000
1574SWIGINTERN PyObject *
1575PySwigObject_getattr(PySwigObject *sobj,char *name)
1576{
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578}
1579#endif
1580
1581SWIGRUNTIME PyTypeObject*
1582_PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
093d3ff1
RD
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
7449af73 1609#if PY_VERSION_HEX >= 0x02020000
093d3ff1 1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
7449af73
RD
1611#elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
093d3ff1
RD
1613#endif
1614 };
1615
554f62e9 1616 static PyTypeObject pyswigobject_type;
7449af73 1617 static int type_init = 0;
093d3ff1 1618 if (!type_init) {
554f62e9
RD
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628#if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630#else
1631 (getattrfunc)0, /* tp_getattr */
093d3ff1 1632#endif
554f62e9
RD
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
093d3ff1 1651#if PY_VERSION_HEX >= 0x02020000
554f62e9
RD
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
093d3ff1
RD
1672#endif
1673#if PY_VERSION_HEX >= 0x02030000
554f62e9 1674 0, /* tp_del */
093d3ff1
RD
1675#endif
1676#ifdef COUNT_ALLOCS
554f62e9 1677 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 1678#endif
554f62e9 1679 };
7449af73 1680 pyswigobject_type = tmp;
554f62e9 1681 pyswigobject_type.ob_type = &PyType_Type;
093d3ff1
RD
1682 type_init = 1;
1683 }
7449af73 1684 return &pyswigobject_type;
093d3ff1
RD
1685}
1686
1687SWIGRUNTIME PyObject *
554f62e9 1688PySwigObject_New(void *ptr, swig_type_info *ty, int own)
c32bde28 1689{
554f62e9
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;
7449af73 1696 }
554f62e9 1697 return (PyObject *)sobj;
093d3ff1 1698}
d55e5bfc 1699
093d3ff1
RD
1700/* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
d55e5bfc 1703
093d3ff1
RD
1704typedef struct {
1705 PyObject_HEAD
1706 void *pack;
554f62e9 1707 swig_type_info *ty;
093d3ff1
RD
1708 size_t size;
1709} PySwigPacked;
c32bde28 1710
093d3ff1 1711SWIGRUNTIME int
554f62e9 1712PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
d55e5bfc 1713{
093d3ff1
RD
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
554f62e9 1720 fputs(v->ty->name,fp);
093d3ff1
RD
1721 fputs(">", fp);
1722 return 0;
1723}
9d7dfdff 1724
093d3ff1
RD
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))) {
554f62e9 1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
093d3ff1 1731 } else {
554f62e9 1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
093d3ff1 1733 }
d55e5bfc
RD
1734}
1735
093d3ff1
RD
1736SWIGRUNTIME PyObject *
1737PySwigPacked_str(PySwigPacked *v)
1738{
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
554f62e9 1741 return PyString_FromFormat("%s%s", result, v->ty->name);
093d3ff1 1742 } else {
554f62e9 1743 return PyString_FromString(v->ty->name);
093d3ff1
RD
1744 }
1745}
d55e5bfc 1746
093d3ff1
RD
1747SWIGRUNTIME int
1748PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
d55e5bfc 1749{
554f62e9
RD
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
c32bde28
RD
1754}
1755
554f62e9 1756SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
d55e5bfc 1757
093d3ff1 1758SWIGRUNTIME PyTypeObject*
7449af73 1759PySwigPacked_type(void) {
554f62e9
RD
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762}
1763
1764SWIGRUNTIMEINLINE int
1765PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768}
1769
1770SWIGRUNTIME void
1771PySwigPacked_dealloc(PyObject *v)
1772{
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778}
1779
1780SWIGRUNTIME PyTypeObject*
1781_PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814#if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
093d3ff1
RD
1835#endif
1836#if PY_VERSION_HEX >= 0x02030000
554f62e9 1837 0, /* tp_del */
093d3ff1
RD
1838#endif
1839#ifdef COUNT_ALLOCS
554f62e9 1840 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 1841#endif
554f62e9 1842 };
7449af73 1843 pyswigpacked_type = tmp;
554f62e9 1844 pyswigpacked_type.ob_type = &PyType_Type;
093d3ff1
RD
1845 type_init = 1;
1846 }
7449af73 1847 return &pyswigpacked_type;
093d3ff1 1848}
d55e5bfc 1849
093d3ff1 1850SWIGRUNTIME PyObject *
554f62e9 1851PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
093d3ff1 1852{
554f62e9
RD
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
093d3ff1 1855 void *pack = malloc(size);
7449af73
RD
1856 if (pack) {
1857 memcpy(pack, ptr, size);
554f62e9
RD
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
7449af73 1864 }
093d3ff1 1865 }
554f62e9 1866 return (PyObject *) sobj;
093d3ff1 1867}
d55e5bfc 1868
554f62e9 1869SWIGRUNTIME swig_type_info *
093d3ff1 1870PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
d55e5bfc 1871{
554f62e9
RD
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
093d3ff1 1880}
d55e5bfc 1881
093d3ff1 1882/* -----------------------------------------------------------------------------
554f62e9 1883 * pointers/data manipulation
093d3ff1 1884 * ----------------------------------------------------------------------------- */
d55e5bfc 1885
554f62e9
RD
1886SWIGRUNTIMEINLINE PyObject *
1887_SWIG_This(void)
1888{
1889 return PyString_FromString("this");
1890}
d55e5bfc 1891
554f62e9
RD
1892SWIGRUNTIME PyObject *
1893SWIG_This(void)
1894{
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897}
d55e5bfc 1898
554f62e9 1899/* #define SWIG_PYTHON_SLOW_GETSET_THIS */
d55e5bfc 1900
554f62e9
RD
1901SWIGRUNTIME PySwigObject *
1902SWIG_Python_GetSwigThis(PyObject *pyobj)
093d3ff1 1903{
554f62e9
RD
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917#ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922#endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
093d3ff1 1926 } else {
554f62e9
RD
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
093d3ff1 1929 }
093d3ff1 1930 }
554f62e9
RD
1931 }
1932#else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940#endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
093d3ff1
RD
1947 }
1948}
d55e5bfc 1949
554f62e9
RD
1950/* Acquire a pointer value */
1951
1952SWIGRUNTIME int
1953SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
093d3ff1 1961 }
554f62e9 1962 return 0;
093d3ff1 1963}
d55e5bfc 1964
554f62e9
RD
1965/* Convert a pointer value */
1966
093d3ff1 1967SWIGRUNTIME int
554f62e9
RD
1968SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
093d3ff1 1992 } else {
554f62e9
RD
1993 if (ptr) *ptr = vptr;
1994 break;
093d3ff1 1995 }
093d3ff1 1996 }
554f62e9
RD
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
093d3ff1
RD
2042 }
2043}
d55e5bfc 2044
554f62e9
RD
2045/* Convert a function ptr value */
2046
093d3ff1 2047SWIGRUNTIME int
554f62e9
RD
2048SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
093d3ff1 2051 } else {
554f62e9
RD
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
96221a45 2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
554f62e9
RD
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
093d3ff1
RD
2069 }
2070}
d55e5bfc 2071
554f62e9 2072/* Convert a packed value value */
d55e5bfc 2073
093d3ff1 2074SWIGRUNTIME int
554f62e9
RD
2075SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
093d3ff1 2084 }
554f62e9
RD
2085 return SWIG_OK;
2086}
d55e5bfc 2087
554f62e9
RD
2088/* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
d55e5bfc 2091
554f62e9
RD
2092/*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095*/
d55e5bfc 2096
554f62e9
RD
2097SWIGRUNTIME PyObject*
2098SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099{
2100#if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
093d3ff1 2115 }
554f62e9
RD
2116#else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119#endif
093d3ff1 2120 }
554f62e9
RD
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
093d3ff1 2126 }
554f62e9
RD
2127 return inst;
2128#else
2129#if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136#else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
093d3ff1 2140 }
554f62e9
RD
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
093d3ff1 2147 }
554f62e9
RD
2148#ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150#endif
2151#ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153#endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156#endif
2157#endif
093d3ff1 2158}
d55e5bfc 2159
554f62e9
RD
2160SWIGRUNTIME void
2161SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162{
2163 PyObject *dict;
2164#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
093d3ff1 2175#endif
554f62e9
RD
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179}
d55e5bfc 2180
554f62e9
RD
2181
2182SWIGINTERN PyObject *
2183SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
093d3ff1 2191 } else {
554f62e9 2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
093d3ff1 2193 }
554f62e9 2194 return SWIG_Py_Void();
093d3ff1 2195 }
554f62e9
RD
2196}
2197
2198/* Create a new pointer object */
093d3ff1 2199
093d3ff1 2200SWIGRUNTIME PyObject *
554f62e9 2201SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
093d3ff1 2202 if (!ptr) {
554f62e9
RD
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
093d3ff1 2213 }
093d3ff1 2214 }
554f62e9 2215 return robj;
093d3ff1 2216 }
093d3ff1
RD
2217}
2218
554f62e9
RD
2219/* Create a new packed object */
2220
2221SWIGRUNTIMEINLINE PyObject *
093d3ff1 2222SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
554f62e9 2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
093d3ff1
RD
2224}
2225
2226/* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230#ifdef SWIG_LINK_RUNTIME
2231void *SWIG_ReturnGlobalTypeList(void *);
2232#endif
2233
7449af73
RD
2234SWIGRUNTIME swig_module_info *
2235SWIG_Python_GetModule(void) {
093d3ff1
RD
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239#ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241#else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
093d3ff1 2248#endif
7449af73
RD
2249 }
2250 return (swig_module_info *) type_pointer;
093d3ff1
RD
2251}
2252
7449af73
RD
2253#if PY_MAJOR_VERSION < 2
2254/* PyModule_AddObject function was introduced in Python 2.0. The following function
554f62e9 2255 is copied out of Python/modsupport.c in python version 2.3.4 */
7449af73
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");
554f62e9 2263 return SWIG_ERROR;
7449af73
RD
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
554f62e9 2268 return SWIG_ERROR;
7449af73
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));
554f62e9 2276 return SWIG_ERROR;
7449af73
RD
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
554f62e9 2279 return SWIG_ERROR;
7449af73 2280 Py_DECREF(o);
554f62e9 2281 return SWIG_OK;
093d3ff1 2282}
7449af73 2283#endif
093d3ff1 2284
554f62e9
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
7449af73
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);
554f62e9 2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
7449af73
RD
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
554f62e9
RD
2310 } else {
2311 Py_XDECREF(pointer);
7449af73
RD
2312 }
2313}
093d3ff1 2314
554f62e9
RD
2315/* The python cached type query */
2316SWIGRUNTIME PyObject *
2317SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
093d3ff1 2320}
093d3ff1 2321
554f62e9
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
f460c29d
RD
2466#define SWIGTYPE_p_bool swig_types[0]
2467#define SWIGTYPE_p_char swig_types[1]
2468#define SWIGTYPE_p_form_ops_t swig_types[2]
2469#define SWIGTYPE_p_int swig_types[3]
2470#define SWIGTYPE_p_unsigned_char swig_types[4]
2471#define SWIGTYPE_p_unsigned_int swig_types[5]
2472#define SWIGTYPE_p_unsigned_long swig_types[6]
2473#define SWIGTYPE_p_wxANIHandler swig_types[7]
2474#define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475#define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476#define SWIGTYPE_p_wxArrayInt swig_types[10]
2477#define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478#define SWIGTYPE_p_wxBitmap swig_types[12]
2479#define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480#define SWIGTYPE_p_wxCURHandler swig_types[14]
2481#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482#define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2131d850
RD
2483#define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484#define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485#define SWIGTYPE_p_wxColour swig_types[19]
2486#define SWIGTYPE_p_wxColourData swig_types[20]
2487#define SWIGTYPE_p_wxColourDialog swig_types[21]
2488#define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489#define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490#define SWIGTYPE_p_wxControl swig_types[24]
2491#define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492#define SWIGTYPE_p_wxDC swig_types[26]
2493#define SWIGTYPE_p_wxDateEvent swig_types[27]
2494#define SWIGTYPE_p_wxDialog swig_types[28]
2495#define SWIGTYPE_p_wxDirDialog swig_types[29]
2496#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497#define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498#define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499#define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500#define SWIGTYPE_p_wxEvent swig_types[34]
2501#define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502#define SWIGTYPE_p_wxFSFile swig_types[36]
2503#define SWIGTYPE_p_wxFileDialog swig_types[37]
2504#define SWIGTYPE_p_wxFileSystem swig_types[38]
2505#define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506#define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507#define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508#define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509#define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510#define SWIGTYPE_p_wxFont swig_types[44]
2511#define SWIGTYPE_p_wxFontData swig_types[45]
2512#define SWIGTYPE_p_wxFontDialog swig_types[46]
2513#define SWIGTYPE_p_wxFrame swig_types[47]
2514#define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515#define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516#define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517#define SWIGTYPE_p_wxGridSizer swig_types[51]
2518#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519#define SWIGTYPE_p_wxICOHandler swig_types[53]
2520#define SWIGTYPE_p_wxIcon swig_types[54]
2521#define SWIGTYPE_p_wxIconBundle swig_types[55]
2522#define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523#define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524#define SWIGTYPE_p_wxImage swig_types[58]
2525#define SWIGTYPE_p_wxImageHandler swig_types[59]
2526#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527#define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528#define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529#define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531#define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532#define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533#define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534#define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535#define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536#define SWIGTYPE_p_wxMenu swig_types[70]
2537#define SWIGTYPE_p_wxMenuBar swig_types[71]
2538#define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539#define SWIGTYPE_p_wxMenuItem swig_types[73]
2540#define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541#define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
0f83f5da
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};
7449af73
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)
093d3ff1
RD
2636
2637/* -------- TYPES TABLE (END) -------- */
2638
554f62e9
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
093d3ff1
RD
2653
2654/*-----------------------------------------------
2655 @(target):= _windows_.so
2656 ------------------------------------------------*/
2657#define SWIG_init init_windows_
2658
2659#define SWIG_name "_windows_"
2660
554f62e9 2661#define SWIGVERSION 0x010329
093d3ff1 2662
093d3ff1 2663
554f62e9
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))
093d3ff1
RD
2666
2667
554f62e9 2668#include <stdexcept>
093d3ff1
RD
2669
2670
554f62e9
RD
2671namespace swig {
2672 class PyObject_ptr {
2673 protected:
2674 PyObject *_obj;
093d3ff1 2675
554f62e9
RD
2676 public:
2677 PyObject_ptr() :_obj(0)
2678 {
2679 }
093d3ff1 2680
554f62e9
RD
2681 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2682 {
2683 Py_XINCREF(_obj);
093d3ff1 2684 }
554f62e9
RD
2685
2686 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2687 {
2688 if (initial_ref) Py_XINCREF(_obj);
093d3ff1 2689 }
554f62e9
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 };
093d3ff1
RD
2714}
2715
2716
554f62e9
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;
093d3ff1 2726 }
554f62e9 2727 };
093d3ff1 2728}
093d3ff1
RD
2729
2730
554f62e9
RD
2731#include "wx/wxPython/wxPython.h"
2732#include "wx/wxPython/pyclasses.h"
2733
093d3ff1 2734
554f62e9
RD
2735 static const wxString wxPyEmptyString(wxEmptyString);
2736 static const wxString wxPyPanelNameStr(wxPanelNameStr);
093d3ff1 2737
093d3ff1 2738
554f62e9
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)
093d3ff1 2754{
554f62e9
RD
2755 if (PyNumber_Check(obj)) {
2756 if (val) *val = PyInt_AsLong(obj);
2757 return SWIG_OK;
2758 }
2759 return SWIG_TypeError;
093d3ff1
RD
2760}
2761
554f62e9
RD
2762
2763SWIGINTERN int
2764SWIG_AsVal_int (PyObject * obj, int *val)
093d3ff1 2765{
554f62e9
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;
093d3ff1
RD
2776}
2777
2778
2779SWIGINTERN int
554f62e9 2780SWIG_AsVal_bool (PyObject *obj, bool *val)
093d3ff1
RD
2781{
2782 if (obj == Py_True) {
2783 if (val) *val = true;
554f62e9
RD
2784 return SWIG_OK;
2785 } else if (obj == Py_False) {
093d3ff1 2786 if (val) *val = false;
554f62e9 2787 return SWIG_OK;
093d3ff1 2788 } else {
554f62e9
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;
093d3ff1 2793 }
093d3ff1
RD
2794}
2795
2796
554f62e9 2797 #define SWIG_From_long PyInt_FromLong
093d3ff1
RD
2798
2799
554f62e9
RD
2800SWIGINTERNINLINE PyObject *
2801SWIG_From_int (int value)
2802{
2803 return SWIG_From_long (value);
2804}
093d3ff1
RD
2805
2806
2807SWIGINTERN int
554f62e9 2808SWIG_AsVal_double (PyObject *obj, double* val)
093d3ff1
RD
2809{
2810 if (PyNumber_Check(obj)) {
2811 if (val) *val = PyFloat_AsDouble(obj);
554f62e9 2812 return SWIG_OK;
093d3ff1 2813 }
554f62e9 2814 return SWIG_TypeError;
093d3ff1
RD
2815}
2816
2817
554f62e9 2818 #define SWIG_From_double PyFloat_FromDouble
093d3ff1
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);
554f62e9
RD
2824SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2825SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
093d3ff1 2826
5eb8189c
RD
2827#define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2828
2829
093d3ff1 2830
554f62e9 2831SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
093d3ff1
RD
2832 wxRect r;
2833 self->GetFieldRect(i, r);
2834 return r;
2835 }
2836 static const wxString wxPySplitterNameStr(wxT("splitter"));
2837 static const wxString wxPySashNameStr(wxT("sashWindow"));
2838 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2839
2840#include <wx/popupwin.h>
2841
2842
2843class wxPyPopupTransientWindow : public wxPopupTransientWindow
2844{
2845public:
2846 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2847 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2848 : wxPopupTransientWindow(parent, style) {}
2849
2850 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2851 DEC_PYCALLBACK__(OnDismiss);
2852 DEC_PYCALLBACK_BOOL_(CanDismiss);
2853 PYPRIVATE;
2854};
2855
2856
2857IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2858IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2859IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2860
2861
2862#include <wx/tipwin.h>
2863
554f62e9 2864SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
093d3ff1
RD
2865 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2866 }
2867
2868#include <wx/tipwin.h>
2869
2870
2871#include <wx/vscroll.h>
2872
2873
2874class wxPyVScrolledWindow : public wxVScrolledWindow
2875{
7449af73 2876 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
093d3ff1
RD
2877public:
2878 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2879
2880 wxPyVScrolledWindow(wxWindow *parent,
2881 wxWindowID id = wxID_ANY,
2882 const wxPoint& pos = wxDefaultPosition,
2883 const wxSize& size = wxDefaultSize,
2884 long style = 0,
2885 const wxString& name = wxPyPanelNameStr)
2886 : wxVScrolledWindow(parent, id, pos, size, style, name)
2887 {}
2888
2889 // Overridable virtuals
2890
2891 // this function must be overridden in the derived class and it should
2892 // return the height of the given line in pixels
2893 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2894
2895
2896 // this function doesn't have to be overridden but it may be useful to do
2897 // it if calculating the lines heights is a relatively expensive operation
2898 // as it gives the user code a possibility to calculate several of them at
2899 // once
2900 //
2901 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2902 // shouldn't rely on the latter being called for all lines in the interval
2903 // specified here. It is also possible that OnGetLineHeight() will be
2904 // called for the lines outside of this interval, so this is really just a
2905 // hint, not a promise.
2906 //
2907 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2908 // usual
2909 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2910
2911
2912 // when the number of lines changes, we try to estimate the total height
2913 // of all lines which is a rather expensive operation in terms of lines
2914 // access, so if the user code may estimate the average height
2915 // better/faster than we do, it should override this function to implement
2916 // its own logic
2917 //
2918 // this function should return the best guess for the total height it may
2919 // make
2920 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2921
2922
2923 // Also expose some other interesting protected methods
2924
2925
2926 // find the index of the line we need to show at the top of the window such
2927 // that the last (fully or partially) visible line is the given one
2928 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2929 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2930
2931 // get the total height of the lines between lineMin (inclusive) and
2932 // lineMax (exclusive)
2933 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2934 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
d55e5bfc 2935
f460c29d
RD
2936 // update the thumb size shown by the scrollbar
2937 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2938
2939 // remove the scrollbar completely because we don't need it
2940 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
d55e5bfc
RD
2941
2942 PYPRIVATE;
2943};
2944
2945IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2946
2947IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2948IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2949IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2950
2951
fc46b7f3
RD
2952SWIGINTERN int
2953SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2954{
2955 long v = 0;
2956 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2957 return SWIG_TypeError;
2958 }
2959 else if (val)
2960 *val = (unsigned long)v;
2961 return SWIG_OK;
2962}
2963
2964
7449af73 2965SWIGINTERNINLINE int
554f62e9 2966SWIG_AsVal_size_t (PyObject * obj, size_t *val)
c32bde28 2967{
554f62e9
RD
2968 unsigned long v;
2969 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2970 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2971 return res;
d55e5bfc
RD
2972}
2973
2974
7449af73 2975SWIGINTERNINLINE PyObject*
554f62e9 2976SWIG_From_unsigned_SS_long (unsigned long value)
d55e5bfc
RD
2977{
2978 return (value > LONG_MAX) ?
554f62e9
RD
2979 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2980}
2981
2982
2983SWIGINTERNINLINE PyObject *
2984SWIG_From_size_t (size_t value)
2985{
2986 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
d55e5bfc
RD
2987}
2988
2989
2990#include <wx/vlbox.h>
2991
2992 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2993
2994class wxPyVListBox : public wxVListBox
2995{
7449af73 2996 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
d55e5bfc
RD
2997public:
2998 wxPyVListBox() : wxVListBox() {}
2999
3000 wxPyVListBox(wxWindow *parent,
3001 wxWindowID id = wxID_ANY,
3002 const wxPoint& pos = wxDefaultPosition,
3003 const wxSize& size = wxDefaultSize,
3004 long style = 0,
3005 const wxString& name = wxPyVListBoxNameStr)
3006 : wxVListBox(parent, id, pos, size, style, name)
3007 {}
3008
3009 // Overridable virtuals
3010
3011 // the derived class must implement this function to actually draw the item
3012 // with the given index on the provided DC
3013 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3014 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3015
3016
3017 // the derived class must implement this method to return the height of the
3018 // specified item
3019 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3020 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3021
3022
3023 // this method may be used to draw separators between the lines; note that
3024 // the rectangle may be modified, typically to deflate it a bit before
3025 // passing to OnDrawItem()
3026 //
3027 // the base class version doesn't do anything
3028 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1c71765a 3029 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
d55e5bfc
RD
3030
3031
3032 // this method is used to draw the items background and, maybe, a border
3033 // around it
3034 //
3035 // the base class version implements a reasonable default behaviour which
3036 // consists in drawing the selected item with the standard background
3037 // colour and drawing a border around the item if it is either selected or
3038 // current
3039 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3040 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3041
3042
3043 PYPRIVATE;
3044};
3045
3046IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3047
3048IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3049IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
1c71765a 3050IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
d55e5bfc
RD
3051IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3052
3053
554f62e9 3054SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
09c21d3b
RD
3055 unsigned long cookie = 0;
3056 int selected = self->GetFirstSelected(cookie);
5a446332 3057 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
3058 PyObject* tup = PyTuple_New(2);
3059 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3060 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3061 wxPyEndBlockThreads(blocked);
3062 return tup;
3063 }
554f62e9 3064SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
09c21d3b 3065 int selected = self->GetNextSelected(cookie);
5a446332 3066 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
3067 PyObject* tup = PyTuple_New(2);
3068 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3069 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3070 wxPyEndBlockThreads(blocked);
3071 return tup;
3072 }
d55e5bfc
RD
3073
3074#include <wx/htmllbox.h>
3075
3076
3077class wxPyHtmlListBox : public wxHtmlListBox
3078{
7449af73 3079 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
d55e5bfc
RD
3080public:
3081 wxPyHtmlListBox() : wxHtmlListBox() {}
3082
3083 wxPyHtmlListBox(wxWindow *parent,
3084 wxWindowID id = wxID_ANY,
3085 const wxPoint& pos = wxDefaultPosition,
3086 const wxSize& size = wxDefaultSize,
3087 long style = 0,
3088 const wxString& name = wxPyVListBoxNameStr)
3089 : wxHtmlListBox(parent, id, pos, size, style, name)
3090 {}
3091
3092 // Overridable virtuals
3093
3094 // this method must be implemented in the derived class and should return
3095 // the body (i.e. without <html>) of the HTML for the given item
3096 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3097
3098 // this function may be overridden to decorate HTML returned by OnGetItem()
3099 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3100
1c71765a
RD
3101 // These are from wxVListBox
3102 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3103 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3104
d55e5bfc
RD
3105// TODO:
3106// // this method allows to customize the selection appearance: it may be used
3107// // to specify the colour of the text which normally has the given colour
3108// // colFg when it is inside the selection
3109// //
3110// // by default, the original colour is not used at all and all text has the
3111// // same (default for this system) colour inside selection
3112// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3113
3114// // this is the same as GetSelectedTextColour() but allows to customize the
3115// // background colour -- this is even more rarely used as you can change it
3116// // globally using SetSelectionBackground()
3117// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3118
e9d6f3a4
RD
3119
3120 // This method may be overriden to handle clicking on a link in
3121 // the listbox. By default, clicking links is ignored.
3122 virtual void OnLinkClicked(size_t n,
3123 const wxHtmlLinkInfo& link);
d55e5bfc
RD
3124
3125 PYPRIVATE;
3126};
3127
3128
3129IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3130
3131IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3132IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
1c71765a
RD
3133IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3134IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
d55e5bfc
RD
3135
3136
e9d6f3a4
RD
3137void wxPyHtmlListBox::OnLinkClicked(size_t n,
3138 const wxHtmlLinkInfo& link) {
3139 bool found;
3140 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3141 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3142 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3143 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3144 Py_DECREF(obj);
3145 }
3146 wxPyEndBlockThreads(blocked);
3147 if (! found)
3148 wxPyHtmlListBox::OnLinkClicked(n, link);
3149}
3150
3151
d55e5bfc
RD
3152
3153
3154
ae8162c8
RD
3155#ifndef wxHAS_TASK_BAR_ICON
3156// implement dummy classes for platforms that don't have it
d55e5bfc
RD
3157
3158class wxTaskBarIcon : public wxEvtHandler
3159{
3160public:
3161 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3162};
09c21d3b 3163
d55e5bfc
RD
3164
3165class wxTaskBarIconEvent : public wxEvent
3166{
3167public:
3168 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3169 { wxPyRaiseNotImplemented(); }
3170 virtual wxEvent* Clone() const { return NULL; }
ae8162c8
RD
3171 bool IsOk() const { return false; }
3172 bool IsIconInstalled() const { return false; }
3173 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3174 bool RemoveIcon() { return false; }
3175 bool PopupMenu(wxMenu *menu) { return false; }
d55e5bfc
RD
3176};
3177
3178enum {
3179 wxEVT_TASKBAR_MOVE = 0,
3180 wxEVT_TASKBAR_LEFT_DOWN = 0,
3181 wxEVT_TASKBAR_LEFT_UP = 0,
3182 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3183 wxEVT_TASKBAR_RIGHT_UP = 0,
3184 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3185 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3186};
09c21d3b
RD
3187
3188
3189#else
5e483524
RD
3190// Otherwise make a class that can virtualize CreatePopupMenu
3191class wxPyTaskBarIcon : public wxTaskBarIcon
3192{
7449af73 3193 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
5e483524
RD
3194public:
3195 wxPyTaskBarIcon() : wxTaskBarIcon()
3196 {}
3197
3198 wxMenu* CreatePopupMenu() {
3199 wxMenu *rval = NULL;
3200 bool found;
5a446332 3201 wxPyBlock_t blocked = wxPyBeginBlockThreads();
5e483524
RD
3202 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3203 PyObject* ro;
3204 wxMenu* ptr;
3205 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3206 if (ro) {
3207 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3208 rval = ptr;
3209 Py_DECREF(ro);
3210 }
3211 }
3212 wxPyEndBlockThreads(blocked);
3213 if (! found)
3214 rval = wxTaskBarIcon::CreatePopupMenu();
3215 return rval;
3216 }
3217
3218 PYPRIVATE;
3219};
3220
3221IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
09c21d3b 3222
d55e5bfc
RD
3223#endif
3224
554f62e9 3225SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
d55e5bfc 3226 self->RemoveIcon();
5e483524 3227 delete self;
d55e5bfc
RD
3228 }
3229 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3230 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3231 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3232 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3233 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3234 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
b02396e8
RD
3235
3236// for compatibility only
3237#define wxHIDE_READONLY 0
3238
554f62e9 3239SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
d55e5bfc
RD
3240 wxArrayString arr;
3241 self->GetFilenames(arr);
3242 return wxArrayString2PyList_helper(arr);
3243 }
554f62e9 3244SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
d55e5bfc
RD
3245 wxArrayString arr;
3246 self->GetPaths(arr);
3247 return wxArrayString2PyList_helper(arr);
3248 }
554f62e9 3249SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
d55e5bfc
RD
3250 return wxArrayInt2PyList_helper(self->GetSelections());
3251 }
554f62e9 3252SWIGINTERN 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
3253 return new wxSingleChoiceDialog(parent, message, caption,
3254 choices, choices_array, NULL, style, pos);
3255 }
c1cb24a4 3256 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
d55e5bfc 3257
f460c29d
RD
3258SWIGINTERNINLINE PyObject*
3259 SWIG_From_bool (bool value)
3260{
3261 return PyBool_FromLong(value ? 1 : 0);
3262}
3263
3264
d55e5bfc
RD
3265#include <wx/mdi.h>
3266
3267 // C++ version of Python aware wxWindow
3268class wxPyWindow : public wxWindow
3269{
3270 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3271public:
3272 wxPyWindow() : wxWindow() {}
3273 wxPyWindow(wxWindow* parent, const wxWindowID id,
3274 const wxPoint& pos = wxDefaultPosition,
3275 const wxSize& size = wxDefaultSize,
3276 long style = 0,
3277 const wxString& name = wxPyPanelNameStr)
3278 : wxWindow(parent, id, pos, size, style, name) {}
3279
3280
60d5fcc1
RD
3281 bool DoEraseBackground(wxDC* dc) {
3282#ifdef __WXMSW__
3283 return wxWindow::DoEraseBackground(dc->GetHDC());
3284#else
3285 dc->SetBackground(wxBrush(GetBackgroundColour()));
3286 dc->Clear();
3287 return true;
3288#endif
3289 }
3290
d55e5bfc
RD
3291 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3292 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3293 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3294 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3295
3296 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3297 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3298 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3299
3300 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3301 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3302
3303 DEC_PYCALLBACK__(InitDialog);
3304 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3305 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3306 DEC_PYCALLBACK_BOOL_(Validate);
3307
3308 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3309 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3310 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3311
3312 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3313 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3314
caef1a4d 3315 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
caef1a4d 3316 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3317
51b83b37
RD
3318 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3319
8d38bd1d
RD
3320 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3321
d55e5bfc
RD
3322 PYPRIVATE;
3323};
3324
3325IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3326
3327IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3328IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3329IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3330IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3331
3332IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3333IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3334IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3335
3336IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3337IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3338
3339IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3340IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3341IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3342IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3343
3344IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3345IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3346IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3347
3348IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3349IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3350
caef1a4d 3351IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
caef1a4d 3352IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
51b83b37
RD
3353
3354IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
d55e5bfc 3355
8d38bd1d
RD
3356IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3357
d55e5bfc
RD
3358 // C++ version of Python aware wxPanel
3359class wxPyPanel : public wxPanel
3360{
3361 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3362public:
3363 wxPyPanel() : wxPanel() {}
3364 wxPyPanel(wxWindow* parent, const wxWindowID id,
3365 const wxPoint& pos = wxDefaultPosition,
3366 const wxSize& size = wxDefaultSize,
3367 long style = 0,
3368 const wxString& name = wxPyPanelNameStr)
3369 : wxPanel(parent, id, pos, size, style, name) {}
3370
60d5fcc1
RD
3371 bool DoEraseBackground(wxDC* dc) {
3372#ifdef __WXMSW__
3373 return wxWindow::DoEraseBackground(dc->GetHDC());
3374#else
3375 dc->SetBackground(wxBrush(GetBackgroundColour()));
3376 dc->Clear();
3377 return true;
3378#endif
3379 }
caef1a4d 3380
d55e5bfc
RD
3381
3382 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3383 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3384 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3385 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3386
3387 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3388 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3389 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3390
3391 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3392 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3393
3394 DEC_PYCALLBACK__(InitDialog);
3395 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3396 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3397 DEC_PYCALLBACK_BOOL_(Validate);
3398
3399 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3400 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3401 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3402
3403 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3404 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3405
caef1a4d 3406 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
caef1a4d 3407 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3408
51b83b37
RD
3409 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3410
8d38bd1d
RD
3411 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3412
d55e5bfc
RD
3413 PYPRIVATE;
3414};
3415
3416IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3417
3418IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3419IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3420IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3421IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3422
3423IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3424IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3425IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3426
3427IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3428IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3429
3430IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3431IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3432IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3433IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3434
3435IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3436IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3437IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3438
3439IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3440IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3441
caef1a4d 3442IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
caef1a4d 3443IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
d55e5bfc 3444
51b83b37
RD
3445IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3446
8d38bd1d
RD
3447IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3448
d55e5bfc
RD
3449 // C++ version of Python aware wxScrolledWindow
3450class wxPyScrolledWindow : public wxScrolledWindow
3451{
3452 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3453public:
3454 wxPyScrolledWindow() : wxScrolledWindow() {}
3455 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3456 const wxPoint& pos = wxDefaultPosition,
3457 const wxSize& size = wxDefaultSize,
3458 long style = 0,
3459 const wxString& name = wxPyPanelNameStr)
3460 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3461
60d5fcc1
RD
3462 bool DoEraseBackground(wxDC* dc) {
3463#ifdef __WXMSW__
3464 return wxWindow::DoEraseBackground(dc->GetHDC());
3465#else
3466 dc->SetBackground(wxBrush(GetBackgroundColour()));
3467 dc->Clear();
3468 return true;
3469#endif
3470 }
d55e5bfc
RD
3471
3472 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3473 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3474 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3475 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3476
3477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3479 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3480
3481 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3482 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3483
3484 DEC_PYCALLBACK__(InitDialog);
3485 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3486 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3487 DEC_PYCALLBACK_BOOL_(Validate);
3488
3489 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3490 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3491 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3492
3493 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3494 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3495
caef1a4d 3496 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
caef1a4d 3497 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3498
51b83b37
RD
3499 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3500
8d38bd1d
RD
3501 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3502
d55e5bfc
RD
3503 PYPRIVATE;
3504};
3505
3506IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3507
3508IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3509IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3510IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3511IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3512
3513IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3514IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3515IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3516
3517IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3518IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3519
3520IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3521IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3522IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3523IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3524
3525IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3526IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3527IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3528
3529IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3530IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3531
caef1a4d 3532IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
caef1a4d
RD
3533IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3534
51b83b37 3535IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
d55e5bfc 3536
8d38bd1d
RD
3537IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3538
d55e5bfc
RD
3539
3540#include "wx/wxPython/printfw.h"
3541
3542
3543 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3544 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
554f62e9 3545SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
b9d6a5f3 3546 PyObject* data;
5a446332 3547 wxPyBlock_t blocked = wxPyBeginBlockThreads();
b9d6a5f3
RD
3548 data = PyString_FromStringAndSize(self->GetPrivData(),
3549 self->GetPrivDataLen());
3550 wxPyEndBlockThreads(blocked);
3551 return data;
3552 }
554f62e9 3553SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
b9d6a5f3
RD
3554 if (! PyString_Check(data)) {
3555 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3556 "Expected string object"));
3557 return /* NULL */ ;
3558 }
3559
5a446332 3560 wxPyBlock_t blocked = wxPyBeginBlockThreads();
b9d6a5f3
RD
3561 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3562 wxPyEndBlockThreads(blocked);
3563 }
d55e5bfc
RD
3564
3565
c1cb24a4 3566IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
d55e5bfc
RD
3567
3568// Since this one would be tough and ugly to do with the Macros...
3569void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
ae8162c8 3570 bool hadErr = false;
d55e5bfc
RD
3571 bool found;
3572
5a446332 3573 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
3574 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3575 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3576 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3577 PyObject* val;
3578
3579 val = PyTuple_GetItem(result, 0);
3580 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
ae8162c8 3581 else hadErr = true;
d55e5bfc
RD
3582
3583 val = PyTuple_GetItem(result, 1);
3584 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
ae8162c8 3585 else hadErr = true;
d55e5bfc
RD
3586
3587 val = PyTuple_GetItem(result, 2);
3588 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
ae8162c8 3589 else hadErr = true;
d55e5bfc
RD
3590
3591 val = PyTuple_GetItem(result, 3);
3592 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
ae8162c8 3593 else hadErr = true;
d55e5bfc
RD
3594 }
3595 else
ae8162c8 3596 hadErr = true;
d55e5bfc
RD
3597
3598 if (hadErr) {
3599 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3600 PyErr_Print();
3601 }
3602 Py_DECREF(result);
3603 }
3604 wxPyEndBlockThreads(blocked);
3605 if (! found)
3606 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3607}
3608
d55e5bfc
RD
3609
3610
3611IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3612IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3613IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3614IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3615IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3616IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3617IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3618
3619
3620
3621
3622
ae8162c8 3623#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
b06b3e70 3624 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
d55e5bfc
RD
3625
3626
ae8162c8
RD
3627#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3628 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3629 bool rval=false; \
3630 bool found; \
7449af73 3631 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
ae8162c8
RD
3632 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3633 PyObject* win = wxPyMake_wxObject(a,false); \
3634 PyObject* dc = wxPyMake_wxObject(&b,false); \
3635 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3636 Py_DECREF(win); \
3637 Py_DECREF(dc); \
3638 } \
3639 wxPyEndBlockThreads(blocked); \
3640 if (! found) \
3641 rval = PCLASS::CBNAME(a, b); \
3642 return rval; \
b06b3e70 3643 }
d55e5bfc
RD
3644
3645
3646
3647
3648class wxPyPrintPreview : public wxPrintPreview
3649{
3650 DECLARE_CLASS(wxPyPrintPreview)
3651public:
3652 wxPyPrintPreview(wxPyPrintout* printout,
3653 wxPyPrintout* printoutForPrinting,
3654 wxPrintDialogData* data=NULL)
3655 : wxPrintPreview(printout, printoutForPrinting, data)
3656 {}
3657 wxPyPrintPreview(wxPyPrintout* printout,
3658 wxPyPrintout* printoutForPrinting,
7449af73 3659 wxPrintData* data)
d55e5bfc
RD
3660 : wxPrintPreview(printout, printoutForPrinting, data)
3661 {}
3662
3663 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3664 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3665 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3666 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3667 DEC_PYCALLBACK_VOID_INT(SetZoom);
3668 DEC_PYCALLBACK_BOOL_BOOL(Print);
3669 DEC_PYCALLBACK_VOID_(DetermineScaling);
3670
3671 PYPRIVATE;
3672};
3673
3674// Stupid renamed classes... Fix this in 2.5...
3675#if defined(__WXMSW__)
3676IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3677#elif defined(__WXMAC__)
3678IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3679#else
3680IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3681#endif
3682
3683IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3684IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3685IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3686IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3687IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3688IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3689IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3690
3691
3692class wxPyPreviewFrame : public wxPreviewFrame
3693{
7449af73 3694 DECLARE_CLASS(wxPyPreviewFrame)
d55e5bfc
RD
3695public:
3696 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3697 const wxString& title,
3698 const wxPoint& pos = wxDefaultPosition,
3699 const wxSize& size = wxDefaultSize,
3700 long style = wxDEFAULT_FRAME_STYLE,
3701 const wxString& name = wxPyFrameNameStr)
3702 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3703 {}
3704
3705 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3706 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3707
3708 DEC_PYCALLBACK_VOID_(Initialize);
3709 DEC_PYCALLBACK_VOID_(CreateCanvas);
3710 DEC_PYCALLBACK_VOID_(CreateControlBar);
3711
3712 PYPRIVATE;
3713};
3714
3715IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3716
3717IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3718IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3719IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3720
3721
3722class wxPyPreviewControlBar : public wxPreviewControlBar
3723{
7449af73 3724 DECLARE_CLASS(wxPyPreviewControlBar)
d55e5bfc
RD
3725public:
3726 wxPyPreviewControlBar(wxPrintPreview *preview,
3727 long buttons,
3728 wxWindow *parent,
3729 const wxPoint& pos = wxDefaultPosition,
3730 const wxSize& size = wxDefaultSize,
3731 long style = 0,
3732 const wxString& name = wxPyPanelNameStr)
3733 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3734 {}
3735
3736 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3737
3738 DEC_PYCALLBACK_VOID_(CreateButtons);
3739 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3740
3741 PYPRIVATE;
3742};
3743
3744IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3745IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3746IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3747
3748#ifdef __cplusplus
3749extern "C" {
3750#endif
554f62e9
RD
3751SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3752 PyObject *resultobj = 0;
3753 wxWindow *arg1 = (wxWindow *) 0 ;
3754 int arg2 = (int) (int)-1 ;
3755 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3756 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3757 wxSize const &arg4_defvalue = wxDefaultSize ;
3758 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3759 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3760 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3761 wxString *arg6 = (wxString *) &arg6_defvalue ;
3762 wxPanel *result = 0 ;
3763 void *argp1 = 0 ;
3764 int res1 = 0 ;
3765 int val2 ;
3766 int ecode2 = 0 ;
3767 wxPoint temp3 ;
3768 wxSize temp4 ;
3769 long val5 ;
3770 int ecode5 = 0 ;
3771 bool temp6 = false ;
3772 PyObject * obj0 = 0 ;
3773 PyObject * obj1 = 0 ;
3774 PyObject * obj2 = 0 ;
3775 PyObject * obj3 = 0 ;
3776 PyObject * obj4 = 0 ;
3777 PyObject * obj5 = 0 ;
3778 char * kwnames[] = {
3779 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3780 };
3781
3782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3783 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3784 if (!SWIG_IsOK(res1)) {
3785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3786 }
3787 arg1 = reinterpret_cast< wxWindow * >(argp1);
3788 if (obj1) {
3789 ecode2 = SWIG_AsVal_int(obj1, &val2);
3790 if (!SWIG_IsOK(ecode2)) {
3791 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3792 }
3793 arg2 = static_cast< int >(val2);
3794 }
3795 if (obj2) {
d55e5bfc 3796 {
554f62e9
RD
3797 arg3 = &temp3;
3798 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 3799 }
554f62e9
RD
3800 }
3801 if (obj3) {
d55e5bfc 3802 {
554f62e9
RD
3803 arg4 = &temp4;
3804 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3805 }
554f62e9
RD
3806 }
3807 if (obj4) {
3808 ecode5 = SWIG_AsVal_long(obj4, &val5);
3809 if (!SWIG_IsOK(ecode5)) {
3810 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3811 }
3812 arg5 = static_cast< long >(val5);
3813 }
3814 if (obj5) {
d55e5bfc 3815 {
554f62e9
RD
3816 arg6 = wxString_in_helper(obj5);
3817 if (arg6 == NULL) SWIG_fail;
3818 temp6 = true;
3819 }
3820 }
3821 {
3822 if (!wxPyCheckForApp()) SWIG_fail;
3823 PyThreadState* __tstate = wxPyBeginAllowThreads();
3824 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3825 wxPyEndAllowThreads(__tstate);
3826 if (PyErr_Occurred()) SWIG_fail;
3827 }
3828 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3829 {
3830 if (temp6)
3831 delete arg6;
3832 }
3833 return resultobj;
3834fail:
3835 {
3836 if (temp6)
3837 delete arg6;
3838 }
3839 return NULL;
d55e5bfc
RD
3840}
3841
3842
554f62e9
RD
3843SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3844 PyObject *resultobj = 0;
3845 wxPanel *result = 0 ;
3846
3847 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3848 {
3849 if (!wxPyCheckForApp()) SWIG_fail;
3850 PyThreadState* __tstate = wxPyBeginAllowThreads();
3851 result = (wxPanel *)new wxPanel();
3852 wxPyEndAllowThreads(__tstate);
3853 if (PyErr_Occurred()) SWIG_fail;
3854 }
3855 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3856 return resultobj;
3857fail:
3858 return NULL;
3859}
3860
3861
3862SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3863 PyObject *resultobj = 0;
3864 wxPanel *arg1 = (wxPanel *) 0 ;
3865 wxWindow *arg2 = (wxWindow *) 0 ;
3866 int arg3 = (int) (int)-1 ;
3867 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3868 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3869 wxSize const &arg5_defvalue = wxDefaultSize ;
3870 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3871 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3872 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3873 wxString *arg7 = (wxString *) &arg7_defvalue ;
3874 bool result;
3875 void *argp1 = 0 ;
3876 int res1 = 0 ;
3877 void *argp2 = 0 ;
3878 int res2 = 0 ;
3879 int val3 ;
3880 int ecode3 = 0 ;
3881 wxPoint temp4 ;
3882 wxSize temp5 ;
3883 long val6 ;
3884 int ecode6 = 0 ;
3885 bool temp7 = false ;
3886 PyObject * obj0 = 0 ;
3887 PyObject * obj1 = 0 ;
3888 PyObject * obj2 = 0 ;
3889 PyObject * obj3 = 0 ;
3890 PyObject * obj4 = 0 ;
3891 PyObject * obj5 = 0 ;
3892 PyObject * obj6 = 0 ;
3893 char * kwnames[] = {
3894 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3895 };
3896
3897 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3898 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3899 if (!SWIG_IsOK(res1)) {
3900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3901 }
3902 arg1 = reinterpret_cast< wxPanel * >(argp1);
3903 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3904 if (!SWIG_IsOK(res2)) {
3905 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3906 }
3907 arg2 = reinterpret_cast< wxWindow * >(argp2);
3908 if (obj2) {
3909 ecode3 = SWIG_AsVal_int(obj2, &val3);
3910 if (!SWIG_IsOK(ecode3)) {
3911 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3912 }
3913 arg3 = static_cast< int >(val3);
3914 }
3915 if (obj3) {
d55e5bfc 3916 {
554f62e9
RD
3917 arg4 = &temp4;
3918 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3919 }
554f62e9
RD
3920 }
3921 if (obj4) {
d55e5bfc 3922 {
554f62e9
RD
3923 arg5 = &temp5;
3924 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3925 }
554f62e9
RD
3926 }
3927 if (obj5) {
3928 ecode6 = SWIG_AsVal_long(obj5, &val6);
3929 if (!SWIG_IsOK(ecode6)) {
3930 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3931 }
3932 arg6 = static_cast< long >(val6);
3933 }
3934 if (obj6) {
d55e5bfc 3935 {
554f62e9
RD
3936 arg7 = wxString_in_helper(obj6);
3937 if (arg7 == NULL) SWIG_fail;
3938 temp7 = true;
d55e5bfc 3939 }
554f62e9
RD
3940 }
3941 {
3942 PyThreadState* __tstate = wxPyBeginAllowThreads();
3943 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3944 wxPyEndAllowThreads(__tstate);
3945 if (PyErr_Occurred()) SWIG_fail;
3946 }
3947 {
3948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3949 }
3950 {
3951 if (temp7)
3952 delete arg7;
3953 }
3954 return resultobj;
3955fail:
3956 {
3957 if (temp7)
3958 delete arg7;
3959 }
3960 return NULL;
b519803b
RD
3961}
3962
3963
554f62e9
RD
3964SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3965 PyObject *resultobj = 0;
3966 wxPanel *arg1 = (wxPanel *) 0 ;
3967 void *argp1 = 0 ;
3968 int res1 = 0 ;
3969 PyObject *swig_obj[1] ;
3970
3971 if (!args) SWIG_fail;
3972 swig_obj[0] = args;
3973 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3974 if (!SWIG_IsOK(res1)) {
3975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3976 }
3977 arg1 = reinterpret_cast< wxPanel * >(argp1);
3978 {
3979 PyThreadState* __tstate = wxPyBeginAllowThreads();
3980 (arg1)->SetFocusIgnoringChildren();
3981 wxPyEndAllowThreads(__tstate);
3982 if (PyErr_Occurred()) SWIG_fail;
3983 }
3984 resultobj = SWIG_Py_Void();
3985 return resultobj;
3986fail:
3987 return NULL;
3988}
3989
3990
3991SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3992 PyObject *resultobj = 0;
3993 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3994 SwigValueWrapper<wxVisualAttributes > result;
3995 int val1 ;
3996 int ecode1 = 0 ;
3997 PyObject * obj0 = 0 ;
3998 char * kwnames[] = {
3999 (char *) "variant", NULL
4000 };
4001
4002 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4003 if (obj0) {
4004 ecode1 = SWIG_AsVal_int(obj0, &val1);
4005 if (!SWIG_IsOK(ecode1)) {
4006 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4007 }
4008 arg1 = static_cast< wxWindowVariant >(val1);
4009 }
4010 {
4011 if (!wxPyCheckForApp()) SWIG_fail;
4012 PyThreadState* __tstate = wxPyBeginAllowThreads();
4013 result = wxPanel::GetClassDefaultAttributes(arg1);
4014 wxPyEndAllowThreads(__tstate);
4015 if (PyErr_Occurred()) SWIG_fail;
4016 }
4017 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4018 return resultobj;
4019fail:
4020 return NULL;
4021}
4022
4023
4024SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4025 PyObject *obj;
4026 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4027 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4028 return SWIG_Py_Void();
4029}
4030
4031SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4032 return SWIG_Python_InitShadowInstance(args);
4033}
4034
4035SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4036 PyObject *resultobj = 0;
4037 wxWindow *arg1 = (wxWindow *) 0 ;
4038 int arg2 = (int) (int)-1 ;
4039 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4040 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4041 wxSize const &arg4_defvalue = wxDefaultSize ;
4042 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4043 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4044 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4045 wxString *arg6 = (wxString *) &arg6_defvalue ;
4046 wxScrolledWindow *result = 0 ;
4047 void *argp1 = 0 ;
4048 int res1 = 0 ;
4049 int val2 ;
4050 int ecode2 = 0 ;
4051 wxPoint temp3 ;
4052 wxSize temp4 ;
4053 long val5 ;
4054 int ecode5 = 0 ;
4055 bool temp6 = false ;
4056 PyObject * obj0 = 0 ;
4057 PyObject * obj1 = 0 ;
4058 PyObject * obj2 = 0 ;
4059 PyObject * obj3 = 0 ;
4060 PyObject * obj4 = 0 ;
4061 PyObject * obj5 = 0 ;
4062 char * kwnames[] = {
4063 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4064 };
4065
4066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4068 if (!SWIG_IsOK(res1)) {
4069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4070 }
4071 arg1 = reinterpret_cast< wxWindow * >(argp1);
4072 if (obj1) {
4073 ecode2 = SWIG_AsVal_int(obj1, &val2);
4074 if (!SWIG_IsOK(ecode2)) {
4075 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4076 }
4077 arg2 = static_cast< int >(val2);
4078 }
4079 if (obj2) {
b519803b 4080 {
554f62e9
RD
4081 arg3 = &temp3;
4082 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
f20a2e1f 4083 }
554f62e9
RD
4084 }
4085 if (obj3) {
f20a2e1f 4086 {
554f62e9
RD
4087 arg4 = &temp4;
4088 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
f20a2e1f 4089 }
554f62e9
RD
4090 }
4091 if (obj4) {
4092 ecode5 = SWIG_AsVal_long(obj4, &val5);
4093 if (!SWIG_IsOK(ecode5)) {
4094 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4095 }
4096 arg5 = static_cast< long >(val5);
4097 }
4098 if (obj5) {
f20a2e1f 4099 {
554f62e9
RD
4100 arg6 = wxString_in_helper(obj5);
4101 if (arg6 == NULL) SWIG_fail;
4102 temp6 = true;
f20a2e1f 4103 }
554f62e9
RD
4104 }
4105 {
4106 if (!wxPyCheckForApp()) SWIG_fail;
4107 PyThreadState* __tstate = wxPyBeginAllowThreads();
4108 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4109 wxPyEndAllowThreads(__tstate);
4110 if (PyErr_Occurred()) SWIG_fail;
4111 }
4112 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4113 {
4114 if (temp6)
4115 delete arg6;
4116 }
4117 return resultobj;
4118fail:
4119 {
4120 if (temp6)
4121 delete arg6;
4122 }
4123 return NULL;
f20a2e1f
RD
4124}
4125
4126
554f62e9
RD
4127SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4128 PyObject *resultobj = 0;
4129 wxScrolledWindow *result = 0 ;
4130
4131 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4132 {
4133 if (!wxPyCheckForApp()) SWIG_fail;
4134 PyThreadState* __tstate = wxPyBeginAllowThreads();
4135 result = (wxScrolledWindow *)new wxScrolledWindow();
4136 wxPyEndAllowThreads(__tstate);
4137 if (PyErr_Occurred()) SWIG_fail;
4138 }
4139 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4140 return resultobj;
4141fail:
4142 return NULL;
4143}
4144
4145
4146SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4147 PyObject *resultobj = 0;
4148 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4149 wxWindow *arg2 = (wxWindow *) 0 ;
4150 int arg3 = (int) (int)-1 ;
4151 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4152 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4153 wxSize const &arg5_defvalue = wxDefaultSize ;
4154 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4155 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4156 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4157 wxString *arg7 = (wxString *) &arg7_defvalue ;
4158 bool result;
4159 void *argp1 = 0 ;
4160 int res1 = 0 ;
4161 void *argp2 = 0 ;
4162 int res2 = 0 ;
4163 int val3 ;
4164 int ecode3 = 0 ;
4165 wxPoint temp4 ;
4166 wxSize temp5 ;
4167 long val6 ;
4168 int ecode6 = 0 ;
4169 bool temp7 = false ;
4170 PyObject * obj0 = 0 ;
4171 PyObject * obj1 = 0 ;
4172 PyObject * obj2 = 0 ;
4173 PyObject * obj3 = 0 ;
4174 PyObject * obj4 = 0 ;
4175 PyObject * obj5 = 0 ;
4176 PyObject * obj6 = 0 ;
4177 char * kwnames[] = {
4178 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4179 };
4180
4181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4183 if (!SWIG_IsOK(res1)) {
4184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4185 }
4186 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4187 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4188 if (!SWIG_IsOK(res2)) {
4189 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4190 }
4191 arg2 = reinterpret_cast< wxWindow * >(argp2);
4192 if (obj2) {
4193 ecode3 = SWIG_AsVal_int(obj2, &val3);
4194 if (!SWIG_IsOK(ecode3)) {
4195 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4196 }
4197 arg3 = static_cast< int >(val3);
4198 }
4199 if (obj3) {
d55e5bfc 4200 {
554f62e9
RD
4201 arg4 = &temp4;
4202 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4203 }
4204 }
4205 if (obj4) {
d55e5bfc 4206 {
554f62e9
RD
4207 arg5 = &temp5;
4208 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 4209 }
554f62e9
RD
4210 }
4211 if (obj5) {
4212 ecode6 = SWIG_AsVal_long(obj5, &val6);
4213 if (!SWIG_IsOK(ecode6)) {
4214 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4215 }
4216 arg6 = static_cast< long >(val6);
4217 }
4218 if (obj6) {
d55e5bfc 4219 {
554f62e9
RD
4220 arg7 = wxString_in_helper(obj6);
4221 if (arg7 == NULL) SWIG_fail;
4222 temp7 = true;
d55e5bfc 4223 }
554f62e9
RD
4224 }
4225 {
4226 PyThreadState* __tstate = wxPyBeginAllowThreads();
4227 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4228 wxPyEndAllowThreads(__tstate);
4229 if (PyErr_Occurred()) SWIG_fail;
4230 }
4231 {
4232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4233 }
4234 {
4235 if (temp7)
4236 delete arg7;
4237 }
4238 return resultobj;
4239fail:
4240 {
4241 if (temp7)
4242 delete arg7;
4243 }
4244 return NULL;
4245}
4246
4247
4248SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4249 PyObject *resultobj = 0;
4250 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4251 int arg2 ;
4252 int arg3 ;
4253 int arg4 ;
4254 int arg5 ;
4255 int arg6 = (int) 0 ;
4256 int arg7 = (int) 0 ;
4257 bool arg8 = (bool) false ;
4258 void *argp1 = 0 ;
4259 int res1 = 0 ;
4260 int val2 ;
4261 int ecode2 = 0 ;
4262 int val3 ;
4263 int ecode3 = 0 ;
4264 int val4 ;
4265 int ecode4 = 0 ;
4266 int val5 ;
4267 int ecode5 = 0 ;
4268 int val6 ;
4269 int ecode6 = 0 ;
4270 int val7 ;
4271 int ecode7 = 0 ;
4272 bool val8 ;
4273 int ecode8 = 0 ;
4274 PyObject * obj0 = 0 ;
4275 PyObject * obj1 = 0 ;
4276 PyObject * obj2 = 0 ;
4277 PyObject * obj3 = 0 ;
4278 PyObject * obj4 = 0 ;
4279 PyObject * obj5 = 0 ;
4280 PyObject * obj6 = 0 ;
4281 PyObject * obj7 = 0 ;
4282 char * kwnames[] = {
4283 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4284 };
4285
4286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4288 if (!SWIG_IsOK(res1)) {
4289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4290 }
4291 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4292 ecode2 = SWIG_AsVal_int(obj1, &val2);
4293 if (!SWIG_IsOK(ecode2)) {
4294 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4295 }
4296 arg2 = static_cast< int >(val2);
4297 ecode3 = SWIG_AsVal_int(obj2, &val3);
4298 if (!SWIG_IsOK(ecode3)) {
4299 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4300 }
4301 arg3 = static_cast< int >(val3);
4302 ecode4 = SWIG_AsVal_int(obj3, &val4);
4303 if (!SWIG_IsOK(ecode4)) {
4304 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4305 }
4306 arg4 = static_cast< int >(val4);
4307 ecode5 = SWIG_AsVal_int(obj4, &val5);
4308 if (!SWIG_IsOK(ecode5)) {
4309 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4310 }
4311 arg5 = static_cast< int >(val5);
4312 if (obj5) {
4313 ecode6 = SWIG_AsVal_int(obj5, &val6);
4314 if (!SWIG_IsOK(ecode6)) {
4315 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4316 }
4317 arg6 = static_cast< int >(val6);
4318 }
4319 if (obj6) {
4320 ecode7 = SWIG_AsVal_int(obj6, &val7);
4321 if (!SWIG_IsOK(ecode7)) {
4322 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4323 }
4324 arg7 = static_cast< int >(val7);
4325 }
4326 if (obj7) {
4327 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4328 if (!SWIG_IsOK(ecode8)) {
4329 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4330 }
4331 arg8 = static_cast< bool >(val8);
4332 }
4333 {
4334 PyThreadState* __tstate = wxPyBeginAllowThreads();
4335 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4336 wxPyEndAllowThreads(__tstate);
4337 if (PyErr_Occurred()) SWIG_fail;
4338 }
4339 resultobj = SWIG_Py_Void();
4340 return resultobj;
4341fail:
4342 return NULL;
4343}
4344
4345
4346SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4347 PyObject *resultobj = 0;
4348 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4349 int arg2 ;
4350 int arg3 ;
4351 void *argp1 = 0 ;
4352 int res1 = 0 ;
4353 int val2 ;
4354 int ecode2 = 0 ;
4355 int val3 ;
4356 int ecode3 = 0 ;
4357 PyObject * obj0 = 0 ;
4358 PyObject * obj1 = 0 ;
4359 PyObject * obj2 = 0 ;
4360 char * kwnames[] = {
4361 (char *) "self",(char *) "x",(char *) "y", NULL
4362 };
4363
4364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4366 if (!SWIG_IsOK(res1)) {
4367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4368 }
4369 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4370 ecode2 = SWIG_AsVal_int(obj1, &val2);
4371 if (!SWIG_IsOK(ecode2)) {
4372 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4373 }
4374 arg2 = static_cast< int >(val2);
4375 ecode3 = SWIG_AsVal_int(obj2, &val3);
4376 if (!SWIG_IsOK(ecode3)) {
4377 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4378 }
4379 arg3 = static_cast< int >(val3);
4380 {
4381 PyThreadState* __tstate = wxPyBeginAllowThreads();
4382 (arg1)->Scroll(arg2,arg3);
4383 wxPyEndAllowThreads(__tstate);
4384 if (PyErr_Occurred()) SWIG_fail;
4385 }
4386 resultobj = SWIG_Py_Void();
4387 return resultobj;
4388fail:
4389 return NULL;
4390}
4391
4392
4393SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4394 PyObject *resultobj = 0;
4395 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4396 int arg2 ;
4397 int result;
4398 void *argp1 = 0 ;
4399 int res1 = 0 ;
4400 int val2 ;
4401 int ecode2 = 0 ;
4402 PyObject * obj0 = 0 ;
4403 PyObject * obj1 = 0 ;
4404 char * kwnames[] = {
4405 (char *) "self",(char *) "orient", NULL
4406 };
4407
4408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4410 if (!SWIG_IsOK(res1)) {
4411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4412 }
4413 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4414 ecode2 = SWIG_AsVal_int(obj1, &val2);
4415 if (!SWIG_IsOK(ecode2)) {
4416 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4417 }
4418 arg2 = static_cast< int >(val2);
4419 {
4420 PyThreadState* __tstate = wxPyBeginAllowThreads();
4421 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4422 wxPyEndAllowThreads(__tstate);
4423 if (PyErr_Occurred()) SWIG_fail;
4424 }
4425 resultobj = SWIG_From_int(static_cast< int >(result));
4426 return resultobj;
4427fail:
4428 return NULL;
4429}
4430
4431
4432SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4433 PyObject *resultobj = 0;
4434 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4435 int arg2 ;
4436 int arg3 ;
4437 void *argp1 = 0 ;
4438 int res1 = 0 ;
4439 int val2 ;
4440 int ecode2 = 0 ;
4441 int val3 ;
4442 int ecode3 = 0 ;
4443 PyObject * obj0 = 0 ;
4444 PyObject * obj1 = 0 ;
4445 PyObject * obj2 = 0 ;
4446 char * kwnames[] = {
4447 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4448 };
4449
4450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4452 if (!SWIG_IsOK(res1)) {
4453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4454 }
4455 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4456 ecode2 = SWIG_AsVal_int(obj1, &val2);
4457 if (!SWIG_IsOK(ecode2)) {
4458 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4459 }
4460 arg2 = static_cast< int >(val2);
4461 ecode3 = SWIG_AsVal_int(obj2, &val3);
4462 if (!SWIG_IsOK(ecode3)) {
4463 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4464 }
4465 arg3 = static_cast< int >(val3);
4466 {
4467 PyThreadState* __tstate = wxPyBeginAllowThreads();
4468 (arg1)->SetScrollPageSize(arg2,arg3);
4469 wxPyEndAllowThreads(__tstate);
4470 if (PyErr_Occurred()) SWIG_fail;
4471 }
4472 resultobj = SWIG_Py_Void();
4473 return resultobj;
4474fail:
4475 return NULL;
4476}
4477
4478
4479SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4480 PyObject *resultobj = 0;
4481 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4482 int arg2 ;
4483 int arg3 ;
4484 void *argp1 = 0 ;
4485 int res1 = 0 ;
4486 int val2 ;
4487 int ecode2 = 0 ;
4488 int val3 ;
4489 int ecode3 = 0 ;
4490 PyObject * obj0 = 0 ;
4491 PyObject * obj1 = 0 ;
4492 PyObject * obj2 = 0 ;
4493 char * kwnames[] = {
4494 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4495 };
4496
4497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4499 if (!SWIG_IsOK(res1)) {
4500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4501 }
4502 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4503 ecode2 = SWIG_AsVal_int(obj1, &val2);
4504 if (!SWIG_IsOK(ecode2)) {
4505 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4506 }
4507 arg2 = static_cast< int >(val2);
4508 ecode3 = SWIG_AsVal_int(obj2, &val3);
4509 if (!SWIG_IsOK(ecode3)) {
4510 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4511 }
4512 arg3 = static_cast< int >(val3);
4513 {
4514 PyThreadState* __tstate = wxPyBeginAllowThreads();
4515 (arg1)->SetScrollRate(arg2,arg3);
4516 wxPyEndAllowThreads(__tstate);
4517 if (PyErr_Occurred()) SWIG_fail;
4518 }
4519 resultobj = SWIG_Py_Void();
4520 return resultobj;
4521fail:
4522 return NULL;
4523}
4524
4525
4526SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4527 PyObject *resultobj = 0;
4528 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4529 int *arg2 = (int *) 0 ;
4530 int *arg3 = (int *) 0 ;
4531 void *argp1 = 0 ;
4532 int res1 = 0 ;
4533 int temp2 ;
4534 int res2 = SWIG_TMPOBJ ;
4535 int temp3 ;
4536 int res3 = SWIG_TMPOBJ ;
4537 PyObject *swig_obj[1] ;
4538
4539 arg2 = &temp2;
4540 arg3 = &temp3;
4541 if (!args) SWIG_fail;
4542 swig_obj[0] = args;
4543 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4544 if (!SWIG_IsOK(res1)) {
4545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4546 }
4547 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4548 {
4549 PyThreadState* __tstate = wxPyBeginAllowThreads();
4550 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4551 wxPyEndAllowThreads(__tstate);
4552 if (PyErr_Occurred()) SWIG_fail;
4553 }
4554 resultobj = SWIG_Py_Void();
4555 if (SWIG_IsTmpObj(res2)) {
4556 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4557 } else {
4558 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4559 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4560 }
4561 if (SWIG_IsTmpObj(res3)) {
4562 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4563 } else {
4564 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4565 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4566 }
4567 return resultobj;
4568fail:
4569 return NULL;
4570}
4571
4572
4573SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4574 PyObject *resultobj = 0;
4575 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4576 bool arg2 ;
4577 bool arg3 ;
4578 void *argp1 = 0 ;
4579 int res1 = 0 ;
4580 bool val2 ;
4581 int ecode2 = 0 ;
4582 bool val3 ;
4583 int ecode3 = 0 ;
4584 PyObject * obj0 = 0 ;
4585 PyObject * obj1 = 0 ;
4586 PyObject * obj2 = 0 ;
4587 char * kwnames[] = {
4588 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4589 };
4590
4591 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4592 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4593 if (!SWIG_IsOK(res1)) {
4594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4595 }
4596 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4597 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4598 if (!SWIG_IsOK(ecode2)) {
4599 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4600 }
4601 arg2 = static_cast< bool >(val2);
4602 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4603 if (!SWIG_IsOK(ecode3)) {
4604 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4605 }
4606 arg3 = static_cast< bool >(val3);
4607 {
4608 PyThreadState* __tstate = wxPyBeginAllowThreads();
4609 (arg1)->EnableScrolling(arg2,arg3);
4610 wxPyEndAllowThreads(__tstate);
4611 if (PyErr_Occurred()) SWIG_fail;
4612 }
4613 resultobj = SWIG_Py_Void();
4614 return resultobj;
4615fail:
4616 return NULL;
4617}
4618
4619
4620SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4621 PyObject *resultobj = 0;
4622 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4623 int *arg2 = (int *) 0 ;
4624 int *arg3 = (int *) 0 ;
4625 void *argp1 = 0 ;
4626 int res1 = 0 ;
4627 int temp2 ;
4628 int res2 = SWIG_TMPOBJ ;
4629 int temp3 ;
4630 int res3 = SWIG_TMPOBJ ;
4631 PyObject *swig_obj[1] ;
4632
4633 arg2 = &temp2;
4634 arg3 = &temp3;
4635 if (!args) SWIG_fail;
4636 swig_obj[0] = args;
4637 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4638 if (!SWIG_IsOK(res1)) {
4639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4640 }
4641 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4642 {
4643 PyThreadState* __tstate = wxPyBeginAllowThreads();
4644 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4645 wxPyEndAllowThreads(__tstate);
4646 if (PyErr_Occurred()) SWIG_fail;
4647 }
4648 resultobj = SWIG_Py_Void();
4649 if (SWIG_IsTmpObj(res2)) {
4650 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4651 } else {
4652 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4653 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4654 }
4655 if (SWIG_IsTmpObj(res3)) {
4656 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4657 } else {
4658 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4659 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4660 }
4661 return resultobj;
4662fail:
4663 return NULL;
4664}
4665
4666
4667SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4668 PyObject *resultobj = 0;
4669 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4670 double arg2 ;
4671 double arg3 ;
4672 void *argp1 = 0 ;
4673 int res1 = 0 ;
4674 double val2 ;
4675 int ecode2 = 0 ;
4676 double val3 ;
4677 int ecode3 = 0 ;
4678 PyObject * obj0 = 0 ;
4679 PyObject * obj1 = 0 ;
4680 PyObject * obj2 = 0 ;
4681 char * kwnames[] = {
4682 (char *) "self",(char *) "xs",(char *) "ys", NULL
4683 };
4684
4685 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4686 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4687 if (!SWIG_IsOK(res1)) {
4688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4689 }
4690 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4691 ecode2 = SWIG_AsVal_double(obj1, &val2);
4692 if (!SWIG_IsOK(ecode2)) {
4693 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4694 }
4695 arg2 = static_cast< double >(val2);
4696 ecode3 = SWIG_AsVal_double(obj2, &val3);
4697 if (!SWIG_IsOK(ecode3)) {
4698 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4699 }
4700 arg3 = static_cast< double >(val3);
4701 {
4702 PyThreadState* __tstate = wxPyBeginAllowThreads();
4703 (arg1)->SetScale(arg2,arg3);
4704 wxPyEndAllowThreads(__tstate);
4705 if (PyErr_Occurred()) SWIG_fail;
4706 }
4707 resultobj = SWIG_Py_Void();
4708 return resultobj;
4709fail:
4710 return NULL;
d55e5bfc
RD
4711}
4712
4713
554f62e9
RD
4714SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4715 PyObject *resultobj = 0;
4716 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4717 double result;
4718 void *argp1 = 0 ;
4719 int res1 = 0 ;
4720 PyObject *swig_obj[1] ;
4721
4722 if (!args) SWIG_fail;
4723 swig_obj[0] = args;
4724 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4725 if (!SWIG_IsOK(res1)) {
4726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4727 }
4728 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4729 {
4730 PyThreadState* __tstate = wxPyBeginAllowThreads();
4731 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4732 wxPyEndAllowThreads(__tstate);
4733 if (PyErr_Occurred()) SWIG_fail;
4734 }
4735 resultobj = SWIG_From_double(static_cast< double >(result));
4736 return resultobj;
4737fail:
4738 return NULL;
d55e5bfc
RD
4739}
4740
4741
554f62e9
RD
4742SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4743 PyObject *resultobj = 0;
4744 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4745 double result;
4746 void *argp1 = 0 ;
4747 int res1 = 0 ;
4748 PyObject *swig_obj[1] ;
4749
4750 if (!args) SWIG_fail;
4751 swig_obj[0] = args;
4752 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4753 if (!SWIG_IsOK(res1)) {
4754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4755 }
4756 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4757 {
4758 PyThreadState* __tstate = wxPyBeginAllowThreads();
4759 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4760 wxPyEndAllowThreads(__tstate);
4761 if (PyErr_Occurred()) SWIG_fail;
4762 }
4763 resultobj = SWIG_From_double(static_cast< double >(result));
4764 return resultobj;
4765fail:
4766 return NULL;
d55e5bfc
RD
4767}
4768
4769
554f62e9
RD
4770SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4771 PyObject *resultobj = 0;
4772 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4773 wxPoint *arg2 = 0 ;
4774 wxPoint result;
4775 void *argp1 = 0 ;
4776 int res1 = 0 ;
4777 wxPoint temp2 ;
4778
4779 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4780 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4781 if (!SWIG_IsOK(res1)) {
4782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4783 }
4784 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4785 {
4786 arg2 = &temp2;
4787 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4788 }
4789 {
4790 PyThreadState* __tstate = wxPyBeginAllowThreads();
4791 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4792 wxPyEndAllowThreads(__tstate);
4793 if (PyErr_Occurred()) SWIG_fail;
4794 }
4795 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4796 return resultobj;
4797fail:
4798 return NULL;
4799}
4800
4801
4802SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4803 PyObject *resultobj = 0;
4804 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4805 int arg2 ;
4806 int arg3 ;
4807 int *arg4 = (int *) 0 ;
4808 int *arg5 = (int *) 0 ;
4809 void *argp1 = 0 ;
4810 int res1 = 0 ;
4811 int val2 ;
4812 int ecode2 = 0 ;
4813 int val3 ;
4814 int ecode3 = 0 ;
4815 int temp4 ;
4816 int res4 = SWIG_TMPOBJ ;
4817 int temp5 ;
4818 int res5 = SWIG_TMPOBJ ;
4819
4820 arg4 = &temp4;
4821 arg5 = &temp5;
4822 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4823 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4824 if (!SWIG_IsOK(res1)) {
4825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4826 }
4827 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4828 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4829 if (!SWIG_IsOK(ecode2)) {
4830 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4831 }
4832 arg2 = static_cast< int >(val2);
4833 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4834 if (!SWIG_IsOK(ecode3)) {
4835 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4836 }
4837 arg3 = static_cast< int >(val3);
4838 {
4839 PyThreadState* __tstate = wxPyBeginAllowThreads();
4840 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4841 wxPyEndAllowThreads(__tstate);
4842 if (PyErr_Occurred()) SWIG_fail;
4843 }
4844 resultobj = SWIG_Py_Void();
4845 if (SWIG_IsTmpObj(res4)) {
4846 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4847 } else {
4848 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4849 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4850 }
4851 if (SWIG_IsTmpObj(res5)) {
4852 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4853 } else {
4854 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4855 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4856 }
4857 return resultobj;
4858fail:
4859 return NULL;
d55e5bfc
RD
4860}
4861
4862
554f62e9
RD
4863SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4864 int argc;
4865 PyObject *argv[4];
4866
4867 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4868 --argc;
4869 if (argc == 2) {
4870 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4871 }
4872 if (argc == 3) {
4873 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4874 }
4875
4876fail:
4877 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4878 return NULL;
d55e5bfc
RD
4879}
4880
4881
554f62e9
RD
4882SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4883 PyObject *resultobj = 0;
4884 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4885 wxPoint *arg2 = 0 ;
4886 wxPoint result;
4887 void *argp1 = 0 ;
4888 int res1 = 0 ;
4889 wxPoint temp2 ;
4890
4891 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4892 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4893 if (!SWIG_IsOK(res1)) {
4894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4895 }
4896 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4897 {
4898 arg2 = &temp2;
4899 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4900 }
4901 {
4902 PyThreadState* __tstate = wxPyBeginAllowThreads();
4903 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4904 wxPyEndAllowThreads(__tstate);
4905 if (PyErr_Occurred()) SWIG_fail;
4906 }
4907 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4908 return resultobj;
4909fail:
4910 return NULL;
4911}
4912
4913
4914SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4915 PyObject *resultobj = 0;
4916 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4917 int arg2 ;
4918 int arg3 ;
4919 int *arg4 = (int *) 0 ;
4920 int *arg5 = (int *) 0 ;
4921 void *argp1 = 0 ;
4922 int res1 = 0 ;
4923 int val2 ;
4924 int ecode2 = 0 ;
4925 int val3 ;
4926 int ecode3 = 0 ;
4927 int temp4 ;
4928 int res4 = SWIG_TMPOBJ ;
4929 int temp5 ;
4930 int res5 = SWIG_TMPOBJ ;
4931
4932 arg4 = &temp4;
4933 arg5 = &temp5;
4934 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4935 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4936 if (!SWIG_IsOK(res1)) {
4937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4938 }
4939 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4940 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4941 if (!SWIG_IsOK(ecode2)) {
4942 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4943 }
4944 arg2 = static_cast< int >(val2);
4945 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4946 if (!SWIG_IsOK(ecode3)) {
4947 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4948 }
4949 arg3 = static_cast< int >(val3);
4950 {
4951 PyThreadState* __tstate = wxPyBeginAllowThreads();
4952 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4953 wxPyEndAllowThreads(__tstate);
4954 if (PyErr_Occurred()) SWIG_fail;
4955 }
4956 resultobj = SWIG_Py_Void();
4957 if (SWIG_IsTmpObj(res4)) {
4958 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4959 } else {
4960 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4961 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4962 }
4963 if (SWIG_IsTmpObj(res5)) {
4964 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4965 } else {
4966 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4967 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4968 }
4969 return resultobj;
4970fail:
4971 return NULL;
d55e5bfc
RD
4972}
4973
4974
554f62e9
RD
4975SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4976 int argc;
4977 PyObject *argv[4];
4978
4979 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4980 --argc;
4981 if (argc == 2) {
4982 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4983 }
4984 if (argc == 3) {
4985 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4986 }
4987
4988fail:
4989 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4990 return NULL;
d55e5bfc
RD
4991}
4992
4993
554f62e9
RD
4994SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4995 PyObject *resultobj = 0;
4996 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4997 void *argp1 = 0 ;
4998 int res1 = 0 ;
4999 PyObject *swig_obj[1] ;
5000
5001 if (!args) SWIG_fail;
5002 swig_obj[0] = args;
5003 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5004 if (!SWIG_IsOK(res1)) {
5005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5006 }
5007 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5008 {
5009 PyThreadState* __tstate = wxPyBeginAllowThreads();
5010 (arg1)->AdjustScrollbars();
5011 wxPyEndAllowThreads(__tstate);
5012 if (PyErr_Occurred()) SWIG_fail;
5013 }
5014 resultobj = SWIG_Py_Void();
5015 return resultobj;
5016fail:
5017 return NULL;
5018}
5019
5020
5021SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5022 PyObject *resultobj = 0;
5023 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5024 wxScrollWinEvent *arg2 = 0 ;
5025 int result;
5026 void *argp1 = 0 ;
5027 int res1 = 0 ;
5028 void *argp2 = 0 ;
5029 int res2 = 0 ;
5030 PyObject * obj0 = 0 ;
5031 PyObject * obj1 = 0 ;
5032 char * kwnames[] = {
5033 (char *) "self",(char *) "event", NULL
5034 };
5035
5036 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5037 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5038 if (!SWIG_IsOK(res1)) {
5039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5040 }
5041 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5042 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5043 if (!SWIG_IsOK(res2)) {
5044 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5045 }
5046 if (!argp2) {
5047 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5048 }
5049 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5050 {
5051 PyThreadState* __tstate = wxPyBeginAllowThreads();
5052 result = (int)(arg1)->CalcScrollInc(*arg2);
5053 wxPyEndAllowThreads(__tstate);
5054 if (PyErr_Occurred()) SWIG_fail;
5055 }
5056 resultobj = SWIG_From_int(static_cast< int >(result));
5057 return resultobj;
5058fail:
5059 return NULL;
5060}
5061
5062
5063SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5064 PyObject *resultobj = 0;
5065 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5066 wxWindow *arg2 = (wxWindow *) 0 ;
5067 void *argp1 = 0 ;
5068 int res1 = 0 ;
5069 void *argp2 = 0 ;
5070 int res2 = 0 ;
5071 PyObject * obj0 = 0 ;
5072 PyObject * obj1 = 0 ;
5073 char * kwnames[] = {
5074 (char *) "self",(char *) "target", NULL
5075 };
5076
5077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5079 if (!SWIG_IsOK(res1)) {
5080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5081 }
5082 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5083 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5084 if (!SWIG_IsOK(res2)) {
5085 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5086 }
5087 arg2 = reinterpret_cast< wxWindow * >(argp2);
5088 {
5089 PyThreadState* __tstate = wxPyBeginAllowThreads();
5090 (arg1)->SetTargetWindow(arg2);
5091 wxPyEndAllowThreads(__tstate);
5092 if (PyErr_Occurred()) SWIG_fail;
5093 }
5094 resultobj = SWIG_Py_Void();
5095 return resultobj;
5096fail:
5097 return NULL;
d55e5bfc
RD
5098}
5099
5100
554f62e9
RD
5101SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5102 PyObject *resultobj = 0;
5103 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5104 wxWindow *result = 0 ;
5105 void *argp1 = 0 ;
5106 int res1 = 0 ;
5107 PyObject *swig_obj[1] ;
5108
5109 if (!args) SWIG_fail;
5110 swig_obj[0] = args;
5111 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5112 if (!SWIG_IsOK(res1)) {
5113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5114 }
5115 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5116 {
5117 PyThreadState* __tstate = wxPyBeginAllowThreads();
5118 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5119 wxPyEndAllowThreads(__tstate);
5120 if (PyErr_Occurred()) SWIG_fail;
5121 }
5122 {
5123 resultobj = wxPyMake_wxObject(result, 0);
5124 }
5125 return resultobj;
5126fail:
5127 return NULL;
5128}
5129
5130
5131SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5132 PyObject *resultobj = 0;
5133 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5134 wxRect *arg2 = 0 ;
5135 void *argp1 = 0 ;
5136 int res1 = 0 ;
5137 wxRect temp2 ;
5138 PyObject * obj0 = 0 ;
5139 PyObject * obj1 = 0 ;
5140 char * kwnames[] = {
5141 (char *) "self",(char *) "rect", NULL
5142 };
5143
5144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5146 if (!SWIG_IsOK(res1)) {
5147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5148 }
5149 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5150 {
5151 arg2 = &temp2;
5152 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5153 }
5154 {
5155 PyThreadState* __tstate = wxPyBeginAllowThreads();
5156 (arg1)->SetTargetRect((wxRect const &)*arg2);
5157 wxPyEndAllowThreads(__tstate);
5158 if (PyErr_Occurred()) SWIG_fail;
5159 }
5160 resultobj = SWIG_Py_Void();
5161 return resultobj;
5162fail:
5163 return NULL;
d55e5bfc
RD
5164}
5165
5166
554f62e9
RD
5167SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5168 PyObject *resultobj = 0;
5169 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5170 wxRect result;
5171 void *argp1 = 0 ;
5172 int res1 = 0 ;
5173 PyObject *swig_obj[1] ;
5174
5175 if (!args) SWIG_fail;
5176 swig_obj[0] = args;
5177 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5178 if (!SWIG_IsOK(res1)) {
5179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5180 }
5181 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5182 {
5183 PyThreadState* __tstate = wxPyBeginAllowThreads();
5184 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5185 wxPyEndAllowThreads(__tstate);
5186 if (PyErr_Occurred()) SWIG_fail;
5187 }
5188 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5189 return resultobj;
5190fail:
5191 return NULL;
5192}
5193
5194
5195SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5196 PyObject *resultobj = 0;
5197 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5198 wxDC *arg2 = 0 ;
5199 void *argp1 = 0 ;
5200 int res1 = 0 ;
5201 void *argp2 = 0 ;
5202 int res2 = 0 ;
5203 PyObject * obj0 = 0 ;
5204 PyObject * obj1 = 0 ;
5205 char * kwnames[] = {
5206 (char *) "self",(char *) "dc", NULL
5207 };
5208
5209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5211 if (!SWIG_IsOK(res1)) {
5212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5213 }
5214 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5215 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5216 if (!SWIG_IsOK(res2)) {
5217 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5218 }
5219 if (!argp2) {
5220 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5221 }
5222 arg2 = reinterpret_cast< wxDC * >(argp2);
5223 {
5224 PyThreadState* __tstate = wxPyBeginAllowThreads();
5225 (arg1)->DoPrepareDC(*arg2);
5226 wxPyEndAllowThreads(__tstate);
5227 if (PyErr_Occurred()) SWIG_fail;
5228 }
5229 resultobj = SWIG_Py_Void();
5230 return resultobj;
5231fail:
5232 return NULL;
5233}
5234
5235
5236SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5237 PyObject *resultobj = 0;
5238 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5239 SwigValueWrapper<wxVisualAttributes > result;
5240 int val1 ;
5241 int ecode1 = 0 ;
5242 PyObject * obj0 = 0 ;
5243 char * kwnames[] = {
5244 (char *) "variant", NULL
5245 };
5246
5247 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5248 if (obj0) {
5249 ecode1 = SWIG_AsVal_int(obj0, &val1);
5250 if (!SWIG_IsOK(ecode1)) {
5251 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5252 }
5253 arg1 = static_cast< wxWindowVariant >(val1);
5254 }
5255 {
5256 if (!wxPyCheckForApp()) SWIG_fail;
5257 PyThreadState* __tstate = wxPyBeginAllowThreads();
5258 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5259 wxPyEndAllowThreads(__tstate);
5260 if (PyErr_Occurred()) SWIG_fail;
5261 }
5262 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5263 return resultobj;
5264fail:
5265 return NULL;
d55e5bfc
RD
5266}
5267
5268
554f62e9
RD
5269SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5270 PyObject *obj;
5271 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5272 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5273 return SWIG_Py_Void();
d55e5bfc
RD
5274}
5275
554f62e9
RD
5276SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5277 return SWIG_Python_InitShadowInstance(args);
5278}
d55e5bfc 5279
554f62e9
RD
5280SWIGINTERN int FrameNameStr_set(PyObject *) {
5281 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5282 return 1;
d55e5bfc
RD
5283}
5284
5285
554f62e9
RD
5286SWIGINTERN PyObject *FrameNameStr_get(void) {
5287 PyObject *pyobj = 0;
5288
5289 {
5290#if wxUSE_UNICODE
5291 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5292#else
5293 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5294#endif
5295 }
5296 return pyobj;
d55e5bfc
RD
5297}
5298
5299
554f62e9
RD
5300SWIGINTERN int DialogNameStr_set(PyObject *) {
5301 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5302 return 1;
d55e5bfc
RD
5303}
5304
5305
554f62e9
RD
5306SWIGINTERN PyObject *DialogNameStr_get(void) {
5307 PyObject *pyobj = 0;
5308
5309 {
5310#if wxUSE_UNICODE
5311 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5312#else
5313 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5314#endif
5315 }
5316 return pyobj;
d55e5bfc
RD
5317}
5318
5319
554f62e9
RD
5320SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5321 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5322 return 1;
d55e5bfc
RD
5323}
5324
5325
554f62e9
RD
5326SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5327 PyObject *pyobj = 0;
5328
5329 {
5330#if wxUSE_UNICODE
5331 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5332#else
5333 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5334#endif
5335 }
5336 return pyobj;
d55e5bfc
RD
5337}
5338
5339
554f62e9
RD
5340SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5341 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5342 return 1;
d55e5bfc
RD
5343}
5344
5345
554f62e9
RD
5346SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5347 PyObject *pyobj = 0;
5348
5349 {
5350#if wxUSE_UNICODE
5351 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5352#else
5353 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5354#endif
5355 }
5356 return pyobj;
5357}
5358
5359
5360SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5361 PyObject *resultobj = 0;
5362 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5363 bool arg2 = (bool) true ;
5364 void *argp1 = 0 ;
5365 int res1 = 0 ;
5366 bool val2 ;
5367 int ecode2 = 0 ;
5368 PyObject * obj0 = 0 ;
5369 PyObject * obj1 = 0 ;
5370 char * kwnames[] = {
5371 (char *) "self",(char *) "maximize", NULL
5372 };
5373
5374 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5375 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5376 if (!SWIG_IsOK(res1)) {
5377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5378 }
5379 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5380 if (obj1) {
5381 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5382 if (!SWIG_IsOK(ecode2)) {
5383 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5384 }
5385 arg2 = static_cast< bool >(val2);
5386 }
5387 {
5388 PyThreadState* __tstate = wxPyBeginAllowThreads();
5389 (arg1)->Maximize(arg2);
5390 wxPyEndAllowThreads(__tstate);
5391 if (PyErr_Occurred()) SWIG_fail;
5392 }
5393 resultobj = SWIG_Py_Void();
5394 return resultobj;
5395fail:
5396 return NULL;
d55e5bfc
RD
5397}
5398
5399
554f62e9
RD
5400SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5401 PyObject *resultobj = 0;
5402 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5403 void *argp1 = 0 ;
5404 int res1 = 0 ;
5405 PyObject *swig_obj[1] ;
5406
5407 if (!args) SWIG_fail;
5408 swig_obj[0] = args;
5409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5410 if (!SWIG_IsOK(res1)) {
5411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5412 }
5413 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5414 {
5415 PyThreadState* __tstate = wxPyBeginAllowThreads();
5416 (arg1)->Restore();
5417 wxPyEndAllowThreads(__tstate);
5418 if (PyErr_Occurred()) SWIG_fail;
5419 }
5420 resultobj = SWIG_Py_Void();
5421 return resultobj;
5422fail:
5423 return NULL;
5424}
5425
5426
5427SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5428 PyObject *resultobj = 0;
5429 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5430 bool arg2 = (bool) true ;
5431 void *argp1 = 0 ;
5432 int res1 = 0 ;
5433 bool val2 ;
5434 int ecode2 = 0 ;
5435 PyObject * obj0 = 0 ;
5436 PyObject * obj1 = 0 ;
5437 char * kwnames[] = {
5438 (char *) "self",(char *) "iconize", NULL
5439 };
5440
5441 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5442 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5443 if (!SWIG_IsOK(res1)) {
5444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5445 }
5446 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5447 if (obj1) {
5448 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5449 if (!SWIG_IsOK(ecode2)) {
5450 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5451 }
5452 arg2 = static_cast< bool >(val2);
5453 }
5454 {
5455 PyThreadState* __tstate = wxPyBeginAllowThreads();
5456 (arg1)->Iconize(arg2);
5457 wxPyEndAllowThreads(__tstate);
5458 if (PyErr_Occurred()) SWIG_fail;
5459 }
5460 resultobj = SWIG_Py_Void();
5461 return resultobj;
5462fail:
5463 return NULL;
d55e5bfc
RD
5464}
5465
5466
554f62e9
RD
5467SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5468 PyObject *resultobj = 0;
5469 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5470 bool result;
5471 void *argp1 = 0 ;
5472 int res1 = 0 ;
5473 PyObject *swig_obj[1] ;
5474
5475 if (!args) SWIG_fail;
5476 swig_obj[0] = args;
5477 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5478 if (!SWIG_IsOK(res1)) {
5479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5480 }
5481 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5482 {
5483 PyThreadState* __tstate = wxPyBeginAllowThreads();
5484 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5485 wxPyEndAllowThreads(__tstate);
5486 if (PyErr_Occurred()) SWIG_fail;
5487 }
5488 {
5489 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5490 }
5491 return resultobj;
5492fail:
5493 return NULL;
d55e5bfc
RD
5494}
5495
5496
f460c29d
RD
5497SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5498 PyObject *resultobj = 0;
5499 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5500 bool result;
5501 void *argp1 = 0 ;
5502 int res1 = 0 ;
5503 PyObject *swig_obj[1] ;
5504
5505 if (!args) SWIG_fail;
5506 swig_obj[0] = args;
5507 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5508 if (!SWIG_IsOK(res1)) {
5509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5510 }
5511 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5512 {
5513 PyThreadState* __tstate = wxPyBeginAllowThreads();
5514 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5515 wxPyEndAllowThreads(__tstate);
5516 if (PyErr_Occurred()) SWIG_fail;
5517 }
5518 {
5519 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5520 }
5521 return resultobj;
5522fail:
5523 return NULL;
5524}
5525
5526
554f62e9
RD
5527SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5528 PyObject *resultobj = 0;
5529 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5530 bool result;
5531 void *argp1 = 0 ;
5532 int res1 = 0 ;
5533 PyObject *swig_obj[1] ;
5534
5535 if (!args) SWIG_fail;
5536 swig_obj[0] = args;
5537 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5538 if (!SWIG_IsOK(res1)) {
5539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5540 }
5541 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5542 {
5543 PyThreadState* __tstate = wxPyBeginAllowThreads();
5544 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5545 wxPyEndAllowThreads(__tstate);
5546 if (PyErr_Occurred()) SWIG_fail;
5547 }
5548 {
5549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5550 }
5551 return resultobj;
5552fail:
5553 return NULL;
d55e5bfc
RD
5554}
5555
5556
554f62e9
RD
5557SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5558 PyObject *resultobj = 0;
5559 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5560 wxIcon result;
5561 void *argp1 = 0 ;
5562 int res1 = 0 ;
5563 PyObject *swig_obj[1] ;
5564
5565 if (!args) SWIG_fail;
5566 swig_obj[0] = args;
5567 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5568 if (!SWIG_IsOK(res1)) {
5569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5570 }
5571 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5572 {
5573 PyThreadState* __tstate = wxPyBeginAllowThreads();
5574 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5575 wxPyEndAllowThreads(__tstate);
5576 if (PyErr_Occurred()) SWIG_fail;
5577 }
5578 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5579 return resultobj;
5580fail:
5581 return NULL;
5582}
5583
5584
5585SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5586 PyObject *resultobj = 0;
5587 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5588 wxIcon *arg2 = 0 ;
5589 void *argp1 = 0 ;
5590 int res1 = 0 ;
5591 void *argp2 = 0 ;
5592 int res2 = 0 ;
5593 PyObject * obj0 = 0 ;
5594 PyObject * obj1 = 0 ;
5595 char * kwnames[] = {
5596 (char *) "self",(char *) "icon", NULL
5597 };
5598
5599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5601 if (!SWIG_IsOK(res1)) {
5602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5603 }
5604 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5605 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5606 if (!SWIG_IsOK(res2)) {
5607 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5608 }
5609 if (!argp2) {
5610 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5611 }
5612 arg2 = reinterpret_cast< wxIcon * >(argp2);
5613 {
5614 PyThreadState* __tstate = wxPyBeginAllowThreads();
5615 (arg1)->SetIcon((wxIcon const &)*arg2);
5616 wxPyEndAllowThreads(__tstate);
5617 if (PyErr_Occurred()) SWIG_fail;
5618 }
5619 resultobj = SWIG_Py_Void();
5620 return resultobj;
5621fail:
5622 return NULL;
5623}
5624
5625
5626SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5627 PyObject *resultobj = 0;
5628 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5629 wxIconBundle *arg2 = 0 ;
5630 void *argp1 = 0 ;
5631 int res1 = 0 ;
5632 void *argp2 = 0 ;
5633 int res2 = 0 ;
5634 PyObject * obj0 = 0 ;
5635 PyObject * obj1 = 0 ;
5636 char * kwnames[] = {
5637 (char *) "self",(char *) "icons", NULL
5638 };
5639
5640 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5641 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5642 if (!SWIG_IsOK(res1)) {
5643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5644 }
5645 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5646 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5647 if (!SWIG_IsOK(res2)) {
5648 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5649 }
5650 if (!argp2) {
5651 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5652 }
5653 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5654 {
5655 PyThreadState* __tstate = wxPyBeginAllowThreads();
5656 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5657 wxPyEndAllowThreads(__tstate);
5658 if (PyErr_Occurred()) SWIG_fail;
5659 }
5660 resultobj = SWIG_Py_Void();
5661 return resultobj;
5662fail:
5663 return NULL;
5664}
5665
5666
5667SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5668 PyObject *resultobj = 0;
5669 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5670 bool arg2 ;
5671 long arg3 = (long) wxFULLSCREEN_ALL ;
5672 bool result;
5673 void *argp1 = 0 ;
5674 int res1 = 0 ;
5675 bool val2 ;
5676 int ecode2 = 0 ;
5677 long val3 ;
5678 int ecode3 = 0 ;
5679 PyObject * obj0 = 0 ;
5680 PyObject * obj1 = 0 ;
5681 PyObject * obj2 = 0 ;
5682 char * kwnames[] = {
5683 (char *) "self",(char *) "show",(char *) "style", NULL
5684 };
5685
5686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5688 if (!SWIG_IsOK(res1)) {
5689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5690 }
5691 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5692 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5693 if (!SWIG_IsOK(ecode2)) {
5694 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5695 }
5696 arg2 = static_cast< bool >(val2);
5697 if (obj2) {
5698 ecode3 = SWIG_AsVal_long(obj2, &val3);
5699 if (!SWIG_IsOK(ecode3)) {
5700 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5701 }
5702 arg3 = static_cast< long >(val3);
5703 }
5704 {
5705 PyThreadState* __tstate = wxPyBeginAllowThreads();
5706 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5707 wxPyEndAllowThreads(__tstate);
5708 if (PyErr_Occurred()) SWIG_fail;
5709 }
5710 {
5711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5712 }
5713 return resultobj;
5714fail:
5715 return NULL;
d55e5bfc
RD
5716}
5717
5718
554f62e9
RD
5719SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5720 PyObject *resultobj = 0;
5721 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5722 bool result;
5723 void *argp1 = 0 ;
5724 int res1 = 0 ;
5725 PyObject *swig_obj[1] ;
5726
5727 if (!args) SWIG_fail;
5728 swig_obj[0] = args;
5729 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5730 if (!SWIG_IsOK(res1)) {
5731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5732 }
5733 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5734 {
5735 PyThreadState* __tstate = wxPyBeginAllowThreads();
5736 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5737 wxPyEndAllowThreads(__tstate);
5738 if (PyErr_Occurred()) SWIG_fail;
5739 }
5740 {
5741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5742 }
5743 return resultobj;
5744fail:
5745 return NULL;
5746}
5747
5748
5749SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5750 PyObject *resultobj = 0;
5751 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5752 wxString *arg2 = 0 ;
5753 void *argp1 = 0 ;
5754 int res1 = 0 ;
5755 bool temp2 = false ;
5756 PyObject * obj0 = 0 ;
5757 PyObject * obj1 = 0 ;
5758 char * kwnames[] = {
5759 (char *) "self",(char *) "title", NULL
5760 };
5761
5762 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5763 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5764 if (!SWIG_IsOK(res1)) {
5765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5766 }
5767 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5768 {
5769 arg2 = wxString_in_helper(obj1);
5770 if (arg2 == NULL) SWIG_fail;
5771 temp2 = true;
5772 }
5773 {
5774 PyThreadState* __tstate = wxPyBeginAllowThreads();
5775 (arg1)->SetTitle((wxString const &)*arg2);
5776 wxPyEndAllowThreads(__tstate);
5777 if (PyErr_Occurred()) SWIG_fail;
5778 }
5779 resultobj = SWIG_Py_Void();
5780 {
5781 if (temp2)
5782 delete arg2;
5783 }
5784 return resultobj;
5785fail:
5786 {
5787 if (temp2)
5788 delete arg2;
5789 }
5790 return NULL;
d55e5bfc
RD
5791}
5792
5793
554f62e9
RD
5794SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5795 PyObject *resultobj = 0;
5796 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5797 wxString result;
5798 void *argp1 = 0 ;
5799 int res1 = 0 ;
5800 PyObject *swig_obj[1] ;
5801
5802 if (!args) SWIG_fail;
5803 swig_obj[0] = args;
5804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5805 if (!SWIG_IsOK(res1)) {
5806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5807 }
5808 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5809 {
5810 PyThreadState* __tstate = wxPyBeginAllowThreads();
5811 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5812 wxPyEndAllowThreads(__tstate);
5813 if (PyErr_Occurred()) SWIG_fail;
5814 }
5815 {
5816#if wxUSE_UNICODE
5817 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5818#else
5819 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5820#endif
5821 }
5822 return resultobj;
5823fail:
5824 return NULL;
5825}
5826
5827
70d7cb34
RD
5828SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5829 PyObject *resultobj = 0;
5830 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5831 bool arg2 ;
5832 bool result;
5833 void *argp1 = 0 ;
5834 int res1 = 0 ;
5835 bool val2 ;
5836 int ecode2 = 0 ;
5837 PyObject * obj0 = 0 ;
5838 PyObject * obj1 = 0 ;
5839 char * kwnames[] = {
5840 (char *) "self",(char *) "enable", NULL
5841 };
5842
5843 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
5844 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5845 if (!SWIG_IsOK(res1)) {
5846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5847 }
5848 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5849 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5850 if (!SWIG_IsOK(ecode2)) {
5851 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5852 }
5853 arg2 = static_cast< bool >(val2);
5854 {
5855 PyThreadState* __tstate = wxPyBeginAllowThreads();
5856 result = (bool)(arg1)->EnableCloseButton(arg2);
5857 wxPyEndAllowThreads(__tstate);
5858 if (PyErr_Occurred()) SWIG_fail;
5859 }
5860 {
5861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5862 }
5863 return resultobj;
5864fail:
5865 return NULL;
5866}
5867
5868
554f62e9
RD
5869SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5870 PyObject *resultobj = 0;
5871 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5872 wxRegion *arg2 = 0 ;
5873 bool result;
5874 void *argp1 = 0 ;
5875 int res1 = 0 ;
5876 void *argp2 = 0 ;
5877 int res2 = 0 ;
5878 PyObject * obj0 = 0 ;
5879 PyObject * obj1 = 0 ;
5880 char * kwnames[] = {
5881 (char *) "self",(char *) "region", NULL
5882 };
5883
5884 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5885 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5886 if (!SWIG_IsOK(res1)) {
5887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5888 }
5889 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5890 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5891 if (!SWIG_IsOK(res2)) {
5892 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5893 }
5894 if (!argp2) {
5895 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5896 }
5897 arg2 = reinterpret_cast< wxRegion * >(argp2);
5898 {
5899 PyThreadState* __tstate = wxPyBeginAllowThreads();
5900 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5901 wxPyEndAllowThreads(__tstate);
5902 if (PyErr_Occurred()) SWIG_fail;
5903 }
5904 {
5905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5906 }
5907 return resultobj;
5908fail:
5909 return NULL;
5910}
5911
5912
5913SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5914 PyObject *resultobj = 0;
5915 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5916 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5917 void *argp1 = 0 ;
5918 int res1 = 0 ;
5919 int val2 ;
5920 int ecode2 = 0 ;
5921 PyObject * obj0 = 0 ;
5922 PyObject * obj1 = 0 ;
5923 char * kwnames[] = {
5924 (char *) "self",(char *) "flags", NULL
5925 };
5926
5927 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5928 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5929 if (!SWIG_IsOK(res1)) {
5930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5931 }
5932 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5933 if (obj1) {
5934 ecode2 = SWIG_AsVal_int(obj1, &val2);
5935 if (!SWIG_IsOK(ecode2)) {
5936 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5937 }
5938 arg2 = static_cast< int >(val2);
5939 }
5940 {
5941 PyThreadState* __tstate = wxPyBeginAllowThreads();
5942 (arg1)->RequestUserAttention(arg2);
5943 wxPyEndAllowThreads(__tstate);
5944 if (PyErr_Occurred()) SWIG_fail;
5945 }
5946 resultobj = SWIG_Py_Void();
5947 return resultobj;
5948fail:
5949 return NULL;
d55e5bfc
RD
5950}
5951
5952
554f62e9
RD
5953SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5954 PyObject *resultobj = 0;
5955 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5956 bool result;
5957 void *argp1 = 0 ;
5958 int res1 = 0 ;
5959 PyObject *swig_obj[1] ;
5960
5961 if (!args) SWIG_fail;
5962 swig_obj[0] = args;
5963 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5964 if (!SWIG_IsOK(res1)) {
5965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5966 }
5967 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5968 {
5969 PyThreadState* __tstate = wxPyBeginAllowThreads();
5970 result = (bool)(arg1)->IsActive();
5971 wxPyEndAllowThreads(__tstate);
5972 if (PyErr_Occurred()) SWIG_fail;
5973 }
5974 {
5975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5976 }
5977 return resultobj;
5978fail:
5979 return NULL;
5980}
5981
5982
5983SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5984 PyObject *resultobj = 0;
5985 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5986 bool arg2 ;
5987 void *argp1 = 0 ;
5988 int res1 = 0 ;
5989 bool val2 ;
5990 int ecode2 = 0 ;
5991 PyObject * obj0 = 0 ;
5992 PyObject * obj1 = 0 ;
5993 char * kwnames[] = {
5994 (char *) "self",(char *) "on", NULL
5995 };
5996
5997 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5998 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5999 if (!SWIG_IsOK(res1)) {
6000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6001 }
6002 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6003 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6004 if (!SWIG_IsOK(ecode2)) {
6005 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
6006 }
6007 arg2 = static_cast< bool >(val2);
6008 {
6009 PyThreadState* __tstate = wxPyBeginAllowThreads();
6010 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
6011 wxPyEndAllowThreads(__tstate);
6012 if (PyErr_Occurred()) SWIG_fail;
6013 }
6014 resultobj = SWIG_Py_Void();
6015 return resultobj;
6016fail:
6017 return NULL;
d55e5bfc
RD
6018}
6019
6020
554f62e9
RD
6021SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6022 PyObject *resultobj = 0;
6023 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6024 bool result;
6025 void *argp1 = 0 ;
6026 int res1 = 0 ;
6027 PyObject *swig_obj[1] ;
6028
6029 if (!args) SWIG_fail;
6030 swig_obj[0] = args;
6031 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6032 if (!SWIG_IsOK(res1)) {
6033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6034 }
6035 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6036 {
6037 PyThreadState* __tstate = wxPyBeginAllowThreads();
6038 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
6039 wxPyEndAllowThreads(__tstate);
6040 if (PyErr_Occurred()) SWIG_fail;
6041 }
6042 {
6043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6044 }
6045 return resultobj;
6046fail:
6047 return NULL;
6048}
6049
6050
6051SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6052 PyObject *resultobj = 0;
6053 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6054 int arg2 = (int) wxBOTH ;
6055 void *argp1 = 0 ;
6056 int res1 = 0 ;
6057 int val2 ;
6058 int ecode2 = 0 ;
6059 PyObject * obj0 = 0 ;
6060 PyObject * obj1 = 0 ;
6061 char * kwnames[] = {
6062 (char *) "self",(char *) "dir", NULL
6063 };
6064
6065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6067 if (!SWIG_IsOK(res1)) {
6068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6069 }
6070 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6071 if (obj1) {
6072 ecode2 = SWIG_AsVal_int(obj1, &val2);
6073 if (!SWIG_IsOK(ecode2)) {
6074 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6075 }
6076 arg2 = static_cast< int >(val2);
6077 }
6078 {
6079 PyThreadState* __tstate = wxPyBeginAllowThreads();
6080 (arg1)->CenterOnScreen(arg2);
6081 wxPyEndAllowThreads(__tstate);
6082 if (PyErr_Occurred()) SWIG_fail;
6083 }
6084 resultobj = SWIG_Py_Void();
6085 return resultobj;
6086fail:
6087 return NULL;
6088}
6089
6090
1eeb270e
RD
6091SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6092 PyObject *resultobj = 0;
6093 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6094 wxWindow *result = 0 ;
6095 void *argp1 = 0 ;
6096 int res1 = 0 ;
6097 PyObject *swig_obj[1] ;
6098
6099 if (!args) SWIG_fail;
6100 swig_obj[0] = args;
6101 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6102 if (!SWIG_IsOK(res1)) {
6103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6104 }
6105 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6106 {
6107 PyThreadState* __tstate = wxPyBeginAllowThreads();
6108 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6109 wxPyEndAllowThreads(__tstate);
6110 if (PyErr_Occurred()) SWIG_fail;
6111 }
6112 {
6113 resultobj = wxPyMake_wxObject(result, 0);
6114 }
6115 return resultobj;
6116fail:
6117 return NULL;
6118}
6119
6120
6121SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6122 PyObject *resultobj = 0;
6123 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6124 wxWindow *arg2 = (wxWindow *) 0 ;
6125 wxWindow *result = 0 ;
6126 void *argp1 = 0 ;
6127 int res1 = 0 ;
6128 void *argp2 = 0 ;
6129 int res2 = 0 ;
6130 PyObject * obj0 = 0 ;
6131 PyObject * obj1 = 0 ;
6132 char * kwnames[] = {
6133 (char *) "self",(char *) "child", NULL
6134 };
6135
6136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6138 if (!SWIG_IsOK(res1)) {
6139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6140 }
6141 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6142 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6143 if (!SWIG_IsOK(res2)) {
6144 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6145 }
6146 arg2 = reinterpret_cast< wxWindow * >(argp2);
6147 {
6148 PyThreadState* __tstate = wxPyBeginAllowThreads();
6149 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6150 wxPyEndAllowThreads(__tstate);
6151 if (PyErr_Occurred()) SWIG_fail;
6152 }
6153 {
6154 resultobj = wxPyMake_wxObject(result, 0);
6155 }
6156 return resultobj;
6157fail:
6158 return NULL;
6159}
6160
6161
6162SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6163 PyObject *resultobj = 0;
6164 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6165 wxWindow *arg2 = (wxWindow *) 0 ;
6166 void *argp1 = 0 ;
6167 int res1 = 0 ;
6168 void *argp2 = 0 ;
6169 int res2 = 0 ;
6170 PyObject * obj0 = 0 ;
6171 PyObject * obj1 = 0 ;
6172 char * kwnames[] = {
6173 (char *) "self",(char *) "win", NULL
6174 };
6175
6176 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6177 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6178 if (!SWIG_IsOK(res1)) {
6179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6180 }
6181 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6182 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6183 if (!SWIG_IsOK(res2)) {
6184 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6185 }
6186 arg2 = reinterpret_cast< wxWindow * >(argp2);
6187 {
6188 PyThreadState* __tstate = wxPyBeginAllowThreads();
6189 (arg1)->SetTmpDefaultItem(arg2);
6190 wxPyEndAllowThreads(__tstate);
6191 if (PyErr_Occurred()) SWIG_fail;
6192 }
6193 resultobj = SWIG_Py_Void();
6194 return resultobj;
6195fail:
6196 return NULL;
6197}
6198
6199
6200SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6201 PyObject *resultobj = 0;
6202 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6203 wxWindow *result = 0 ;
6204 void *argp1 = 0 ;
6205 int res1 = 0 ;
6206 PyObject *swig_obj[1] ;
6207
6208 if (!args) SWIG_fail;
6209 swig_obj[0] = args;
6210 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6211 if (!SWIG_IsOK(res1)) {
6212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6213 }
6214 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6215 {
6216 PyThreadState* __tstate = wxPyBeginAllowThreads();
6217 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6218 wxPyEndAllowThreads(__tstate);
6219 if (PyErr_Occurred()) SWIG_fail;
6220 }
6221 {
6222 resultobj = wxPyMake_wxObject(result, 0);
6223 }
6224 return resultobj;
6225fail:
6226 return NULL;
6227}
6228
6229
554f62e9
RD
6230SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6231 PyObject *obj;
6232 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6233 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6234 return SWIG_Py_Void();
6235}
6236
6237SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6238 PyObject *resultobj = 0;
6239 wxWindow *arg1 = (wxWindow *) 0 ;
6240 int arg2 = (int) (int)-1 ;
6241 wxString const &arg3_defvalue = wxPyEmptyString ;
6242 wxString *arg3 = (wxString *) &arg3_defvalue ;
6243 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6244 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6245 wxSize const &arg5_defvalue = wxDefaultSize ;
6246 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6247 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6248 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6249 wxString *arg7 = (wxString *) &arg7_defvalue ;
6250 wxFrame *result = 0 ;
6251 void *argp1 = 0 ;
6252 int res1 = 0 ;
6253 int val2 ;
6254 int ecode2 = 0 ;
6255 bool temp3 = false ;
6256 wxPoint temp4 ;
6257 wxSize temp5 ;
6258 long val6 ;
6259 int ecode6 = 0 ;
6260 bool temp7 = false ;
6261 PyObject * obj0 = 0 ;
6262 PyObject * obj1 = 0 ;
6263 PyObject * obj2 = 0 ;
6264 PyObject * obj3 = 0 ;
6265 PyObject * obj4 = 0 ;
6266 PyObject * obj5 = 0 ;
6267 PyObject * obj6 = 0 ;
6268 char * kwnames[] = {
6269 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6270 };
6271
6272 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6273 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6274 if (!SWIG_IsOK(res1)) {
6275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6276 }
6277 arg1 = reinterpret_cast< wxWindow * >(argp1);
6278 if (obj1) {
6279 ecode2 = SWIG_AsVal_int(obj1, &val2);
6280 if (!SWIG_IsOK(ecode2)) {
6281 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6282 }
6283 arg2 = static_cast< int >(val2);
6284 }
6285 if (obj2) {
093d3ff1 6286 {
554f62e9
RD
6287 arg3 = wxString_in_helper(obj2);
6288 if (arg3 == NULL) SWIG_fail;
6289 temp3 = true;
f5b96ee1 6290 }
554f62e9
RD
6291 }
6292 if (obj3) {
f5b96ee1 6293 {
554f62e9
RD
6294 arg4 = &temp4;
6295 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
f20a2e1f 6296 }
554f62e9
RD
6297 }
6298 if (obj4) {
f20a2e1f 6299 {
554f62e9
RD
6300 arg5 = &temp5;
6301 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
f20a2e1f 6302 }
554f62e9
RD
6303 }
6304 if (obj5) {
6305 ecode6 = SWIG_AsVal_long(obj5, &val6);
6306 if (!SWIG_IsOK(ecode6)) {
6307 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6308 }
6309 arg6 = static_cast< long >(val6);
6310 }
6311 if (obj6) {
f20a2e1f 6312 {
554f62e9
RD
6313 arg7 = wxString_in_helper(obj6);
6314 if (arg7 == NULL) SWIG_fail;
6315 temp7 = true;
f20a2e1f 6316 }
554f62e9
RD
6317 }
6318 {
6319 if (!wxPyCheckForApp()) SWIG_fail;
6320 PyThreadState* __tstate = wxPyBeginAllowThreads();
6321 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6322 wxPyEndAllowThreads(__tstate);
6323 if (PyErr_Occurred()) SWIG_fail;
6324 }
6325 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6326 {
6327 if (temp3)
6328 delete arg3;
6329 }
6330 {
6331 if (temp7)
6332 delete arg7;
6333 }
6334 return resultobj;
6335fail:
6336 {
6337 if (temp3)
6338 delete arg3;
6339 }
6340 {
6341 if (temp7)
6342 delete arg7;
6343 }
6344 return NULL;
d55e5bfc
RD
6345}
6346
6347
554f62e9
RD
6348SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6349 PyObject *resultobj = 0;
6350 wxFrame *result = 0 ;
6351
6352 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6353 {
6354 if (!wxPyCheckForApp()) SWIG_fail;
6355 PyThreadState* __tstate = wxPyBeginAllowThreads();
6356 result = (wxFrame *)new wxFrame();
6357 wxPyEndAllowThreads(__tstate);
6358 if (PyErr_Occurred()) SWIG_fail;
6359 }
6360 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6361 return resultobj;
6362fail:
6363 return NULL;
6364}
6365
6366
6367SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6368 PyObject *resultobj = 0;
6369 wxFrame *arg1 = (wxFrame *) 0 ;
6370 wxWindow *arg2 = (wxWindow *) 0 ;
6371 int arg3 = (int) (int)-1 ;
6372 wxString const &arg4_defvalue = wxPyEmptyString ;
6373 wxString *arg4 = (wxString *) &arg4_defvalue ;
6374 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6375 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6376 wxSize const &arg6_defvalue = wxDefaultSize ;
6377 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6378 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6379 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6380 wxString *arg8 = (wxString *) &arg8_defvalue ;
6381 bool result;
6382 void *argp1 = 0 ;
6383 int res1 = 0 ;
6384 void *argp2 = 0 ;
6385 int res2 = 0 ;
6386 int val3 ;
6387 int ecode3 = 0 ;
6388 bool temp4 = false ;
6389 wxPoint temp5 ;
6390 wxSize temp6 ;
6391 long val7 ;
6392 int ecode7 = 0 ;
6393 bool temp8 = false ;
6394 PyObject * obj0 = 0 ;
6395 PyObject * obj1 = 0 ;
6396 PyObject * obj2 = 0 ;
6397 PyObject * obj3 = 0 ;
6398 PyObject * obj4 = 0 ;
6399 PyObject * obj5 = 0 ;
6400 PyObject * obj6 = 0 ;
6401 PyObject * obj7 = 0 ;
6402 char * kwnames[] = {
6403 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6404 };
6405
6406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6407 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6408 if (!SWIG_IsOK(res1)) {
6409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6410 }
6411 arg1 = reinterpret_cast< wxFrame * >(argp1);
6412 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6413 if (!SWIG_IsOK(res2)) {
6414 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6415 }
6416 arg2 = reinterpret_cast< wxWindow * >(argp2);
6417 if (obj2) {
6418 ecode3 = SWIG_AsVal_int(obj2, &val3);
6419 if (!SWIG_IsOK(ecode3)) {
6420 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6421 }
6422 arg3 = static_cast< int >(val3);
6423 }
6424 if (obj3) {
d55e5bfc 6425 {
554f62e9
RD
6426 arg4 = wxString_in_helper(obj3);
6427 if (arg4 == NULL) SWIG_fail;
6428 temp4 = true;
d55e5bfc 6429 }
554f62e9
RD
6430 }
6431 if (obj4) {
d55e5bfc 6432 {
554f62e9
RD
6433 arg5 = &temp5;
6434 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 6435 }
554f62e9
RD
6436 }
6437 if (obj5) {
d55e5bfc 6438 {
554f62e9
RD
6439 arg6 = &temp6;
6440 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 6441 }
554f62e9
RD
6442 }
6443 if (obj6) {
6444 ecode7 = SWIG_AsVal_long(obj6, &val7);
6445 if (!SWIG_IsOK(ecode7)) {
6446 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6447 }
6448 arg7 = static_cast< long >(val7);
6449 }
6450 if (obj7) {
6451 {
6452 arg8 = wxString_in_helper(obj7);
6453 if (arg8 == NULL) SWIG_fail;
6454 temp8 = true;
6455 }
6456 }
6457 {
6458 PyThreadState* __tstate = wxPyBeginAllowThreads();
6459 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6460 wxPyEndAllowThreads(__tstate);
6461 if (PyErr_Occurred()) SWIG_fail;
6462 }
6463 {
6464 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6465 }
6466 {
6467 if (temp4)
6468 delete arg4;
6469 }
6470 {
6471 if (temp8)
6472 delete arg8;
6473 }
6474 return resultobj;
6475fail:
6476 {
6477 if (temp4)
6478 delete arg4;
6479 }
6480 {
6481 if (temp8)
6482 delete arg8;
6483 }
6484 return NULL;
d55e5bfc
RD
6485}
6486
6487
554f62e9
RD
6488SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6489 PyObject *resultobj = 0;
6490 wxFrame *arg1 = (wxFrame *) 0 ;
6491 void *argp1 = 0 ;
6492 int res1 = 0 ;
6493 PyObject *swig_obj[1] ;
6494
6495 if (!args) SWIG_fail;
6496 swig_obj[0] = args;
6497 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6498 if (!SWIG_IsOK(res1)) {
6499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6500 }
6501 arg1 = reinterpret_cast< wxFrame * >(argp1);
6502 {
6503 PyThreadState* __tstate = wxPyBeginAllowThreads();
6504 (arg1)->SendSizeEvent();
6505 wxPyEndAllowThreads(__tstate);
6506 if (PyErr_Occurred()) SWIG_fail;
6507 }
6508 resultobj = SWIG_Py_Void();
6509 return resultobj;
6510fail:
6511 return NULL;
6512}
6513
6514
6515SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6516 PyObject *resultobj = 0;
6517 wxFrame *arg1 = (wxFrame *) 0 ;
6518 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6519 void *argp1 = 0 ;
6520 int res1 = 0 ;
6521 void *argp2 = 0 ;
6522 int res2 = 0 ;
6523 PyObject * obj0 = 0 ;
6524 PyObject * obj1 = 0 ;
6525 char * kwnames[] = {
6526 (char *) "self",(char *) "menubar", NULL
6527 };
6528
6529 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6530 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6531 if (!SWIG_IsOK(res1)) {
6532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6533 }
6534 arg1 = reinterpret_cast< wxFrame * >(argp1);
6535 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6536 if (!SWIG_IsOK(res2)) {
6537 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6538 }
6539 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6540 {
6541 PyThreadState* __tstate = wxPyBeginAllowThreads();
6542 (arg1)->SetMenuBar(arg2);
6543 wxPyEndAllowThreads(__tstate);
6544 if (PyErr_Occurred()) SWIG_fail;
6545 }
6546 resultobj = SWIG_Py_Void();
6547 return resultobj;
6548fail:
6549 return NULL;
d55e5bfc
RD
6550}
6551
6552
554f62e9
RD
6553SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6554 PyObject *resultobj = 0;
6555 wxFrame *arg1 = (wxFrame *) 0 ;
6556 wxMenuBar *result = 0 ;
6557 void *argp1 = 0 ;
6558 int res1 = 0 ;
6559 PyObject *swig_obj[1] ;
6560
6561 if (!args) SWIG_fail;
6562 swig_obj[0] = args;
6563 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6564 if (!SWIG_IsOK(res1)) {
6565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6566 }
6567 arg1 = reinterpret_cast< wxFrame * >(argp1);
6568 {
6569 PyThreadState* __tstate = wxPyBeginAllowThreads();
6570 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6571 wxPyEndAllowThreads(__tstate);
6572 if (PyErr_Occurred()) SWIG_fail;
6573 }
6574 {
6575 resultobj = wxPyMake_wxObject(result, 0);
6576 }
6577 return resultobj;
6578fail:
6579 return NULL;
6580}
6581
6582
6583SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6584 PyObject *resultobj = 0;
6585 wxFrame *arg1 = (wxFrame *) 0 ;
6586 int arg2 ;
6587 bool result;
6588 void *argp1 = 0 ;
6589 int res1 = 0 ;
6590 int val2 ;
6591 int ecode2 = 0 ;
6592 PyObject * obj0 = 0 ;
6593 PyObject * obj1 = 0 ;
6594 char * kwnames[] = {
6595 (char *) "self",(char *) "winid", NULL
6596 };
6597
6598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6600 if (!SWIG_IsOK(res1)) {
6601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6602 }
6603 arg1 = reinterpret_cast< wxFrame * >(argp1);
6604 ecode2 = SWIG_AsVal_int(obj1, &val2);
6605 if (!SWIG_IsOK(ecode2)) {
6606 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6607 }
6608 arg2 = static_cast< int >(val2);
6609 {
6610 PyThreadState* __tstate = wxPyBeginAllowThreads();
6611 result = (bool)(arg1)->ProcessCommand(arg2);
6612 wxPyEndAllowThreads(__tstate);
6613 if (PyErr_Occurred()) SWIG_fail;
6614 }
6615 {
6616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6617 }
6618 return resultobj;
6619fail:
6620 return NULL;
6621}
6622
6623
6624SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6625 PyObject *resultobj = 0;
6626 wxFrame *arg1 = (wxFrame *) 0 ;
6627 int arg2 = (int) 1 ;
6628 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6629 int arg4 = (int) 0 ;
6630 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6631 wxString *arg5 = (wxString *) &arg5_defvalue ;
6632 wxStatusBar *result = 0 ;
6633 void *argp1 = 0 ;
6634 int res1 = 0 ;
6635 int val2 ;
6636 int ecode2 = 0 ;
6637 long val3 ;
6638 int ecode3 = 0 ;
6639 int val4 ;
6640 int ecode4 = 0 ;
6641 bool temp5 = false ;
6642 PyObject * obj0 = 0 ;
6643 PyObject * obj1 = 0 ;
6644 PyObject * obj2 = 0 ;
6645 PyObject * obj3 = 0 ;
6646 PyObject * obj4 = 0 ;
6647 char * kwnames[] = {
6648 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6649 };
6650
6651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6652 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6653 if (!SWIG_IsOK(res1)) {
6654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6655 }
6656 arg1 = reinterpret_cast< wxFrame * >(argp1);
6657 if (obj1) {
6658 ecode2 = SWIG_AsVal_int(obj1, &val2);
6659 if (!SWIG_IsOK(ecode2)) {
6660 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6661 }
6662 arg2 = static_cast< int >(val2);
6663 }
6664 if (obj2) {
6665 ecode3 = SWIG_AsVal_long(obj2, &val3);
6666 if (!SWIG_IsOK(ecode3)) {
6667 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6668 }
6669 arg3 = static_cast< long >(val3);
6670 }
6671 if (obj3) {
6672 ecode4 = SWIG_AsVal_int(obj3, &val4);
6673 if (!SWIG_IsOK(ecode4)) {
6674 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6675 }
6676 arg4 = static_cast< int >(val4);
6677 }
6678 if (obj4) {
d55e5bfc 6679 {
554f62e9
RD
6680 arg5 = wxString_in_helper(obj4);
6681 if (arg5 == NULL) SWIG_fail;
6682 temp5 = true;
6683 }
6684 }
6685 {
6686 PyThreadState* __tstate = wxPyBeginAllowThreads();
6687 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6688 wxPyEndAllowThreads(__tstate);
6689 if (PyErr_Occurred()) SWIG_fail;
6690 }
6691 {
6692 resultobj = wxPyMake_wxObject(result, (bool)0);
6693 }
6694 {
6695 if (temp5)
6696 delete arg5;
6697 }
6698 return resultobj;
6699fail:
6700 {
6701 if (temp5)
6702 delete arg5;
6703 }
6704 return NULL;
d55e5bfc
RD
6705}
6706
6707
554f62e9
RD
6708SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6709 PyObject *resultobj = 0;
6710 wxFrame *arg1 = (wxFrame *) 0 ;
6711 wxStatusBar *result = 0 ;
6712 void *argp1 = 0 ;
6713 int res1 = 0 ;
6714 PyObject *swig_obj[1] ;
6715
6716 if (!args) SWIG_fail;
6717 swig_obj[0] = args;
6718 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6719 if (!SWIG_IsOK(res1)) {
6720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6721 }
6722 arg1 = reinterpret_cast< wxFrame * >(argp1);
6723 {
6724 PyThreadState* __tstate = wxPyBeginAllowThreads();
6725 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6726 wxPyEndAllowThreads(__tstate);
6727 if (PyErr_Occurred()) SWIG_fail;
6728 }
6729 {
6730 resultobj = wxPyMake_wxObject(result, (bool)0);
6731 }
6732 return resultobj;
6733fail:
6734 return NULL;
6735}
6736
6737
6738SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6739 PyObject *resultobj = 0;
6740 wxFrame *arg1 = (wxFrame *) 0 ;
6741 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6742 void *argp1 = 0 ;
6743 int res1 = 0 ;
6744 void *argp2 = 0 ;
6745 int res2 = 0 ;
6746 PyObject * obj0 = 0 ;
6747 PyObject * obj1 = 0 ;
6748 char * kwnames[] = {
6749 (char *) "self",(char *) "statBar", NULL
6750 };
6751
6752 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6753 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6754 if (!SWIG_IsOK(res1)) {
6755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6756 }
6757 arg1 = reinterpret_cast< wxFrame * >(argp1);
6758 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6759 if (!SWIG_IsOK(res2)) {
6760 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6761 }
6762 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6763 {
6764 PyThreadState* __tstate = wxPyBeginAllowThreads();
6765 (arg1)->SetStatusBar(arg2);
6766 wxPyEndAllowThreads(__tstate);
6767 if (PyErr_Occurred()) SWIG_fail;
6768 }
6769 resultobj = SWIG_Py_Void();
6770 return resultobj;
6771fail:
6772 return NULL;
6773}
6774
6775
6776SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6777 PyObject *resultobj = 0;
6778 wxFrame *arg1 = (wxFrame *) 0 ;
6779 wxString *arg2 = 0 ;
6780 int arg3 = (int) 0 ;
6781 void *argp1 = 0 ;
6782 int res1 = 0 ;
6783 bool temp2 = false ;
6784 int val3 ;
6785 int ecode3 = 0 ;
6786 PyObject * obj0 = 0 ;
6787 PyObject * obj1 = 0 ;
6788 PyObject * obj2 = 0 ;
6789 char * kwnames[] = {
6790 (char *) "self",(char *) "text",(char *) "number", NULL
6791 };
6792
6793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6794 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6795 if (!SWIG_IsOK(res1)) {
6796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6797 }
6798 arg1 = reinterpret_cast< wxFrame * >(argp1);
6799 {
6800 arg2 = wxString_in_helper(obj1);
6801 if (arg2 == NULL) SWIG_fail;
6802 temp2 = true;
6803 }
6804 if (obj2) {
6805 ecode3 = SWIG_AsVal_int(obj2, &val3);
6806 if (!SWIG_IsOK(ecode3)) {
6807 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6808 }
6809 arg3 = static_cast< int >(val3);
6810 }
6811 {
6812 PyThreadState* __tstate = wxPyBeginAllowThreads();
6813 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6814 wxPyEndAllowThreads(__tstate);
6815 if (PyErr_Occurred()) SWIG_fail;
6816 }
6817 resultobj = SWIG_Py_Void();
6818 {
6819 if (temp2)
6820 delete arg2;
6821 }
6822 return resultobj;
6823fail:
6824 {
6825 if (temp2)
6826 delete arg2;
6827 }
6828 return NULL;
d55e5bfc
RD
6829}
6830
6831
554f62e9
RD
6832SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6833 PyObject *resultobj = 0;
6834 wxFrame *arg1 = (wxFrame *) 0 ;
6835 int arg2 ;
6836 int *arg3 = (int *) 0 ;
6837 void *argp1 = 0 ;
6838 int res1 = 0 ;
6839 PyObject * obj0 = 0 ;
6840 PyObject * obj1 = 0 ;
6841 char * kwnames[] = {
6842 (char *) "self",(char *) "widths", NULL
6843 };
6844
6845 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6846 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6847 if (!SWIG_IsOK(res1)) {
6848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6849 }
6850 arg1 = reinterpret_cast< wxFrame * >(argp1);
6851 {
6852 arg2 = PyList_Size(obj1);
6853 arg3 = int_LIST_helper(obj1);
6854 if (arg3 == NULL) SWIG_fail;
6855 }
6856 {
6857 PyThreadState* __tstate = wxPyBeginAllowThreads();
6858 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6859 wxPyEndAllowThreads(__tstate);
6860 if (PyErr_Occurred()) SWIG_fail;
6861 }
6862 resultobj = SWIG_Py_Void();
6863 {
6864 if (arg3) delete [] arg3;
6865 }
6866 return resultobj;
6867fail:
6868 {
6869 if (arg3) delete [] arg3;
6870 }
6871 return NULL;
6872}
6873
6874
6875SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6876 PyObject *resultobj = 0;
6877 wxFrame *arg1 = (wxFrame *) 0 ;
6878 wxString *arg2 = 0 ;
6879 int arg3 = (int) 0 ;
6880 void *argp1 = 0 ;
6881 int res1 = 0 ;
6882 bool temp2 = false ;
6883 int val3 ;
6884 int ecode3 = 0 ;
6885 PyObject * obj0 = 0 ;
6886 PyObject * obj1 = 0 ;
6887 PyObject * obj2 = 0 ;
6888 char * kwnames[] = {
6889 (char *) "self",(char *) "text",(char *) "number", NULL
6890 };
6891
6892 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6893 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6894 if (!SWIG_IsOK(res1)) {
6895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6896 }
6897 arg1 = reinterpret_cast< wxFrame * >(argp1);
6898 {
6899 arg2 = wxString_in_helper(obj1);
6900 if (arg2 == NULL) SWIG_fail;
6901 temp2 = true;
6902 }
6903 if (obj2) {
6904 ecode3 = SWIG_AsVal_int(obj2, &val3);
6905 if (!SWIG_IsOK(ecode3)) {
6906 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6907 }
6908 arg3 = static_cast< int >(val3);
6909 }
6910 {
6911 PyThreadState* __tstate = wxPyBeginAllowThreads();
6912 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6913 wxPyEndAllowThreads(__tstate);
6914 if (PyErr_Occurred()) SWIG_fail;
6915 }
6916 resultobj = SWIG_Py_Void();
6917 {
6918 if (temp2)
6919 delete arg2;
6920 }
6921 return resultobj;
6922fail:
6923 {
6924 if (temp2)
6925 delete arg2;
6926 }
6927 return NULL;
6928}
6929
6930
6931SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6932 PyObject *resultobj = 0;
6933 wxFrame *arg1 = (wxFrame *) 0 ;
6934 int arg2 = (int) 0 ;
6935 void *argp1 = 0 ;
6936 int res1 = 0 ;
6937 int val2 ;
6938 int ecode2 = 0 ;
6939 PyObject * obj0 = 0 ;
6940 PyObject * obj1 = 0 ;
6941 char * kwnames[] = {
6942 (char *) "self",(char *) "number", NULL
6943 };
6944
6945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6946 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6947 if (!SWIG_IsOK(res1)) {
6948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6949 }
6950 arg1 = reinterpret_cast< wxFrame * >(argp1);
6951 if (obj1) {
6952 ecode2 = SWIG_AsVal_int(obj1, &val2);
6953 if (!SWIG_IsOK(ecode2)) {
6954 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6955 }
6956 arg2 = static_cast< int >(val2);
6957 }
6958 {
6959 PyThreadState* __tstate = wxPyBeginAllowThreads();
6960 (arg1)->PopStatusText(arg2);
6961 wxPyEndAllowThreads(__tstate);
6962 if (PyErr_Occurred()) SWIG_fail;
6963 }
6964 resultobj = SWIG_Py_Void();
6965 return resultobj;
6966fail:
6967 return NULL;
6968}
6969
6970
6971SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6972 PyObject *resultobj = 0;
6973 wxFrame *arg1 = (wxFrame *) 0 ;
6974 int arg2 ;
6975 void *argp1 = 0 ;
6976 int res1 = 0 ;
6977 int val2 ;
6978 int ecode2 = 0 ;
6979 PyObject * obj0 = 0 ;
6980 PyObject * obj1 = 0 ;
6981 char * kwnames[] = {
6982 (char *) "self",(char *) "n", NULL
6983 };
6984
6985 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6986 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6987 if (!SWIG_IsOK(res1)) {
6988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6989 }
6990 arg1 = reinterpret_cast< wxFrame * >(argp1);
6991 ecode2 = SWIG_AsVal_int(obj1, &val2);
6992 if (!SWIG_IsOK(ecode2)) {
6993 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6994 }
6995 arg2 = static_cast< int >(val2);
6996 {
6997 PyThreadState* __tstate = wxPyBeginAllowThreads();
6998 (arg1)->SetStatusBarPane(arg2);
6999 wxPyEndAllowThreads(__tstate);
7000 if (PyErr_Occurred()) SWIG_fail;
7001 }
7002 resultobj = SWIG_Py_Void();
7003 return resultobj;
7004fail:
7005 return NULL;
d55e5bfc
RD
7006}
7007
7008
554f62e9
RD
7009SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7010 PyObject *resultobj = 0;
7011 wxFrame *arg1 = (wxFrame *) 0 ;
7012 int result;
7013 void *argp1 = 0 ;
7014 int res1 = 0 ;
7015 PyObject *swig_obj[1] ;
7016
7017 if (!args) SWIG_fail;
7018 swig_obj[0] = args;
7019 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7020 if (!SWIG_IsOK(res1)) {
7021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7022 }
7023 arg1 = reinterpret_cast< wxFrame * >(argp1);
7024 {
7025 PyThreadState* __tstate = wxPyBeginAllowThreads();
7026 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
7027 wxPyEndAllowThreads(__tstate);
7028 if (PyErr_Occurred()) SWIG_fail;
7029 }
7030 resultobj = SWIG_From_int(static_cast< int >(result));
7031 return resultobj;
7032fail:
7033 return NULL;
7034}
7035
7036
7037SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7038 PyObject *resultobj = 0;
7039 wxFrame *arg1 = (wxFrame *) 0 ;
7040 long arg2 = (long) -1 ;
7041 int arg3 = (int) -1 ;
7042 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
7043 wxString *arg4 = (wxString *) &arg4_defvalue ;
7044 wxToolBar *result = 0 ;
7045 void *argp1 = 0 ;
7046 int res1 = 0 ;
7047 long val2 ;
7048 int ecode2 = 0 ;
7049 int val3 ;
7050 int ecode3 = 0 ;
7051 bool temp4 = false ;
7052 PyObject * obj0 = 0 ;
7053 PyObject * obj1 = 0 ;
7054 PyObject * obj2 = 0 ;
7055 PyObject * obj3 = 0 ;
7056 char * kwnames[] = {
7057 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7058 };
7059
7060 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7061 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7062 if (!SWIG_IsOK(res1)) {
7063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7064 }
7065 arg1 = reinterpret_cast< wxFrame * >(argp1);
7066 if (obj1) {
7067 ecode2 = SWIG_AsVal_long(obj1, &val2);
7068 if (!SWIG_IsOK(ecode2)) {
7069 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7070 }
7071 arg2 = static_cast< long >(val2);
7072 }
7073 if (obj2) {
7074 ecode3 = SWIG_AsVal_int(obj2, &val3);
7075 if (!SWIG_IsOK(ecode3)) {
7076 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7077 }
7078 arg3 = static_cast< int >(val3);
7079 }
7080 if (obj3) {
d55e5bfc 7081 {
554f62e9
RD
7082 arg4 = wxString_in_helper(obj3);
7083 if (arg4 == NULL) SWIG_fail;
7084 temp4 = true;
d55e5bfc 7085 }
554f62e9
RD
7086 }
7087 {
7088 PyThreadState* __tstate = wxPyBeginAllowThreads();
7089 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7090 wxPyEndAllowThreads(__tstate);
7091 if (PyErr_Occurred()) SWIG_fail;
7092 }
7093 {
7094 resultobj = wxPyMake_wxObject(result, (bool)0);
7095 }
7096 {
7097 if (temp4)
7098 delete arg4;
7099 }
7100 return resultobj;
7101fail:
7102 {
7103 if (temp4)
7104 delete arg4;
7105 }
7106 return NULL;
d55e5bfc
RD
7107}
7108
7109
554f62e9
RD
7110SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7111 PyObject *resultobj = 0;
7112 wxFrame *arg1 = (wxFrame *) 0 ;
7113 wxToolBar *result = 0 ;
7114 void *argp1 = 0 ;
7115 int res1 = 0 ;
7116 PyObject *swig_obj[1] ;
7117
7118 if (!args) SWIG_fail;
7119 swig_obj[0] = args;
7120 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7121 if (!SWIG_IsOK(res1)) {
7122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7123 }
7124 arg1 = reinterpret_cast< wxFrame * >(argp1);
7125 {
7126 PyThreadState* __tstate = wxPyBeginAllowThreads();
7127 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7128 wxPyEndAllowThreads(__tstate);
7129 if (PyErr_Occurred()) SWIG_fail;
7130 }
7131 {
7132 resultobj = wxPyMake_wxObject(result, (bool)0);
7133 }
7134 return resultobj;
7135fail:
7136 return NULL;
7137}
7138
7139
7140SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7141 PyObject *resultobj = 0;
7142 wxFrame *arg1 = (wxFrame *) 0 ;
7143 wxToolBar *arg2 = (wxToolBar *) 0 ;
7144 void *argp1 = 0 ;
7145 int res1 = 0 ;
7146 void *argp2 = 0 ;
7147 int res2 = 0 ;
7148 PyObject * obj0 = 0 ;
7149 PyObject * obj1 = 0 ;
7150 char * kwnames[] = {
7151 (char *) "self",(char *) "toolbar", NULL
7152 };
7153
7154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7156 if (!SWIG_IsOK(res1)) {
7157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7158 }
7159 arg1 = reinterpret_cast< wxFrame * >(argp1);
7160 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7161 if (!SWIG_IsOK(res2)) {
7162 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7163 }
7164 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7165 {
7166 PyThreadState* __tstate = wxPyBeginAllowThreads();
7167 (arg1)->SetToolBar(arg2);
7168 wxPyEndAllowThreads(__tstate);
7169 if (PyErr_Occurred()) SWIG_fail;
7170 }
7171 resultobj = SWIG_Py_Void();
7172 return resultobj;
7173fail:
7174 return NULL;
7175}
7176
7177
7178SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7179 PyObject *resultobj = 0;
7180 wxFrame *arg1 = (wxFrame *) 0 ;
7181 wxString *arg2 = 0 ;
7182 bool arg3 ;
7183 void *argp1 = 0 ;
7184 int res1 = 0 ;
7185 bool temp2 = false ;
7186 bool val3 ;
7187 int ecode3 = 0 ;
7188 PyObject * obj0 = 0 ;
7189 PyObject * obj1 = 0 ;
7190 PyObject * obj2 = 0 ;
7191 char * kwnames[] = {
7192 (char *) "self",(char *) "text",(char *) "show", NULL
7193 };
7194
7195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7197 if (!SWIG_IsOK(res1)) {
7198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7199 }
7200 arg1 = reinterpret_cast< wxFrame * >(argp1);
7201 {
7202 arg2 = wxString_in_helper(obj1);
7203 if (arg2 == NULL) SWIG_fail;
7204 temp2 = true;
7205 }
7206 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7207 if (!SWIG_IsOK(ecode3)) {
7208 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7209 }
7210 arg3 = static_cast< bool >(val3);
7211 {
7212 PyThreadState* __tstate = wxPyBeginAllowThreads();
7213 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7214 wxPyEndAllowThreads(__tstate);
7215 if (PyErr_Occurred()) SWIG_fail;
7216 }
7217 resultobj = SWIG_Py_Void();
7218 {
7219 if (temp2)
7220 delete arg2;
7221 }
7222 return resultobj;
7223fail:
7224 {
7225 if (temp2)
7226 delete arg2;
7227 }
7228 return NULL;
7229}
7230
7231
7232SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7233 PyObject *resultobj = 0;
7234 wxFrame *arg1 = (wxFrame *) 0 ;
7235 wxMenu *arg2 = (wxMenu *) NULL ;
7236 void *argp1 = 0 ;
7237 int res1 = 0 ;
7238 void *argp2 = 0 ;
7239 int res2 = 0 ;
7240 PyObject * obj0 = 0 ;
7241 PyObject * obj1 = 0 ;
7242 char * kwnames[] = {
7243 (char *) "self",(char *) "menu", NULL
7244 };
7245
7246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7248 if (!SWIG_IsOK(res1)) {
7249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7250 }
7251 arg1 = reinterpret_cast< wxFrame * >(argp1);
7252 if (obj1) {
7253 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7254 if (!SWIG_IsOK(res2)) {
7255 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
d55e5bfc 7256 }
554f62e9
RD
7257 arg2 = reinterpret_cast< wxMenu * >(argp2);
7258 }
7259 {
7260 PyThreadState* __tstate = wxPyBeginAllowThreads();
7261 (arg1)->DoMenuUpdates(arg2);
7262 wxPyEndAllowThreads(__tstate);
7263 if (PyErr_Occurred()) SWIG_fail;
7264 }
7265 resultobj = SWIG_Py_Void();
7266 return resultobj;
7267fail:
7268 return NULL;
7269}
7270
7271
7272SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7273 PyObject *resultobj = 0;
7274 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7275 SwigValueWrapper<wxVisualAttributes > result;
7276 int val1 ;
7277 int ecode1 = 0 ;
7278 PyObject * obj0 = 0 ;
7279 char * kwnames[] = {
7280 (char *) "variant", NULL
7281 };
7282
7283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7284 if (obj0) {
7285 ecode1 = SWIG_AsVal_int(obj0, &val1);
7286 if (!SWIG_IsOK(ecode1)) {
7287 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7288 }
7289 arg1 = static_cast< wxWindowVariant >(val1);
7290 }
7291 {
7292 if (!wxPyCheckForApp()) SWIG_fail;
7293 PyThreadState* __tstate = wxPyBeginAllowThreads();
7294 result = wxFrame::GetClassDefaultAttributes(arg1);
7295 wxPyEndAllowThreads(__tstate);
7296 if (PyErr_Occurred()) SWIG_fail;
7297 }
7298 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7299 return resultobj;
7300fail:
7301 return NULL;
7302}
7303
7304
7305SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7306 PyObject *obj;
7307 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7308 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7309 return SWIG_Py_Void();
7310}
7311
7312SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7313 return SWIG_Python_InitShadowInstance(args);
7314}
7315
7316SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7317 PyObject *resultobj = 0;
7318 wxWindow *arg1 = (wxWindow *) 0 ;
7319 int arg2 = (int) (int)-1 ;
7320 wxString const &arg3_defvalue = wxPyEmptyString ;
7321 wxString *arg3 = (wxString *) &arg3_defvalue ;
7322 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7323 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7324 wxSize const &arg5_defvalue = wxDefaultSize ;
7325 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7326 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7327 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7328 wxString *arg7 = (wxString *) &arg7_defvalue ;
7329 wxDialog *result = 0 ;
7330 void *argp1 = 0 ;
7331 int res1 = 0 ;
7332 int val2 ;
7333 int ecode2 = 0 ;
7334 bool temp3 = false ;
7335 wxPoint temp4 ;
7336 wxSize temp5 ;
7337 long val6 ;
7338 int ecode6 = 0 ;
7339 bool temp7 = false ;
7340 PyObject * obj0 = 0 ;
7341 PyObject * obj1 = 0 ;
7342 PyObject * obj2 = 0 ;
7343 PyObject * obj3 = 0 ;
7344 PyObject * obj4 = 0 ;
7345 PyObject * obj5 = 0 ;
7346 PyObject * obj6 = 0 ;
7347 char * kwnames[] = {
7348 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7349 };
7350
7351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7352 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7353 if (!SWIG_IsOK(res1)) {
7354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7355 }
7356 arg1 = reinterpret_cast< wxWindow * >(argp1);
7357 if (obj1) {
7358 ecode2 = SWIG_AsVal_int(obj1, &val2);
7359 if (!SWIG_IsOK(ecode2)) {
7360 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7361 }
7362 arg2 = static_cast< int >(val2);
7363 }
7364 if (obj2) {
d55e5bfc 7365 {
554f62e9
RD
7366 arg3 = wxString_in_helper(obj2);
7367 if (arg3 == NULL) SWIG_fail;
7368 temp3 = true;
d55e5bfc 7369 }
554f62e9
RD
7370 }
7371 if (obj3) {
d55e5bfc 7372 {
554f62e9
RD
7373 arg4 = &temp4;
7374 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 7375 }
554f62e9
RD
7376 }
7377 if (obj4) {
d55e5bfc 7378 {
554f62e9
RD
7379 arg5 = &temp5;
7380 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7381 }
554f62e9
RD
7382 }
7383 if (obj5) {
7384 ecode6 = SWIG_AsVal_long(obj5, &val6);
7385 if (!SWIG_IsOK(ecode6)) {
7386 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7387 }
7388 arg6 = static_cast< long >(val6);
7389 }
7390 if (obj6) {
093d3ff1 7391 {
554f62e9
RD
7392 arg7 = wxString_in_helper(obj6);
7393 if (arg7 == NULL) SWIG_fail;
7394 temp7 = true;
d55e5bfc 7395 }
554f62e9
RD
7396 }
7397 {
7398 if (!wxPyCheckForApp()) SWIG_fail;
7399 PyThreadState* __tstate = wxPyBeginAllowThreads();
7400 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7401 wxPyEndAllowThreads(__tstate);
7402 if (PyErr_Occurred()) SWIG_fail;
7403 }
7404 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7405 {
7406 if (temp3)
7407 delete arg3;
7408 }
7409 {
7410 if (temp7)
7411 delete arg7;
7412 }
7413 return resultobj;
7414fail:
7415 {
7416 if (temp3)
7417 delete arg3;
7418 }
7419 {
7420 if (temp7)
7421 delete arg7;
7422 }
7423 return NULL;
d55e5bfc
RD
7424}
7425
7426
554f62e9
RD
7427SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7428 PyObject *resultobj = 0;
7429 wxDialog *result = 0 ;
7430
7431 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7432 {
7433 if (!wxPyCheckForApp()) SWIG_fail;
7434 PyThreadState* __tstate = wxPyBeginAllowThreads();
7435 result = (wxDialog *)new wxDialog();
7436 wxPyEndAllowThreads(__tstate);
7437 if (PyErr_Occurred()) SWIG_fail;
7438 }
7439 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7440 return resultobj;
7441fail:
7442 return NULL;
7443}
7444
7445
7446SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7447 PyObject *resultobj = 0;
7448 wxDialog *arg1 = (wxDialog *) 0 ;
7449 wxWindow *arg2 = (wxWindow *) 0 ;
7450 int arg3 = (int) (int)-1 ;
7451 wxString const &arg4_defvalue = wxPyEmptyString ;
7452 wxString *arg4 = (wxString *) &arg4_defvalue ;
7453 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7454 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7455 wxSize const &arg6_defvalue = wxDefaultSize ;
7456 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7457 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7458 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7459 wxString *arg8 = (wxString *) &arg8_defvalue ;
7460 bool result;
7461 void *argp1 = 0 ;
7462 int res1 = 0 ;
7463 void *argp2 = 0 ;
7464 int res2 = 0 ;
7465 int val3 ;
7466 int ecode3 = 0 ;
7467 bool temp4 = false ;
7468 wxPoint temp5 ;
7469 wxSize temp6 ;
7470 long val7 ;
7471 int ecode7 = 0 ;
7472 bool temp8 = false ;
7473 PyObject * obj0 = 0 ;
7474 PyObject * obj1 = 0 ;
7475 PyObject * obj2 = 0 ;
7476 PyObject * obj3 = 0 ;
7477 PyObject * obj4 = 0 ;
7478 PyObject * obj5 = 0 ;
7479 PyObject * obj6 = 0 ;
7480 PyObject * obj7 = 0 ;
7481 char * kwnames[] = {
7482 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7483 };
7484
7485 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7486 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7487 if (!SWIG_IsOK(res1)) {
7488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7489 }
7490 arg1 = reinterpret_cast< wxDialog * >(argp1);
7491 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7492 if (!SWIG_IsOK(res2)) {
7493 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7494 }
7495 arg2 = reinterpret_cast< wxWindow * >(argp2);
7496 if (obj2) {
7497 ecode3 = SWIG_AsVal_int(obj2, &val3);
7498 if (!SWIG_IsOK(ecode3)) {
7499 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7500 }
7501 arg3 = static_cast< int >(val3);
7502 }
7503 if (obj3) {
093d3ff1 7504 {
554f62e9
RD
7505 arg4 = wxString_in_helper(obj3);
7506 if (arg4 == NULL) SWIG_fail;
7507 temp4 = true;
d55e5bfc 7508 }
554f62e9
RD
7509 }
7510 if (obj4) {
d55e5bfc 7511 {
554f62e9
RD
7512 arg5 = &temp5;
7513 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7514 }
554f62e9
RD
7515 }
7516 if (obj5) {
d55e5bfc 7517 {
554f62e9
RD
7518 arg6 = &temp6;
7519 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 7520 }
554f62e9
RD
7521 }
7522 if (obj6) {
7523 ecode7 = SWIG_AsVal_long(obj6, &val7);
7524 if (!SWIG_IsOK(ecode7)) {
7525 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7526 }
7527 arg7 = static_cast< long >(val7);
7528 }
7529 if (obj7) {
d55e5bfc 7530 {
554f62e9
RD
7531 arg8 = wxString_in_helper(obj7);
7532 if (arg8 == NULL) SWIG_fail;
7533 temp8 = true;
d55e5bfc 7534 }
554f62e9
RD
7535 }
7536 {
7537 PyThreadState* __tstate = wxPyBeginAllowThreads();
7538 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7539 wxPyEndAllowThreads(__tstate);
7540 if (PyErr_Occurred()) SWIG_fail;
7541 }
7542 {
7543 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7544 }
7545 {
7546 if (temp4)
7547 delete arg4;
7548 }
7549 {
7550 if (temp8)
7551 delete arg8;
7552 }
7553 return resultobj;
7554fail:
7555 {
7556 if (temp4)
7557 delete arg4;
7558 }
7559 {
7560 if (temp8)
7561 delete arg8;
7562 }
7563 return NULL;
7564}
7565
7566
7567SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7568 PyObject *resultobj = 0;
7569 wxDialog *arg1 = (wxDialog *) 0 ;
7570 int arg2 ;
7571 void *argp1 = 0 ;
7572 int res1 = 0 ;
7573 int val2 ;
7574 int ecode2 = 0 ;
7575 PyObject * obj0 = 0 ;
7576 PyObject * obj1 = 0 ;
7577 char * kwnames[] = {
7578 (char *) "self",(char *) "returnCode", NULL
7579 };
7580
7581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7583 if (!SWIG_IsOK(res1)) {
7584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7585 }
7586 arg1 = reinterpret_cast< wxDialog * >(argp1);
7587 ecode2 = SWIG_AsVal_int(obj1, &val2);
7588 if (!SWIG_IsOK(ecode2)) {
7589 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7590 }
7591 arg2 = static_cast< int >(val2);
7592 {
7593 PyThreadState* __tstate = wxPyBeginAllowThreads();
7594 (arg1)->SetReturnCode(arg2);
7595 wxPyEndAllowThreads(__tstate);
7596 if (PyErr_Occurred()) SWIG_fail;
7597 }
7598 resultobj = SWIG_Py_Void();
7599 return resultobj;
7600fail:
7601 return NULL;
d55e5bfc
RD
7602}
7603
7604
554f62e9
RD
7605SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7606 PyObject *resultobj = 0;
7607 wxDialog *arg1 = (wxDialog *) 0 ;
7608 int result;
7609 void *argp1 = 0 ;
7610 int res1 = 0 ;
7611 PyObject *swig_obj[1] ;
7612
7613 if (!args) SWIG_fail;
7614 swig_obj[0] = args;
7615 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7616 if (!SWIG_IsOK(res1)) {
7617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7618 }
7619 arg1 = reinterpret_cast< wxDialog * >(argp1);
7620 {
7621 PyThreadState* __tstate = wxPyBeginAllowThreads();
7622 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7623 wxPyEndAllowThreads(__tstate);
7624 if (PyErr_Occurred()) SWIG_fail;
7625 }
7626 resultobj = SWIG_From_int(static_cast< int >(result));
7627 return resultobj;
7628fail:
7629 return NULL;
7630}
7631
7632
7633SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7634 PyObject *resultobj = 0;
7635 wxDialog *arg1 = (wxDialog *) 0 ;
7636 int arg2 ;
7637 void *argp1 = 0 ;
7638 int res1 = 0 ;
7639 int val2 ;
7640 int ecode2 = 0 ;
7641 PyObject * obj0 = 0 ;
7642 PyObject * obj1 = 0 ;
7643 char * kwnames[] = {
7644 (char *) "self",(char *) "affirmativeId", NULL
7645 };
7646
7647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7648 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7649 if (!SWIG_IsOK(res1)) {
7650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7651 }
7652 arg1 = reinterpret_cast< wxDialog * >(argp1);
7653 ecode2 = SWIG_AsVal_int(obj1, &val2);
7654 if (!SWIG_IsOK(ecode2)) {
7655 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7656 }
7657 arg2 = static_cast< int >(val2);
7658 {
7659 PyThreadState* __tstate = wxPyBeginAllowThreads();
7660 (arg1)->SetAffirmativeId(arg2);
7661 wxPyEndAllowThreads(__tstate);
7662 if (PyErr_Occurred()) SWIG_fail;
7663 }
7664 resultobj = SWIG_Py_Void();
7665 return resultobj;
7666fail:
7667 return NULL;
d55e5bfc
RD
7668}
7669
7670
554f62e9
RD
7671SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7672 PyObject *resultobj = 0;
7673 wxDialog *arg1 = (wxDialog *) 0 ;
7674 int result;
7675 void *argp1 = 0 ;
7676 int res1 = 0 ;
7677 PyObject *swig_obj[1] ;
7678
7679 if (!args) SWIG_fail;
7680 swig_obj[0] = args;
7681 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7682 if (!SWIG_IsOK(res1)) {
7683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7684 }
7685 arg1 = reinterpret_cast< wxDialog * >(argp1);
7686 {
7687 PyThreadState* __tstate = wxPyBeginAllowThreads();
7688 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7689 wxPyEndAllowThreads(__tstate);
7690 if (PyErr_Occurred()) SWIG_fail;
7691 }
7692 resultobj = SWIG_From_int(static_cast< int >(result));
7693 return resultobj;
7694fail:
7695 return NULL;
7696}
7697
7698
7699SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7700 PyObject *resultobj = 0;
7701 wxDialog *arg1 = (wxDialog *) 0 ;
7702 int arg2 ;
7703 void *argp1 = 0 ;
7704 int res1 = 0 ;
7705 int val2 ;
7706 int ecode2 = 0 ;
7707 PyObject * obj0 = 0 ;
7708 PyObject * obj1 = 0 ;
7709 char * kwnames[] = {
7710 (char *) "self",(char *) "escapeId", NULL
7711 };
7712
7713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7715 if (!SWIG_IsOK(res1)) {
7716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7717 }
7718 arg1 = reinterpret_cast< wxDialog * >(argp1);
7719 ecode2 = SWIG_AsVal_int(obj1, &val2);
7720 if (!SWIG_IsOK(ecode2)) {
7721 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7722 }
7723 arg2 = static_cast< int >(val2);
7724 {
7725 PyThreadState* __tstate = wxPyBeginAllowThreads();
7726 (arg1)->SetEscapeId(arg2);
7727 wxPyEndAllowThreads(__tstate);
7728 if (PyErr_Occurred()) SWIG_fail;
7729 }
7730 resultobj = SWIG_Py_Void();
7731 return resultobj;
7732fail:
7733 return NULL;
d55e5bfc
RD
7734}
7735
7736
554f62e9
RD
7737SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7738 PyObject *resultobj = 0;
7739 wxDialog *arg1 = (wxDialog *) 0 ;
7740 int result;
7741 void *argp1 = 0 ;
7742 int res1 = 0 ;
7743 PyObject *swig_obj[1] ;
7744
7745 if (!args) SWIG_fail;
7746 swig_obj[0] = args;
7747 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7748 if (!SWIG_IsOK(res1)) {
7749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7750 }
7751 arg1 = reinterpret_cast< wxDialog * >(argp1);
7752 {
7753 PyThreadState* __tstate = wxPyBeginAllowThreads();
7754 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7755 wxPyEndAllowThreads(__tstate);
7756 if (PyErr_Occurred()) SWIG_fail;
7757 }
7758 resultobj = SWIG_From_int(static_cast< int >(result));
7759 return resultobj;
7760fail:
7761 return NULL;
7762}
7763
7764
7765SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7766 PyObject *resultobj = 0;
7767 wxDialog *arg1 = (wxDialog *) 0 ;
7768 wxString *arg2 = 0 ;
7769 wxSizer *result = 0 ;
7770 void *argp1 = 0 ;
7771 int res1 = 0 ;
7772 bool temp2 = false ;
7773 PyObject * obj0 = 0 ;
7774 PyObject * obj1 = 0 ;
7775 char * kwnames[] = {
7776 (char *) "self",(char *) "message", NULL
7777 };
7778
7779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7781 if (!SWIG_IsOK(res1)) {
7782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7783 }
7784 arg1 = reinterpret_cast< wxDialog * >(argp1);
7785 {
7786 arg2 = wxString_in_helper(obj1);
7787 if (arg2 == NULL) SWIG_fail;
7788 temp2 = true;
7789 }
7790 {
7791 PyThreadState* __tstate = wxPyBeginAllowThreads();
7792 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7793 wxPyEndAllowThreads(__tstate);
7794 if (PyErr_Occurred()) SWIG_fail;
7795 }
7796 {
7797 resultobj = wxPyMake_wxObject(result, (bool)0);
7798 }
7799 {
7800 if (temp2)
7801 delete arg2;
7802 }
7803 return resultobj;
7804fail:
7805 {
7806 if (temp2)
7807 delete arg2;
7808 }
7809 return NULL;
7810}
7811
7812
b39fe951 7813SWIGINTERN PyObject *_wrap_Dialog__CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
554f62e9
RD
7814 PyObject *resultobj = 0;
7815 wxDialog *arg1 = (wxDialog *) 0 ;
7816 long arg2 ;
554f62e9
RD
7817 wxSizer *result = 0 ;
7818 void *argp1 = 0 ;
7819 int res1 = 0 ;
7820 long val2 ;
7821 int ecode2 = 0 ;
554f62e9
RD
7822 PyObject * obj0 = 0 ;
7823 PyObject * obj1 = 0 ;
554f62e9 7824 char * kwnames[] = {
b39fe951 7825 (char *) "self",(char *) "flags", NULL
554f62e9
RD
7826 };
7827
b39fe951 7828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog__CreateButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
554f62e9
RD
7829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7830 if (!SWIG_IsOK(res1)) {
b39fe951 7831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
554f62e9
RD
7832 }
7833 arg1 = reinterpret_cast< wxDialog * >(argp1);
7834 ecode2 = SWIG_AsVal_long(obj1, &val2);
7835 if (!SWIG_IsOK(ecode2)) {
b39fe951 7836 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
554f62e9
RD
7837 }
7838 arg2 = static_cast< long >(val2);
b39fe951
RD
7839 {
7840 PyThreadState* __tstate = wxPyBeginAllowThreads();
7841 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
7842 wxPyEndAllowThreads(__tstate);
7843 if (PyErr_Occurred()) SWIG_fail;
554f62e9 7844 }
b39fe951
RD
7845 {
7846 resultobj = wxPyMake_wxObject(result, (bool)0);
554f62e9 7847 }
b39fe951
RD
7848 return resultobj;
7849fail:
7850 return NULL;
7851}
7852
7853
7854SWIGINTERN PyObject *_wrap_Dialog_CreateSeparatedButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7855 PyObject *resultobj = 0;
7856 wxDialog *arg1 = (wxDialog *) 0 ;
7857 long arg2 ;
7858 wxSizer *result = 0 ;
7859 void *argp1 = 0 ;
7860 int res1 = 0 ;
7861 long val2 ;
7862 int ecode2 = 0 ;
7863 PyObject * obj0 = 0 ;
7864 PyObject * obj1 = 0 ;
7865 char * kwnames[] = {
7866 (char *) "self",(char *) "flags", NULL
7867 };
7868
7869 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7870 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7871 if (!SWIG_IsOK(res1)) {
7872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7873 }
7874 arg1 = reinterpret_cast< wxDialog * >(argp1);
7875 ecode2 = SWIG_AsVal_long(obj1, &val2);
7876 if (!SWIG_IsOK(ecode2)) {
7877 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7878 }
7879 arg2 = static_cast< long >(val2);
554f62e9
RD
7880 {
7881 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 7882 result = (wxSizer *)(arg1)->CreateSeparatedButtonSizer(arg2);
554f62e9
RD
7883 wxPyEndAllowThreads(__tstate);
7884 if (PyErr_Occurred()) SWIG_fail;
7885 }
7886 {
7887 resultobj = wxPyMake_wxObject(result, (bool)0);
7888 }
7889 return resultobj;
7890fail:
7891 return NULL;
7892}
7893
7894
7895SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7896 PyObject *resultobj = 0;
7897 wxDialog *arg1 = (wxDialog *) 0 ;
7898 long arg2 ;
7899 wxStdDialogButtonSizer *result = 0 ;
7900 void *argp1 = 0 ;
7901 int res1 = 0 ;
7902 long val2 ;
7903 int ecode2 = 0 ;
7904 PyObject * obj0 = 0 ;
7905 PyObject * obj1 = 0 ;
7906 char * kwnames[] = {
7907 (char *) "self",(char *) "flags", NULL
7908 };
7909
7910 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7911 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7912 if (!SWIG_IsOK(res1)) {
7913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7914 }
7915 arg1 = reinterpret_cast< wxDialog * >(argp1);
7916 ecode2 = SWIG_AsVal_long(obj1, &val2);
7917 if (!SWIG_IsOK(ecode2)) {
7918 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7919 }
7920 arg2 = static_cast< long >(val2);
7921 {
7922 PyThreadState* __tstate = wxPyBeginAllowThreads();
7923 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7924 wxPyEndAllowThreads(__tstate);
7925 if (PyErr_Occurred()) SWIG_fail;
7926 }
7927 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7928 return resultobj;
7929fail:
7930 return NULL;
d55e5bfc
RD
7931}
7932
7933
554f62e9
RD
7934SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7935 PyObject *resultobj = 0;
7936 wxDialog *arg1 = (wxDialog *) 0 ;
7937 bool result;
7938 void *argp1 = 0 ;
7939 int res1 = 0 ;
7940 PyObject *swig_obj[1] ;
7941
7942 if (!args) SWIG_fail;
7943 swig_obj[0] = args;
7944 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7945 if (!SWIG_IsOK(res1)) {
7946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7947 }
7948 arg1 = reinterpret_cast< wxDialog * >(argp1);
7949 {
7950 PyThreadState* __tstate = wxPyBeginAllowThreads();
7951 result = (bool)((wxDialog const *)arg1)->IsModal();
7952 wxPyEndAllowThreads(__tstate);
7953 if (PyErr_Occurred()) SWIG_fail;
7954 }
7955 {
7956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7957 }
7958 return resultobj;
7959fail:
7960 return NULL;
c32bde28
RD
7961}
7962
7963
554f62e9
RD
7964SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7965 PyObject *resultobj = 0;
7966 wxDialog *arg1 = (wxDialog *) 0 ;
7967 int result;
7968 void *argp1 = 0 ;
7969 int res1 = 0 ;
7970 PyObject *swig_obj[1] ;
7971
7972 if (!args) SWIG_fail;
7973 swig_obj[0] = args;
7974 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7975 if (!SWIG_IsOK(res1)) {
7976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7977 }
7978 arg1 = reinterpret_cast< wxDialog * >(argp1);
7979 {
7980 PyThreadState* __tstate = wxPyBeginAllowThreads();
7981 result = (int)(arg1)->ShowModal();
7982 wxPyEndAllowThreads(__tstate);
7983 if (PyErr_Occurred()) SWIG_fail;
7984 }
7985 resultobj = SWIG_From_int(static_cast< int >(result));
7986 return resultobj;
7987fail:
7988 return NULL;
7989}
7990
7991
7992SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7993 PyObject *resultobj = 0;
7994 wxDialog *arg1 = (wxDialog *) 0 ;
7995 int arg2 ;
7996 void *argp1 = 0 ;
7997 int res1 = 0 ;
7998 int val2 ;
7999 int ecode2 = 0 ;
8000 PyObject * obj0 = 0 ;
8001 PyObject * obj1 = 0 ;
8002 char * kwnames[] = {
8003 (char *) "self",(char *) "retCode", NULL
8004 };
8005
8006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
8007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8008 if (!SWIG_IsOK(res1)) {
8009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8010 }
8011 arg1 = reinterpret_cast< wxDialog * >(argp1);
8012 ecode2 = SWIG_AsVal_int(obj1, &val2);
8013 if (!SWIG_IsOK(ecode2)) {
8014 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8015 }
8016 arg2 = static_cast< int >(val2);
8017 {
8018 PyThreadState* __tstate = wxPyBeginAllowThreads();
8019 (arg1)->EndModal(arg2);
8020 wxPyEndAllowThreads(__tstate);
8021 if (PyErr_Occurred()) SWIG_fail;
8022 }
8023 resultobj = SWIG_Py_Void();
8024 return resultobj;
8025fail:
8026 return NULL;
8027}
8028
8029
8030SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8031 PyObject *resultobj = 0;
8032 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8033 SwigValueWrapper<wxVisualAttributes > result;
8034 int val1 ;
8035 int ecode1 = 0 ;
8036 PyObject * obj0 = 0 ;
8037 char * kwnames[] = {
8038 (char *) "variant", NULL
8039 };
8040
8041 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8042 if (obj0) {
8043 ecode1 = SWIG_AsVal_int(obj0, &val1);
8044 if (!SWIG_IsOK(ecode1)) {
8045 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8046 }
8047 arg1 = static_cast< wxWindowVariant >(val1);
8048 }
8049 {
8050 if (!wxPyCheckForApp()) SWIG_fail;
8051 PyThreadState* __tstate = wxPyBeginAllowThreads();
8052 result = wxDialog::GetClassDefaultAttributes(arg1);
8053 wxPyEndAllowThreads(__tstate);
8054 if (PyErr_Occurred()) SWIG_fail;
8055 }
8056 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8057 return resultobj;
8058fail:
8059 return NULL;
8060}
8061
8062
8063SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8064 PyObject *obj;
8065 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8066 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8067 return SWIG_Py_Void();
8068}
8069
8070SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8071 return SWIG_Python_InitShadowInstance(args);
8072}
8073
8074SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8075 PyObject *resultobj = 0;
8076 wxWindow *arg1 = (wxWindow *) 0 ;
8077 int arg2 = (int) (int)-1 ;
8078 wxString const &arg3_defvalue = wxPyEmptyString ;
8079 wxString *arg3 = (wxString *) &arg3_defvalue ;
8080 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8081 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8082 wxSize const &arg5_defvalue = wxDefaultSize ;
8083 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5eb8189c 8084 long arg6 = (long) wxDEFAULT_MINIFRAME_STYLE ;
554f62e9
RD
8085 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8086 wxString *arg7 = (wxString *) &arg7_defvalue ;
8087 wxMiniFrame *result = 0 ;
8088 void *argp1 = 0 ;
8089 int res1 = 0 ;
8090 int val2 ;
8091 int ecode2 = 0 ;
8092 bool temp3 = false ;
8093 wxPoint temp4 ;
8094 wxSize temp5 ;
8095 long val6 ;
8096 int ecode6 = 0 ;
8097 bool temp7 = false ;
8098 PyObject * obj0 = 0 ;
8099 PyObject * obj1 = 0 ;
8100 PyObject * obj2 = 0 ;
8101 PyObject * obj3 = 0 ;
8102 PyObject * obj4 = 0 ;
8103 PyObject * obj5 = 0 ;
8104 PyObject * obj6 = 0 ;
8105 char * kwnames[] = {
8106 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8107 };
8108
8109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8111 if (!SWIG_IsOK(res1)) {
8112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8113 }
8114 arg1 = reinterpret_cast< wxWindow * >(argp1);
8115 if (obj1) {
8116 ecode2 = SWIG_AsVal_int(obj1, &val2);
8117 if (!SWIG_IsOK(ecode2)) {
8118 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8119 }
8120 arg2 = static_cast< int >(val2);
8121 }
8122 if (obj2) {
5e483524 8123 {
554f62e9
RD
8124 arg3 = wxString_in_helper(obj2);
8125 if (arg3 == NULL) SWIG_fail;
8126 temp3 = true;
5e483524 8127 }
554f62e9
RD
8128 }
8129 if (obj3) {
093d3ff1 8130 {
554f62e9
RD
8131 arg4 = &temp4;
8132 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 8133 }
554f62e9
RD
8134 }
8135 if (obj4) {
84f85550 8136 {
554f62e9
RD
8137 arg5 = &temp5;
8138 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
84f85550 8139 }
554f62e9
RD
8140 }
8141 if (obj5) {
8142 ecode6 = SWIG_AsVal_long(obj5, &val6);
8143 if (!SWIG_IsOK(ecode6)) {
8144 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8145 }
8146 arg6 = static_cast< long >(val6);
8147 }
8148 if (obj6) {
84f85550 8149 {
554f62e9
RD
8150 arg7 = wxString_in_helper(obj6);
8151 if (arg7 == NULL) SWIG_fail;
8152 temp7 = true;
84f85550 8153 }
554f62e9
RD
8154 }
8155 {
8156 if (!wxPyCheckForApp()) SWIG_fail;
8157 PyThreadState* __tstate = wxPyBeginAllowThreads();
8158 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8159 wxPyEndAllowThreads(__tstate);
8160 if (PyErr_Occurred()) SWIG_fail;
8161 }
8162 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8163 {
8164 if (temp3)
8165 delete arg3;
8166 }
8167 {
8168 if (temp7)
8169 delete arg7;
8170 }
8171 return resultobj;
8172fail:
8173 {
8174 if (temp3)
8175 delete arg3;
8176 }
8177 {
8178 if (temp7)
8179 delete arg7;
8180 }
8181 return NULL;
84f85550
RD
8182}
8183
8184
554f62e9
RD
8185SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8186 PyObject *resultobj = 0;
8187 wxMiniFrame *result = 0 ;
8188
8189 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8190 {
8191 if (!wxPyCheckForApp()) SWIG_fail;
8192 PyThreadState* __tstate = wxPyBeginAllowThreads();
8193 result = (wxMiniFrame *)new wxMiniFrame();
8194 wxPyEndAllowThreads(__tstate);
8195 if (PyErr_Occurred()) SWIG_fail;
8196 }
8197 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8198 return resultobj;
8199fail:
8200 return NULL;
8201}
8202
8203
8204SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8205 PyObject *resultobj = 0;
8206 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8207 wxWindow *arg2 = (wxWindow *) 0 ;
8208 int arg3 = (int) (int)-1 ;
8209 wxString const &arg4_defvalue = wxPyEmptyString ;
8210 wxString *arg4 = (wxString *) &arg4_defvalue ;
8211 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8212 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8213 wxSize const &arg6_defvalue = wxDefaultSize ;
8214 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5eb8189c 8215 long arg7 = (long) wxDEFAULT_MINIFRAME_STYLE ;
554f62e9
RD
8216 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8217 wxString *arg8 = (wxString *) &arg8_defvalue ;
8218 bool result;
8219 void *argp1 = 0 ;
8220 int res1 = 0 ;
8221 void *argp2 = 0 ;
8222 int res2 = 0 ;
8223 int val3 ;
8224 int ecode3 = 0 ;
8225 bool temp4 = false ;
8226 wxPoint temp5 ;
8227 wxSize temp6 ;
8228 long val7 ;
8229 int ecode7 = 0 ;
8230 bool temp8 = false ;
8231 PyObject * obj0 = 0 ;
8232 PyObject * obj1 = 0 ;
8233 PyObject * obj2 = 0 ;
8234 PyObject * obj3 = 0 ;
8235 PyObject * obj4 = 0 ;
8236 PyObject * obj5 = 0 ;
8237 PyObject * obj6 = 0 ;
8238 PyObject * obj7 = 0 ;
8239 char * kwnames[] = {
8240 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8241 };
8242
8243 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8244 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8245 if (!SWIG_IsOK(res1)) {
8246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8247 }
8248 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8249 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8250 if (!SWIG_IsOK(res2)) {
8251 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8252 }
8253 arg2 = reinterpret_cast< wxWindow * >(argp2);
8254 if (obj2) {
8255 ecode3 = SWIG_AsVal_int(obj2, &val3);
8256 if (!SWIG_IsOK(ecode3)) {
8257 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8258 }
8259 arg3 = static_cast< int >(val3);
8260 }
8261 if (obj3) {
b1fcee84 8262 {
554f62e9
RD
8263 arg4 = wxString_in_helper(obj3);
8264 if (arg4 == NULL) SWIG_fail;
8265 temp4 = true;
d55e5bfc 8266 }
554f62e9
RD
8267 }
8268 if (obj4) {
d55e5bfc 8269 {
554f62e9
RD
8270 arg5 = &temp5;
8271 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8272 }
554f62e9
RD
8273 }
8274 if (obj5) {
d55e5bfc 8275 {
554f62e9
RD
8276 arg6 = &temp6;
8277 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 8278 }
554f62e9
RD
8279 }
8280 if (obj6) {
8281 ecode7 = SWIG_AsVal_long(obj6, &val7);
8282 if (!SWIG_IsOK(ecode7)) {
8283 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8284 }
8285 arg7 = static_cast< long >(val7);
8286 }
8287 if (obj7) {
d55e5bfc 8288 {
554f62e9
RD
8289 arg8 = wxString_in_helper(obj7);
8290 if (arg8 == NULL) SWIG_fail;
8291 temp8 = true;
d55e5bfc 8292 }
554f62e9
RD
8293 }
8294 {
8295 PyThreadState* __tstate = wxPyBeginAllowThreads();
8296 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8297 wxPyEndAllowThreads(__tstate);
8298 if (PyErr_Occurred()) SWIG_fail;
8299 }
8300 {
8301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8302 }
8303 {
8304 if (temp4)
8305 delete arg4;
8306 }
8307 {
8308 if (temp8)
8309 delete arg8;
8310 }
8311 return resultobj;
8312fail:
8313 {
8314 if (temp4)
8315 delete arg4;
8316 }
8317 {
8318 if (temp8)
8319 delete arg8;
8320 }
8321 return NULL;
8322}
8323
8324
8325SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8326 PyObject *obj;
8327 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8328 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8329 return SWIG_Py_Void();
8330}
8331
8332SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8333 return SWIG_Python_InitShadowInstance(args);
8334}
8335
8336SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8337 PyObject *resultobj = 0;
8338 wxBitmap *arg1 = 0 ;
8339 wxWindow *arg2 = (wxWindow *) 0 ;
8340 int arg3 ;
8341 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8342 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8343 wxSize const &arg5_defvalue = wxDefaultSize ;
8344 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8345 long arg6 = (long) wxNO_BORDER ;
8346 wxSplashScreenWindow *result = 0 ;
8347 void *argp1 = 0 ;
8348 int res1 = 0 ;
8349 void *argp2 = 0 ;
8350 int res2 = 0 ;
8351 int val3 ;
8352 int ecode3 = 0 ;
8353 wxPoint temp4 ;
8354 wxSize temp5 ;
8355 long val6 ;
8356 int ecode6 = 0 ;
8357 PyObject * obj0 = 0 ;
8358 PyObject * obj1 = 0 ;
8359 PyObject * obj2 = 0 ;
8360 PyObject * obj3 = 0 ;
8361 PyObject * obj4 = 0 ;
8362 PyObject * obj5 = 0 ;
8363 char * kwnames[] = {
8364 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8365 };
8366
8367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8368 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8369 if (!SWIG_IsOK(res1)) {
8370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8371 }
8372 if (!argp1) {
8373 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8374 }
8375 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8376 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8377 if (!SWIG_IsOK(res2)) {
8378 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8379 }
8380 arg2 = reinterpret_cast< wxWindow * >(argp2);
8381 ecode3 = SWIG_AsVal_int(obj2, &val3);
8382 if (!SWIG_IsOK(ecode3)) {
8383 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8384 }
8385 arg3 = static_cast< int >(val3);
8386 if (obj3) {
d55e5bfc 8387 {
554f62e9
RD
8388 arg4 = &temp4;
8389 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8390 }
554f62e9
RD
8391 }
8392 if (obj4) {
d55e5bfc 8393 {
554f62e9
RD
8394 arg5 = &temp5;
8395 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8396 }
8397 }
8398 if (obj5) {
8399 ecode6 = SWIG_AsVal_long(obj5, &val6);
8400 if (!SWIG_IsOK(ecode6)) {
8401 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8402 }
8403 arg6 = static_cast< long >(val6);
8404 }
8405 {
8406 if (!wxPyCheckForApp()) SWIG_fail;
8407 PyThreadState* __tstate = wxPyBeginAllowThreads();
8408 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8409 wxPyEndAllowThreads(__tstate);
8410 if (PyErr_Occurred()) SWIG_fail;
8411 }
8412 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8413 return resultobj;
8414fail:
8415 return NULL;
8416}
8417
8418
8419SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8420 PyObject *resultobj = 0;
8421 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8422 wxBitmap *arg2 = 0 ;
8423 void *argp1 = 0 ;
8424 int res1 = 0 ;
8425 void *argp2 = 0 ;
8426 int res2 = 0 ;
8427 PyObject * obj0 = 0 ;
8428 PyObject * obj1 = 0 ;
8429 char * kwnames[] = {
8430 (char *) "self",(char *) "bitmap", NULL
8431 };
8432
8433 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8434 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8435 if (!SWIG_IsOK(res1)) {
8436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8437 }
8438 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8439 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8440 if (!SWIG_IsOK(res2)) {
8441 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8442 }
8443 if (!argp2) {
8444 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8445 }
8446 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8447 {
8448 PyThreadState* __tstate = wxPyBeginAllowThreads();
8449 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8450 wxPyEndAllowThreads(__tstate);
8451 if (PyErr_Occurred()) SWIG_fail;
8452 }
8453 resultobj = SWIG_Py_Void();
8454 return resultobj;
8455fail:
8456 return NULL;
d55e5bfc
RD
8457}
8458
8459
554f62e9
RD
8460SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8461 PyObject *resultobj = 0;
8462 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8463 wxBitmap *result = 0 ;
8464 void *argp1 = 0 ;
8465 int res1 = 0 ;
8466 PyObject *swig_obj[1] ;
8467
8468 if (!args) SWIG_fail;
8469 swig_obj[0] = args;
8470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8471 if (!SWIG_IsOK(res1)) {
8472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8473 }
8474 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8475 {
8476 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 8477 {
554f62e9
RD
8478 wxBitmap &_result_ref = (arg1)->GetBitmap();
8479 result = (wxBitmap *) &_result_ref;
d55e5bfc 8480 }
554f62e9
RD
8481 wxPyEndAllowThreads(__tstate);
8482 if (PyErr_Occurred()) SWIG_fail;
8483 }
8484 {
8485 wxBitmap* resultptr = new wxBitmap(*result);
8486 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8487 }
8488 return resultobj;
8489fail:
8490 return NULL;
8491}
8492
8493
8494SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8495 PyObject *obj;
8496 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8497 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8498 return SWIG_Py_Void();
8499}
8500
8501SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8502 return SWIG_Python_InitShadowInstance(args);
8503}
8504
8505SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8506 PyObject *resultobj = 0;
8507 wxBitmap *arg1 = 0 ;
8508 long arg2 ;
8509 int arg3 ;
8510 wxWindow *arg4 = (wxWindow *) 0 ;
8511 int arg5 = (int) -1 ;
8512 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8513 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8514 wxSize const &arg7_defvalue = wxDefaultSize ;
8515 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8516 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8517 wxSplashScreen *result = 0 ;
8518 void *argp1 = 0 ;
8519 int res1 = 0 ;
8520 long val2 ;
8521 int ecode2 = 0 ;
8522 int val3 ;
8523 int ecode3 = 0 ;
8524 void *argp4 = 0 ;
8525 int res4 = 0 ;
8526 int val5 ;
8527 int ecode5 = 0 ;
8528 wxPoint temp6 ;
8529 wxSize temp7 ;
8530 long val8 ;
8531 int ecode8 = 0 ;
8532 PyObject * obj0 = 0 ;
8533 PyObject * obj1 = 0 ;
8534 PyObject * obj2 = 0 ;
8535 PyObject * obj3 = 0 ;
8536 PyObject * obj4 = 0 ;
8537 PyObject * obj5 = 0 ;
8538 PyObject * obj6 = 0 ;
8539 PyObject * obj7 = 0 ;
8540 char * kwnames[] = {
8541 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8542 };
8543
8544 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8545 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8546 if (!SWIG_IsOK(res1)) {
8547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8548 }
8549 if (!argp1) {
8550 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8551 }
8552 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8553 ecode2 = SWIG_AsVal_long(obj1, &val2);
8554 if (!SWIG_IsOK(ecode2)) {
8555 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8556 }
8557 arg2 = static_cast< long >(val2);
8558 ecode3 = SWIG_AsVal_int(obj2, &val3);
8559 if (!SWIG_IsOK(ecode3)) {
8560 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8561 }
8562 arg3 = static_cast< int >(val3);
8563 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8564 if (!SWIG_IsOK(res4)) {
8565 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8566 }
8567 arg4 = reinterpret_cast< wxWindow * >(argp4);
8568 if (obj4) {
8569 ecode5 = SWIG_AsVal_int(obj4, &val5);
8570 if (!SWIG_IsOK(ecode5)) {
8571 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8572 }
8573 arg5 = static_cast< int >(val5);
8574 }
8575 if (obj5) {
d55e5bfc 8576 {
554f62e9
RD
8577 arg6 = &temp6;
8578 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 8579 }
554f62e9
RD
8580 }
8581 if (obj6) {
d55e5bfc 8582 {
554f62e9
RD
8583 arg7 = &temp7;
8584 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
d55e5bfc 8585 }
554f62e9
RD
8586 }
8587 if (obj7) {
8588 ecode8 = SWIG_AsVal_long(obj7, &val8);
8589 if (!SWIG_IsOK(ecode8)) {
8590 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8591 }
8592 arg8 = static_cast< long >(val8);
8593 }
8594 {
8595 if (!wxPyCheckForApp()) SWIG_fail;
8596 PyThreadState* __tstate = wxPyBeginAllowThreads();
8597 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8598 wxPyEndAllowThreads(__tstate);
8599 if (PyErr_Occurred()) SWIG_fail;
8600 }
8601 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8602 return resultobj;
8603fail:
8604 return NULL;
d55e5bfc
RD
8605}
8606
8607
554f62e9
RD
8608SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8609 PyObject *resultobj = 0;
8610 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8611 long result;
8612 void *argp1 = 0 ;
8613 int res1 = 0 ;
8614 PyObject *swig_obj[1] ;
8615
8616 if (!args) SWIG_fail;
8617 swig_obj[0] = args;
8618 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8619 if (!SWIG_IsOK(res1)) {
8620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8621 }
8622 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8623 {
8624 PyThreadState* __tstate = wxPyBeginAllowThreads();
8625 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8626 wxPyEndAllowThreads(__tstate);
8627 if (PyErr_Occurred()) SWIG_fail;
8628 }
8629 resultobj = SWIG_From_long(static_cast< long >(result));
8630 return resultobj;
8631fail:
8632 return NULL;
d55e5bfc
RD
8633}
8634
8635
554f62e9
RD
8636SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8637 PyObject *resultobj = 0;
8638 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8639 wxSplashScreenWindow *result = 0 ;
8640 void *argp1 = 0 ;
8641 int res1 = 0 ;
8642 PyObject *swig_obj[1] ;
8643
8644 if (!args) SWIG_fail;
8645 swig_obj[0] = args;
8646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8647 if (!SWIG_IsOK(res1)) {
8648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8649 }
8650 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8651 {
8652 PyThreadState* __tstate = wxPyBeginAllowThreads();
8653 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8654 wxPyEndAllowThreads(__tstate);
8655 if (PyErr_Occurred()) SWIG_fail;
8656 }
8657 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8658 return resultobj;
8659fail:
8660 return NULL;
d55e5bfc
RD
8661}
8662
8663
554f62e9
RD
8664SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8665 PyObject *resultobj = 0;
8666 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8667 int result;
8668 void *argp1 = 0 ;
8669 int res1 = 0 ;
8670 PyObject *swig_obj[1] ;
8671
8672 if (!args) SWIG_fail;
8673 swig_obj[0] = args;
8674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8675 if (!SWIG_IsOK(res1)) {
8676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8677 }
8678 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8679 {
8680 PyThreadState* __tstate = wxPyBeginAllowThreads();
8681 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8682 wxPyEndAllowThreads(__tstate);
8683 if (PyErr_Occurred()) SWIG_fail;
8684 }
8685 resultobj = SWIG_From_int(static_cast< int >(result));
8686 return resultobj;
8687fail:
8688 return NULL;
8689}
8690
8691
8692SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8693 PyObject *obj;
8694 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8695 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8696 return SWIG_Py_Void();
8697}
8698
8699SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8700 return SWIG_Python_InitShadowInstance(args);
8701}
8702
8703SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8704 PyObject *resultobj = 0;
8705 wxWindow *arg1 = (wxWindow *) 0 ;
8706 int arg2 = (int) -1 ;
8707 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8708 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8709 wxString *arg4 = (wxString *) &arg4_defvalue ;
8710 wxStatusBar *result = 0 ;
8711 void *argp1 = 0 ;
8712 int res1 = 0 ;
8713 int val2 ;
8714 int ecode2 = 0 ;
8715 long val3 ;
8716 int ecode3 = 0 ;
8717 bool temp4 = false ;
8718 PyObject * obj0 = 0 ;
8719 PyObject * obj1 = 0 ;
8720 PyObject * obj2 = 0 ;
8721 PyObject * obj3 = 0 ;
8722 char * kwnames[] = {
8723 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8724 };
8725
8726 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8727 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8728 if (!SWIG_IsOK(res1)) {
8729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8730 }
8731 arg1 = reinterpret_cast< wxWindow * >(argp1);
8732 if (obj1) {
8733 ecode2 = SWIG_AsVal_int(obj1, &val2);
8734 if (!SWIG_IsOK(ecode2)) {
8735 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8736 }
8737 arg2 = static_cast< int >(val2);
8738 }
8739 if (obj2) {
8740 ecode3 = SWIG_AsVal_long(obj2, &val3);
8741 if (!SWIG_IsOK(ecode3)) {
8742 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8743 }
8744 arg3 = static_cast< long >(val3);
8745 }
8746 if (obj3) {
d55e5bfc 8747 {
554f62e9
RD
8748 arg4 = wxString_in_helper(obj3);
8749 if (arg4 == NULL) SWIG_fail;
8750 temp4 = true;
d55e5bfc 8751 }
554f62e9
RD
8752 }
8753 {
8754 if (!wxPyCheckForApp()) SWIG_fail;
8755 PyThreadState* __tstate = wxPyBeginAllowThreads();
8756 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8757 wxPyEndAllowThreads(__tstate);
8758 if (PyErr_Occurred()) SWIG_fail;
8759 }
8760 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8761 {
8762 if (temp4)
8763 delete arg4;
8764 }
8765 return resultobj;
8766fail:
8767 {
8768 if (temp4)
8769 delete arg4;
8770 }
8771 return NULL;
d55e5bfc
RD
8772}
8773
8774
554f62e9
RD
8775SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8776 PyObject *resultobj = 0;
8777 wxStatusBar *result = 0 ;
8778
8779 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8780 {
8781 if (!wxPyCheckForApp()) SWIG_fail;
8782 PyThreadState* __tstate = wxPyBeginAllowThreads();
8783 result = (wxStatusBar *)new wxStatusBar();
8784 wxPyEndAllowThreads(__tstate);
8785 if (PyErr_Occurred()) SWIG_fail;
8786 }
8787 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8788 return resultobj;
8789fail:
8790 return NULL;
8791}
8792
8793
8794SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8795 PyObject *resultobj = 0;
8796 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8797 wxWindow *arg2 = (wxWindow *) 0 ;
8798 int arg3 = (int) -1 ;
8799 long arg4 = (long) wxST_SIZEGRIP ;
8800 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8801 wxString *arg5 = (wxString *) &arg5_defvalue ;
8802 bool result;
8803 void *argp1 = 0 ;
8804 int res1 = 0 ;
8805 void *argp2 = 0 ;
8806 int res2 = 0 ;
8807 int val3 ;
8808 int ecode3 = 0 ;
8809 long val4 ;
8810 int ecode4 = 0 ;
8811 bool temp5 = false ;
8812 PyObject * obj0 = 0 ;
8813 PyObject * obj1 = 0 ;
8814 PyObject * obj2 = 0 ;
8815 PyObject * obj3 = 0 ;
8816 PyObject * obj4 = 0 ;
8817 char * kwnames[] = {
8818 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8819 };
8820
8821 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8822 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8823 if (!SWIG_IsOK(res1)) {
8824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8825 }
8826 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8827 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8828 if (!SWIG_IsOK(res2)) {
8829 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8830 }
8831 arg2 = reinterpret_cast< wxWindow * >(argp2);
8832 if (obj2) {
8833 ecode3 = SWIG_AsVal_int(obj2, &val3);
8834 if (!SWIG_IsOK(ecode3)) {
8835 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8836 }
8837 arg3 = static_cast< int >(val3);
8838 }
8839 if (obj3) {
8840 ecode4 = SWIG_AsVal_long(obj3, &val4);
8841 if (!SWIG_IsOK(ecode4)) {
8842 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8843 }
8844 arg4 = static_cast< long >(val4);
8845 }
8846 if (obj4) {
d55e5bfc 8847 {
554f62e9
RD
8848 arg5 = wxString_in_helper(obj4);
8849 if (arg5 == NULL) SWIG_fail;
8850 temp5 = true;
d55e5bfc 8851 }
554f62e9
RD
8852 }
8853 {
8854 PyThreadState* __tstate = wxPyBeginAllowThreads();
8855 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8856 wxPyEndAllowThreads(__tstate);
8857 if (PyErr_Occurred()) SWIG_fail;
8858 }
8859 {
8860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8861 }
8862 {
8863 if (temp5)
8864 delete arg5;
8865 }
8866 return resultobj;
8867fail:
8868 {
8869 if (temp5)
8870 delete arg5;
8871 }
8872 return NULL;
8873}
8874
8875
8876SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8877 PyObject *resultobj = 0;
8878 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8879 int arg2 = (int) 1 ;
8880 void *argp1 = 0 ;
8881 int res1 = 0 ;
8882 int val2 ;
8883 int ecode2 = 0 ;
8884 PyObject * obj0 = 0 ;
8885 PyObject * obj1 = 0 ;
8886 char * kwnames[] = {
8887 (char *) "self",(char *) "number", NULL
8888 };
8889
8890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8892 if (!SWIG_IsOK(res1)) {
8893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8894 }
8895 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8896 if (obj1) {
8897 ecode2 = SWIG_AsVal_int(obj1, &val2);
8898 if (!SWIG_IsOK(ecode2)) {
8899 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8900 }
8901 arg2 = static_cast< int >(val2);
8902 }
8903 {
8904 PyThreadState* __tstate = wxPyBeginAllowThreads();
8905 (arg1)->SetFieldsCount(arg2);
8906 wxPyEndAllowThreads(__tstate);
8907 if (PyErr_Occurred()) SWIG_fail;
8908 }
8909 resultobj = SWIG_Py_Void();
8910 return resultobj;
8911fail:
8912 return NULL;
d55e5bfc
RD
8913}
8914
8915
554f62e9
RD
8916SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8917 PyObject *resultobj = 0;
8918 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8919 int result;
8920 void *argp1 = 0 ;
8921 int res1 = 0 ;
8922 PyObject *swig_obj[1] ;
8923
8924 if (!args) SWIG_fail;
8925 swig_obj[0] = args;
8926 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8927 if (!SWIG_IsOK(res1)) {
8928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8929 }
8930 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8931 {
8932 PyThreadState* __tstate = wxPyBeginAllowThreads();
8933 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8934 wxPyEndAllowThreads(__tstate);
8935 if (PyErr_Occurred()) SWIG_fail;
8936 }
8937 resultobj = SWIG_From_int(static_cast< int >(result));
8938 return resultobj;
8939fail:
8940 return NULL;
8941}
8942
8943
8944SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8945 PyObject *resultobj = 0;
8946 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8947 wxString *arg2 = 0 ;
8948 int arg3 = (int) 0 ;
8949 void *argp1 = 0 ;
8950 int res1 = 0 ;
8951 bool temp2 = false ;
8952 int val3 ;
8953 int ecode3 = 0 ;
8954 PyObject * obj0 = 0 ;
8955 PyObject * obj1 = 0 ;
8956 PyObject * obj2 = 0 ;
8957 char * kwnames[] = {
8958 (char *) "self",(char *) "text",(char *) "number", NULL
8959 };
8960
8961 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8962 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8963 if (!SWIG_IsOK(res1)) {
8964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8965 }
8966 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8967 {
8968 arg2 = wxString_in_helper(obj1);
8969 if (arg2 == NULL) SWIG_fail;
8970 temp2 = true;
8971 }
8972 if (obj2) {
8973 ecode3 = SWIG_AsVal_int(obj2, &val3);
8974 if (!SWIG_IsOK(ecode3)) {
8975 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8976 }
8977 arg3 = static_cast< int >(val3);
8978 }
8979 {
8980 PyThreadState* __tstate = wxPyBeginAllowThreads();
8981 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8982 wxPyEndAllowThreads(__tstate);
8983 if (PyErr_Occurred()) SWIG_fail;
8984 }
8985 resultobj = SWIG_Py_Void();
8986 {
8987 if (temp2)
8988 delete arg2;
8989 }
8990 return resultobj;
8991fail:
8992 {
8993 if (temp2)
8994 delete arg2;
8995 }
8996 return NULL;
8997}
8998
8999
9000SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9001 PyObject *resultobj = 0;
9002 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9003 int arg2 = (int) 0 ;
9004 wxString result;
9005 void *argp1 = 0 ;
9006 int res1 = 0 ;
9007 int val2 ;
9008 int ecode2 = 0 ;
9009 PyObject * obj0 = 0 ;
9010 PyObject * obj1 = 0 ;
9011 char * kwnames[] = {
9012 (char *) "self",(char *) "number", NULL
9013 };
9014
9015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9017 if (!SWIG_IsOK(res1)) {
9018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9019 }
9020 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9021 if (obj1) {
9022 ecode2 = SWIG_AsVal_int(obj1, &val2);
9023 if (!SWIG_IsOK(ecode2)) {
9024 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9025 }
9026 arg2 = static_cast< int >(val2);
9027 }
9028 {
9029 PyThreadState* __tstate = wxPyBeginAllowThreads();
9030 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
9031 wxPyEndAllowThreads(__tstate);
9032 if (PyErr_Occurred()) SWIG_fail;
9033 }
9034 {
9035#if wxUSE_UNICODE
9036 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9037#else
9038 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9039#endif
9040 }
9041 return resultobj;
9042fail:
9043 return NULL;
9044}
9045
9046
9047SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9048 PyObject *resultobj = 0;
9049 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9050 wxString *arg2 = 0 ;
9051 int arg3 = (int) 0 ;
9052 void *argp1 = 0 ;
9053 int res1 = 0 ;
9054 bool temp2 = false ;
9055 int val3 ;
9056 int ecode3 = 0 ;
9057 PyObject * obj0 = 0 ;
9058 PyObject * obj1 = 0 ;
9059 PyObject * obj2 = 0 ;
9060 char * kwnames[] = {
9061 (char *) "self",(char *) "text",(char *) "number", NULL
9062 };
9063
9064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9066 if (!SWIG_IsOK(res1)) {
9067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9068 }
9069 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9070 {
9071 arg2 = wxString_in_helper(obj1);
9072 if (arg2 == NULL) SWIG_fail;
9073 temp2 = true;
9074 }
9075 if (obj2) {
9076 ecode3 = SWIG_AsVal_int(obj2, &val3);
9077 if (!SWIG_IsOK(ecode3)) {
9078 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9079 }
9080 arg3 = static_cast< int >(val3);
9081 }
9082 {
9083 PyThreadState* __tstate = wxPyBeginAllowThreads();
9084 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9085 wxPyEndAllowThreads(__tstate);
9086 if (PyErr_Occurred()) SWIG_fail;
9087 }
9088 resultobj = SWIG_Py_Void();
9089 {
9090 if (temp2)
9091 delete arg2;
9092 }
9093 return resultobj;
9094fail:
9095 {
9096 if (temp2)
9097 delete arg2;
9098 }
9099 return NULL;
9100}
9101
9102
9103SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9104 PyObject *resultobj = 0;
9105 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9106 int arg2 = (int) 0 ;
9107 void *argp1 = 0 ;
9108 int res1 = 0 ;
9109 int val2 ;
9110 int ecode2 = 0 ;
9111 PyObject * obj0 = 0 ;
9112 PyObject * obj1 = 0 ;
9113 char * kwnames[] = {
9114 (char *) "self",(char *) "number", NULL
9115 };
9116
9117 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9118 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9119 if (!SWIG_IsOK(res1)) {
9120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9121 }
9122 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9123 if (obj1) {
9124 ecode2 = SWIG_AsVal_int(obj1, &val2);
9125 if (!SWIG_IsOK(ecode2)) {
9126 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9127 }
9128 arg2 = static_cast< int >(val2);
9129 }
9130 {
9131 PyThreadState* __tstate = wxPyBeginAllowThreads();
9132 (arg1)->PopStatusText(arg2);
9133 wxPyEndAllowThreads(__tstate);
9134 if (PyErr_Occurred()) SWIG_fail;
9135 }
9136 resultobj = SWIG_Py_Void();
9137 return resultobj;
9138fail:
9139 return NULL;
9140}
9141
9142
9143SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9144 PyObject *resultobj = 0;
9145 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9146 int arg2 ;
9147 int *arg3 = (int *) 0 ;
9148 void *argp1 = 0 ;
9149 int res1 = 0 ;
9150 PyObject * obj0 = 0 ;
9151 PyObject * obj1 = 0 ;
9152 char * kwnames[] = {
9153 (char *) "self",(char *) "widths", NULL
9154 };
9155
9156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9158 if (!SWIG_IsOK(res1)) {
9159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9160 }
9161 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9162 {
9163 arg2 = PyList_Size(obj1);
9164 arg3 = int_LIST_helper(obj1);
9165 if (arg3 == NULL) SWIG_fail;
9166 }
9167 {
9168 PyThreadState* __tstate = wxPyBeginAllowThreads();
9169 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9170 wxPyEndAllowThreads(__tstate);
9171 if (PyErr_Occurred()) SWIG_fail;
9172 }
9173 resultobj = SWIG_Py_Void();
9174 {
9175 if (arg3) delete [] arg3;
9176 }
9177 return resultobj;
9178fail:
9179 {
9180 if (arg3) delete [] arg3;
9181 }
9182 return NULL;
d55e5bfc
RD
9183}
9184
9185
554f62e9
RD
9186SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9187 PyObject *resultobj = 0;
9188 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9189 int arg2 ;
9190 int *arg3 = (int *) 0 ;
9191 void *argp1 = 0 ;
9192 int res1 = 0 ;
9193 PyObject * obj0 = 0 ;
9194 PyObject * obj1 = 0 ;
9195 char * kwnames[] = {
9196 (char *) "self",(char *) "styles", NULL
9197 };
9198
9199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9200 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9201 if (!SWIG_IsOK(res1)) {
9202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9203 }
9204 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9205 {
9206 arg2 = PyList_Size(obj1);
9207 arg3 = int_LIST_helper(obj1);
9208 if (arg3 == NULL) SWIG_fail;
9209 }
9210 {
9211 PyThreadState* __tstate = wxPyBeginAllowThreads();
9212 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9213 wxPyEndAllowThreads(__tstate);
9214 if (PyErr_Occurred()) SWIG_fail;
9215 }
9216 resultobj = SWIG_Py_Void();
9217 {
9218 if (arg3) delete [] arg3;
9219 }
9220 return resultobj;
9221fail:
9222 {
9223 if (arg3) delete [] arg3;
9224 }
9225 return NULL;
9226}
9227
9228
9229SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9230 PyObject *resultobj = 0;
9231 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9232 int arg2 ;
9233 wxRect result;
9234 void *argp1 = 0 ;
9235 int res1 = 0 ;
9236 int val2 ;
9237 int ecode2 = 0 ;
9238 PyObject * obj0 = 0 ;
9239 PyObject * obj1 = 0 ;
9240 char * kwnames[] = {
9241 (char *) "self",(char *) "i", NULL
9242 };
9243
9244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9246 if (!SWIG_IsOK(res1)) {
9247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9248 }
9249 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9250 ecode2 = SWIG_AsVal_int(obj1, &val2);
9251 if (!SWIG_IsOK(ecode2)) {
9252 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9253 }
9254 arg2 = static_cast< int >(val2);
9255 {
9256 PyThreadState* __tstate = wxPyBeginAllowThreads();
9257 result = wxStatusBar_GetFieldRect(arg1,arg2);
9258 wxPyEndAllowThreads(__tstate);
9259 if (PyErr_Occurred()) SWIG_fail;
9260 }
9261 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9262 return resultobj;
9263fail:
9264 return NULL;
9265}
9266
9267
9268SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9269 PyObject *resultobj = 0;
9270 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9271 int arg2 ;
9272 void *argp1 = 0 ;
9273 int res1 = 0 ;
9274 int val2 ;
9275 int ecode2 = 0 ;
9276 PyObject * obj0 = 0 ;
9277 PyObject * obj1 = 0 ;
9278 char * kwnames[] = {
9279 (char *) "self",(char *) "height", NULL
9280 };
9281
9282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9284 if (!SWIG_IsOK(res1)) {
9285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9286 }
9287 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9288 ecode2 = SWIG_AsVal_int(obj1, &val2);
9289 if (!SWIG_IsOK(ecode2)) {
9290 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9291 }
9292 arg2 = static_cast< int >(val2);
9293 {
9294 PyThreadState* __tstate = wxPyBeginAllowThreads();
9295 (arg1)->SetMinHeight(arg2);
9296 wxPyEndAllowThreads(__tstate);
9297 if (PyErr_Occurred()) SWIG_fail;
9298 }
9299 resultobj = SWIG_Py_Void();
9300 return resultobj;
9301fail:
9302 return NULL;
d55e5bfc
RD
9303}
9304
9305
554f62e9
RD
9306SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9307 PyObject *resultobj = 0;
9308 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9309 int result;
9310 void *argp1 = 0 ;
9311 int res1 = 0 ;
9312 PyObject *swig_obj[1] ;
9313
9314 if (!args) SWIG_fail;
9315 swig_obj[0] = args;
9316 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9317 if (!SWIG_IsOK(res1)) {
9318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9319 }
9320 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9321 {
9322 PyThreadState* __tstate = wxPyBeginAllowThreads();
9323 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9324 wxPyEndAllowThreads(__tstate);
9325 if (PyErr_Occurred()) SWIG_fail;
9326 }
9327 resultobj = SWIG_From_int(static_cast< int >(result));
9328 return resultobj;
9329fail:
9330 return NULL;
d55e5bfc
RD
9331}
9332
9333
554f62e9
RD
9334SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9335 PyObject *resultobj = 0;
9336 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9337 int result;
9338 void *argp1 = 0 ;
9339 int res1 = 0 ;
9340 PyObject *swig_obj[1] ;
9341
9342 if (!args) SWIG_fail;
9343 swig_obj[0] = args;
9344 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9345 if (!SWIG_IsOK(res1)) {
9346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9347 }
9348 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9349 {
9350 PyThreadState* __tstate = wxPyBeginAllowThreads();
9351 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9352 wxPyEndAllowThreads(__tstate);
9353 if (PyErr_Occurred()) SWIG_fail;
9354 }
9355 resultobj = SWIG_From_int(static_cast< int >(result));
9356 return resultobj;
9357fail:
9358 return NULL;
9359}
9360
9361
9362SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9363 PyObject *resultobj = 0;
9364 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9365 SwigValueWrapper<wxVisualAttributes > result;
9366 int val1 ;
9367 int ecode1 = 0 ;
9368 PyObject * obj0 = 0 ;
9369 char * kwnames[] = {
9370 (char *) "variant", NULL
9371 };
9372
9373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9374 if (obj0) {
9375 ecode1 = SWIG_AsVal_int(obj0, &val1);
9376 if (!SWIG_IsOK(ecode1)) {
9377 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9378 }
9379 arg1 = static_cast< wxWindowVariant >(val1);
9380 }
9381 {
9382 if (!wxPyCheckForApp()) SWIG_fail;
9383 PyThreadState* __tstate = wxPyBeginAllowThreads();
9384 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9385 wxPyEndAllowThreads(__tstate);
9386 if (PyErr_Occurred()) SWIG_fail;
9387 }
9388 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9389 return resultobj;
9390fail:
9391 return NULL;
d55e5bfc
RD
9392}
9393
9394
554f62e9
RD
9395SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9396 PyObject *obj;
9397 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9398 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9399 return SWIG_Py_Void();
d55e5bfc
RD
9400}
9401
554f62e9
RD
9402SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9403 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
9404}
9405
554f62e9
RD
9406SWIGINTERN int SplitterNameStr_set(PyObject *) {
9407 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9408 return 1;
d55e5bfc
RD
9409}
9410
9411
554f62e9
RD
9412SWIGINTERN PyObject *SplitterNameStr_get(void) {
9413 PyObject *pyobj = 0;
9414
9415 {
9416#if wxUSE_UNICODE
9417 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9418#else
9419 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9420#endif
9421 }
9422 return pyobj;
9423}
9424
9425
9426SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9427 PyObject *resultobj = 0;
9428 wxWindow *arg1 = (wxWindow *) 0 ;
9429 int arg2 = (int) -1 ;
9430 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9431 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9432 wxSize const &arg4_defvalue = wxDefaultSize ;
9433 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9434 long arg5 = (long) wxSP_3D ;
9435 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9436 wxString *arg6 = (wxString *) &arg6_defvalue ;
9437 wxSplitterWindow *result = 0 ;
9438 void *argp1 = 0 ;
9439 int res1 = 0 ;
9440 int val2 ;
9441 int ecode2 = 0 ;
9442 wxPoint temp3 ;
9443 wxSize temp4 ;
9444 long val5 ;
9445 int ecode5 = 0 ;
9446 bool temp6 = false ;
9447 PyObject * obj0 = 0 ;
9448 PyObject * obj1 = 0 ;
9449 PyObject * obj2 = 0 ;
9450 PyObject * obj3 = 0 ;
9451 PyObject * obj4 = 0 ;
9452 PyObject * obj5 = 0 ;
9453 char * kwnames[] = {
9454 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9455 };
9456
9457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9459 if (!SWIG_IsOK(res1)) {
9460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9461 }
9462 arg1 = reinterpret_cast< wxWindow * >(argp1);
9463 if (obj1) {
9464 ecode2 = SWIG_AsVal_int(obj1, &val2);
9465 if (!SWIG_IsOK(ecode2)) {
9466 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9467 }
9468 arg2 = static_cast< int >(val2);
9469 }
9470 if (obj2) {
093d3ff1 9471 {
554f62e9
RD
9472 arg3 = &temp3;
9473 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 9474 }
554f62e9
RD
9475 }
9476 if (obj3) {
d55e5bfc 9477 {
554f62e9
RD
9478 arg4 = &temp4;
9479 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 9480 }
554f62e9
RD
9481 }
9482 if (obj4) {
9483 ecode5 = SWIG_AsVal_long(obj4, &val5);
9484 if (!SWIG_IsOK(ecode5)) {
9485 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9486 }
9487 arg5 = static_cast< long >(val5);
9488 }
9489 if (obj5) {
093d3ff1 9490 {
554f62e9
RD
9491 arg6 = wxString_in_helper(obj5);
9492 if (arg6 == NULL) SWIG_fail;
9493 temp6 = true;
093d3ff1 9494 }
554f62e9
RD
9495 }
9496 {
9497 if (!wxPyCheckForApp()) SWIG_fail;
9498 PyThreadState* __tstate = wxPyBeginAllowThreads();
9499 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9500 wxPyEndAllowThreads(__tstate);
9501 if (PyErr_Occurred()) SWIG_fail;
9502 }
9503 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9504 {
9505 if (temp6)
9506 delete arg6;
9507 }
9508 return resultobj;
9509fail:
9510 {
9511 if (temp6)
9512 delete arg6;
9513 }
9514 return NULL;
d55e5bfc
RD
9515}
9516
9517
554f62e9
RD
9518SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9519 PyObject *resultobj = 0;
9520 wxSplitterWindow *result = 0 ;
9521
9522 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9523 {
9524 if (!wxPyCheckForApp()) SWIG_fail;
9525 PyThreadState* __tstate = wxPyBeginAllowThreads();
9526 result = (wxSplitterWindow *)new wxSplitterWindow();
9527 wxPyEndAllowThreads(__tstate);
9528 if (PyErr_Occurred()) SWIG_fail;
9529 }
9530 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9531 return resultobj;
9532fail:
9533 return NULL;
9534}
9535
9536
9537SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9538 PyObject *resultobj = 0;
9539 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9540 wxWindow *arg2 = (wxWindow *) 0 ;
9541 int arg3 = (int) -1 ;
9542 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9543 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9544 wxSize const &arg5_defvalue = wxDefaultSize ;
9545 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9546 long arg6 = (long) wxSP_3D ;
9547 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9548 wxString *arg7 = (wxString *) &arg7_defvalue ;
9549 bool result;
9550 void *argp1 = 0 ;
9551 int res1 = 0 ;
9552 void *argp2 = 0 ;
9553 int res2 = 0 ;
9554 int val3 ;
9555 int ecode3 = 0 ;
9556 wxPoint temp4 ;
9557 wxSize temp5 ;
9558 long val6 ;
9559 int ecode6 = 0 ;
9560 bool temp7 = false ;
9561 PyObject * obj0 = 0 ;
9562 PyObject * obj1 = 0 ;
9563 PyObject * obj2 = 0 ;
9564 PyObject * obj3 = 0 ;
9565 PyObject * obj4 = 0 ;
9566 PyObject * obj5 = 0 ;
9567 PyObject * obj6 = 0 ;
9568 char * kwnames[] = {
9569 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9570 };
9571
9572 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9573 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9574 if (!SWIG_IsOK(res1)) {
9575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9576 }
9577 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9578 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9579 if (!SWIG_IsOK(res2)) {
9580 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9581 }
9582 arg2 = reinterpret_cast< wxWindow * >(argp2);
9583 if (obj2) {
9584 ecode3 = SWIG_AsVal_int(obj2, &val3);
9585 if (!SWIG_IsOK(ecode3)) {
9586 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9587 }
9588 arg3 = static_cast< int >(val3);
9589 }
9590 if (obj3) {
d55e5bfc 9591 {
554f62e9
RD
9592 arg4 = &temp4;
9593 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 9594 }
554f62e9
RD
9595 }
9596 if (obj4) {
d55e5bfc 9597 {
554f62e9
RD
9598 arg5 = &temp5;
9599 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 9600 }
554f62e9
RD
9601 }
9602 if (obj5) {
9603 ecode6 = SWIG_AsVal_long(obj5, &val6);
9604 if (!SWIG_IsOK(ecode6)) {
9605 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9606 }
9607 arg6 = static_cast< long >(val6);
9608 }
9609 if (obj6) {
d55e5bfc 9610 {
554f62e9
RD
9611 arg7 = wxString_in_helper(obj6);
9612 if (arg7 == NULL) SWIG_fail;
9613 temp7 = true;
d55e5bfc 9614 }
554f62e9
RD
9615 }
9616 {
9617 PyThreadState* __tstate = wxPyBeginAllowThreads();
9618 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9619 wxPyEndAllowThreads(__tstate);
9620 if (PyErr_Occurred()) SWIG_fail;
9621 }
9622 {
9623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9624 }
9625 {
9626 if (temp7)
9627 delete arg7;
9628 }
9629 return resultobj;
9630fail:
9631 {
9632 if (temp7)
9633 delete arg7;
9634 }
9635 return NULL;
d55e5bfc
RD
9636}
9637
9638
554f62e9
RD
9639SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9640 PyObject *resultobj = 0;
9641 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9642 wxWindow *result = 0 ;
9643 void *argp1 = 0 ;
9644 int res1 = 0 ;
9645 PyObject *swig_obj[1] ;
9646
9647 if (!args) SWIG_fail;
9648 swig_obj[0] = args;
9649 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9650 if (!SWIG_IsOK(res1)) {
9651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9652 }
9653 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9654 {
9655 PyThreadState* __tstate = wxPyBeginAllowThreads();
9656 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9657 wxPyEndAllowThreads(__tstate);
9658 if (PyErr_Occurred()) SWIG_fail;
9659 }
9660 {
9661 resultobj = wxPyMake_wxObject(result, 0);
9662 }
9663 return resultobj;
9664fail:
9665 return NULL;
d55e5bfc
RD
9666}
9667
9668
554f62e9
RD
9669SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9670 PyObject *resultobj = 0;
9671 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9672 wxWindow *result = 0 ;
9673 void *argp1 = 0 ;
9674 int res1 = 0 ;
9675 PyObject *swig_obj[1] ;
9676
9677 if (!args) SWIG_fail;
9678 swig_obj[0] = args;
9679 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9680 if (!SWIG_IsOK(res1)) {
9681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9682 }
9683 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9684 {
9685 PyThreadState* __tstate = wxPyBeginAllowThreads();
9686 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9687 wxPyEndAllowThreads(__tstate);
9688 if (PyErr_Occurred()) SWIG_fail;
9689 }
9690 {
9691 resultobj = wxPyMake_wxObject(result, 0);
9692 }
9693 return resultobj;
9694fail:
9695 return NULL;
9696}
9697
9698
9699SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9700 PyObject *resultobj = 0;
9701 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9702 int arg2 ;
9703 void *argp1 = 0 ;
9704 int res1 = 0 ;
9705 int val2 ;
9706 int ecode2 = 0 ;
9707 PyObject * obj0 = 0 ;
9708 PyObject * obj1 = 0 ;
9709 char * kwnames[] = {
9710 (char *) "self",(char *) "mode", NULL
9711 };
9712
9713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9715 if (!SWIG_IsOK(res1)) {
9716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9717 }
9718 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9719 ecode2 = SWIG_AsVal_int(obj1, &val2);
9720 if (!SWIG_IsOK(ecode2)) {
9721 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9722 }
9723 arg2 = static_cast< int >(val2);
9724 {
9725 PyThreadState* __tstate = wxPyBeginAllowThreads();
9726 (arg1)->SetSplitMode(arg2);
9727 wxPyEndAllowThreads(__tstate);
9728 if (PyErr_Occurred()) SWIG_fail;
9729 }
9730 resultobj = SWIG_Py_Void();
9731 return resultobj;
9732fail:
9733 return NULL;
d55e5bfc
RD
9734}
9735
9736
554f62e9
RD
9737SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9738 PyObject *resultobj = 0;
9739 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9740 wxSplitMode result;
9741 void *argp1 = 0 ;
9742 int res1 = 0 ;
9743 PyObject *swig_obj[1] ;
9744
9745 if (!args) SWIG_fail;
9746 swig_obj[0] = args;
9747 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9748 if (!SWIG_IsOK(res1)) {
9749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9750 }
9751 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9752 {
9753 PyThreadState* __tstate = wxPyBeginAllowThreads();
9754 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9755 wxPyEndAllowThreads(__tstate);
9756 if (PyErr_Occurred()) SWIG_fail;
9757 }
9758 resultobj = SWIG_From_int(static_cast< int >(result));
9759 return resultobj;
9760fail:
9761 return NULL;
9762}
9763
9764
9765SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9766 PyObject *resultobj = 0;
9767 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9768 wxWindow *arg2 = (wxWindow *) 0 ;
9769 void *argp1 = 0 ;
9770 int res1 = 0 ;
9771 void *argp2 = 0 ;
9772 int res2 = 0 ;
9773 PyObject * obj0 = 0 ;
9774 PyObject * obj1 = 0 ;
9775 char * kwnames[] = {
9776 (char *) "self",(char *) "window", NULL
9777 };
9778
9779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9781 if (!SWIG_IsOK(res1)) {
9782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9783 }
9784 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9785 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9786 if (!SWIG_IsOK(res2)) {
9787 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9788 }
9789 arg2 = reinterpret_cast< wxWindow * >(argp2);
9790 {
9791 PyThreadState* __tstate = wxPyBeginAllowThreads();
9792 (arg1)->Initialize(arg2);
9793 wxPyEndAllowThreads(__tstate);
9794 if (PyErr_Occurred()) SWIG_fail;
9795 }
9796 resultobj = SWIG_Py_Void();
9797 return resultobj;
9798fail:
9799 return NULL;
9800}
9801
9802
9803SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9804 PyObject *resultobj = 0;
9805 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9806 wxWindow *arg2 = (wxWindow *) 0 ;
9807 wxWindow *arg3 = (wxWindow *) 0 ;
9808 int arg4 = (int) 0 ;
9809 bool result;
9810 void *argp1 = 0 ;
9811 int res1 = 0 ;
9812 void *argp2 = 0 ;
9813 int res2 = 0 ;
9814 void *argp3 = 0 ;
9815 int res3 = 0 ;
9816 int val4 ;
9817 int ecode4 = 0 ;
9818 PyObject * obj0 = 0 ;
9819 PyObject * obj1 = 0 ;
9820 PyObject * obj2 = 0 ;
9821 PyObject * obj3 = 0 ;
9822 char * kwnames[] = {
9823 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9824 };
9825
9826 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9828 if (!SWIG_IsOK(res1)) {
9829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9830 }
9831 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9832 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9833 if (!SWIG_IsOK(res2)) {
9834 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9835 }
9836 arg2 = reinterpret_cast< wxWindow * >(argp2);
9837 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9838 if (!SWIG_IsOK(res3)) {
9839 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9840 }
9841 arg3 = reinterpret_cast< wxWindow * >(argp3);
9842 if (obj3) {
9843 ecode4 = SWIG_AsVal_int(obj3, &val4);
9844 if (!SWIG_IsOK(ecode4)) {
9845 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9846 }
9847 arg4 = static_cast< int >(val4);
9848 }
9849 {
9850 PyThreadState* __tstate = wxPyBeginAllowThreads();
9851 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9852 wxPyEndAllowThreads(__tstate);
9853 if (PyErr_Occurred()) SWIG_fail;
9854 }
9855 {
9856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9857 }
9858 return resultobj;
9859fail:
9860 return NULL;
9861}
9862
9863
9864SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9865 PyObject *resultobj = 0;
9866 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9867 wxWindow *arg2 = (wxWindow *) 0 ;
9868 wxWindow *arg3 = (wxWindow *) 0 ;
9869 int arg4 = (int) 0 ;
9870 bool result;
9871 void *argp1 = 0 ;
9872 int res1 = 0 ;
9873 void *argp2 = 0 ;
9874 int res2 = 0 ;
9875 void *argp3 = 0 ;
9876 int res3 = 0 ;
9877 int val4 ;
9878 int ecode4 = 0 ;
9879 PyObject * obj0 = 0 ;
9880 PyObject * obj1 = 0 ;
9881 PyObject * obj2 = 0 ;
9882 PyObject * obj3 = 0 ;
9883 char * kwnames[] = {
9884 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9885 };
9886
9887 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9888 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9889 if (!SWIG_IsOK(res1)) {
9890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9891 }
9892 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9893 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9894 if (!SWIG_IsOK(res2)) {
9895 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9896 }
9897 arg2 = reinterpret_cast< wxWindow * >(argp2);
9898 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9899 if (!SWIG_IsOK(res3)) {
9900 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9901 }
9902 arg3 = reinterpret_cast< wxWindow * >(argp3);
9903 if (obj3) {
9904 ecode4 = SWIG_AsVal_int(obj3, &val4);
9905 if (!SWIG_IsOK(ecode4)) {
9906 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9907 }
9908 arg4 = static_cast< int >(val4);
9909 }
9910 {
9911 PyThreadState* __tstate = wxPyBeginAllowThreads();
9912 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9913 wxPyEndAllowThreads(__tstate);
9914 if (PyErr_Occurred()) SWIG_fail;
9915 }
9916 {
9917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9918 }
9919 return resultobj;
9920fail:
9921 return NULL;
9922}
9923
9924
9925SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9926 PyObject *resultobj = 0;
9927 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9928 wxWindow *arg2 = (wxWindow *) NULL ;
9929 bool result;
9930 void *argp1 = 0 ;
9931 int res1 = 0 ;
9932 void *argp2 = 0 ;
9933 int res2 = 0 ;
9934 PyObject * obj0 = 0 ;
9935 PyObject * obj1 = 0 ;
9936 char * kwnames[] = {
9937 (char *) "self",(char *) "toRemove", NULL
9938 };
9939
9940 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9941 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9942 if (!SWIG_IsOK(res1)) {
9943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9944 }
9945 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9946 if (obj1) {
9947 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9948 if (!SWIG_IsOK(res2)) {
9949 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
d55e5bfc 9950 }
554f62e9
RD
9951 arg2 = reinterpret_cast< wxWindow * >(argp2);
9952 }
9953 {
9954 PyThreadState* __tstate = wxPyBeginAllowThreads();
9955 result = (bool)(arg1)->Unsplit(arg2);
9956 wxPyEndAllowThreads(__tstate);
9957 if (PyErr_Occurred()) SWIG_fail;
9958 }
9959 {
9960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9961 }
9962 return resultobj;
9963fail:
9964 return NULL;
9965}
9966
9967
9968SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9969 PyObject *resultobj = 0;
9970 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9971 wxWindow *arg2 = (wxWindow *) 0 ;
9972 wxWindow *arg3 = (wxWindow *) 0 ;
9973 bool result;
9974 void *argp1 = 0 ;
9975 int res1 = 0 ;
9976 void *argp2 = 0 ;
9977 int res2 = 0 ;
9978 void *argp3 = 0 ;
9979 int res3 = 0 ;
9980 PyObject * obj0 = 0 ;
9981 PyObject * obj1 = 0 ;
9982 PyObject * obj2 = 0 ;
9983 char * kwnames[] = {
9984 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9985 };
9986
9987 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9988 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9989 if (!SWIG_IsOK(res1)) {
9990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9991 }
9992 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9993 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9994 if (!SWIG_IsOK(res2)) {
9995 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9996 }
9997 arg2 = reinterpret_cast< wxWindow * >(argp2);
9998 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9999 if (!SWIG_IsOK(res3)) {
10000 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10001 }
10002 arg3 = reinterpret_cast< wxWindow * >(argp3);
10003 {
10004 PyThreadState* __tstate = wxPyBeginAllowThreads();
10005 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
10006 wxPyEndAllowThreads(__tstate);
10007 if (PyErr_Occurred()) SWIG_fail;
10008 }
10009 {
10010 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10011 }
10012 return resultobj;
10013fail:
10014 return NULL;
d55e5bfc
RD
10015}
10016
10017
554f62e9
RD
10018SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10019 PyObject *resultobj = 0;
10020 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10021 void *argp1 = 0 ;
10022 int res1 = 0 ;
10023 PyObject *swig_obj[1] ;
10024
10025 if (!args) SWIG_fail;
10026 swig_obj[0] = args;
10027 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10028 if (!SWIG_IsOK(res1)) {
10029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10030 }
10031 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10032 {
10033 PyThreadState* __tstate = wxPyBeginAllowThreads();
10034 (arg1)->UpdateSize();
10035 wxPyEndAllowThreads(__tstate);
10036 if (PyErr_Occurred()) SWIG_fail;
10037 }
10038 resultobj = SWIG_Py_Void();
10039 return resultobj;
10040fail:
10041 return NULL;
f20a2e1f
RD
10042}
10043
10044
554f62e9
RD
10045SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10046 PyObject *resultobj = 0;
10047 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10048 bool result;
10049 void *argp1 = 0 ;
10050 int res1 = 0 ;
10051 PyObject *swig_obj[1] ;
10052
10053 if (!args) SWIG_fail;
10054 swig_obj[0] = args;
10055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10056 if (!SWIG_IsOK(res1)) {
10057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10058 }
10059 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10060 {
10061 PyThreadState* __tstate = wxPyBeginAllowThreads();
10062 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
10063 wxPyEndAllowThreads(__tstate);
10064 if (PyErr_Occurred()) SWIG_fail;
10065 }
10066 {
10067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10068 }
10069 return resultobj;
10070fail:
10071 return NULL;
10072}
10073
10074
10075SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10076 PyObject *resultobj = 0;
10077 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10078 int arg2 ;
10079 void *argp1 = 0 ;
10080 int res1 = 0 ;
10081 int val2 ;
10082 int ecode2 = 0 ;
10083 PyObject * obj0 = 0 ;
10084 PyObject * obj1 = 0 ;
10085 char * kwnames[] = {
10086 (char *) "self",(char *) "width", NULL
10087 };
10088
10089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10091 if (!SWIG_IsOK(res1)) {
10092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10093 }
10094 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10095 ecode2 = SWIG_AsVal_int(obj1, &val2);
10096 if (!SWIG_IsOK(ecode2)) {
10097 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10098 }
10099 arg2 = static_cast< int >(val2);
10100 {
10101 PyThreadState* __tstate = wxPyBeginAllowThreads();
10102 (arg1)->SetSashSize(arg2);
10103 wxPyEndAllowThreads(__tstate);
10104 if (PyErr_Occurred()) SWIG_fail;
10105 }
10106 resultobj = SWIG_Py_Void();
10107 return resultobj;
10108fail:
10109 return NULL;
10110}
10111
10112
10113SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10114 PyObject *resultobj = 0;
10115 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10116 int arg2 ;
10117 void *argp1 = 0 ;
10118 int res1 = 0 ;
10119 int val2 ;
10120 int ecode2 = 0 ;
10121 PyObject * obj0 = 0 ;
10122 PyObject * obj1 = 0 ;
10123 char * kwnames[] = {
10124 (char *) "self",(char *) "width", NULL
10125 };
10126
10127 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10128 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10129 if (!SWIG_IsOK(res1)) {
10130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10131 }
10132 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10133 ecode2 = SWIG_AsVal_int(obj1, &val2);
10134 if (!SWIG_IsOK(ecode2)) {
10135 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10136 }
10137 arg2 = static_cast< int >(val2);
10138 {
10139 PyThreadState* __tstate = wxPyBeginAllowThreads();
10140 (arg1)->SetBorderSize(arg2);
10141 wxPyEndAllowThreads(__tstate);
10142 if (PyErr_Occurred()) SWIG_fail;
10143 }
10144 resultobj = SWIG_Py_Void();
10145 return resultobj;
10146fail:
10147 return NULL;
d55e5bfc
RD
10148}
10149
10150
554f62e9
RD
10151SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10152 PyObject *resultobj = 0;
10153 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10154 int result;
10155 void *argp1 = 0 ;
10156 int res1 = 0 ;
10157 PyObject *swig_obj[1] ;
10158
10159 if (!args) SWIG_fail;
10160 swig_obj[0] = args;
10161 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10162 if (!SWIG_IsOK(res1)) {
10163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10164 }
10165 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10166 {
10167 PyThreadState* __tstate = wxPyBeginAllowThreads();
10168 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10169 wxPyEndAllowThreads(__tstate);
10170 if (PyErr_Occurred()) SWIG_fail;
10171 }
10172 resultobj = SWIG_From_int(static_cast< int >(result));
10173 return resultobj;
10174fail:
10175 return NULL;
d55e5bfc
RD
10176}
10177
10178
554f62e9
RD
10179SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10180 PyObject *resultobj = 0;
10181 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10182 int result;
10183 void *argp1 = 0 ;
10184 int res1 = 0 ;
10185 PyObject *swig_obj[1] ;
10186
10187 if (!args) SWIG_fail;
10188 swig_obj[0] = args;
10189 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10190 if (!SWIG_IsOK(res1)) {
10191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10192 }
10193 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10194 {
10195 PyThreadState* __tstate = wxPyBeginAllowThreads();
10196 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10197 wxPyEndAllowThreads(__tstate);
10198 if (PyErr_Occurred()) SWIG_fail;
10199 }
10200 resultobj = SWIG_From_int(static_cast< int >(result));
10201 return resultobj;
10202fail:
10203 return NULL;
10204}
10205
10206
10207SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10208 PyObject *resultobj = 0;
10209 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10210 int arg2 ;
10211 bool arg3 = (bool) true ;
10212 void *argp1 = 0 ;
10213 int res1 = 0 ;
10214 int val2 ;
10215 int ecode2 = 0 ;
10216 bool val3 ;
10217 int ecode3 = 0 ;
10218 PyObject * obj0 = 0 ;
10219 PyObject * obj1 = 0 ;
10220 PyObject * obj2 = 0 ;
10221 char * kwnames[] = {
10222 (char *) "self",(char *) "position",(char *) "redraw", NULL
10223 };
10224
10225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10227 if (!SWIG_IsOK(res1)) {
10228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10229 }
10230 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10231 ecode2 = SWIG_AsVal_int(obj1, &val2);
10232 if (!SWIG_IsOK(ecode2)) {
10233 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10234 }
10235 arg2 = static_cast< int >(val2);
10236 if (obj2) {
10237 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10238 if (!SWIG_IsOK(ecode3)) {
10239 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10240 }
10241 arg3 = static_cast< bool >(val3);
10242 }
10243 {
10244 PyThreadState* __tstate = wxPyBeginAllowThreads();
10245 (arg1)->SetSashPosition(arg2,arg3);
10246 wxPyEndAllowThreads(__tstate);
10247 if (PyErr_Occurred()) SWIG_fail;
10248 }
10249 resultobj = SWIG_Py_Void();
10250 return resultobj;
10251fail:
10252 return NULL;
d55e5bfc
RD
10253}
10254
10255
554f62e9
RD
10256SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10257 PyObject *resultobj = 0;
10258 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10259 int result;
10260 void *argp1 = 0 ;
10261 int res1 = 0 ;
10262 PyObject *swig_obj[1] ;
10263
10264 if (!args) SWIG_fail;
10265 swig_obj[0] = args;
10266 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10267 if (!SWIG_IsOK(res1)) {
10268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10269 }
10270 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10271 {
10272 PyThreadState* __tstate = wxPyBeginAllowThreads();
10273 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10274 wxPyEndAllowThreads(__tstate);
10275 if (PyErr_Occurred()) SWIG_fail;
10276 }
10277 resultobj = SWIG_From_int(static_cast< int >(result));
10278 return resultobj;
10279fail:
10280 return NULL;
10281}
10282
10283
10284SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10285 PyObject *resultobj = 0;
10286 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10287 double arg2 ;
10288 void *argp1 = 0 ;
10289 int res1 = 0 ;
10290 double val2 ;
10291 int ecode2 = 0 ;
10292 PyObject * obj0 = 0 ;
10293 PyObject * obj1 = 0 ;
10294 char * kwnames[] = {
10295 (char *) "self",(char *) "gravity", NULL
10296 };
10297
10298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10299 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10300 if (!SWIG_IsOK(res1)) {
10301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10302 }
10303 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10304 ecode2 = SWIG_AsVal_double(obj1, &val2);
10305 if (!SWIG_IsOK(ecode2)) {
10306 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10307 }
10308 arg2 = static_cast< double >(val2);
10309 {
10310 PyThreadState* __tstate = wxPyBeginAllowThreads();
10311 (arg1)->SetSashGravity(arg2);
10312 wxPyEndAllowThreads(__tstate);
10313 if (PyErr_Occurred()) SWIG_fail;
10314 }
10315 resultobj = SWIG_Py_Void();
10316 return resultobj;
10317fail:
10318 return NULL;
d55e5bfc
RD
10319}
10320
10321
554f62e9
RD
10322SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10323 PyObject *resultobj = 0;
10324 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10325 double result;
10326 void *argp1 = 0 ;
10327 int res1 = 0 ;
10328 PyObject *swig_obj[1] ;
10329
10330 if (!args) SWIG_fail;
10331 swig_obj[0] = args;
10332 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10333 if (!SWIG_IsOK(res1)) {
10334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10335 }
10336 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10337 {
10338 PyThreadState* __tstate = wxPyBeginAllowThreads();
10339 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10340 wxPyEndAllowThreads(__tstate);
10341 if (PyErr_Occurred()) SWIG_fail;
10342 }
10343 resultobj = SWIG_From_double(static_cast< double >(result));
10344 return resultobj;
10345fail:
10346 return NULL;
10347}
10348
10349
10350SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10351 PyObject *resultobj = 0;
10352 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10353 int arg2 ;
10354 void *argp1 = 0 ;
10355 int res1 = 0 ;
10356 int val2 ;
10357 int ecode2 = 0 ;
10358 PyObject * obj0 = 0 ;
10359 PyObject * obj1 = 0 ;
10360 char * kwnames[] = {
10361 (char *) "self",(char *) "min", NULL
10362 };
10363
10364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10366 if (!SWIG_IsOK(res1)) {
10367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10368 }
10369 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10370 ecode2 = SWIG_AsVal_int(obj1, &val2);
10371 if (!SWIG_IsOK(ecode2)) {
10372 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10373 }
10374 arg2 = static_cast< int >(val2);
10375 {
10376 PyThreadState* __tstate = wxPyBeginAllowThreads();
10377 (arg1)->SetMinimumPaneSize(arg2);
10378 wxPyEndAllowThreads(__tstate);
10379 if (PyErr_Occurred()) SWIG_fail;
10380 }
10381 resultobj = SWIG_Py_Void();
10382 return resultobj;
10383fail:
10384 return NULL;
d55e5bfc
RD
10385}
10386
10387
554f62e9
RD
10388SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10389 PyObject *resultobj = 0;
10390 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10391 int result;
10392 void *argp1 = 0 ;
10393 int res1 = 0 ;
10394 PyObject *swig_obj[1] ;
10395
10396 if (!args) SWIG_fail;
10397 swig_obj[0] = args;
10398 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10399 if (!SWIG_IsOK(res1)) {
10400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10401 }
10402 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10403 {
10404 PyThreadState* __tstate = wxPyBeginAllowThreads();
10405 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10406 wxPyEndAllowThreads(__tstate);
10407 if (PyErr_Occurred()) SWIG_fail;
10408 }
10409 resultobj = SWIG_From_int(static_cast< int >(result));
10410 return resultobj;
10411fail:
10412 return NULL;
10413}
10414
10415
10416SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10417 PyObject *resultobj = 0;
10418 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10419 int arg2 ;
10420 int arg3 ;
10421 int arg4 = (int) 5 ;
10422 bool result;
10423 void *argp1 = 0 ;
10424 int res1 = 0 ;
10425 int val2 ;
10426 int ecode2 = 0 ;
10427 int val3 ;
10428 int ecode3 = 0 ;
10429 int val4 ;
10430 int ecode4 = 0 ;
10431 PyObject * obj0 = 0 ;
10432 PyObject * obj1 = 0 ;
10433 PyObject * obj2 = 0 ;
10434 PyObject * obj3 = 0 ;
10435 char * kwnames[] = {
10436 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10437 };
10438
10439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10441 if (!SWIG_IsOK(res1)) {
10442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10443 }
10444 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10445 ecode2 = SWIG_AsVal_int(obj1, &val2);
10446 if (!SWIG_IsOK(ecode2)) {
10447 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10448 }
10449 arg2 = static_cast< int >(val2);
10450 ecode3 = SWIG_AsVal_int(obj2, &val3);
10451 if (!SWIG_IsOK(ecode3)) {
10452 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10453 }
10454 arg3 = static_cast< int >(val3);
10455 if (obj3) {
10456 ecode4 = SWIG_AsVal_int(obj3, &val4);
10457 if (!SWIG_IsOK(ecode4)) {
10458 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10459 }
10460 arg4 = static_cast< int >(val4);
10461 }
10462 {
10463 PyThreadState* __tstate = wxPyBeginAllowThreads();
10464 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10465 wxPyEndAllowThreads(__tstate);
10466 if (PyErr_Occurred()) SWIG_fail;
10467 }
10468 {
10469 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10470 }
10471 return resultobj;
10472fail:
10473 return NULL;
b1fcee84
RD
10474}
10475
10476
554f62e9
RD
10477SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10478 PyObject *resultobj = 0;
10479 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10480 void *argp1 = 0 ;
10481 int res1 = 0 ;
10482 PyObject *swig_obj[1] ;
10483
10484 if (!args) SWIG_fail;
10485 swig_obj[0] = args;
10486 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10487 if (!SWIG_IsOK(res1)) {
10488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10489 }
10490 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10491 {
10492 PyThreadState* __tstate = wxPyBeginAllowThreads();
10493 (arg1)->SizeWindows();
10494 wxPyEndAllowThreads(__tstate);
10495 if (PyErr_Occurred()) SWIG_fail;
10496 }
10497 resultobj = SWIG_Py_Void();
10498 return resultobj;
10499fail:
10500 return NULL;
10501}
10502
10503
10504SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10505 PyObject *resultobj = 0;
10506 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10507 bool arg2 ;
10508 void *argp1 = 0 ;
10509 int res1 = 0 ;
10510 bool val2 ;
10511 int ecode2 = 0 ;
10512 PyObject * obj0 = 0 ;
10513 PyObject * obj1 = 0 ;
10514 char * kwnames[] = {
10515 (char *) "self",(char *) "needUpdating", NULL
10516 };
10517
10518 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10519 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10520 if (!SWIG_IsOK(res1)) {
10521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10522 }
10523 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10524 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10525 if (!SWIG_IsOK(ecode2)) {
10526 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10527 }
10528 arg2 = static_cast< bool >(val2);
10529 {
10530 PyThreadState* __tstate = wxPyBeginAllowThreads();
10531 (arg1)->SetNeedUpdating(arg2);
10532 wxPyEndAllowThreads(__tstate);
10533 if (PyErr_Occurred()) SWIG_fail;
10534 }
10535 resultobj = SWIG_Py_Void();
10536 return resultobj;
10537fail:
10538 return NULL;
b1fcee84
RD
10539}
10540
10541
554f62e9
RD
10542SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10543 PyObject *resultobj = 0;
10544 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10545 bool result;
10546 void *argp1 = 0 ;
10547 int res1 = 0 ;
10548 PyObject *swig_obj[1] ;
10549
10550 if (!args) SWIG_fail;
10551 swig_obj[0] = args;
10552 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10553 if (!SWIG_IsOK(res1)) {
10554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10555 }
10556 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10557 {
10558 PyThreadState* __tstate = wxPyBeginAllowThreads();
10559 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10560 wxPyEndAllowThreads(__tstate);
10561 if (PyErr_Occurred()) SWIG_fail;
10562 }
10563 {
10564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10565 }
10566 return resultobj;
10567fail:
10568 return NULL;
b1fcee84
RD
10569}
10570
10571
554f62e9
RD
10572SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10573 PyObject *resultobj = 0;
10574 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10575 SwigValueWrapper<wxVisualAttributes > result;
10576 int val1 ;
10577 int ecode1 = 0 ;
10578 PyObject * obj0 = 0 ;
10579 char * kwnames[] = {
10580 (char *) "variant", NULL
10581 };
10582
10583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10584 if (obj0) {
10585 ecode1 = SWIG_AsVal_int(obj0, &val1);
10586 if (!SWIG_IsOK(ecode1)) {
10587 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10588 }
10589 arg1 = static_cast< wxWindowVariant >(val1);
10590 }
10591 {
10592 if (!wxPyCheckForApp()) SWIG_fail;
10593 PyThreadState* __tstate = wxPyBeginAllowThreads();
10594 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10595 wxPyEndAllowThreads(__tstate);
10596 if (PyErr_Occurred()) SWIG_fail;
10597 }
10598 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10599 return resultobj;
10600fail:
10601 return NULL;
b1fcee84
RD
10602}
10603
10604
554f62e9
RD
10605SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10606 PyObject *obj;
10607 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10608 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10609 return SWIG_Py_Void();
d55e5bfc
RD
10610}
10611
554f62e9
RD
10612SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10613 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
10614}
10615
554f62e9
RD
10616SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10617 PyObject *resultobj = 0;
10618 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10619 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10620 wxSplitterEvent *result = 0 ;
10621 int val1 ;
10622 int ecode1 = 0 ;
10623 void *argp2 = 0 ;
10624 int res2 = 0 ;
10625 PyObject * obj0 = 0 ;
10626 PyObject * obj1 = 0 ;
10627 char * kwnames[] = {
10628 (char *) "type",(char *) "splitter", NULL
10629 };
10630
10631 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10632 if (obj0) {
10633 ecode1 = SWIG_AsVal_int(obj0, &val1);
10634 if (!SWIG_IsOK(ecode1)) {
10635 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10636 }
10637 arg1 = static_cast< wxEventType >(val1);
10638 }
10639 if (obj1) {
10640 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10641 if (!SWIG_IsOK(res2)) {
10642 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
62d32a5f 10643 }
554f62e9
RD
10644 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10645 }
10646 {
10647 PyThreadState* __tstate = wxPyBeginAllowThreads();
10648 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10649 wxPyEndAllowThreads(__tstate);
10650 if (PyErr_Occurred()) SWIG_fail;
10651 }
10652 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10653 return resultobj;
10654fail:
10655 return NULL;
10656}
10657
10658
10659SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10660 PyObject *resultobj = 0;
10661 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10662 int arg2 ;
10663 void *argp1 = 0 ;
10664 int res1 = 0 ;
10665 int val2 ;
10666 int ecode2 = 0 ;
10667 PyObject * obj0 = 0 ;
10668 PyObject * obj1 = 0 ;
10669 char * kwnames[] = {
10670 (char *) "self",(char *) "pos", NULL
10671 };
10672
10673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10675 if (!SWIG_IsOK(res1)) {
10676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10677 }
10678 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10679 ecode2 = SWIG_AsVal_int(obj1, &val2);
10680 if (!SWIG_IsOK(ecode2)) {
10681 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10682 }
10683 arg2 = static_cast< int >(val2);
10684 {
10685 PyThreadState* __tstate = wxPyBeginAllowThreads();
10686 (arg1)->SetSashPosition(arg2);
10687 wxPyEndAllowThreads(__tstate);
10688 if (PyErr_Occurred()) SWIG_fail;
10689 }
10690 resultobj = SWIG_Py_Void();
10691 return resultobj;
10692fail:
10693 return NULL;
62d32a5f
RD
10694}
10695
10696
554f62e9
RD
10697SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10698 PyObject *resultobj = 0;
10699 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10700 int result;
10701 void *argp1 = 0 ;
10702 int res1 = 0 ;
10703 PyObject *swig_obj[1] ;
10704
10705 if (!args) SWIG_fail;
10706 swig_obj[0] = args;
10707 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10708 if (!SWIG_IsOK(res1)) {
10709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10710 }
10711 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10712 {
10713 PyThreadState* __tstate = wxPyBeginAllowThreads();
10714 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10715 wxPyEndAllowThreads(__tstate);
10716 if (PyErr_Occurred()) SWIG_fail;
10717 }
10718 resultobj = SWIG_From_int(static_cast< int >(result));
10719 return resultobj;
10720fail:
10721 return NULL;
d55e5bfc
RD
10722}
10723
10724
554f62e9
RD
10725SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10726 PyObject *resultobj = 0;
10727 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10728 wxWindow *result = 0 ;
10729 void *argp1 = 0 ;
10730 int res1 = 0 ;
10731 PyObject *swig_obj[1] ;
10732
10733 if (!args) SWIG_fail;
10734 swig_obj[0] = args;
10735 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10736 if (!SWIG_IsOK(res1)) {
10737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10738 }
10739 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10740 {
10741 PyThreadState* __tstate = wxPyBeginAllowThreads();
10742 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10743 wxPyEndAllowThreads(__tstate);
10744 if (PyErr_Occurred()) SWIG_fail;
10745 }
10746 {
10747 resultobj = wxPyMake_wxObject(result, 0);
10748 }
10749 return resultobj;
10750fail:
10751 return NULL;
d55e5bfc
RD
10752}
10753
10754
554f62e9
RD
10755SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10756 PyObject *resultobj = 0;
10757 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10758 int result;
10759 void *argp1 = 0 ;
10760 int res1 = 0 ;
10761 PyObject *swig_obj[1] ;
10762
10763 if (!args) SWIG_fail;
10764 swig_obj[0] = args;
10765 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10766 if (!SWIG_IsOK(res1)) {
10767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10768 }
10769 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10770 {
10771 PyThreadState* __tstate = wxPyBeginAllowThreads();
10772 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10773 wxPyEndAllowThreads(__tstate);
10774 if (PyErr_Occurred()) SWIG_fail;
10775 }
10776 resultobj = SWIG_From_int(static_cast< int >(result));
10777 return resultobj;
10778fail:
10779 return NULL;
d55e5bfc
RD
10780}
10781
10782
554f62e9
RD
10783SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10784 PyObject *resultobj = 0;
10785 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10786 int result;
10787 void *argp1 = 0 ;
10788 int res1 = 0 ;
10789 PyObject *swig_obj[1] ;
10790
10791 if (!args) SWIG_fail;
10792 swig_obj[0] = args;
10793 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10794 if (!SWIG_IsOK(res1)) {
10795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10796 }
10797 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10798 {
10799 PyThreadState* __tstate = wxPyBeginAllowThreads();
10800 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10801 wxPyEndAllowThreads(__tstate);
10802 if (PyErr_Occurred()) SWIG_fail;
10803 }
10804 resultobj = SWIG_From_int(static_cast< int >(result));
10805 return resultobj;
10806fail:
10807 return NULL;
f20a2e1f
RD
10808}
10809
10810
554f62e9
RD
10811SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10812 PyObject *obj;
10813 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10814 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10815 return SWIG_Py_Void();
d55e5bfc
RD
10816}
10817
554f62e9
RD
10818SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10819 return SWIG_Python_InitShadowInstance(args);
10820}
d55e5bfc 10821
554f62e9
RD
10822SWIGINTERN int SashNameStr_set(PyObject *) {
10823 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10824 return 1;
d55e5bfc
RD
10825}
10826
10827
554f62e9
RD
10828SWIGINTERN PyObject *SashNameStr_get(void) {
10829 PyObject *pyobj = 0;
10830
10831 {
10832#if wxUSE_UNICODE
10833 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10834#else
10835 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10836#endif
10837 }
10838 return pyobj;
d55e5bfc
RD
10839}
10840
10841
554f62e9
RD
10842SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10843 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10844 return 1;
d55e5bfc
RD
10845}
10846
10847
554f62e9
RD
10848SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10849 PyObject *pyobj = 0;
10850
10851 {
10852#if wxUSE_UNICODE
10853 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10854#else
10855 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10856#endif
10857 }
10858 return pyobj;
10859}
10860
10861
10862SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10863 PyObject *resultobj = 0;
10864 wxWindow *arg1 = (wxWindow *) 0 ;
10865 int arg2 = (int) -1 ;
10866 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10867 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10868 wxSize const &arg4_defvalue = wxDefaultSize ;
10869 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10870 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10871 wxString const &arg6_defvalue = wxPySashNameStr ;
10872 wxString *arg6 = (wxString *) &arg6_defvalue ;
10873 wxSashWindow *result = 0 ;
10874 void *argp1 = 0 ;
10875 int res1 = 0 ;
10876 int val2 ;
10877 int ecode2 = 0 ;
10878 wxPoint temp3 ;
10879 wxSize temp4 ;
10880 long val5 ;
10881 int ecode5 = 0 ;
10882 bool temp6 = false ;
10883 PyObject * obj0 = 0 ;
10884 PyObject * obj1 = 0 ;
10885 PyObject * obj2 = 0 ;
10886 PyObject * obj3 = 0 ;
10887 PyObject * obj4 = 0 ;
10888 PyObject * obj5 = 0 ;
10889 char * kwnames[] = {
10890 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10891 };
10892
10893 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10894 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10895 if (!SWIG_IsOK(res1)) {
10896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10897 }
10898 arg1 = reinterpret_cast< wxWindow * >(argp1);
10899 if (obj1) {
10900 ecode2 = SWIG_AsVal_int(obj1, &val2);
10901 if (!SWIG_IsOK(ecode2)) {
10902 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10903 }
10904 arg2 = static_cast< int >(val2);
10905 }
10906 if (obj2) {
093d3ff1 10907 {
554f62e9
RD
10908 arg3 = &temp3;
10909 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 10910 }
554f62e9
RD
10911 }
10912 if (obj3) {
d55e5bfc 10913 {
554f62e9
RD
10914 arg4 = &temp4;
10915 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 10916 }
554f62e9
RD
10917 }
10918 if (obj4) {
10919 ecode5 = SWIG_AsVal_long(obj4, &val5);
10920 if (!SWIG_IsOK(ecode5)) {
10921 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10922 }
10923 arg5 = static_cast< long >(val5);
10924 }
10925 if (obj5) {
d55e5bfc 10926 {
554f62e9
RD
10927 arg6 = wxString_in_helper(obj5);
10928 if (arg6 == NULL) SWIG_fail;
10929 temp6 = true;
d55e5bfc 10930 }
554f62e9
RD
10931 }
10932 {
10933 if (!wxPyCheckForApp()) SWIG_fail;
10934 PyThreadState* __tstate = wxPyBeginAllowThreads();
10935 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10936 wxPyEndAllowThreads(__tstate);
10937 if (PyErr_Occurred()) SWIG_fail;
10938 }
10939 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10940 {
10941 if (temp6)
10942 delete arg6;
10943 }
10944 return resultobj;
10945fail:
10946 {
10947 if (temp6)
10948 delete arg6;
10949 }
10950 return NULL;
d55e5bfc
RD
10951}
10952
10953
554f62e9
RD
10954SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10955 PyObject *resultobj = 0;
10956 wxSashWindow *result = 0 ;
10957
10958 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10959 {
10960 if (!wxPyCheckForApp()) SWIG_fail;
10961 PyThreadState* __tstate = wxPyBeginAllowThreads();
10962 result = (wxSashWindow *)new wxSashWindow();
10963 wxPyEndAllowThreads(__tstate);
10964 if (PyErr_Occurred()) SWIG_fail;
10965 }
10966 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10967 return resultobj;
10968fail:
10969 return NULL;
10970}
10971
10972
10973SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10974 PyObject *resultobj = 0;
10975 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10976 wxWindow *arg2 = (wxWindow *) 0 ;
10977 int arg3 = (int) -1 ;
10978 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10979 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10980 wxSize const &arg5_defvalue = wxDefaultSize ;
10981 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10982 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10983 wxString const &arg7_defvalue = wxPySashNameStr ;
10984 wxString *arg7 = (wxString *) &arg7_defvalue ;
10985 bool result;
10986 void *argp1 = 0 ;
10987 int res1 = 0 ;
10988 void *argp2 = 0 ;
10989 int res2 = 0 ;
10990 int val3 ;
10991 int ecode3 = 0 ;
10992 wxPoint temp4 ;
10993 wxSize temp5 ;
10994 long val6 ;
10995 int ecode6 = 0 ;
10996 bool temp7 = false ;
10997 PyObject * obj0 = 0 ;
10998 PyObject * obj1 = 0 ;
10999 PyObject * obj2 = 0 ;
11000 PyObject * obj3 = 0 ;
11001 PyObject * obj4 = 0 ;
11002 PyObject * obj5 = 0 ;
11003 PyObject * obj6 = 0 ;
11004 char * kwnames[] = {
11005 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11006 };
11007
11008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
11009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11010 if (!SWIG_IsOK(res1)) {
11011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11012 }
11013 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11014 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11015 if (!SWIG_IsOK(res2)) {
11016 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11017 }
11018 arg2 = reinterpret_cast< wxWindow * >(argp2);
11019 if (obj2) {
11020 ecode3 = SWIG_AsVal_int(obj2, &val3);
11021 if (!SWIG_IsOK(ecode3)) {
11022 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11023 }
11024 arg3 = static_cast< int >(val3);
11025 }
11026 if (obj3) {
093d3ff1 11027 {
554f62e9
RD
11028 arg4 = &temp4;
11029 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 11030 }
554f62e9
RD
11031 }
11032 if (obj4) {
d55e5bfc 11033 {
554f62e9
RD
11034 arg5 = &temp5;
11035 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 11036 }
554f62e9
RD
11037 }
11038 if (obj5) {
11039 ecode6 = SWIG_AsVal_long(obj5, &val6);
11040 if (!SWIG_IsOK(ecode6)) {
11041 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11042 }
11043 arg6 = static_cast< long >(val6);
11044 }
11045 if (obj6) {
093d3ff1 11046 {
554f62e9
RD
11047 arg7 = wxString_in_helper(obj6);
11048 if (arg7 == NULL) SWIG_fail;
11049 temp7 = true;
093d3ff1 11050 }
554f62e9
RD
11051 }
11052 {
11053 PyThreadState* __tstate = wxPyBeginAllowThreads();
11054 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11055 wxPyEndAllowThreads(__tstate);
11056 if (PyErr_Occurred()) SWIG_fail;
11057 }
11058 {
11059 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11060 }
11061 {
11062 if (temp7)
11063 delete arg7;
11064 }
11065 return resultobj;
11066fail:
11067 {
11068 if (temp7)
11069 delete arg7;
11070 }
11071 return NULL;
11072}
11073
11074
11075SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11076 PyObject *resultobj = 0;
11077 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11078 wxSashEdgePosition arg2 ;
11079 bool arg3 ;
11080 void *argp1 = 0 ;
11081 int res1 = 0 ;
11082 int val2 ;
11083 int ecode2 = 0 ;
11084 bool val3 ;
11085 int ecode3 = 0 ;
11086 PyObject * obj0 = 0 ;
11087 PyObject * obj1 = 0 ;
11088 PyObject * obj2 = 0 ;
11089 char * kwnames[] = {
11090 (char *) "self",(char *) "edge",(char *) "sash", NULL
11091 };
11092
11093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11094 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11095 if (!SWIG_IsOK(res1)) {
11096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11097 }
11098 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11099 ecode2 = SWIG_AsVal_int(obj1, &val2);
11100 if (!SWIG_IsOK(ecode2)) {
11101 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11102 }
11103 arg2 = static_cast< wxSashEdgePosition >(val2);
11104 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11105 if (!SWIG_IsOK(ecode3)) {
11106 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11107 }
11108 arg3 = static_cast< bool >(val3);
11109 {
11110 PyThreadState* __tstate = wxPyBeginAllowThreads();
11111 (arg1)->SetSashVisible(arg2,arg3);
11112 wxPyEndAllowThreads(__tstate);
11113 if (PyErr_Occurred()) SWIG_fail;
11114 }
11115 resultobj = SWIG_Py_Void();
11116 return resultobj;
11117fail:
11118 return NULL;
11119}
11120
11121
11122SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11123 PyObject *resultobj = 0;
11124 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11125 wxSashEdgePosition arg2 ;
11126 bool result;
11127 void *argp1 = 0 ;
11128 int res1 = 0 ;
11129 int val2 ;
11130 int ecode2 = 0 ;
11131 PyObject * obj0 = 0 ;
11132 PyObject * obj1 = 0 ;
11133 char * kwnames[] = {
11134 (char *) "self",(char *) "edge", NULL
11135 };
11136
11137 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11138 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11139 if (!SWIG_IsOK(res1)) {
11140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11141 }
11142 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11143 ecode2 = SWIG_AsVal_int(obj1, &val2);
11144 if (!SWIG_IsOK(ecode2)) {
11145 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11146 }
11147 arg2 = static_cast< wxSashEdgePosition >(val2);
11148 {
11149 PyThreadState* __tstate = wxPyBeginAllowThreads();
11150 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11151 wxPyEndAllowThreads(__tstate);
11152 if (PyErr_Occurred()) SWIG_fail;
11153 }
11154 {
11155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11156 }
11157 return resultobj;
11158fail:
11159 return NULL;
11160}
11161
11162
11163SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11164 PyObject *resultobj = 0;
11165 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11166 wxSashEdgePosition arg2 ;
11167 bool arg3 ;
11168 void *argp1 = 0 ;
11169 int res1 = 0 ;
11170 int val2 ;
11171 int ecode2 = 0 ;
11172 bool val3 ;
11173 int ecode3 = 0 ;
11174 PyObject * obj0 = 0 ;
11175 PyObject * obj1 = 0 ;
11176 PyObject * obj2 = 0 ;
11177 char * kwnames[] = {
11178 (char *) "self",(char *) "edge",(char *) "border", NULL
11179 };
11180
11181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11183 if (!SWIG_IsOK(res1)) {
11184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11185 }
11186 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11187 ecode2 = SWIG_AsVal_int(obj1, &val2);
11188 if (!SWIG_IsOK(ecode2)) {
11189 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11190 }
11191 arg2 = static_cast< wxSashEdgePosition >(val2);
11192 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11193 if (!SWIG_IsOK(ecode3)) {
11194 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11195 }
11196 arg3 = static_cast< bool >(val3);
11197 {
11198 PyThreadState* __tstate = wxPyBeginAllowThreads();
11199 (arg1)->SetSashBorder(arg2,arg3);
11200 wxPyEndAllowThreads(__tstate);
11201 if (PyErr_Occurred()) SWIG_fail;
11202 }
11203 resultobj = SWIG_Py_Void();
11204 return resultobj;
11205fail:
11206 return NULL;
11207}
11208
11209
11210SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11211 PyObject *resultobj = 0;
11212 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11213 wxSashEdgePosition arg2 ;
11214 bool result;
11215 void *argp1 = 0 ;
11216 int res1 = 0 ;
11217 int val2 ;
11218 int ecode2 = 0 ;
11219 PyObject * obj0 = 0 ;
11220 PyObject * obj1 = 0 ;
11221 char * kwnames[] = {
11222 (char *) "self",(char *) "edge", NULL
11223 };
11224
11225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11227 if (!SWIG_IsOK(res1)) {
11228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11229 }
11230 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11231 ecode2 = SWIG_AsVal_int(obj1, &val2);
11232 if (!SWIG_IsOK(ecode2)) {
11233 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11234 }
11235 arg2 = static_cast< wxSashEdgePosition >(val2);
11236 {
11237 PyThreadState* __tstate = wxPyBeginAllowThreads();
11238 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11239 wxPyEndAllowThreads(__tstate);
11240 if (PyErr_Occurred()) SWIG_fail;
11241 }
11242 {
11243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11244 }
11245 return resultobj;
11246fail:
11247 return NULL;
11248}
11249
11250
11251SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11252 PyObject *resultobj = 0;
11253 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11254 wxSashEdgePosition arg2 ;
11255 int result;
11256 void *argp1 = 0 ;
11257 int res1 = 0 ;
11258 int val2 ;
11259 int ecode2 = 0 ;
11260 PyObject * obj0 = 0 ;
11261 PyObject * obj1 = 0 ;
11262 char * kwnames[] = {
11263 (char *) "self",(char *) "edge", NULL
11264 };
11265
11266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11268 if (!SWIG_IsOK(res1)) {
11269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11270 }
11271 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11272 ecode2 = SWIG_AsVal_int(obj1, &val2);
11273 if (!SWIG_IsOK(ecode2)) {
11274 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11275 }
11276 arg2 = static_cast< wxSashEdgePosition >(val2);
11277 {
11278 PyThreadState* __tstate = wxPyBeginAllowThreads();
11279 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11280 wxPyEndAllowThreads(__tstate);
11281 if (PyErr_Occurred()) SWIG_fail;
11282 }
11283 resultobj = SWIG_From_int(static_cast< int >(result));
11284 return resultobj;
11285fail:
11286 return NULL;
11287}
11288
11289
11290SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11291 PyObject *resultobj = 0;
11292 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11293 int arg2 ;
11294 void *argp1 = 0 ;
11295 int res1 = 0 ;
11296 int val2 ;
11297 int ecode2 = 0 ;
11298 PyObject * obj0 = 0 ;
11299 PyObject * obj1 = 0 ;
11300 char * kwnames[] = {
11301 (char *) "self",(char *) "width", NULL
11302 };
11303
11304 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11305 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11306 if (!SWIG_IsOK(res1)) {
11307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11308 }
11309 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11310 ecode2 = SWIG_AsVal_int(obj1, &val2);
11311 if (!SWIG_IsOK(ecode2)) {
11312 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11313 }
11314 arg2 = static_cast< int >(val2);
11315 {
11316 PyThreadState* __tstate = wxPyBeginAllowThreads();
11317 (arg1)->SetDefaultBorderSize(arg2);
11318 wxPyEndAllowThreads(__tstate);
11319 if (PyErr_Occurred()) SWIG_fail;
11320 }
11321 resultobj = SWIG_Py_Void();
11322 return resultobj;
11323fail:
11324 return NULL;
d55e5bfc
RD
11325}
11326
11327
554f62e9
RD
11328SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11329 PyObject *resultobj = 0;
11330 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11331 int result;
11332 void *argp1 = 0 ;
11333 int res1 = 0 ;
11334 PyObject *swig_obj[1] ;
11335
11336 if (!args) SWIG_fail;
11337 swig_obj[0] = args;
11338 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11339 if (!SWIG_IsOK(res1)) {
11340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11341 }
11342 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11343 {
11344 PyThreadState* __tstate = wxPyBeginAllowThreads();
11345 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11346 wxPyEndAllowThreads(__tstate);
11347 if (PyErr_Occurred()) SWIG_fail;
11348 }
11349 resultobj = SWIG_From_int(static_cast< int >(result));
11350 return resultobj;
11351fail:
11352 return NULL;
11353}
11354
11355
11356SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11357 PyObject *resultobj = 0;
11358 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11359 int arg2 ;
11360 void *argp1 = 0 ;
11361 int res1 = 0 ;
11362 int val2 ;
11363 int ecode2 = 0 ;
11364 PyObject * obj0 = 0 ;
11365 PyObject * obj1 = 0 ;
11366 char * kwnames[] = {
11367 (char *) "self",(char *) "width", NULL
11368 };
11369
11370 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11371 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11372 if (!SWIG_IsOK(res1)) {
11373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11374 }
11375 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11376 ecode2 = SWIG_AsVal_int(obj1, &val2);
11377 if (!SWIG_IsOK(ecode2)) {
11378 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11379 }
11380 arg2 = static_cast< int >(val2);
11381 {
11382 PyThreadState* __tstate = wxPyBeginAllowThreads();
11383 (arg1)->SetExtraBorderSize(arg2);
11384 wxPyEndAllowThreads(__tstate);
11385 if (PyErr_Occurred()) SWIG_fail;
11386 }
11387 resultobj = SWIG_Py_Void();
11388 return resultobj;
11389fail:
11390 return NULL;
d55e5bfc
RD
11391}
11392
11393
554f62e9
RD
11394SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11395 PyObject *resultobj = 0;
11396 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11397 int result;
11398 void *argp1 = 0 ;
11399 int res1 = 0 ;
11400 PyObject *swig_obj[1] ;
11401
11402 if (!args) SWIG_fail;
11403 swig_obj[0] = args;
11404 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11405 if (!SWIG_IsOK(res1)) {
11406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11407 }
11408 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11409 {
11410 PyThreadState* __tstate = wxPyBeginAllowThreads();
11411 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11412 wxPyEndAllowThreads(__tstate);
11413 if (PyErr_Occurred()) SWIG_fail;
11414 }
11415 resultobj = SWIG_From_int(static_cast< int >(result));
11416 return resultobj;
11417fail:
11418 return NULL;
11419}
11420
11421
11422SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11423 PyObject *resultobj = 0;
11424 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11425 int arg2 ;
11426 void *argp1 = 0 ;
11427 int res1 = 0 ;
11428 int val2 ;
11429 int ecode2 = 0 ;
11430 PyObject * obj0 = 0 ;
11431 PyObject * obj1 = 0 ;
11432 char * kwnames[] = {
11433 (char *) "self",(char *) "min", NULL
11434 };
11435
11436 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11437 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11438 if (!SWIG_IsOK(res1)) {
11439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11440 }
11441 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11442 ecode2 = SWIG_AsVal_int(obj1, &val2);
11443 if (!SWIG_IsOK(ecode2)) {
11444 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11445 }
11446 arg2 = static_cast< int >(val2);
11447 {
11448 PyThreadState* __tstate = wxPyBeginAllowThreads();
11449 (arg1)->SetMinimumSizeX(arg2);
11450 wxPyEndAllowThreads(__tstate);
11451 if (PyErr_Occurred()) SWIG_fail;
11452 }
11453 resultobj = SWIG_Py_Void();
11454 return resultobj;
11455fail:
11456 return NULL;
11457}
11458
11459
11460SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11461 PyObject *resultobj = 0;
11462 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11463 int arg2 ;
11464 void *argp1 = 0 ;
11465 int res1 = 0 ;
11466 int val2 ;
11467 int ecode2 = 0 ;
11468 PyObject * obj0 = 0 ;
11469 PyObject * obj1 = 0 ;
11470 char * kwnames[] = {
11471 (char *) "self",(char *) "min", NULL
11472 };
11473
11474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11475 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11476 if (!SWIG_IsOK(res1)) {
11477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11478 }
11479 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11480 ecode2 = SWIG_AsVal_int(obj1, &val2);
11481 if (!SWIG_IsOK(ecode2)) {
11482 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11483 }
11484 arg2 = static_cast< int >(val2);
11485 {
11486 PyThreadState* __tstate = wxPyBeginAllowThreads();
11487 (arg1)->SetMinimumSizeY(arg2);
11488 wxPyEndAllowThreads(__tstate);
11489 if (PyErr_Occurred()) SWIG_fail;
11490 }
11491 resultobj = SWIG_Py_Void();
11492 return resultobj;
11493fail:
11494 return NULL;
d55e5bfc
RD
11495}
11496
11497
554f62e9
RD
11498SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11499 PyObject *resultobj = 0;
11500 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11501 int result;
11502 void *argp1 = 0 ;
11503 int res1 = 0 ;
11504 PyObject *swig_obj[1] ;
11505
11506 if (!args) SWIG_fail;
11507 swig_obj[0] = args;
11508 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11509 if (!SWIG_IsOK(res1)) {
11510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11511 }
11512 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11513 {
11514 PyThreadState* __tstate = wxPyBeginAllowThreads();
11515 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11516 wxPyEndAllowThreads(__tstate);
11517 if (PyErr_Occurred()) SWIG_fail;
11518 }
11519 resultobj = SWIG_From_int(static_cast< int >(result));
11520 return resultobj;
11521fail:
11522 return NULL;
d55e5bfc
RD
11523}
11524
11525
554f62e9
RD
11526SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11527 PyObject *resultobj = 0;
11528 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11529 int result;
11530 void *argp1 = 0 ;
11531 int res1 = 0 ;
11532 PyObject *swig_obj[1] ;
11533
11534 if (!args) SWIG_fail;
11535 swig_obj[0] = args;
11536 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11537 if (!SWIG_IsOK(res1)) {
11538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11539 }
11540 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11541 {
11542 PyThreadState* __tstate = wxPyBeginAllowThreads();
11543 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11544 wxPyEndAllowThreads(__tstate);
11545 if (PyErr_Occurred()) SWIG_fail;
11546 }
11547 resultobj = SWIG_From_int(static_cast< int >(result));
11548 return resultobj;
11549fail:
11550 return NULL;
11551}
11552
11553
11554SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11555 PyObject *resultobj = 0;
11556 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11557 int arg2 ;
11558 void *argp1 = 0 ;
11559 int res1 = 0 ;
11560 int val2 ;
11561 int ecode2 = 0 ;
11562 PyObject * obj0 = 0 ;
11563 PyObject * obj1 = 0 ;
11564 char * kwnames[] = {
11565 (char *) "self",(char *) "max", NULL
11566 };
11567
11568 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11569 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11570 if (!SWIG_IsOK(res1)) {
11571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11572 }
11573 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11574 ecode2 = SWIG_AsVal_int(obj1, &val2);
11575 if (!SWIG_IsOK(ecode2)) {
11576 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11577 }
11578 arg2 = static_cast< int >(val2);
11579 {
11580 PyThreadState* __tstate = wxPyBeginAllowThreads();
11581 (arg1)->SetMaximumSizeX(arg2);
11582 wxPyEndAllowThreads(__tstate);
11583 if (PyErr_Occurred()) SWIG_fail;
11584 }
11585 resultobj = SWIG_Py_Void();
11586 return resultobj;
11587fail:
11588 return NULL;
11589}
11590
11591
11592SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11593 PyObject *resultobj = 0;
11594 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11595 int arg2 ;
11596 void *argp1 = 0 ;
11597 int res1 = 0 ;
11598 int val2 ;
11599 int ecode2 = 0 ;
11600 PyObject * obj0 = 0 ;
11601 PyObject * obj1 = 0 ;
11602 char * kwnames[] = {
11603 (char *) "self",(char *) "max", NULL
11604 };
11605
11606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11608 if (!SWIG_IsOK(res1)) {
11609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11610 }
11611 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11612 ecode2 = SWIG_AsVal_int(obj1, &val2);
11613 if (!SWIG_IsOK(ecode2)) {
11614 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11615 }
11616 arg2 = static_cast< int >(val2);
11617 {
11618 PyThreadState* __tstate = wxPyBeginAllowThreads();
11619 (arg1)->SetMaximumSizeY(arg2);
11620 wxPyEndAllowThreads(__tstate);
11621 if (PyErr_Occurred()) SWIG_fail;
11622 }
11623 resultobj = SWIG_Py_Void();
11624 return resultobj;
11625fail:
11626 return NULL;
d55e5bfc
RD
11627}
11628
11629
554f62e9
RD
11630SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11631 PyObject *resultobj = 0;
11632 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11633 int result;
11634 void *argp1 = 0 ;
11635 int res1 = 0 ;
11636 PyObject *swig_obj[1] ;
11637
11638 if (!args) SWIG_fail;
11639 swig_obj[0] = args;
11640 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11641 if (!SWIG_IsOK(res1)) {
11642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11643 }
11644 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11645 {
11646 PyThreadState* __tstate = wxPyBeginAllowThreads();
11647 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11648 wxPyEndAllowThreads(__tstate);
11649 if (PyErr_Occurred()) SWIG_fail;
11650 }
11651 resultobj = SWIG_From_int(static_cast< int >(result));
11652 return resultobj;
11653fail:
11654 return NULL;
d55e5bfc
RD
11655}
11656
11657
554f62e9
RD
11658SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11659 PyObject *resultobj = 0;
11660 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11661 int result;
11662 void *argp1 = 0 ;
11663 int res1 = 0 ;
11664 PyObject *swig_obj[1] ;
11665
11666 if (!args) SWIG_fail;
11667 swig_obj[0] = args;
11668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11669 if (!SWIG_IsOK(res1)) {
11670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11671 }
11672 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11673 {
11674 PyThreadState* __tstate = wxPyBeginAllowThreads();
11675 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11676 wxPyEndAllowThreads(__tstate);
11677 if (PyErr_Occurred()) SWIG_fail;
11678 }
11679 resultobj = SWIG_From_int(static_cast< int >(result));
11680 return resultobj;
11681fail:
11682 return NULL;
11683}
11684
11685
11686SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11687 PyObject *resultobj = 0;
11688 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11689 int arg2 ;
11690 int arg3 ;
11691 int arg4 = (int) 2 ;
11692 wxSashEdgePosition result;
11693 void *argp1 = 0 ;
11694 int res1 = 0 ;
11695 int val2 ;
11696 int ecode2 = 0 ;
11697 int val3 ;
11698 int ecode3 = 0 ;
11699 int val4 ;
11700 int ecode4 = 0 ;
11701 PyObject * obj0 = 0 ;
11702 PyObject * obj1 = 0 ;
11703 PyObject * obj2 = 0 ;
11704 PyObject * obj3 = 0 ;
11705 char * kwnames[] = {
11706 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11707 };
11708
11709 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11710 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11711 if (!SWIG_IsOK(res1)) {
11712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11713 }
11714 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11715 ecode2 = SWIG_AsVal_int(obj1, &val2);
11716 if (!SWIG_IsOK(ecode2)) {
11717 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11718 }
11719 arg2 = static_cast< int >(val2);
11720 ecode3 = SWIG_AsVal_int(obj2, &val3);
11721 if (!SWIG_IsOK(ecode3)) {
11722 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11723 }
11724 arg3 = static_cast< int >(val3);
11725 if (obj3) {
11726 ecode4 = SWIG_AsVal_int(obj3, &val4);
11727 if (!SWIG_IsOK(ecode4)) {
11728 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11729 }
11730 arg4 = static_cast< int >(val4);
11731 }
11732 {
11733 PyThreadState* __tstate = wxPyBeginAllowThreads();
11734 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11735 wxPyEndAllowThreads(__tstate);
11736 if (PyErr_Occurred()) SWIG_fail;
11737 }
11738 resultobj = SWIG_From_int(static_cast< int >(result));
11739 return resultobj;
11740fail:
11741 return NULL;
d55e5bfc
RD
11742}
11743
11744
554f62e9
RD
11745SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11746 PyObject *resultobj = 0;
11747 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11748 void *argp1 = 0 ;
11749 int res1 = 0 ;
11750 PyObject *swig_obj[1] ;
11751
11752 if (!args) SWIG_fail;
11753 swig_obj[0] = args;
11754 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11755 if (!SWIG_IsOK(res1)) {
11756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11757 }
11758 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11759 {
11760 PyThreadState* __tstate = wxPyBeginAllowThreads();
11761 (arg1)->SizeWindows();
11762 wxPyEndAllowThreads(__tstate);
11763 if (PyErr_Occurred()) SWIG_fail;
11764 }
11765 resultobj = SWIG_Py_Void();
11766 return resultobj;
11767fail:
11768 return NULL;
d55e5bfc
RD
11769}
11770
11771
554f62e9
RD
11772SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11773 PyObject *obj;
11774 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11775 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11776 return SWIG_Py_Void();
d55e5bfc
RD
11777}
11778
554f62e9
RD
11779SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11780 return SWIG_Python_InitShadowInstance(args);
11781}
d55e5bfc 11782
554f62e9
RD
11783SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11784 PyObject *resultobj = 0;
11785 int arg1 = (int) 0 ;
11786 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11787 wxSashEvent *result = 0 ;
11788 int val1 ;
11789 int ecode1 = 0 ;
11790 int val2 ;
11791 int ecode2 = 0 ;
11792 PyObject * obj0 = 0 ;
11793 PyObject * obj1 = 0 ;
11794 char * kwnames[] = {
11795 (char *) "id",(char *) "edge", NULL
11796 };
11797
11798 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11799 if (obj0) {
11800 ecode1 = SWIG_AsVal_int(obj0, &val1);
11801 if (!SWIG_IsOK(ecode1)) {
11802 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11803 }
11804 arg1 = static_cast< int >(val1);
11805 }
11806 if (obj1) {
11807 ecode2 = SWIG_AsVal_int(obj1, &val2);
11808 if (!SWIG_IsOK(ecode2)) {
11809 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11810 }
11811 arg2 = static_cast< wxSashEdgePosition >(val2);
11812 }
11813 {
11814 PyThreadState* __tstate = wxPyBeginAllowThreads();
11815 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11816 wxPyEndAllowThreads(__tstate);
11817 if (PyErr_Occurred()) SWIG_fail;
11818 }
11819 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11820 return resultobj;
11821fail:
11822 return NULL;
11823}
11824
11825
11826SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11827 PyObject *resultobj = 0;
11828 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11829 wxSashEdgePosition arg2 ;
11830 void *argp1 = 0 ;
11831 int res1 = 0 ;
11832 int val2 ;
11833 int ecode2 = 0 ;
11834 PyObject * obj0 = 0 ;
11835 PyObject * obj1 = 0 ;
11836 char * kwnames[] = {
11837 (char *) "self",(char *) "edge", NULL
11838 };
11839
11840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11842 if (!SWIG_IsOK(res1)) {
11843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11844 }
11845 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11846 ecode2 = SWIG_AsVal_int(obj1, &val2);
11847 if (!SWIG_IsOK(ecode2)) {
11848 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11849 }
11850 arg2 = static_cast< wxSashEdgePosition >(val2);
11851 {
11852 PyThreadState* __tstate = wxPyBeginAllowThreads();
11853 (arg1)->SetEdge(arg2);
11854 wxPyEndAllowThreads(__tstate);
11855 if (PyErr_Occurred()) SWIG_fail;
11856 }
11857 resultobj = SWIG_Py_Void();
11858 return resultobj;
11859fail:
11860 return NULL;
d55e5bfc
RD
11861}
11862
11863
554f62e9
RD
11864SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11865 PyObject *resultobj = 0;
11866 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11867 wxSashEdgePosition result;
11868 void *argp1 = 0 ;
11869 int res1 = 0 ;
11870 PyObject *swig_obj[1] ;
11871
11872 if (!args) SWIG_fail;
11873 swig_obj[0] = args;
11874 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11875 if (!SWIG_IsOK(res1)) {
11876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11877 }
11878 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11879 {
11880 PyThreadState* __tstate = wxPyBeginAllowThreads();
11881 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11882 wxPyEndAllowThreads(__tstate);
11883 if (PyErr_Occurred()) SWIG_fail;
11884 }
11885 resultobj = SWIG_From_int(static_cast< int >(result));
11886 return resultobj;
11887fail:
11888 return NULL;
11889}
11890
11891
11892SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11893 PyObject *resultobj = 0;
11894 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11895 wxRect *arg2 = 0 ;
11896 void *argp1 = 0 ;
11897 int res1 = 0 ;
11898 wxRect temp2 ;
11899 PyObject * obj0 = 0 ;
11900 PyObject * obj1 = 0 ;
11901 char * kwnames[] = {
11902 (char *) "self",(char *) "rect", NULL
11903 };
11904
11905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11907 if (!SWIG_IsOK(res1)) {
11908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11909 }
11910 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11911 {
11912 arg2 = &temp2;
11913 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11914 }
11915 {
11916 PyThreadState* __tstate = wxPyBeginAllowThreads();
11917 (arg1)->SetDragRect((wxRect const &)*arg2);
11918 wxPyEndAllowThreads(__tstate);
11919 if (PyErr_Occurred()) SWIG_fail;
11920 }
11921 resultobj = SWIG_Py_Void();
11922 return resultobj;
11923fail:
11924 return NULL;
d55e5bfc
RD
11925}
11926
11927
554f62e9
RD
11928SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11929 PyObject *resultobj = 0;
11930 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11931 wxRect result;
11932 void *argp1 = 0 ;
11933 int res1 = 0 ;
11934 PyObject *swig_obj[1] ;
11935
11936 if (!args) SWIG_fail;
11937 swig_obj[0] = args;
11938 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11939 if (!SWIG_IsOK(res1)) {
11940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11941 }
11942 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11943 {
11944 PyThreadState* __tstate = wxPyBeginAllowThreads();
11945 result = ((wxSashEvent const *)arg1)->GetDragRect();
11946 wxPyEndAllowThreads(__tstate);
11947 if (PyErr_Occurred()) SWIG_fail;
11948 }
11949 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11950 return resultobj;
11951fail:
11952 return NULL;
11953}
11954
11955
11956SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11957 PyObject *resultobj = 0;
11958 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11959 wxSashDragStatus arg2 ;
11960 void *argp1 = 0 ;
11961 int res1 = 0 ;
11962 int val2 ;
11963 int ecode2 = 0 ;
11964 PyObject * obj0 = 0 ;
11965 PyObject * obj1 = 0 ;
11966 char * kwnames[] = {
11967 (char *) "self",(char *) "status", NULL
11968 };
11969
11970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11972 if (!SWIG_IsOK(res1)) {
11973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11974 }
11975 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11976 ecode2 = SWIG_AsVal_int(obj1, &val2);
11977 if (!SWIG_IsOK(ecode2)) {
11978 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11979 }
11980 arg2 = static_cast< wxSashDragStatus >(val2);
11981 {
11982 PyThreadState* __tstate = wxPyBeginAllowThreads();
11983 (arg1)->SetDragStatus(arg2);
11984 wxPyEndAllowThreads(__tstate);
11985 if (PyErr_Occurred()) SWIG_fail;
11986 }
11987 resultobj = SWIG_Py_Void();
11988 return resultobj;
11989fail:
11990 return NULL;
d55e5bfc
RD
11991}
11992
11993
554f62e9
RD
11994SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11995 PyObject *resultobj = 0;
11996 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11997 wxSashDragStatus result;
11998 void *argp1 = 0 ;
11999 int res1 = 0 ;
12000 PyObject *swig_obj[1] ;
12001
12002 if (!args) SWIG_fail;
12003 swig_obj[0] = args;
12004 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
12005 if (!SWIG_IsOK(res1)) {
12006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12007 }
12008 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
12009 {
12010 PyThreadState* __tstate = wxPyBeginAllowThreads();
12011 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
12012 wxPyEndAllowThreads(__tstate);
12013 if (PyErr_Occurred()) SWIG_fail;
12014 }
12015 resultobj = SWIG_From_int(static_cast< int >(result));
12016 return resultobj;
12017fail:
12018 return NULL;
03837c5c
RD
12019}
12020
12021
554f62e9
RD
12022SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12023 PyObject *obj;
12024 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12025 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
12026 return SWIG_Py_Void();
d55e5bfc
RD
12027}
12028
554f62e9
RD
12029SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12030 return SWIG_Python_InitShadowInstance(args);
12031}
d55e5bfc 12032
554f62e9
RD
12033SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12034 PyObject *resultobj = 0;
12035 int arg1 = (int) 0 ;
12036 wxQueryLayoutInfoEvent *result = 0 ;
12037 int val1 ;
12038 int ecode1 = 0 ;
12039 PyObject * obj0 = 0 ;
12040 char * kwnames[] = {
12041 (char *) "id", NULL
12042 };
12043
12044 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
12045 if (obj0) {
12046 ecode1 = SWIG_AsVal_int(obj0, &val1);
12047 if (!SWIG_IsOK(ecode1)) {
12048 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12049 }
12050 arg1 = static_cast< int >(val1);
12051 }
12052 {
12053 PyThreadState* __tstate = wxPyBeginAllowThreads();
12054 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
12055 wxPyEndAllowThreads(__tstate);
12056 if (PyErr_Occurred()) SWIG_fail;
12057 }
12058 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
12059 return resultobj;
12060fail:
12061 return NULL;
12062}
12063
12064
12065SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12066 PyObject *resultobj = 0;
12067 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12068 int arg2 ;
12069 void *argp1 = 0 ;
12070 int res1 = 0 ;
12071 int val2 ;
12072 int ecode2 = 0 ;
12073 PyObject * obj0 = 0 ;
12074 PyObject * obj1 = 0 ;
12075 char * kwnames[] = {
12076 (char *) "self",(char *) "length", NULL
12077 };
12078
12079 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12080 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12081 if (!SWIG_IsOK(res1)) {
12082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12083 }
12084 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12085 ecode2 = SWIG_AsVal_int(obj1, &val2);
12086 if (!SWIG_IsOK(ecode2)) {
12087 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12088 }
12089 arg2 = static_cast< int >(val2);
12090 {
12091 PyThreadState* __tstate = wxPyBeginAllowThreads();
12092 (arg1)->SetRequestedLength(arg2);
12093 wxPyEndAllowThreads(__tstate);
12094 if (PyErr_Occurred()) SWIG_fail;
12095 }
12096 resultobj = SWIG_Py_Void();
12097 return resultobj;
12098fail:
12099 return NULL;
d55e5bfc
RD
12100}
12101
12102
554f62e9
RD
12103SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12104 PyObject *resultobj = 0;
12105 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12106 int result;
12107 void *argp1 = 0 ;
12108 int res1 = 0 ;
12109 PyObject *swig_obj[1] ;
12110
12111 if (!args) SWIG_fail;
12112 swig_obj[0] = args;
12113 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12114 if (!SWIG_IsOK(res1)) {
12115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12116 }
12117 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12118 {
12119 PyThreadState* __tstate = wxPyBeginAllowThreads();
12120 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12121 wxPyEndAllowThreads(__tstate);
12122 if (PyErr_Occurred()) SWIG_fail;
12123 }
12124 resultobj = SWIG_From_int(static_cast< int >(result));
12125 return resultobj;
12126fail:
12127 return NULL;
12128}
12129
12130
12131SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12132 PyObject *resultobj = 0;
12133 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12134 int arg2 ;
12135 void *argp1 = 0 ;
12136 int res1 = 0 ;
12137 int val2 ;
12138 int ecode2 = 0 ;
12139 PyObject * obj0 = 0 ;
12140 PyObject * obj1 = 0 ;
12141 char * kwnames[] = {
12142 (char *) "self",(char *) "flags", NULL
12143 };
12144
12145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12147 if (!SWIG_IsOK(res1)) {
12148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12149 }
12150 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12151 ecode2 = SWIG_AsVal_int(obj1, &val2);
12152 if (!SWIG_IsOK(ecode2)) {
12153 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12154 }
12155 arg2 = static_cast< int >(val2);
12156 {
12157 PyThreadState* __tstate = wxPyBeginAllowThreads();
12158 (arg1)->SetFlags(arg2);
12159 wxPyEndAllowThreads(__tstate);
12160 if (PyErr_Occurred()) SWIG_fail;
12161 }
12162 resultobj = SWIG_Py_Void();
12163 return resultobj;
12164fail:
12165 return NULL;
d55e5bfc
RD
12166}
12167
12168
554f62e9
RD
12169SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12170 PyObject *resultobj = 0;
12171 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12172 int result;
12173 void *argp1 = 0 ;
12174 int res1 = 0 ;
12175 PyObject *swig_obj[1] ;
12176
12177 if (!args) SWIG_fail;
12178 swig_obj[0] = args;
12179 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12180 if (!SWIG_IsOK(res1)) {
12181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12182 }
12183 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12184 {
12185 PyThreadState* __tstate = wxPyBeginAllowThreads();
12186 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12187 wxPyEndAllowThreads(__tstate);
12188 if (PyErr_Occurred()) SWIG_fail;
12189 }
12190 resultobj = SWIG_From_int(static_cast< int >(result));
12191 return resultobj;
12192fail:
12193 return NULL;
12194}
12195
12196
12197SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12198 PyObject *resultobj = 0;
12199 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12200 wxSize *arg2 = 0 ;
12201 void *argp1 = 0 ;
12202 int res1 = 0 ;
12203 wxSize temp2 ;
12204 PyObject * obj0 = 0 ;
12205 PyObject * obj1 = 0 ;
12206 char * kwnames[] = {
12207 (char *) "self",(char *) "size", NULL
12208 };
12209
12210 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12211 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12212 if (!SWIG_IsOK(res1)) {
12213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12214 }
12215 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12216 {
12217 arg2 = &temp2;
12218 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12219 }
12220 {
12221 PyThreadState* __tstate = wxPyBeginAllowThreads();
12222 (arg1)->SetSize((wxSize const &)*arg2);
12223 wxPyEndAllowThreads(__tstate);
12224 if (PyErr_Occurred()) SWIG_fail;
12225 }
12226 resultobj = SWIG_Py_Void();
12227 return resultobj;
12228fail:
12229 return NULL;
d55e5bfc
RD
12230}
12231
12232
554f62e9
RD
12233SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12234 PyObject *resultobj = 0;
12235 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12236 wxSize result;
12237 void *argp1 = 0 ;
12238 int res1 = 0 ;
12239 PyObject *swig_obj[1] ;
12240
12241 if (!args) SWIG_fail;
12242 swig_obj[0] = args;
12243 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12244 if (!SWIG_IsOK(res1)) {
12245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12246 }
12247 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12248 {
12249 PyThreadState* __tstate = wxPyBeginAllowThreads();
12250 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12251 wxPyEndAllowThreads(__tstate);
12252 if (PyErr_Occurred()) SWIG_fail;
12253 }
12254 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12255 return resultobj;
12256fail:
12257 return NULL;
12258}
12259
12260
12261SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12262 PyObject *resultobj = 0;
12263 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12264 wxLayoutOrientation arg2 ;
12265 void *argp1 = 0 ;
12266 int res1 = 0 ;
12267 int val2 ;
12268 int ecode2 = 0 ;
12269 PyObject * obj0 = 0 ;
12270 PyObject * obj1 = 0 ;
12271 char * kwnames[] = {
12272 (char *) "self",(char *) "orient", NULL
12273 };
12274
12275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12277 if (!SWIG_IsOK(res1)) {
12278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12279 }
12280 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12281 ecode2 = SWIG_AsVal_int(obj1, &val2);
12282 if (!SWIG_IsOK(ecode2)) {
12283 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12284 }
12285 arg2 = static_cast< wxLayoutOrientation >(val2);
12286 {
12287 PyThreadState* __tstate = wxPyBeginAllowThreads();
12288 (arg1)->SetOrientation(arg2);
12289 wxPyEndAllowThreads(__tstate);
12290 if (PyErr_Occurred()) SWIG_fail;
12291 }
12292 resultobj = SWIG_Py_Void();
12293 return resultobj;
12294fail:
12295 return NULL;
f20a2e1f
RD
12296}
12297
12298
554f62e9
RD
12299SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12300 PyObject *resultobj = 0;
12301 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12302 wxLayoutOrientation result;
12303 void *argp1 = 0 ;
12304 int res1 = 0 ;
12305 PyObject *swig_obj[1] ;
12306
12307 if (!args) SWIG_fail;
12308 swig_obj[0] = args;
12309 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12310 if (!SWIG_IsOK(res1)) {
12311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12312 }
12313 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12314 {
12315 PyThreadState* __tstate = wxPyBeginAllowThreads();
12316 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12317 wxPyEndAllowThreads(__tstate);
12318 if (PyErr_Occurred()) SWIG_fail;
12319 }
12320 resultobj = SWIG_From_int(static_cast< int >(result));
12321 return resultobj;
12322fail:
12323 return NULL;
12324}
12325
12326
12327SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12328 PyObject *resultobj = 0;
12329 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12330 wxLayoutAlignment arg2 ;
12331 void *argp1 = 0 ;
12332 int res1 = 0 ;
12333 int val2 ;
12334 int ecode2 = 0 ;
12335 PyObject * obj0 = 0 ;
12336 PyObject * obj1 = 0 ;
12337 char * kwnames[] = {
12338 (char *) "self",(char *) "align", NULL
12339 };
12340
12341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12343 if (!SWIG_IsOK(res1)) {
12344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12345 }
12346 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12347 ecode2 = SWIG_AsVal_int(obj1, &val2);
12348 if (!SWIG_IsOK(ecode2)) {
12349 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12350 }
12351 arg2 = static_cast< wxLayoutAlignment >(val2);
12352 {
12353 PyThreadState* __tstate = wxPyBeginAllowThreads();
12354 (arg1)->SetAlignment(arg2);
12355 wxPyEndAllowThreads(__tstate);
12356 if (PyErr_Occurred()) SWIG_fail;
12357 }
12358 resultobj = SWIG_Py_Void();
12359 return resultobj;
12360fail:
12361 return NULL;
d55e5bfc 12362}
554f62e9
RD
12363
12364
12365SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12366 PyObject *resultobj = 0;
12367 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12368 wxLayoutAlignment result;
12369 void *argp1 = 0 ;
12370 int res1 = 0 ;
12371 PyObject *swig_obj[1] ;
12372
12373 if (!args) SWIG_fail;
12374 swig_obj[0] = args;
12375 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12376 if (!SWIG_IsOK(res1)) {
12377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12378 }
12379 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12380 {
12381 PyThreadState* __tstate = wxPyBeginAllowThreads();
12382 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12383 wxPyEndAllowThreads(__tstate);
12384 if (PyErr_Occurred()) SWIG_fail;
12385 }
12386 resultobj = SWIG_From_int(static_cast< int >(result));
12387 return resultobj;
12388fail:
12389 return NULL;
d55e5bfc
RD
12390}
12391
12392
554f62e9
RD
12393SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12394 PyObject *obj;
12395 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12396 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12397 return SWIG_Py_Void();
d55e5bfc
RD
12398}
12399
554f62e9
RD
12400SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12401 return SWIG_Python_InitShadowInstance(args);
12402}
d55e5bfc 12403
554f62e9
RD
12404SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12405 PyObject *resultobj = 0;
12406 int arg1 = (int) 0 ;
12407 wxCalculateLayoutEvent *result = 0 ;
12408 int val1 ;
12409 int ecode1 = 0 ;
12410 PyObject * obj0 = 0 ;
12411 char * kwnames[] = {
12412 (char *) "id", NULL
12413 };
12414
12415 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12416 if (obj0) {
12417 ecode1 = SWIG_AsVal_int(obj0, &val1);
12418 if (!SWIG_IsOK(ecode1)) {
12419 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12420 }
12421 arg1 = static_cast< int >(val1);
12422 }
12423 {
12424 PyThreadState* __tstate = wxPyBeginAllowThreads();
12425 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12426 wxPyEndAllowThreads(__tstate);
12427 if (PyErr_Occurred()) SWIG_fail;
12428 }
12429 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12430 return resultobj;
12431fail:
12432 return NULL;
12433}
12434
12435
12436SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12437 PyObject *resultobj = 0;
12438 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12439 int arg2 ;
12440 void *argp1 = 0 ;
12441 int res1 = 0 ;
12442 int val2 ;
12443 int ecode2 = 0 ;
12444 PyObject * obj0 = 0 ;
12445 PyObject * obj1 = 0 ;
12446 char * kwnames[] = {
12447 (char *) "self",(char *) "flags", NULL
12448 };
12449
12450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12452 if (!SWIG_IsOK(res1)) {
12453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12454 }
12455 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12456 ecode2 = SWIG_AsVal_int(obj1, &val2);
12457 if (!SWIG_IsOK(ecode2)) {
12458 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12459 }
12460 arg2 = static_cast< int >(val2);
12461 {
12462 PyThreadState* __tstate = wxPyBeginAllowThreads();
12463 (arg1)->SetFlags(arg2);
12464 wxPyEndAllowThreads(__tstate);
12465 if (PyErr_Occurred()) SWIG_fail;
12466 }
12467 resultobj = SWIG_Py_Void();
12468 return resultobj;
12469fail:
12470 return NULL;
d55e5bfc
RD
12471}
12472
12473
554f62e9
RD
12474SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12475 PyObject *resultobj = 0;
12476 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12477 int result;
12478 void *argp1 = 0 ;
12479 int res1 = 0 ;
12480 PyObject *swig_obj[1] ;
12481
12482 if (!args) SWIG_fail;
12483 swig_obj[0] = args;
12484 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12485 if (!SWIG_IsOK(res1)) {
12486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12487 }
12488 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12489 {
12490 PyThreadState* __tstate = wxPyBeginAllowThreads();
12491 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12492 wxPyEndAllowThreads(__tstate);
12493 if (PyErr_Occurred()) SWIG_fail;
12494 }
12495 resultobj = SWIG_From_int(static_cast< int >(result));
12496 return resultobj;
12497fail:
12498 return NULL;
12499}
12500
12501
12502SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12503 PyObject *resultobj = 0;
12504 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12505 wxRect *arg2 = 0 ;
12506 void *argp1 = 0 ;
12507 int res1 = 0 ;
12508 wxRect temp2 ;
12509 PyObject * obj0 = 0 ;
12510 PyObject * obj1 = 0 ;
12511 char * kwnames[] = {
12512 (char *) "self",(char *) "rect", NULL
12513 };
12514
12515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12517 if (!SWIG_IsOK(res1)) {
12518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12519 }
12520 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12521 {
12522 arg2 = &temp2;
12523 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12524 }
12525 {
12526 PyThreadState* __tstate = wxPyBeginAllowThreads();
12527 (arg1)->SetRect((wxRect const &)*arg2);
12528 wxPyEndAllowThreads(__tstate);
12529 if (PyErr_Occurred()) SWIG_fail;
12530 }
12531 resultobj = SWIG_Py_Void();
12532 return resultobj;
12533fail:
12534 return NULL;
12535}
12536
12537
12538SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12539 PyObject *resultobj = 0;
12540 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12541 wxRect result;
12542 void *argp1 = 0 ;
12543 int res1 = 0 ;
12544 PyObject *swig_obj[1] ;
12545
12546 if (!args) SWIG_fail;
12547 swig_obj[0] = args;
12548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12549 if (!SWIG_IsOK(res1)) {
12550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12551 }
12552 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12553 {
12554 PyThreadState* __tstate = wxPyBeginAllowThreads();
12555 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12556 wxPyEndAllowThreads(__tstate);
12557 if (PyErr_Occurred()) SWIG_fail;
12558 }
12559 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12560 return resultobj;
12561fail:
12562 return NULL;
12563}
12564
12565
12566SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12567 PyObject *obj;
12568 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12569 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12570 return SWIG_Py_Void();
12571}
12572
12573SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12574 return SWIG_Python_InitShadowInstance(args);
12575}
12576
12577SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12578 PyObject *resultobj = 0;
12579 wxWindow *arg1 = (wxWindow *) 0 ;
12580 int arg2 = (int) -1 ;
12581 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12582 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12583 wxSize const &arg4_defvalue = wxDefaultSize ;
12584 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12585 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12586 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12587 wxString *arg6 = (wxString *) &arg6_defvalue ;
12588 wxSashLayoutWindow *result = 0 ;
12589 void *argp1 = 0 ;
12590 int res1 = 0 ;
12591 int val2 ;
12592 int ecode2 = 0 ;
12593 wxPoint temp3 ;
12594 wxSize temp4 ;
12595 long val5 ;
12596 int ecode5 = 0 ;
12597 bool temp6 = false ;
12598 PyObject * obj0 = 0 ;
12599 PyObject * obj1 = 0 ;
12600 PyObject * obj2 = 0 ;
12601 PyObject * obj3 = 0 ;
12602 PyObject * obj4 = 0 ;
12603 PyObject * obj5 = 0 ;
12604 char * kwnames[] = {
12605 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12606 };
12607
12608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12610 if (!SWIG_IsOK(res1)) {
12611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12612 }
12613 arg1 = reinterpret_cast< wxWindow * >(argp1);
12614 if (obj1) {
12615 ecode2 = SWIG_AsVal_int(obj1, &val2);
12616 if (!SWIG_IsOK(ecode2)) {
12617 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12618 }
12619 arg2 = static_cast< int >(val2);
12620 }
12621 if (obj2) {
d55e5bfc 12622 {
554f62e9
RD
12623 arg3 = &temp3;
12624 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 12625 }
554f62e9
RD
12626 }
12627 if (obj3) {
d55e5bfc 12628 {
554f62e9
RD
12629 arg4 = &temp4;
12630 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 12631 }
554f62e9
RD
12632 }
12633 if (obj4) {
12634 ecode5 = SWIG_AsVal_long(obj4, &val5);
12635 if (!SWIG_IsOK(ecode5)) {
12636 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12637 }
12638 arg5 = static_cast< long >(val5);
12639 }
12640 if (obj5) {
d55e5bfc 12641 {
554f62e9
RD
12642 arg6 = wxString_in_helper(obj5);
12643 if (arg6 == NULL) SWIG_fail;
12644 temp6 = true;
d55e5bfc 12645 }
554f62e9
RD
12646 }
12647 {
12648 if (!wxPyCheckForApp()) SWIG_fail;
12649 PyThreadState* __tstate = wxPyBeginAllowThreads();
12650 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12651 wxPyEndAllowThreads(__tstate);
12652 if (PyErr_Occurred()) SWIG_fail;
12653 }
12654 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12655 {
12656 if (temp6)
12657 delete arg6;
12658 }
12659 return resultobj;
12660fail:
12661 {
12662 if (temp6)
12663 delete arg6;
12664 }
12665 return NULL;
d55e5bfc
RD
12666}
12667
12668
554f62e9
RD
12669SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12670 PyObject *resultobj = 0;
12671 wxSashLayoutWindow *result = 0 ;
12672
12673 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12674 {
12675 if (!wxPyCheckForApp()) SWIG_fail;
12676 PyThreadState* __tstate = wxPyBeginAllowThreads();
12677 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12678 wxPyEndAllowThreads(__tstate);
12679 if (PyErr_Occurred()) SWIG_fail;
12680 }
12681 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12682 return resultobj;
12683fail:
12684 return NULL;
12685}
12686
12687
12688SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12689 PyObject *resultobj = 0;
12690 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12691 wxWindow *arg2 = (wxWindow *) 0 ;
12692 int arg3 = (int) -1 ;
12693 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12694 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12695 wxSize const &arg5_defvalue = wxDefaultSize ;
12696 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12697 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12698 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12699 wxString *arg7 = (wxString *) &arg7_defvalue ;
12700 bool result;
12701 void *argp1 = 0 ;
12702 int res1 = 0 ;
12703 void *argp2 = 0 ;
12704 int res2 = 0 ;
12705 int val3 ;
12706 int ecode3 = 0 ;
12707 wxPoint temp4 ;
12708 wxSize temp5 ;
12709 long val6 ;
12710 int ecode6 = 0 ;
12711 bool temp7 = false ;
12712 PyObject * obj0 = 0 ;
12713 PyObject * obj1 = 0 ;
12714 PyObject * obj2 = 0 ;
12715 PyObject * obj3 = 0 ;
12716 PyObject * obj4 = 0 ;
12717 PyObject * obj5 = 0 ;
12718 PyObject * obj6 = 0 ;
12719 char * kwnames[] = {
12720 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12721 };
12722
12723 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12724 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12725 if (!SWIG_IsOK(res1)) {
12726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12727 }
12728 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12729 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12730 if (!SWIG_IsOK(res2)) {
12731 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12732 }
12733 arg2 = reinterpret_cast< wxWindow * >(argp2);
12734 if (obj2) {
12735 ecode3 = SWIG_AsVal_int(obj2, &val3);
12736 if (!SWIG_IsOK(ecode3)) {
12737 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12738 }
12739 arg3 = static_cast< int >(val3);
12740 }
12741 if (obj3) {
d55e5bfc 12742 {
554f62e9
RD
12743 arg4 = &temp4;
12744 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 12745 }
554f62e9
RD
12746 }
12747 if (obj4) {
d55e5bfc 12748 {
554f62e9
RD
12749 arg5 = &temp5;
12750 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 12751 }
554f62e9
RD
12752 }
12753 if (obj5) {
12754 ecode6 = SWIG_AsVal_long(obj5, &val6);
12755 if (!SWIG_IsOK(ecode6)) {
12756 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12757 }
12758 arg6 = static_cast< long >(val6);
12759 }
12760 if (obj6) {
d55e5bfc 12761 {
554f62e9
RD
12762 arg7 = wxString_in_helper(obj6);
12763 if (arg7 == NULL) SWIG_fail;
12764 temp7 = true;
d55e5bfc 12765 }
554f62e9
RD
12766 }
12767 {
12768 PyThreadState* __tstate = wxPyBeginAllowThreads();
12769 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12770 wxPyEndAllowThreads(__tstate);
12771 if (PyErr_Occurred()) SWIG_fail;
12772 }
12773 {
12774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12775 }
12776 {
12777 if (temp7)
12778 delete arg7;
12779 }
12780 return resultobj;
12781fail:
12782 {
12783 if (temp7)
12784 delete arg7;
12785 }
12786 return NULL;
d55e5bfc
RD
12787}
12788
12789
554f62e9
RD
12790SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12791 PyObject *resultobj = 0;
12792 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12793 wxLayoutAlignment result;
12794 void *argp1 = 0 ;
12795 int res1 = 0 ;
12796 PyObject *swig_obj[1] ;
12797
12798 if (!args) SWIG_fail;
12799 swig_obj[0] = args;
12800 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12801 if (!SWIG_IsOK(res1)) {
12802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12803 }
12804 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12805 {
12806 PyThreadState* __tstate = wxPyBeginAllowThreads();
12807 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12808 wxPyEndAllowThreads(__tstate);
12809 if (PyErr_Occurred()) SWIG_fail;
12810 }
12811 resultobj = SWIG_From_int(static_cast< int >(result));
12812 return resultobj;
12813fail:
12814 return NULL;
d55e5bfc
RD
12815}
12816
12817
554f62e9
RD
12818SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12819 PyObject *resultobj = 0;
12820 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12821 wxLayoutOrientation result;
12822 void *argp1 = 0 ;
12823 int res1 = 0 ;
12824 PyObject *swig_obj[1] ;
12825
12826 if (!args) SWIG_fail;
12827 swig_obj[0] = args;
12828 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12829 if (!SWIG_IsOK(res1)) {
12830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12831 }
12832 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12833 {
12834 PyThreadState* __tstate = wxPyBeginAllowThreads();
12835 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12836 wxPyEndAllowThreads(__tstate);
12837 if (PyErr_Occurred()) SWIG_fail;
12838 }
12839 resultobj = SWIG_From_int(static_cast< int >(result));
12840 return resultobj;
12841fail:
12842 return NULL;
12843}
12844
12845
12846SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12847 PyObject *resultobj = 0;
12848 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12849 wxLayoutAlignment arg2 ;
12850 void *argp1 = 0 ;
12851 int res1 = 0 ;
12852 int val2 ;
12853 int ecode2 = 0 ;
12854 PyObject * obj0 = 0 ;
12855 PyObject * obj1 = 0 ;
12856 char * kwnames[] = {
12857 (char *) "self",(char *) "alignment", NULL
12858 };
12859
12860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12862 if (!SWIG_IsOK(res1)) {
12863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12864 }
12865 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12866 ecode2 = SWIG_AsVal_int(obj1, &val2);
12867 if (!SWIG_IsOK(ecode2)) {
12868 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12869 }
12870 arg2 = static_cast< wxLayoutAlignment >(val2);
12871 {
12872 PyThreadState* __tstate = wxPyBeginAllowThreads();
12873 (arg1)->SetAlignment(arg2);
12874 wxPyEndAllowThreads(__tstate);
12875 if (PyErr_Occurred()) SWIG_fail;
12876 }
12877 resultobj = SWIG_Py_Void();
12878 return resultobj;
12879fail:
12880 return NULL;
12881}
12882
12883
12884SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12885 PyObject *resultobj = 0;
12886 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12887 wxSize *arg2 = 0 ;
12888 void *argp1 = 0 ;
12889 int res1 = 0 ;
12890 wxSize temp2 ;
12891 PyObject * obj0 = 0 ;
12892 PyObject * obj1 = 0 ;
12893 char * kwnames[] = {
12894 (char *) "self",(char *) "size", NULL
12895 };
12896
12897 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12898 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12899 if (!SWIG_IsOK(res1)) {
12900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12901 }
12902 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12903 {
12904 arg2 = &temp2;
12905 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12906 }
12907 {
12908 PyThreadState* __tstate = wxPyBeginAllowThreads();
12909 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12910 wxPyEndAllowThreads(__tstate);
12911 if (PyErr_Occurred()) SWIG_fail;
12912 }
12913 resultobj = SWIG_Py_Void();
12914 return resultobj;
12915fail:
12916 return NULL;
12917}
12918
12919
12920SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12921 PyObject *resultobj = 0;
12922 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12923 wxLayoutOrientation arg2 ;
12924 void *argp1 = 0 ;
12925 int res1 = 0 ;
12926 int val2 ;
12927 int ecode2 = 0 ;
12928 PyObject * obj0 = 0 ;
12929 PyObject * obj1 = 0 ;
12930 char * kwnames[] = {
12931 (char *) "self",(char *) "orientation", NULL
12932 };
12933
12934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12936 if (!SWIG_IsOK(res1)) {
12937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12938 }
12939 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12940 ecode2 = SWIG_AsVal_int(obj1, &val2);
12941 if (!SWIG_IsOK(ecode2)) {
12942 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12943 }
12944 arg2 = static_cast< wxLayoutOrientation >(val2);
12945 {
12946 PyThreadState* __tstate = wxPyBeginAllowThreads();
12947 (arg1)->SetOrientation(arg2);
12948 wxPyEndAllowThreads(__tstate);
12949 if (PyErr_Occurred()) SWIG_fail;
12950 }
12951 resultobj = SWIG_Py_Void();
12952 return resultobj;
12953fail:
12954 return NULL;
d55e5bfc
RD
12955}
12956
12957
554f62e9
RD
12958SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12959 PyObject *obj;
12960 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12961 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12962 return SWIG_Py_Void();
d55e5bfc
RD
12963}
12964
554f62e9
RD
12965SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12966 return SWIG_Python_InitShadowInstance(args);
12967}
d55e5bfc 12968
554f62e9
RD
12969SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12970 PyObject *resultobj = 0;
12971 wxLayoutAlgorithm *result = 0 ;
12972
12973 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12974 {
12975 PyThreadState* __tstate = wxPyBeginAllowThreads();
12976 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12977 wxPyEndAllowThreads(__tstate);
12978 if (PyErr_Occurred()) SWIG_fail;
12979 }
12980 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12981 return resultobj;
12982fail:
12983 return NULL;
d55e5bfc
RD
12984}
12985
12986
554f62e9
RD
12987SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12988 PyObject *resultobj = 0;
12989 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12990 void *argp1 = 0 ;
12991 int res1 = 0 ;
12992 PyObject *swig_obj[1] ;
12993
12994 if (!args) SWIG_fail;
12995 swig_obj[0] = args;
12996 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12997 if (!SWIG_IsOK(res1)) {
12998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12999 }
13000 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13001 {
13002 PyThreadState* __tstate = wxPyBeginAllowThreads();
13003 delete arg1;
d55e5bfc 13004
554f62e9
RD
13005 wxPyEndAllowThreads(__tstate);
13006 if (PyErr_Occurred()) SWIG_fail;
13007 }
13008 resultobj = SWIG_Py_Void();
13009 return resultobj;
13010fail:
13011 return NULL;
13012}
13013
13014
13015SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13016 PyObject *resultobj = 0;
13017 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13018 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13019 wxRect *arg3 = (wxRect *) NULL ;
13020 bool result;
13021 void *argp1 = 0 ;
13022 int res1 = 0 ;
13023 void *argp2 = 0 ;
13024 int res2 = 0 ;
13025 void *argp3 = 0 ;
13026 int res3 = 0 ;
13027 PyObject * obj0 = 0 ;
13028 PyObject * obj1 = 0 ;
13029 PyObject * obj2 = 0 ;
13030 char * kwnames[] = {
13031 (char *) "self",(char *) "frame",(char *) "rect", NULL
13032 };
13033
13034 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13035 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13036 if (!SWIG_IsOK(res1)) {
13037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13038 }
13039 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13040 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
13041 if (!SWIG_IsOK(res2)) {
13042 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13043 }
13044 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
13045 if (obj2) {
13046 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
13047 if (!SWIG_IsOK(res3)) {
13048 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
d55e5bfc 13049 }
554f62e9
RD
13050 arg3 = reinterpret_cast< wxRect * >(argp3);
13051 }
13052 {
13053 PyThreadState* __tstate = wxPyBeginAllowThreads();
13054 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
13055 wxPyEndAllowThreads(__tstate);
13056 if (PyErr_Occurred()) SWIG_fail;
13057 }
13058 {
13059 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13060 }
13061 return resultobj;
13062fail:
13063 return NULL;
13064}
13065
13066
13067SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13068 PyObject *resultobj = 0;
13069 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13070 wxFrame *arg2 = (wxFrame *) 0 ;
13071 wxWindow *arg3 = (wxWindow *) NULL ;
13072 bool result;
13073 void *argp1 = 0 ;
13074 int res1 = 0 ;
13075 void *argp2 = 0 ;
13076 int res2 = 0 ;
13077 void *argp3 = 0 ;
13078 int res3 = 0 ;
13079 PyObject * obj0 = 0 ;
13080 PyObject * obj1 = 0 ;
13081 PyObject * obj2 = 0 ;
13082 char * kwnames[] = {
13083 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13084 };
13085
13086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13088 if (!SWIG_IsOK(res1)) {
13089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13090 }
13091 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13092 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13093 if (!SWIG_IsOK(res2)) {
13094 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13095 }
13096 arg2 = reinterpret_cast< wxFrame * >(argp2);
13097 if (obj2) {
13098 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13099 if (!SWIG_IsOK(res3)) {
13100 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
d55e5bfc 13101 }
554f62e9
RD
13102 arg3 = reinterpret_cast< wxWindow * >(argp3);
13103 }
13104 {
13105 PyThreadState* __tstate = wxPyBeginAllowThreads();
13106 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13107 wxPyEndAllowThreads(__tstate);
13108 if (PyErr_Occurred()) SWIG_fail;
13109 }
13110 {
13111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13112 }
13113 return resultobj;
13114fail:
13115 return NULL;
13116}
13117
13118
13119SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13120 PyObject *resultobj = 0;
13121 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13122 wxWindow *arg2 = (wxWindow *) 0 ;
13123 wxWindow *arg3 = (wxWindow *) NULL ;
13124 bool result;
13125 void *argp1 = 0 ;
13126 int res1 = 0 ;
13127 void *argp2 = 0 ;
13128 int res2 = 0 ;
13129 void *argp3 = 0 ;
13130 int res3 = 0 ;
13131 PyObject * obj0 = 0 ;
13132 PyObject * obj1 = 0 ;
13133 PyObject * obj2 = 0 ;
13134 char * kwnames[] = {
13135 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13136 };
13137
13138 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13139 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13140 if (!SWIG_IsOK(res1)) {
13141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13142 }
13143 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13144 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13145 if (!SWIG_IsOK(res2)) {
13146 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13147 }
13148 arg2 = reinterpret_cast< wxWindow * >(argp2);
13149 if (obj2) {
13150 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13151 if (!SWIG_IsOK(res3)) {
13152 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
d55e5bfc 13153 }
554f62e9
RD
13154 arg3 = reinterpret_cast< wxWindow * >(argp3);
13155 }
13156 {
13157 PyThreadState* __tstate = wxPyBeginAllowThreads();
13158 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13159 wxPyEndAllowThreads(__tstate);
13160 if (PyErr_Occurred()) SWIG_fail;
13161 }
13162 {
13163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13164 }
13165 return resultobj;
13166fail:
13167 return NULL;
d55e5bfc
RD
13168}
13169
13170
554f62e9
RD
13171SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13172 PyObject *obj;
13173 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13174 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13175 return SWIG_Py_Void();
d55e5bfc
RD
13176}
13177
554f62e9
RD
13178SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13179 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
13180}
13181
554f62e9
RD
13182SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13183 PyObject *resultobj = 0;
13184 wxWindow *arg1 = (wxWindow *) 0 ;
13185 int arg2 = (int) wxBORDER_NONE ;
13186 wxPopupWindow *result = 0 ;
13187 void *argp1 = 0 ;
13188 int res1 = 0 ;
13189 int val2 ;
13190 int ecode2 = 0 ;
13191 PyObject * obj0 = 0 ;
13192 PyObject * obj1 = 0 ;
13193 char * kwnames[] = {
13194 (char *) "parent",(char *) "flags", NULL
13195 };
13196
13197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13199 if (!SWIG_IsOK(res1)) {
13200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13201 }
13202 arg1 = reinterpret_cast< wxWindow * >(argp1);
13203 if (obj1) {
13204 ecode2 = SWIG_AsVal_int(obj1, &val2);
13205 if (!SWIG_IsOK(ecode2)) {
13206 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13207 }
13208 arg2 = static_cast< int >(val2);
13209 }
13210 {
13211 if (!wxPyCheckForApp()) SWIG_fail;
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;
d55e5bfc
RD
13221}
13222
13223
554f62e9
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 if (!wxPyCheckForApp()) SWIG_fail;
13231 PyThreadState* __tstate = wxPyBeginAllowThreads();
13232 result = (wxPopupWindow *)new wxPopupWindow();
13233 wxPyEndAllowThreads(__tstate);
13234 if (PyErr_Occurred()) SWIG_fail;
13235 }
13236 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13237 return resultobj;
13238fail:
13239 return NULL;
13240}
13241
13242
13243SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13244 PyObject *resultobj = 0;
13245 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13246 wxWindow *arg2 = (wxWindow *) 0 ;
13247 int arg3 = (int) wxBORDER_NONE ;
13248 bool result;
13249 void *argp1 = 0 ;
13250 int res1 = 0 ;
13251 void *argp2 = 0 ;
13252 int res2 = 0 ;
13253 int val3 ;
13254 int ecode3 = 0 ;
13255 PyObject * obj0 = 0 ;
13256 PyObject * obj1 = 0 ;
13257 PyObject * obj2 = 0 ;
13258 char * kwnames[] = {
13259 (char *) "self",(char *) "parent",(char *) "flags", NULL
13260 };
13261
13262 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13263 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13264 if (!SWIG_IsOK(res1)) {
13265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13266 }
13267 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13268 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13269 if (!SWIG_IsOK(res2)) {
13270 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13271 }
13272 arg2 = reinterpret_cast< wxWindow * >(argp2);
13273 if (obj2) {
13274 ecode3 = SWIG_AsVal_int(obj2, &val3);
13275 if (!SWIG_IsOK(ecode3)) {
13276 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13277 }
13278 arg3 = static_cast< int >(val3);
13279 }
13280 {
13281 PyThreadState* __tstate = wxPyBeginAllowThreads();
13282 result = (bool)(arg1)->Create(arg2,arg3);
13283 wxPyEndAllowThreads(__tstate);
13284 if (PyErr_Occurred()) SWIG_fail;
13285 }
13286 {
13287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13288 }
13289 return resultobj;
13290fail:
13291 return NULL;
13292}
13293
13294
13295SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13296 PyObject *resultobj = 0;
13297 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13298 wxPoint *arg2 = 0 ;
13299 wxSize *arg3 = 0 ;
13300 void *argp1 = 0 ;
13301 int res1 = 0 ;
13302 wxPoint temp2 ;
13303 wxSize temp3 ;
13304 PyObject * obj0 = 0 ;
13305 PyObject * obj1 = 0 ;
13306 PyObject * obj2 = 0 ;
13307 char * kwnames[] = {
13308 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13309 };
13310
13311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13312 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13313 if (!SWIG_IsOK(res1)) {
13314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13315 }
13316 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13317 {
13318 arg2 = &temp2;
13319 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13320 }
13321 {
13322 arg3 = &temp3;
13323 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13324 }
13325 {
13326 PyThreadState* __tstate = wxPyBeginAllowThreads();
13327 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13328 wxPyEndAllowThreads(__tstate);
13329 if (PyErr_Occurred()) SWIG_fail;
13330 }
13331 resultobj = SWIG_Py_Void();
13332 return resultobj;
13333fail:
13334 return NULL;
d55e5bfc
RD
13335}
13336
13337
554f62e9
RD
13338SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13339 PyObject *obj;
13340 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13341 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13342 return SWIG_Py_Void();
d55e5bfc
RD
13343}
13344
554f62e9
RD
13345SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13346 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
13347}
13348
554f62e9
RD
13349SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13350 PyObject *resultobj = 0;
13351 wxWindow *arg1 = (wxWindow *) 0 ;
13352 int arg2 = (int) wxBORDER_NONE ;
13353 wxPyPopupTransientWindow *result = 0 ;
13354 void *argp1 = 0 ;
13355 int res1 = 0 ;
13356 int val2 ;
13357 int ecode2 = 0 ;
13358 PyObject * obj0 = 0 ;
13359 PyObject * obj1 = 0 ;
13360 char * kwnames[] = {
13361 (char *) "parent",(char *) "style", NULL
13362 };
13363
13364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13366 if (!SWIG_IsOK(res1)) {
13367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13368 }
13369 arg1 = reinterpret_cast< wxWindow * >(argp1);
13370 if (obj1) {
13371 ecode2 = SWIG_AsVal_int(obj1, &val2);
13372 if (!SWIG_IsOK(ecode2)) {
13373 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13374 }
13375 arg2 = static_cast< int >(val2);
13376 }
13377 {
13378 if (!wxPyCheckForApp()) SWIG_fail;
13379 PyThreadState* __tstate = wxPyBeginAllowThreads();
13380 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13381 wxPyEndAllowThreads(__tstate);
13382 if (PyErr_Occurred()) SWIG_fail;
13383 }
13384 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13385 return resultobj;
13386fail:
13387 return NULL;
d55e5bfc
RD
13388}
13389
13390
554f62e9
RD
13391SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13392 PyObject *resultobj = 0;
13393 wxPyPopupTransientWindow *result = 0 ;
13394
13395 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13396 {
13397 if (!wxPyCheckForApp()) SWIG_fail;
13398 PyThreadState* __tstate = wxPyBeginAllowThreads();
13399 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13400 wxPyEndAllowThreads(__tstate);
13401 if (PyErr_Occurred()) SWIG_fail;
13402 }
13403 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13404 return resultobj;
13405fail:
13406 return NULL;
13407}
13408
13409
13410SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13411 PyObject *resultobj = 0;
13412 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13413 PyObject *arg2 = (PyObject *) 0 ;
13414 PyObject *arg3 = (PyObject *) 0 ;
13415 void *argp1 = 0 ;
13416 int res1 = 0 ;
13417 PyObject * obj0 = 0 ;
13418 PyObject * obj1 = 0 ;
13419 PyObject * obj2 = 0 ;
13420 char * kwnames[] = {
13421 (char *) "self",(char *) "self",(char *) "_class", NULL
13422 };
13423
13424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13426 if (!SWIG_IsOK(res1)) {
13427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13428 }
13429 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13430 arg2 = obj1;
13431 arg3 = obj2;
13432 {
13433 PyThreadState* __tstate = wxPyBeginAllowThreads();
13434 (arg1)->_setCallbackInfo(arg2,arg3);
13435 wxPyEndAllowThreads(__tstate);
13436 if (PyErr_Occurred()) SWIG_fail;
13437 }
13438 resultobj = SWIG_Py_Void();
13439 return resultobj;
13440fail:
13441 return NULL;
13442}
13443
13444
13445SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13446 PyObject *resultobj = 0;
13447 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13448 wxWindow *arg2 = (wxWindow *) NULL ;
13449 void *argp1 = 0 ;
13450 int res1 = 0 ;
13451 void *argp2 = 0 ;
13452 int res2 = 0 ;
13453 PyObject * obj0 = 0 ;
13454 PyObject * obj1 = 0 ;
13455 char * kwnames[] = {
13456 (char *) "self",(char *) "focus", NULL
13457 };
13458
13459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13461 if (!SWIG_IsOK(res1)) {
13462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13463 }
13464 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13465 if (obj1) {
13466 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13467 if (!SWIG_IsOK(res2)) {
13468 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
093d3ff1 13469 }
554f62e9
RD
13470 arg2 = reinterpret_cast< wxWindow * >(argp2);
13471 }
13472 {
13473 PyThreadState* __tstate = wxPyBeginAllowThreads();
13474 (arg1)->Popup(arg2);
13475 wxPyEndAllowThreads(__tstate);
13476 if (PyErr_Occurred()) SWIG_fail;
13477 }
13478 resultobj = SWIG_Py_Void();
13479 return resultobj;
13480fail:
13481 return NULL;
d55e5bfc
RD
13482}
13483
13484
554f62e9
RD
13485SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13486 PyObject *resultobj = 0;
13487 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13488 void *argp1 = 0 ;
13489 int res1 = 0 ;
13490 PyObject *swig_obj[1] ;
13491
13492 if (!args) SWIG_fail;
13493 swig_obj[0] = args;
13494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13495 if (!SWIG_IsOK(res1)) {
13496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13497 }
13498 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13499 {
13500 PyThreadState* __tstate = wxPyBeginAllowThreads();
13501 (arg1)->Dismiss();
13502 wxPyEndAllowThreads(__tstate);
13503 if (PyErr_Occurred()) SWIG_fail;
13504 }
13505 resultobj = SWIG_Py_Void();
13506 return resultobj;
13507fail:
13508 return NULL;
13509}
13510
13511
13512SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13513 PyObject *obj;
13514 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13515 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13516 return SWIG_Py_Void();
13517}
13518
13519SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13520 return SWIG_Python_InitShadowInstance(args);
13521}
13522
13523SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13524 PyObject *resultobj = 0;
13525 wxWindow *arg1 = (wxWindow *) 0 ;
13526 wxString *arg2 = 0 ;
13527 int arg3 = (int) 100 ;
13528 wxRect *arg4 = (wxRect *) NULL ;
13529 wxTipWindow *result = 0 ;
13530 void *argp1 = 0 ;
13531 int res1 = 0 ;
13532 bool temp2 = false ;
13533 int val3 ;
13534 int ecode3 = 0 ;
13535 void *argp4 = 0 ;
13536 int res4 = 0 ;
13537 PyObject * obj0 = 0 ;
13538 PyObject * obj1 = 0 ;
13539 PyObject * obj2 = 0 ;
13540 PyObject * obj3 = 0 ;
13541 char * kwnames[] = {
13542 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13543 };
13544
13545 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13546 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13547 if (!SWIG_IsOK(res1)) {
13548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13549 }
13550 arg1 = reinterpret_cast< wxWindow * >(argp1);
13551 {
13552 arg2 = wxString_in_helper(obj1);
13553 if (arg2 == NULL) SWIG_fail;
13554 temp2 = true;
13555 }
13556 if (obj2) {
13557 ecode3 = SWIG_AsVal_int(obj2, &val3);
13558 if (!SWIG_IsOK(ecode3)) {
13559 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13560 }
13561 arg3 = static_cast< int >(val3);
13562 }
13563 if (obj3) {
13564 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13565 if (!SWIG_IsOK(res4)) {
13566 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
093d3ff1 13567 }
554f62e9
RD
13568 arg4 = reinterpret_cast< wxRect * >(argp4);
13569 }
13570 {
13571 if (!wxPyCheckForApp()) SWIG_fail;
13572 PyThreadState* __tstate = wxPyBeginAllowThreads();
13573 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13574 wxPyEndAllowThreads(__tstate);
13575 if (PyErr_Occurred()) SWIG_fail;
13576 }
13577 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13578 {
13579 if (temp2)
13580 delete arg2;
13581 }
13582 return resultobj;
13583fail:
13584 {
13585 if (temp2)
13586 delete arg2;
13587 }
13588 return NULL;
b519803b
RD
13589}
13590
13591
554f62e9
RD
13592SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13593 PyObject *resultobj = 0;
13594 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13595 wxRect *arg2 = 0 ;
13596 void *argp1 = 0 ;
13597 int res1 = 0 ;
13598 wxRect temp2 ;
13599 PyObject * obj0 = 0 ;
13600 PyObject * obj1 = 0 ;
13601 char * kwnames[] = {
13602 (char *) "self",(char *) "rectBound", NULL
13603 };
13604
13605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13607 if (!SWIG_IsOK(res1)) {
13608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13609 }
13610 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13611 {
13612 arg2 = &temp2;
13613 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13614 }
13615 {
13616 PyThreadState* __tstate = wxPyBeginAllowThreads();
13617 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13618 wxPyEndAllowThreads(__tstate);
13619 if (PyErr_Occurred()) SWIG_fail;
13620 }
13621 resultobj = SWIG_Py_Void();
13622 return resultobj;
13623fail:
13624 return NULL;
b519803b
RD
13625}
13626
13627
554f62e9
RD
13628SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13629 PyObject *resultobj = 0;
13630 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13631 void *argp1 = 0 ;
13632 int res1 = 0 ;
13633 PyObject *swig_obj[1] ;
13634
13635 if (!args) SWIG_fail;
13636 swig_obj[0] = args;
13637 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13638 if (!SWIG_IsOK(res1)) {
13639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13640 }
13641 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13642 {
13643 PyThreadState* __tstate = wxPyBeginAllowThreads();
13644 (arg1)->Close();
13645 wxPyEndAllowThreads(__tstate);
13646 if (PyErr_Occurred()) SWIG_fail;
13647 }
13648 resultobj = SWIG_Py_Void();
13649 return resultobj;
13650fail:
13651 return NULL;
13652}
13653
13654
13655SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13656 PyObject *obj;
13657 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13658 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13659 return SWIG_Py_Void();
13660}
13661
13662SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13663 return SWIG_Python_InitShadowInstance(args);
13664}
13665
13666SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13667 PyObject *resultobj = 0;
13668 wxWindow *arg1 = (wxWindow *) 0 ;
13669 int arg2 = (int) wxID_ANY ;
13670 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13671 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13672 wxSize const &arg4_defvalue = wxDefaultSize ;
13673 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13674 long arg5 = (long) 0 ;
13675 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13676 wxString *arg6 = (wxString *) &arg6_defvalue ;
13677 wxPyVScrolledWindow *result = 0 ;
13678 void *argp1 = 0 ;
13679 int res1 = 0 ;
13680 int val2 ;
13681 int ecode2 = 0 ;
13682 wxPoint temp3 ;
13683 wxSize temp4 ;
13684 long val5 ;
13685 int ecode5 = 0 ;
13686 bool temp6 = false ;
13687 PyObject * obj0 = 0 ;
13688 PyObject * obj1 = 0 ;
13689 PyObject * obj2 = 0 ;
13690 PyObject * obj3 = 0 ;
13691 PyObject * obj4 = 0 ;
13692 PyObject * obj5 = 0 ;
13693 char * kwnames[] = {
13694 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13695 };
13696
13697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13699 if (!SWIG_IsOK(res1)) {
13700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13701 }
13702 arg1 = reinterpret_cast< wxWindow * >(argp1);
13703 if (obj1) {
13704 ecode2 = SWIG_AsVal_int(obj1, &val2);
13705 if (!SWIG_IsOK(ecode2)) {
13706 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13707 }
13708 arg2 = static_cast< int >(val2);
13709 }
13710 if (obj2) {
093d3ff1 13711 {
554f62e9
RD
13712 arg3 = &temp3;
13713 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 13714 }
554f62e9
RD
13715 }
13716 if (obj3) {
d55e5bfc 13717 {
554f62e9
RD
13718 arg4 = &temp4;
13719 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 13720 }
554f62e9
RD
13721 }
13722 if (obj4) {
13723 ecode5 = SWIG_AsVal_long(obj4, &val5);
13724 if (!SWIG_IsOK(ecode5)) {
13725 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13726 }
13727 arg5 = static_cast< long >(val5);
13728 }
13729 if (obj5) {
093d3ff1 13730 {
554f62e9
RD
13731 arg6 = wxString_in_helper(obj5);
13732 if (arg6 == NULL) SWIG_fail;
13733 temp6 = true;
093d3ff1 13734 }
554f62e9
RD
13735 }
13736 {
13737 if (!wxPyCheckForApp()) SWIG_fail;
13738 PyThreadState* __tstate = wxPyBeginAllowThreads();
13739 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13740 wxPyEndAllowThreads(__tstate);
13741 if (PyErr_Occurred()) SWIG_fail;
13742 }
13743 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13744 {
13745 if (temp6)
13746 delete arg6;
13747 }
13748 return resultobj;
13749fail:
13750 {
13751 if (temp6)
13752 delete arg6;
13753 }
13754 return NULL;
d55e5bfc
RD
13755}
13756
13757
554f62e9
RD
13758SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13759 PyObject *resultobj = 0;
13760 wxPyVScrolledWindow *result = 0 ;
13761
13762 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13763 {
13764 if (!wxPyCheckForApp()) SWIG_fail;
13765 PyThreadState* __tstate = wxPyBeginAllowThreads();
13766 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13767 wxPyEndAllowThreads(__tstate);
13768 if (PyErr_Occurred()) SWIG_fail;
13769 }
13770 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13771 return resultobj;
13772fail:
13773 return NULL;
13774}
13775
13776
13777SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13778 PyObject *resultobj = 0;
13779 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13780 PyObject *arg2 = (PyObject *) 0 ;
13781 PyObject *arg3 = (PyObject *) 0 ;
13782 void *argp1 = 0 ;
13783 int res1 = 0 ;
13784 PyObject * obj0 = 0 ;
13785 PyObject * obj1 = 0 ;
13786 PyObject * obj2 = 0 ;
13787 char * kwnames[] = {
13788 (char *) "self",(char *) "self",(char *) "_class", NULL
13789 };
13790
13791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13793 if (!SWIG_IsOK(res1)) {
13794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13795 }
13796 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13797 arg2 = obj1;
13798 arg3 = obj2;
13799 {
13800 PyThreadState* __tstate = wxPyBeginAllowThreads();
13801 (arg1)->_setCallbackInfo(arg2,arg3);
13802 wxPyEndAllowThreads(__tstate);
13803 if (PyErr_Occurred()) SWIG_fail;
13804 }
13805 resultobj = SWIG_Py_Void();
13806 return resultobj;
13807fail:
13808 return NULL;
13809}
13810
13811
13812SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13813 PyObject *resultobj = 0;
13814 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13815 wxWindow *arg2 = (wxWindow *) 0 ;
13816 int arg3 = (int) wxID_ANY ;
13817 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13818 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13819 wxSize const &arg5_defvalue = wxDefaultSize ;
13820 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13821 long arg6 = (long) 0 ;
13822 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13823 wxString *arg7 = (wxString *) &arg7_defvalue ;
13824 bool result;
13825 void *argp1 = 0 ;
13826 int res1 = 0 ;
13827 void *argp2 = 0 ;
13828 int res2 = 0 ;
13829 int val3 ;
13830 int ecode3 = 0 ;
13831 wxPoint temp4 ;
13832 wxSize temp5 ;
13833 long val6 ;
13834 int ecode6 = 0 ;
13835 bool temp7 = false ;
13836 PyObject * obj0 = 0 ;
13837 PyObject * obj1 = 0 ;
13838 PyObject * obj2 = 0 ;
13839 PyObject * obj3 = 0 ;
13840 PyObject * obj4 = 0 ;
13841 PyObject * obj5 = 0 ;
13842 PyObject * obj6 = 0 ;
13843 char * kwnames[] = {
13844 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13845 };
13846
13847 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13848 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13849 if (!SWIG_IsOK(res1)) {
13850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13851 }
13852 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13853 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13854 if (!SWIG_IsOK(res2)) {
13855 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13856 }
13857 arg2 = reinterpret_cast< wxWindow * >(argp2);
13858 if (obj2) {
13859 ecode3 = SWIG_AsVal_int(obj2, &val3);
13860 if (!SWIG_IsOK(ecode3)) {
13861 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13862 }
13863 arg3 = static_cast< int >(val3);
13864 }
13865 if (obj3) {
d55e5bfc 13866 {
554f62e9
RD
13867 arg4 = &temp4;
13868 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 13869 }
554f62e9
RD
13870 }
13871 if (obj4) {
d55e5bfc 13872 {
554f62e9
RD
13873 arg5 = &temp5;
13874 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 13875 }
554f62e9
RD
13876 }
13877 if (obj5) {
13878 ecode6 = SWIG_AsVal_long(obj5, &val6);
13879 if (!SWIG_IsOK(ecode6)) {
13880 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13881 }
13882 arg6 = static_cast< long >(val6);
13883 }
13884 if (obj6) {
093d3ff1 13885 {
554f62e9
RD
13886 arg7 = wxString_in_helper(obj6);
13887 if (arg7 == NULL) SWIG_fail;
13888 temp7 = true;
093d3ff1 13889 }
554f62e9
RD
13890 }
13891 {
13892 PyThreadState* __tstate = wxPyBeginAllowThreads();
13893 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13894 wxPyEndAllowThreads(__tstate);
13895 if (PyErr_Occurred()) SWIG_fail;
13896 }
13897 {
13898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13899 }
13900 {
13901 if (temp7)
13902 delete arg7;
13903 }
13904 return resultobj;
13905fail:
13906 {
13907 if (temp7)
13908 delete arg7;
13909 }
13910 return NULL;
13911}
13912
13913
13914SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13915 PyObject *resultobj = 0;
13916 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13917 size_t arg2 ;
13918 void *argp1 = 0 ;
13919 int res1 = 0 ;
13920 size_t val2 ;
13921 int ecode2 = 0 ;
13922 PyObject * obj0 = 0 ;
13923 PyObject * obj1 = 0 ;
13924 char * kwnames[] = {
13925 (char *) "self",(char *) "count", NULL
13926 };
13927
13928 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13929 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13930 if (!SWIG_IsOK(res1)) {
13931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13932 }
13933 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13934 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13935 if (!SWIG_IsOK(ecode2)) {
13936 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13937 }
13938 arg2 = static_cast< size_t >(val2);
13939 {
13940 PyThreadState* __tstate = wxPyBeginAllowThreads();
13941 (arg1)->SetLineCount(arg2);
13942 wxPyEndAllowThreads(__tstate);
13943 if (PyErr_Occurred()) SWIG_fail;
13944 }
13945 resultobj = SWIG_Py_Void();
13946 return resultobj;
13947fail:
13948 return NULL;
13949}
13950
13951
13952SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13953 PyObject *resultobj = 0;
13954 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13955 size_t arg2 ;
13956 bool result;
13957 void *argp1 = 0 ;
13958 int res1 = 0 ;
13959 size_t val2 ;
13960 int ecode2 = 0 ;
13961 PyObject * obj0 = 0 ;
13962 PyObject * obj1 = 0 ;
13963 char * kwnames[] = {
13964 (char *) "self",(char *) "line", NULL
13965 };
13966
13967 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13968 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13969 if (!SWIG_IsOK(res1)) {
13970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13971 }
13972 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13973 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13974 if (!SWIG_IsOK(ecode2)) {
13975 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13976 }
13977 arg2 = static_cast< size_t >(val2);
13978 {
13979 PyThreadState* __tstate = wxPyBeginAllowThreads();
13980 result = (bool)(arg1)->ScrollToLine(arg2);
13981 wxPyEndAllowThreads(__tstate);
13982 if (PyErr_Occurred()) SWIG_fail;
13983 }
13984 {
13985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13986 }
13987 return resultobj;
13988fail:
13989 return NULL;
13990}
13991
13992
13993SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13994 PyObject *resultobj = 0;
13995 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13996 size_t arg2 ;
13997 void *argp1 = 0 ;
13998 int res1 = 0 ;
13999 size_t val2 ;
14000 int ecode2 = 0 ;
14001 PyObject * obj0 = 0 ;
14002 PyObject * obj1 = 0 ;
14003 char * kwnames[] = {
14004 (char *) "self",(char *) "line", NULL
14005 };
14006
14007 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
14008 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14009 if (!SWIG_IsOK(res1)) {
14010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14011 }
14012 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14013 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14014 if (!SWIG_IsOK(ecode2)) {
14015 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
14016 }
14017 arg2 = static_cast< size_t >(val2);
14018 {
14019 PyThreadState* __tstate = wxPyBeginAllowThreads();
14020 (arg1)->RefreshLine(arg2);
14021 wxPyEndAllowThreads(__tstate);
14022 if (PyErr_Occurred()) SWIG_fail;
14023 }
14024 resultobj = SWIG_Py_Void();
14025 return resultobj;
14026fail:
14027 return NULL;
14028}
14029
14030
14031SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14032 PyObject *resultobj = 0;
14033 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14034 size_t arg2 ;
14035 size_t arg3 ;
14036 void *argp1 = 0 ;
14037 int res1 = 0 ;
14038 size_t val2 ;
14039 int ecode2 = 0 ;
14040 size_t val3 ;
14041 int ecode3 = 0 ;
14042 PyObject * obj0 = 0 ;
14043 PyObject * obj1 = 0 ;
14044 PyObject * obj2 = 0 ;
14045 char * kwnames[] = {
f460c29d 14046 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
14047 };
14048
14049 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14050 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14051 if (!SWIG_IsOK(res1)) {
14052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14053 }
14054 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14055 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14056 if (!SWIG_IsOK(ecode2)) {
14057 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
14058 }
14059 arg2 = static_cast< size_t >(val2);
14060 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14061 if (!SWIG_IsOK(ecode3)) {
14062 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
14063 }
14064 arg3 = static_cast< size_t >(val3);
14065 {
14066 PyThreadState* __tstate = wxPyBeginAllowThreads();
14067 (arg1)->RefreshLines(arg2,arg3);
14068 wxPyEndAllowThreads(__tstate);
14069 if (PyErr_Occurred()) SWIG_fail;
14070 }
14071 resultobj = SWIG_Py_Void();
14072 return resultobj;
14073fail:
14074 return NULL;
14075}
14076
14077
14078SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14079 PyObject *resultobj = 0;
14080 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14081 int arg2 ;
14082 int arg3 ;
14083 int result;
14084 void *argp1 = 0 ;
14085 int res1 = 0 ;
14086 int val2 ;
14087 int ecode2 = 0 ;
14088 int val3 ;
14089 int ecode3 = 0 ;
14090 PyObject * obj0 = 0 ;
14091 PyObject * obj1 = 0 ;
14092 PyObject * obj2 = 0 ;
14093 char * kwnames[] = {
14094 (char *) "self",(char *) "x",(char *) "y", NULL
14095 };
14096
14097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14099 if (!SWIG_IsOK(res1)) {
14100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14101 }
14102 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14103 ecode2 = SWIG_AsVal_int(obj1, &val2);
14104 if (!SWIG_IsOK(ecode2)) {
14105 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14106 }
14107 arg2 = static_cast< int >(val2);
14108 ecode3 = SWIG_AsVal_int(obj2, &val3);
14109 if (!SWIG_IsOK(ecode3)) {
14110 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14111 }
14112 arg3 = static_cast< int >(val3);
14113 {
14114 PyThreadState* __tstate = wxPyBeginAllowThreads();
14115 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
14116 wxPyEndAllowThreads(__tstate);
14117 if (PyErr_Occurred()) SWIG_fail;
14118 }
14119 resultobj = SWIG_From_int(static_cast< int >(result));
14120 return resultobj;
14121fail:
14122 return NULL;
14123}
14124
14125
14126SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14127 PyObject *resultobj = 0;
14128 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14129 wxPoint *arg2 = 0 ;
14130 int result;
14131 void *argp1 = 0 ;
14132 int res1 = 0 ;
14133 wxPoint temp2 ;
14134 PyObject * obj0 = 0 ;
14135 PyObject * obj1 = 0 ;
14136 char * kwnames[] = {
14137 (char *) "self",(char *) "pt", NULL
14138 };
14139
14140 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
14141 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14142 if (!SWIG_IsOK(res1)) {
14143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14144 }
14145 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14146 {
14147 arg2 = &temp2;
14148 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14149 }
14150 {
14151 PyThreadState* __tstate = wxPyBeginAllowThreads();
14152 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
14153 wxPyEndAllowThreads(__tstate);
14154 if (PyErr_Occurred()) SWIG_fail;
14155 }
14156 resultobj = SWIG_From_int(static_cast< int >(result));
14157 return resultobj;
14158fail:
14159 return NULL;
f20a2e1f
RD
14160}
14161
14162
554f62e9
RD
14163SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14164 PyObject *resultobj = 0;
14165 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14166 void *argp1 = 0 ;
14167 int res1 = 0 ;
14168 PyObject *swig_obj[1] ;
14169
14170 if (!args) SWIG_fail;
14171 swig_obj[0] = args;
14172 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14173 if (!SWIG_IsOK(res1)) {
14174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14175 }
14176 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14177 {
14178 PyThreadState* __tstate = wxPyBeginAllowThreads();
14179 (arg1)->RefreshAll();
14180 wxPyEndAllowThreads(__tstate);
14181 if (PyErr_Occurred()) SWIG_fail;
14182 }
14183 resultobj = SWIG_Py_Void();
14184 return resultobj;
14185fail:
14186 return NULL;
d55e5bfc
RD
14187}
14188
14189
554f62e9
RD
14190SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14191 PyObject *resultobj = 0;
14192 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14193 size_t result;
14194 void *argp1 = 0 ;
14195 int res1 = 0 ;
14196 PyObject *swig_obj[1] ;
14197
14198 if (!args) SWIG_fail;
14199 swig_obj[0] = args;
14200 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14201 if (!SWIG_IsOK(res1)) {
14202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14203 }
14204 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14205 {
14206 PyThreadState* __tstate = wxPyBeginAllowThreads();
14207 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
14208 wxPyEndAllowThreads(__tstate);
14209 if (PyErr_Occurred()) SWIG_fail;
14210 }
14211 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14212 return resultobj;
14213fail:
14214 return NULL;
d55e5bfc
RD
14215}
14216
14217
554f62e9
RD
14218SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14219 PyObject *resultobj = 0;
14220 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14221 size_t result;
14222 void *argp1 = 0 ;
14223 int res1 = 0 ;
14224 PyObject *swig_obj[1] ;
14225
14226 if (!args) SWIG_fail;
14227 swig_obj[0] = args;
14228 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14229 if (!SWIG_IsOK(res1)) {
14230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14231 }
14232 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14233 {
14234 PyThreadState* __tstate = wxPyBeginAllowThreads();
14235 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14236 wxPyEndAllowThreads(__tstate);
14237 if (PyErr_Occurred()) SWIG_fail;
14238 }
14239 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14240 return resultobj;
14241fail:
14242 return NULL;
d55e5bfc
RD
14243}
14244
14245
554f62e9
RD
14246SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14247 PyObject *resultobj = 0;
14248 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14249 size_t result;
14250 void *argp1 = 0 ;
14251 int res1 = 0 ;
14252 PyObject *swig_obj[1] ;
14253
14254 if (!args) SWIG_fail;
14255 swig_obj[0] = args;
14256 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14257 if (!SWIG_IsOK(res1)) {
14258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14259 }
14260 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14261 {
14262 PyThreadState* __tstate = wxPyBeginAllowThreads();
14263 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14264 wxPyEndAllowThreads(__tstate);
14265 if (PyErr_Occurred()) SWIG_fail;
14266 }
14267 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14268 return resultobj;
14269fail:
14270 return NULL;
14271}
14272
14273
14274SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14275 PyObject *resultobj = 0;
14276 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14277 size_t arg2 ;
14278 bool result;
14279 void *argp1 = 0 ;
14280 int res1 = 0 ;
14281 size_t val2 ;
14282 int ecode2 = 0 ;
14283 PyObject * obj0 = 0 ;
14284 PyObject * obj1 = 0 ;
14285 char * kwnames[] = {
14286 (char *) "self",(char *) "line", NULL
14287 };
14288
14289 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14290 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14291 if (!SWIG_IsOK(res1)) {
14292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14293 }
14294 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14295 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14296 if (!SWIG_IsOK(ecode2)) {
14297 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14298 }
14299 arg2 = static_cast< size_t >(val2);
14300 {
14301 PyThreadState* __tstate = wxPyBeginAllowThreads();
14302 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14303 wxPyEndAllowThreads(__tstate);
14304 if (PyErr_Occurred()) SWIG_fail;
14305 }
14306 {
14307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14308 }
14309 return resultobj;
14310fail:
14311 return NULL;
d55e5bfc
RD
14312}
14313
14314
554f62e9
RD
14315SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14316 PyObject *resultobj = 0;
14317 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14318 size_t result;
14319 void *argp1 = 0 ;
14320 int res1 = 0 ;
14321 PyObject *swig_obj[1] ;
14322
14323 if (!args) SWIG_fail;
14324 swig_obj[0] = args;
14325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14326 if (!SWIG_IsOK(res1)) {
14327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14328 }
14329 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14330 {
14331 PyThreadState* __tstate = wxPyBeginAllowThreads();
14332 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14333 wxPyEndAllowThreads(__tstate);
14334 if (PyErr_Occurred()) SWIG_fail;
14335 }
14336 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14337 return resultobj;
14338fail:
14339 return NULL;
d55e5bfc
RD
14340}
14341
14342
554f62e9
RD
14343SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14344 PyObject *resultobj = 0;
14345 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14346 size_t result;
14347 void *argp1 = 0 ;
14348 int res1 = 0 ;
14349 PyObject *swig_obj[1] ;
14350
14351 if (!args) SWIG_fail;
14352 swig_obj[0] = args;
14353 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14354 if (!SWIG_IsOK(res1)) {
14355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14356 }
14357 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14358 {
14359 PyThreadState* __tstate = wxPyBeginAllowThreads();
14360 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14361 wxPyEndAllowThreads(__tstate);
14362 if (PyErr_Occurred()) SWIG_fail;
14363 }
14364 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14365 return resultobj;
14366fail:
14367 return NULL;
14368}
14369
14370
14371SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14372 PyObject *resultobj = 0;
14373 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14374 size_t arg2 ;
14375 bool arg3 = (bool) false ;
14376 size_t result;
14377 void *argp1 = 0 ;
14378 int res1 = 0 ;
14379 size_t val2 ;
14380 int ecode2 = 0 ;
14381 bool val3 ;
14382 int ecode3 = 0 ;
14383 PyObject * obj0 = 0 ;
14384 PyObject * obj1 = 0 ;
14385 PyObject * obj2 = 0 ;
14386 char * kwnames[] = {
14387 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14388 };
14389
14390 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14391 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14392 if (!SWIG_IsOK(res1)) {
14393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14394 }
14395 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14396 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14397 if (!SWIG_IsOK(ecode2)) {
14398 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14399 }
14400 arg2 = static_cast< size_t >(val2);
14401 if (obj2) {
14402 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14403 if (!SWIG_IsOK(ecode3)) {
14404 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14405 }
14406 arg3 = static_cast< bool >(val3);
14407 }
14408 {
14409 PyThreadState* __tstate = wxPyBeginAllowThreads();
14410 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14411 wxPyEndAllowThreads(__tstate);
14412 if (PyErr_Occurred()) SWIG_fail;
14413 }
14414 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14415 return resultobj;
14416fail:
14417 return NULL;
14418}
14419
14420
14421SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14422 PyObject *resultobj = 0;
14423 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14424 size_t arg2 ;
14425 size_t arg3 ;
14426 int result;
14427 void *argp1 = 0 ;
14428 int res1 = 0 ;
14429 size_t val2 ;
14430 int ecode2 = 0 ;
14431 size_t val3 ;
14432 int ecode3 = 0 ;
14433 PyObject * obj0 = 0 ;
14434 PyObject * obj1 = 0 ;
14435 PyObject * obj2 = 0 ;
14436 char * kwnames[] = {
14437 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14438 };
14439
14440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14442 if (!SWIG_IsOK(res1)) {
14443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14444 }
14445 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14446 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14447 if (!SWIG_IsOK(ecode2)) {
14448 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14449 }
14450 arg2 = static_cast< size_t >(val2);
14451 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14452 if (!SWIG_IsOK(ecode3)) {
14453 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14454 }
14455 arg3 = static_cast< size_t >(val3);
14456 {
14457 PyThreadState* __tstate = wxPyBeginAllowThreads();
14458 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14459 wxPyEndAllowThreads(__tstate);
14460 if (PyErr_Occurred()) SWIG_fail;
14461 }
14462 resultobj = SWIG_From_int(static_cast< int >(result));
14463 return resultobj;
14464fail:
14465 return NULL;
d55e5bfc
RD
14466}
14467
14468
554f62e9
RD
14469SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14470 PyObject *obj;
14471 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14472 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14473 return SWIG_Py_Void();
d55e5bfc
RD
14474}
14475
554f62e9
RD
14476SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14477 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
14478}
14479
554f62e9
RD
14480SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14481 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14482 return 1;
d55e5bfc
RD
14483}
14484
14485
554f62e9
RD
14486SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14487 PyObject *pyobj = 0;
14488
14489 {
d55e5bfc 14490#if wxUSE_UNICODE
554f62e9 14491 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
d55e5bfc 14492#else
554f62e9 14493 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
d55e5bfc 14494#endif
554f62e9
RD
14495 }
14496 return pyobj;
14497}
14498
14499
14500SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14501 PyObject *resultobj = 0;
14502 wxWindow *arg1 = (wxWindow *) 0 ;
14503 int arg2 = (int) wxID_ANY ;
14504 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14505 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14506 wxSize const &arg4_defvalue = wxDefaultSize ;
14507 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14508 long arg5 = (long) 0 ;
14509 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14510 wxString *arg6 = (wxString *) &arg6_defvalue ;
14511 wxPyVListBox *result = 0 ;
14512 void *argp1 = 0 ;
14513 int res1 = 0 ;
14514 int val2 ;
14515 int ecode2 = 0 ;
14516 wxPoint temp3 ;
14517 wxSize temp4 ;
14518 long val5 ;
14519 int ecode5 = 0 ;
14520 bool temp6 = false ;
14521 PyObject * obj0 = 0 ;
14522 PyObject * obj1 = 0 ;
14523 PyObject * obj2 = 0 ;
14524 PyObject * obj3 = 0 ;
14525 PyObject * obj4 = 0 ;
14526 PyObject * obj5 = 0 ;
14527 char * kwnames[] = {
14528 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14529 };
14530
14531 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14532 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14533 if (!SWIG_IsOK(res1)) {
14534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14535 }
14536 arg1 = reinterpret_cast< wxWindow * >(argp1);
14537 if (obj1) {
14538 ecode2 = SWIG_AsVal_int(obj1, &val2);
14539 if (!SWIG_IsOK(ecode2)) {
14540 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14541 }
14542 arg2 = static_cast< int >(val2);
14543 }
14544 if (obj2) {
d55e5bfc 14545 {
554f62e9
RD
14546 arg3 = &temp3;
14547 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 14548 }
554f62e9
RD
14549 }
14550 if (obj3) {
d55e5bfc 14551 {
554f62e9
RD
14552 arg4 = &temp4;
14553 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14554 }
554f62e9
RD
14555 }
14556 if (obj4) {
14557 ecode5 = SWIG_AsVal_long(obj4, &val5);
14558 if (!SWIG_IsOK(ecode5)) {
14559 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14560 }
14561 arg5 = static_cast< long >(val5);
14562 }
14563 if (obj5) {
d55e5bfc 14564 {
554f62e9
RD
14565 arg6 = wxString_in_helper(obj5);
14566 if (arg6 == NULL) SWIG_fail;
14567 temp6 = true;
14568 }
14569 }
14570 {
14571 if (!wxPyCheckForApp()) SWIG_fail;
14572 PyThreadState* __tstate = wxPyBeginAllowThreads();
14573 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14574 wxPyEndAllowThreads(__tstate);
14575 if (PyErr_Occurred()) SWIG_fail;
14576 }
14577 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14578 {
14579 if (temp6)
14580 delete arg6;
14581 }
14582 return resultobj;
14583fail:
14584 {
14585 if (temp6)
14586 delete arg6;
14587 }
14588 return NULL;
d55e5bfc
RD
14589}
14590
14591
554f62e9
RD
14592SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14593 PyObject *resultobj = 0;
14594 wxPyVListBox *result = 0 ;
14595
14596 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14597 {
14598 if (!wxPyCheckForApp()) SWIG_fail;
14599 PyThreadState* __tstate = wxPyBeginAllowThreads();
14600 result = (wxPyVListBox *)new wxPyVListBox();
14601 wxPyEndAllowThreads(__tstate);
14602 if (PyErr_Occurred()) SWIG_fail;
14603 }
14604 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14605 return resultobj;
14606fail:
14607 return NULL;
14608}
14609
14610
14611SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14612 PyObject *resultobj = 0;
14613 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14614 PyObject *arg2 = (PyObject *) 0 ;
14615 PyObject *arg3 = (PyObject *) 0 ;
14616 void *argp1 = 0 ;
14617 int res1 = 0 ;
14618 PyObject * obj0 = 0 ;
14619 PyObject * obj1 = 0 ;
14620 PyObject * obj2 = 0 ;
14621 char * kwnames[] = {
14622 (char *) "self",(char *) "self",(char *) "_class", NULL
14623 };
14624
14625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14627 if (!SWIG_IsOK(res1)) {
14628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14629 }
14630 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14631 arg2 = obj1;
14632 arg3 = obj2;
14633 {
14634 PyThreadState* __tstate = wxPyBeginAllowThreads();
14635 (arg1)->_setCallbackInfo(arg2,arg3);
14636 wxPyEndAllowThreads(__tstate);
14637 if (PyErr_Occurred()) SWIG_fail;
14638 }
14639 resultobj = SWIG_Py_Void();
14640 return resultobj;
14641fail:
14642 return NULL;
14643}
14644
14645
14646SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14647 PyObject *resultobj = 0;
14648 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14649 wxWindow *arg2 = (wxWindow *) 0 ;
14650 int arg3 = (int) wxID_ANY ;
14651 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14652 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14653 wxSize const &arg5_defvalue = wxDefaultSize ;
14654 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14655 long arg6 = (long) 0 ;
14656 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14657 wxString *arg7 = (wxString *) &arg7_defvalue ;
14658 bool result;
14659 void *argp1 = 0 ;
14660 int res1 = 0 ;
14661 void *argp2 = 0 ;
14662 int res2 = 0 ;
14663 int val3 ;
14664 int ecode3 = 0 ;
14665 wxPoint temp4 ;
14666 wxSize temp5 ;
14667 long val6 ;
14668 int ecode6 = 0 ;
14669 bool temp7 = false ;
14670 PyObject * obj0 = 0 ;
14671 PyObject * obj1 = 0 ;
14672 PyObject * obj2 = 0 ;
14673 PyObject * obj3 = 0 ;
14674 PyObject * obj4 = 0 ;
14675 PyObject * obj5 = 0 ;
14676 PyObject * obj6 = 0 ;
14677 char * kwnames[] = {
14678 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14679 };
14680
14681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14683 if (!SWIG_IsOK(res1)) {
14684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14685 }
14686 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14687 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14688 if (!SWIG_IsOK(res2)) {
14689 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14690 }
14691 arg2 = reinterpret_cast< wxWindow * >(argp2);
14692 if (obj2) {
14693 ecode3 = SWIG_AsVal_int(obj2, &val3);
14694 if (!SWIG_IsOK(ecode3)) {
14695 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14696 }
14697 arg3 = static_cast< int >(val3);
14698 }
14699 if (obj3) {
d55e5bfc 14700 {
554f62e9
RD
14701 arg4 = &temp4;
14702 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14703 }
554f62e9
RD
14704 }
14705 if (obj4) {
d55e5bfc 14706 {
554f62e9
RD
14707 arg5 = &temp5;
14708 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 14709 }
554f62e9
RD
14710 }
14711 if (obj5) {
14712 ecode6 = SWIG_AsVal_long(obj5, &val6);
14713 if (!SWIG_IsOK(ecode6)) {
14714 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14715 }
14716 arg6 = static_cast< long >(val6);
14717 }
14718 if (obj6) {
d55e5bfc 14719 {
554f62e9
RD
14720 arg7 = wxString_in_helper(obj6);
14721 if (arg7 == NULL) SWIG_fail;
14722 temp7 = true;
d55e5bfc 14723 }
554f62e9
RD
14724 }
14725 {
14726 PyThreadState* __tstate = wxPyBeginAllowThreads();
14727 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14728 wxPyEndAllowThreads(__tstate);
14729 if (PyErr_Occurred()) SWIG_fail;
14730 }
14731 {
14732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14733 }
14734 {
14735 if (temp7)
14736 delete arg7;
14737 }
14738 return resultobj;
14739fail:
14740 {
14741 if (temp7)
14742 delete arg7;
14743 }
14744 return NULL;
d55e5bfc
RD
14745}
14746
14747
554f62e9
RD
14748SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14749 PyObject *resultobj = 0;
14750 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14751 size_t result;
14752 void *argp1 = 0 ;
14753 int res1 = 0 ;
14754 PyObject *swig_obj[1] ;
14755
14756 if (!args) SWIG_fail;
14757 swig_obj[0] = args;
14758 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14759 if (!SWIG_IsOK(res1)) {
14760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14761 }
14762 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14763 {
14764 PyThreadState* __tstate = wxPyBeginAllowThreads();
14765 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14766 wxPyEndAllowThreads(__tstate);
14767 if (PyErr_Occurred()) SWIG_fail;
14768 }
14769 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14770 return resultobj;
14771fail:
14772 return NULL;
d55e5bfc
RD
14773}
14774
14775
554f62e9
RD
14776SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14777 PyObject *resultobj = 0;
14778 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14779 bool result;
14780 void *argp1 = 0 ;
14781 int res1 = 0 ;
14782 PyObject *swig_obj[1] ;
14783
14784 if (!args) SWIG_fail;
14785 swig_obj[0] = args;
14786 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14787 if (!SWIG_IsOK(res1)) {
14788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14789 }
14790 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14791 {
14792 PyThreadState* __tstate = wxPyBeginAllowThreads();
14793 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14794 wxPyEndAllowThreads(__tstate);
14795 if (PyErr_Occurred()) SWIG_fail;
14796 }
14797 {
14798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14799 }
14800 return resultobj;
14801fail:
14802 return NULL;
d55e5bfc
RD
14803}
14804
14805
554f62e9
RD
14806SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14807 PyObject *resultobj = 0;
14808 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14809 int result;
14810 void *argp1 = 0 ;
14811 int res1 = 0 ;
14812 PyObject *swig_obj[1] ;
14813
14814 if (!args) SWIG_fail;
14815 swig_obj[0] = args;
14816 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14817 if (!SWIG_IsOK(res1)) {
14818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14819 }
14820 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14821 {
14822 PyThreadState* __tstate = wxPyBeginAllowThreads();
14823 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14824 wxPyEndAllowThreads(__tstate);
14825 if (PyErr_Occurred()) SWIG_fail;
14826 }
14827 resultobj = SWIG_From_int(static_cast< int >(result));
14828 return resultobj;
14829fail:
14830 return NULL;
14831}
14832
14833
14834SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14835 PyObject *resultobj = 0;
14836 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14837 size_t arg2 ;
14838 bool result;
14839 void *argp1 = 0 ;
14840 int res1 = 0 ;
14841 size_t val2 ;
14842 int ecode2 = 0 ;
14843 PyObject * obj0 = 0 ;
14844 PyObject * obj1 = 0 ;
14845 char * kwnames[] = {
14846 (char *) "self",(char *) "item", NULL
14847 };
14848
14849 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14850 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14851 if (!SWIG_IsOK(res1)) {
14852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14853 }
14854 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14855 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14856 if (!SWIG_IsOK(ecode2)) {
14857 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14858 }
14859 arg2 = static_cast< size_t >(val2);
14860 {
14861 PyThreadState* __tstate = wxPyBeginAllowThreads();
14862 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14863 wxPyEndAllowThreads(__tstate);
14864 if (PyErr_Occurred()) SWIG_fail;
14865 }
14866 {
14867 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14868 }
14869 return resultobj;
14870fail:
14871 return NULL;
14872}
14873
14874
14875SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14876 PyObject *resultobj = 0;
14877 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14878 size_t arg2 ;
14879 bool result;
14880 void *argp1 = 0 ;
14881 int res1 = 0 ;
14882 size_t val2 ;
14883 int ecode2 = 0 ;
14884 PyObject * obj0 = 0 ;
14885 PyObject * obj1 = 0 ;
14886 char * kwnames[] = {
14887 (char *) "self",(char *) "item", NULL
14888 };
14889
14890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14892 if (!SWIG_IsOK(res1)) {
14893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14894 }
14895 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14896 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14897 if (!SWIG_IsOK(ecode2)) {
14898 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14899 }
14900 arg2 = static_cast< size_t >(val2);
14901 {
14902 PyThreadState* __tstate = wxPyBeginAllowThreads();
14903 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14904 wxPyEndAllowThreads(__tstate);
14905 if (PyErr_Occurred()) SWIG_fail;
14906 }
14907 {
14908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14909 }
14910 return resultobj;
14911fail:
14912 return NULL;
d55e5bfc
RD
14913}
14914
14915
554f62e9
RD
14916SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14917 PyObject *resultobj = 0;
14918 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14919 size_t result;
14920 void *argp1 = 0 ;
14921 int res1 = 0 ;
14922 PyObject *swig_obj[1] ;
14923
14924 if (!args) SWIG_fail;
14925 swig_obj[0] = args;
14926 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14927 if (!SWIG_IsOK(res1)) {
14928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14929 }
14930 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14931 {
14932 PyThreadState* __tstate = wxPyBeginAllowThreads();
14933 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14934 wxPyEndAllowThreads(__tstate);
14935 if (PyErr_Occurred()) SWIG_fail;
14936 }
14937 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14938 return resultobj;
14939fail:
14940 return NULL;
d55e5bfc
RD
14941}
14942
14943
554f62e9
RD
14944SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14945 PyObject *resultobj = 0;
14946 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14947 PyObject *result = 0 ;
14948 void *argp1 = 0 ;
14949 int res1 = 0 ;
14950 PyObject *swig_obj[1] ;
14951
14952 if (!args) SWIG_fail;
14953 swig_obj[0] = args;
14954 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14955 if (!SWIG_IsOK(res1)) {
14956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14957 }
14958 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14959 {
14960 PyThreadState* __tstate = wxPyBeginAllowThreads();
14961 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14962 wxPyEndAllowThreads(__tstate);
14963 if (PyErr_Occurred()) SWIG_fail;
14964 }
14965 resultobj = result;
14966 return resultobj;
14967fail:
14968 return NULL;
14969}
14970
14971
14972SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14973 PyObject *resultobj = 0;
14974 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14975 unsigned long arg2 ;
14976 PyObject *result = 0 ;
14977 void *argp1 = 0 ;
14978 int res1 = 0 ;
14979 unsigned long val2 ;
14980 int ecode2 = 0 ;
14981 PyObject * obj0 = 0 ;
14982 PyObject * obj1 = 0 ;
14983 char * kwnames[] = {
14984 (char *) "self",(char *) "cookie", NULL
14985 };
14986
14987 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14988 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14989 if (!SWIG_IsOK(res1)) {
14990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14991 }
14992 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14993 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14994 if (!SWIG_IsOK(ecode2)) {
14995 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14996 }
14997 arg2 = static_cast< unsigned long >(val2);
14998 {
14999 PyThreadState* __tstate = wxPyBeginAllowThreads();
15000 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
15001 wxPyEndAllowThreads(__tstate);
15002 if (PyErr_Occurred()) SWIG_fail;
15003 }
15004 resultobj = result;
15005 return resultobj;
15006fail:
15007 return NULL;
d55e5bfc
RD
15008}
15009
15010
554f62e9
RD
15011SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15012 PyObject *resultobj = 0;
15013 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15014 wxPoint result;
15015 void *argp1 = 0 ;
15016 int res1 = 0 ;
15017 PyObject *swig_obj[1] ;
15018
15019 if (!args) SWIG_fail;
15020 swig_obj[0] = args;
15021 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15022 if (!SWIG_IsOK(res1)) {
15023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15024 }
15025 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15026 {
15027 PyThreadState* __tstate = wxPyBeginAllowThreads();
15028 result = ((wxPyVListBox const *)arg1)->GetMargins();
15029 wxPyEndAllowThreads(__tstate);
15030 if (PyErr_Occurred()) SWIG_fail;
15031 }
15032 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
15033 return resultobj;
15034fail:
15035 return NULL;
d55e5bfc
RD
15036}
15037
15038
554f62e9
RD
15039SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15040 PyObject *resultobj = 0;
15041 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15042 wxColour *result = 0 ;
15043 void *argp1 = 0 ;
15044 int res1 = 0 ;
15045 PyObject *swig_obj[1] ;
15046
15047 if (!args) SWIG_fail;
15048 swig_obj[0] = args;
15049 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15050 if (!SWIG_IsOK(res1)) {
15051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15052 }
15053 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15054 {
15055 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15056 {
554f62e9
RD
15057 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
15058 result = (wxColour *) &_result_ref;
093d3ff1 15059 }
554f62e9
RD
15060 wxPyEndAllowThreads(__tstate);
15061 if (PyErr_Occurred()) SWIG_fail;
15062 }
15063 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
15064 return resultobj;
15065fail:
15066 return NULL;
15067}
15068
15069
15070SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15071 PyObject *resultobj = 0;
15072 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15073 size_t arg2 ;
15074 void *argp1 = 0 ;
15075 int res1 = 0 ;
15076 size_t val2 ;
15077 int ecode2 = 0 ;
15078 PyObject * obj0 = 0 ;
15079 PyObject * obj1 = 0 ;
15080 char * kwnames[] = {
15081 (char *) "self",(char *) "count", NULL
15082 };
15083
15084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15086 if (!SWIG_IsOK(res1)) {
15087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15088 }
15089 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15090 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15091 if (!SWIG_IsOK(ecode2)) {
15092 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15093 }
15094 arg2 = static_cast< size_t >(val2);
15095 {
15096 PyThreadState* __tstate = wxPyBeginAllowThreads();
15097 (arg1)->SetItemCount(arg2);
15098 wxPyEndAllowThreads(__tstate);
15099 if (PyErr_Occurred()) SWIG_fail;
15100 }
15101 resultobj = SWIG_Py_Void();
15102 return resultobj;
15103fail:
15104 return NULL;
d55e5bfc
RD
15105}
15106
15107
554f62e9
RD
15108SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15109 PyObject *resultobj = 0;
15110 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15111 void *argp1 = 0 ;
15112 int res1 = 0 ;
15113 PyObject *swig_obj[1] ;
15114
15115 if (!args) SWIG_fail;
15116 swig_obj[0] = args;
15117 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15118 if (!SWIG_IsOK(res1)) {
15119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15120 }
15121 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15122 {
15123 PyThreadState* __tstate = wxPyBeginAllowThreads();
15124 (arg1)->Clear();
15125 wxPyEndAllowThreads(__tstate);
15126 if (PyErr_Occurred()) SWIG_fail;
15127 }
15128 resultobj = SWIG_Py_Void();
15129 return resultobj;
15130fail:
15131 return NULL;
15132}
15133
15134
15135SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15136 PyObject *resultobj = 0;
15137 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15138 int arg2 ;
15139 void *argp1 = 0 ;
15140 int res1 = 0 ;
15141 int val2 ;
15142 int ecode2 = 0 ;
15143 PyObject * obj0 = 0 ;
15144 PyObject * obj1 = 0 ;
15145 char * kwnames[] = {
15146 (char *) "self",(char *) "selection", NULL
15147 };
15148
15149 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
15150 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15151 if (!SWIG_IsOK(res1)) {
15152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15153 }
15154 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15155 ecode2 = SWIG_AsVal_int(obj1, &val2);
15156 if (!SWIG_IsOK(ecode2)) {
15157 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15158 }
15159 arg2 = static_cast< int >(val2);
15160 {
15161 PyThreadState* __tstate = wxPyBeginAllowThreads();
15162 (arg1)->SetSelection(arg2);
15163 wxPyEndAllowThreads(__tstate);
15164 if (PyErr_Occurred()) SWIG_fail;
15165 }
15166 resultobj = SWIG_Py_Void();
15167 return resultobj;
15168fail:
15169 return NULL;
15170}
15171
15172
15173SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15174 PyObject *resultobj = 0;
15175 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15176 size_t arg2 ;
15177 bool arg3 = (bool) true ;
15178 bool result;
15179 void *argp1 = 0 ;
15180 int res1 = 0 ;
15181 size_t val2 ;
15182 int ecode2 = 0 ;
15183 bool val3 ;
15184 int ecode3 = 0 ;
15185 PyObject * obj0 = 0 ;
15186 PyObject * obj1 = 0 ;
15187 PyObject * obj2 = 0 ;
15188 char * kwnames[] = {
15189 (char *) "self",(char *) "item",(char *) "select", NULL
15190 };
15191
15192 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15193 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15194 if (!SWIG_IsOK(res1)) {
15195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15196 }
15197 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15198 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15199 if (!SWIG_IsOK(ecode2)) {
15200 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15201 }
15202 arg2 = static_cast< size_t >(val2);
15203 if (obj2) {
15204 ecode3 = SWIG_AsVal_bool(obj2, &val3);
15205 if (!SWIG_IsOK(ecode3)) {
15206 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15207 }
15208 arg3 = static_cast< bool >(val3);
15209 }
15210 {
15211 PyThreadState* __tstate = wxPyBeginAllowThreads();
15212 result = (bool)(arg1)->Select(arg2,arg3);
15213 wxPyEndAllowThreads(__tstate);
15214 if (PyErr_Occurred()) SWIG_fail;
15215 }
15216 {
15217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15218 }
15219 return resultobj;
15220fail:
15221 return NULL;
15222}
15223
15224
15225SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15226 PyObject *resultobj = 0;
15227 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15228 size_t arg2 ;
15229 size_t arg3 ;
15230 bool result;
15231 void *argp1 = 0 ;
15232 int res1 = 0 ;
15233 size_t val2 ;
15234 int ecode2 = 0 ;
15235 size_t val3 ;
15236 int ecode3 = 0 ;
15237 PyObject * obj0 = 0 ;
15238 PyObject * obj1 = 0 ;
15239 PyObject * obj2 = 0 ;
15240 char * kwnames[] = {
f460c29d 15241 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
15242 };
15243
15244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15246 if (!SWIG_IsOK(res1)) {
15247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15248 }
15249 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15250 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15251 if (!SWIG_IsOK(ecode2)) {
15252 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15253 }
15254 arg2 = static_cast< size_t >(val2);
15255 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15256 if (!SWIG_IsOK(ecode3)) {
15257 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15258 }
15259 arg3 = static_cast< size_t >(val3);
15260 {
15261 PyThreadState* __tstate = wxPyBeginAllowThreads();
15262 result = (bool)(arg1)->SelectRange(arg2,arg3);
15263 wxPyEndAllowThreads(__tstate);
15264 if (PyErr_Occurred()) SWIG_fail;
15265 }
15266 {
15267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15268 }
15269 return resultobj;
15270fail:
15271 return NULL;
15272}
15273
15274
15275SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15276 PyObject *resultobj = 0;
15277 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15278 size_t arg2 ;
15279 void *argp1 = 0 ;
15280 int res1 = 0 ;
15281 size_t val2 ;
15282 int ecode2 = 0 ;
15283 PyObject * obj0 = 0 ;
15284 PyObject * obj1 = 0 ;
15285 char * kwnames[] = {
15286 (char *) "self",(char *) "item", NULL
15287 };
15288
15289 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15290 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15291 if (!SWIG_IsOK(res1)) {
15292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15293 }
15294 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15295 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15296 if (!SWIG_IsOK(ecode2)) {
15297 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15298 }
15299 arg2 = static_cast< size_t >(val2);
15300 {
15301 PyThreadState* __tstate = wxPyBeginAllowThreads();
15302 (arg1)->Toggle(arg2);
15303 wxPyEndAllowThreads(__tstate);
15304 if (PyErr_Occurred()) SWIG_fail;
15305 }
15306 resultobj = SWIG_Py_Void();
15307 return resultobj;
15308fail:
15309 return NULL;
d55e5bfc
RD
15310}
15311
15312
554f62e9
RD
15313SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15314 PyObject *resultobj = 0;
15315 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15316 bool result;
15317 void *argp1 = 0 ;
15318 int res1 = 0 ;
15319 PyObject *swig_obj[1] ;
15320
15321 if (!args) SWIG_fail;
15322 swig_obj[0] = args;
15323 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15324 if (!SWIG_IsOK(res1)) {
15325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15326 }
15327 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15328 {
15329 PyThreadState* __tstate = wxPyBeginAllowThreads();
15330 result = (bool)(arg1)->SelectAll();
15331 wxPyEndAllowThreads(__tstate);
15332 if (PyErr_Occurred()) SWIG_fail;
15333 }
15334 {
15335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15336 }
15337 return resultobj;
15338fail:
15339 return NULL;
d55e5bfc
RD
15340}
15341
15342
554f62e9
RD
15343SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15344 PyObject *resultobj = 0;
15345 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15346 bool result;
15347 void *argp1 = 0 ;
15348 int res1 = 0 ;
15349 PyObject *swig_obj[1] ;
15350
15351 if (!args) SWIG_fail;
15352 swig_obj[0] = args;
15353 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15354 if (!SWIG_IsOK(res1)) {
15355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15356 }
15357 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15358 {
15359 PyThreadState* __tstate = wxPyBeginAllowThreads();
15360 result = (bool)(arg1)->DeselectAll();
15361 wxPyEndAllowThreads(__tstate);
15362 if (PyErr_Occurred()) SWIG_fail;
15363 }
15364 {
15365 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15366 }
15367 return resultobj;
15368fail:
15369 return NULL;
15370}
15371
15372
15373SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15374 PyObject *resultobj = 0;
15375 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15376 wxPoint *arg2 = 0 ;
15377 void *argp1 = 0 ;
15378 int res1 = 0 ;
15379 wxPoint temp2 ;
15380 PyObject * obj0 = 0 ;
15381 PyObject * obj1 = 0 ;
15382 char * kwnames[] = {
15383 (char *) "self",(char *) "pt", NULL
15384 };
15385
15386 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15387 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15388 if (!SWIG_IsOK(res1)) {
15389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15390 }
15391 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15392 {
15393 arg2 = &temp2;
15394 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15395 }
15396 {
15397 PyThreadState* __tstate = wxPyBeginAllowThreads();
15398 (arg1)->SetMargins((wxPoint const &)*arg2);
15399 wxPyEndAllowThreads(__tstate);
15400 if (PyErr_Occurred()) SWIG_fail;
15401 }
15402 resultobj = SWIG_Py_Void();
15403 return resultobj;
15404fail:
15405 return NULL;
15406}
15407
15408
15409SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15410 PyObject *resultobj = 0;
15411 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15412 int arg2 ;
15413 int arg3 ;
15414 void *argp1 = 0 ;
15415 int res1 = 0 ;
15416 int val2 ;
15417 int ecode2 = 0 ;
15418 int val3 ;
15419 int ecode3 = 0 ;
15420 PyObject * obj0 = 0 ;
15421 PyObject * obj1 = 0 ;
15422 PyObject * obj2 = 0 ;
15423 char * kwnames[] = {
15424 (char *) "self",(char *) "x",(char *) "y", NULL
15425 };
15426
15427 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15429 if (!SWIG_IsOK(res1)) {
15430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15431 }
15432 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15433 ecode2 = SWIG_AsVal_int(obj1, &val2);
15434 if (!SWIG_IsOK(ecode2)) {
15435 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15436 }
15437 arg2 = static_cast< int >(val2);
15438 ecode3 = SWIG_AsVal_int(obj2, &val3);
15439 if (!SWIG_IsOK(ecode3)) {
15440 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15441 }
15442 arg3 = static_cast< int >(val3);
15443 {
15444 PyThreadState* __tstate = wxPyBeginAllowThreads();
15445 (arg1)->SetMargins(arg2,arg3);
15446 wxPyEndAllowThreads(__tstate);
15447 if (PyErr_Occurred()) SWIG_fail;
15448 }
15449 resultobj = SWIG_Py_Void();
15450 return resultobj;
15451fail:
15452 return NULL;
15453}
15454
15455
15456SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15457 PyObject *resultobj = 0;
15458 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15459 wxColour *arg2 = 0 ;
15460 void *argp1 = 0 ;
15461 int res1 = 0 ;
15462 wxColour temp2 ;
15463 PyObject * obj0 = 0 ;
15464 PyObject * obj1 = 0 ;
15465 char * kwnames[] = {
15466 (char *) "self",(char *) "col", NULL
15467 };
15468
15469 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15470 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15471 if (!SWIG_IsOK(res1)) {
15472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15473 }
15474 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15475 {
15476 arg2 = &temp2;
15477 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15478 }
15479 {
15480 PyThreadState* __tstate = wxPyBeginAllowThreads();
15481 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15482 wxPyEndAllowThreads(__tstate);
15483 if (PyErr_Occurred()) SWIG_fail;
15484 }
15485 resultobj = SWIG_Py_Void();
15486 return resultobj;
15487fail:
15488 return NULL;
15489}
15490
15491
1c71765a
RD
15492SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15493 PyObject *resultobj = 0;
15494 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15495 wxDC *arg2 = 0 ;
15496 wxRect *arg3 = 0 ;
15497 size_t arg4 ;
15498 void *argp1 = 0 ;
15499 int res1 = 0 ;
15500 void *argp2 = 0 ;
15501 int res2 = 0 ;
15502 wxRect temp3 ;
15503 size_t val4 ;
15504 int ecode4 = 0 ;
15505 PyObject * obj0 = 0 ;
15506 PyObject * obj1 = 0 ;
15507 PyObject * obj2 = 0 ;
15508 PyObject * obj3 = 0 ;
15509 char * kwnames[] = {
15510 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15511 };
15512
15513 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15514 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15515 if (!SWIG_IsOK(res1)) {
15516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15517 }
15518 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15519 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15520 if (!SWIG_IsOK(res2)) {
15521 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15522 }
15523 if (!argp2) {
15524 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15525 }
15526 arg2 = reinterpret_cast< wxDC * >(argp2);
15527 {
15528 arg3 = &temp3;
15529 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15530 }
15531 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15532 if (!SWIG_IsOK(ecode4)) {
15533 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15534 }
15535 arg4 = static_cast< size_t >(val4);
15536 {
15537 PyThreadState* __tstate = wxPyBeginAllowThreads();
15538 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15539 wxPyEndAllowThreads(__tstate);
15540 if (PyErr_Occurred()) SWIG_fail;
15541 }
15542 resultobj = SWIG_Py_Void();
15543 return resultobj;
15544fail:
15545 return NULL;
15546}
15547
15548
15549SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15550 PyObject *resultobj = 0;
15551 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15552 wxDC *arg2 = 0 ;
15553 wxRect *arg3 = 0 ;
15554 size_t arg4 ;
15555 void *argp1 = 0 ;
15556 int res1 = 0 ;
15557 void *argp2 = 0 ;
15558 int res2 = 0 ;
15559 wxRect temp3 ;
15560 size_t val4 ;
15561 int ecode4 = 0 ;
15562 PyObject * obj0 = 0 ;
15563 PyObject * obj1 = 0 ;
15564 PyObject * obj2 = 0 ;
15565 PyObject * obj3 = 0 ;
15566 char * kwnames[] = {
15567 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15568 };
15569
15570 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15571 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15572 if (!SWIG_IsOK(res1)) {
15573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15574 }
15575 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15576 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15577 if (!SWIG_IsOK(res2)) {
15578 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15579 }
15580 if (!argp2) {
15581 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15582 }
15583 arg2 = reinterpret_cast< wxDC * >(argp2);
15584 {
15585 arg3 = &temp3;
15586 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15587 }
15588 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15589 if (!SWIG_IsOK(ecode4)) {
15590 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15591 }
15592 arg4 = static_cast< size_t >(val4);
15593 {
15594 PyThreadState* __tstate = wxPyBeginAllowThreads();
15595 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15596 wxPyEndAllowThreads(__tstate);
15597 if (PyErr_Occurred()) SWIG_fail;
15598 }
15599 resultobj = SWIG_Py_Void();
15600 return resultobj;
15601fail:
15602 return NULL;
15603}
15604
15605
554f62e9
RD
15606SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15607 PyObject *obj;
15608 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15609 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15610 return SWIG_Py_Void();
15611}
15612
15613SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15614 return SWIG_Python_InitShadowInstance(args);
15615}
15616
15617SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15618 PyObject *resultobj = 0;
15619 wxWindow *arg1 = (wxWindow *) 0 ;
15620 int arg2 = (int) wxID_ANY ;
15621 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15622 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15623 wxSize const &arg4_defvalue = wxDefaultSize ;
15624 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15625 long arg5 = (long) 0 ;
15626 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15627 wxString *arg6 = (wxString *) &arg6_defvalue ;
15628 wxPyHtmlListBox *result = 0 ;
15629 void *argp1 = 0 ;
15630 int res1 = 0 ;
15631 int val2 ;
15632 int ecode2 = 0 ;
15633 wxPoint temp3 ;
15634 wxSize temp4 ;
15635 long val5 ;
15636 int ecode5 = 0 ;
15637 bool temp6 = false ;
15638 PyObject * obj0 = 0 ;
15639 PyObject * obj1 = 0 ;
15640 PyObject * obj2 = 0 ;
15641 PyObject * obj3 = 0 ;
15642 PyObject * obj4 = 0 ;
15643 PyObject * obj5 = 0 ;
15644 char * kwnames[] = {
15645 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15646 };
15647
15648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15650 if (!SWIG_IsOK(res1)) {
15651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15652 }
15653 arg1 = reinterpret_cast< wxWindow * >(argp1);
15654 if (obj1) {
15655 ecode2 = SWIG_AsVal_int(obj1, &val2);
15656 if (!SWIG_IsOK(ecode2)) {
15657 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15658 }
15659 arg2 = static_cast< int >(val2);
15660 }
15661 if (obj2) {
093d3ff1 15662 {
554f62e9
RD
15663 arg3 = &temp3;
15664 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 15665 }
554f62e9
RD
15666 }
15667 if (obj3) {
d55e5bfc 15668 {
554f62e9
RD
15669 arg4 = &temp4;
15670 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 15671 }
554f62e9
RD
15672 }
15673 if (obj4) {
15674 ecode5 = SWIG_AsVal_long(obj4, &val5);
15675 if (!SWIG_IsOK(ecode5)) {
15676 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15677 }
15678 arg5 = static_cast< long >(val5);
15679 }
15680 if (obj5) {
d55e5bfc 15681 {
554f62e9
RD
15682 arg6 = wxString_in_helper(obj5);
15683 if (arg6 == NULL) SWIG_fail;
15684 temp6 = true;
15685 }
15686 }
15687 {
15688 if (!wxPyCheckForApp()) SWIG_fail;
15689 PyThreadState* __tstate = wxPyBeginAllowThreads();
15690 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15691 wxPyEndAllowThreads(__tstate);
15692 if (PyErr_Occurred()) SWIG_fail;
15693 }
15694 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15695 {
15696 if (temp6)
15697 delete arg6;
15698 }
15699 return resultobj;
15700fail:
15701 {
15702 if (temp6)
15703 delete arg6;
15704 }
15705 return NULL;
d55e5bfc
RD
15706}
15707
15708
554f62e9
RD
15709SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15710 PyObject *resultobj = 0;
15711 wxPyHtmlListBox *result = 0 ;
15712
15713 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15714 {
15715 if (!wxPyCheckForApp()) SWIG_fail;
15716 PyThreadState* __tstate = wxPyBeginAllowThreads();
15717 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15718 wxPyEndAllowThreads(__tstate);
15719 if (PyErr_Occurred()) SWIG_fail;
15720 }
15721 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15722 return resultobj;
15723fail:
15724 return NULL;
15725}
15726
15727
15728SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15729 PyObject *resultobj = 0;
15730 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15731 PyObject *arg2 = (PyObject *) 0 ;
15732 PyObject *arg3 = (PyObject *) 0 ;
15733 void *argp1 = 0 ;
15734 int res1 = 0 ;
15735 PyObject * obj0 = 0 ;
15736 PyObject * obj1 = 0 ;
15737 PyObject * obj2 = 0 ;
15738 char * kwnames[] = {
15739 (char *) "self",(char *) "self",(char *) "_class", NULL
15740 };
15741
15742 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15743 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15744 if (!SWIG_IsOK(res1)) {
15745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15746 }
15747 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15748 arg2 = obj1;
15749 arg3 = obj2;
15750 {
15751 PyThreadState* __tstate = wxPyBeginAllowThreads();
15752 (arg1)->_setCallbackInfo(arg2,arg3);
15753 wxPyEndAllowThreads(__tstate);
15754 if (PyErr_Occurred()) SWIG_fail;
15755 }
15756 resultobj = SWIG_Py_Void();
15757 return resultobj;
15758fail:
15759 return NULL;
15760}
15761
15762
15763SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15764 PyObject *resultobj = 0;
15765 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15766 wxWindow *arg2 = (wxWindow *) 0 ;
15767 int arg3 = (int) wxID_ANY ;
15768 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15769 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15770 wxSize const &arg5_defvalue = wxDefaultSize ;
15771 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15772 long arg6 = (long) 0 ;
15773 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15774 wxString *arg7 = (wxString *) &arg7_defvalue ;
15775 bool result;
15776 void *argp1 = 0 ;
15777 int res1 = 0 ;
15778 void *argp2 = 0 ;
15779 int res2 = 0 ;
15780 int val3 ;
15781 int ecode3 = 0 ;
15782 wxPoint temp4 ;
15783 wxSize temp5 ;
15784 long val6 ;
15785 int ecode6 = 0 ;
15786 bool temp7 = false ;
15787 PyObject * obj0 = 0 ;
15788 PyObject * obj1 = 0 ;
15789 PyObject * obj2 = 0 ;
15790 PyObject * obj3 = 0 ;
15791 PyObject * obj4 = 0 ;
15792 PyObject * obj5 = 0 ;
15793 PyObject * obj6 = 0 ;
15794 char * kwnames[] = {
15795 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15796 };
15797
15798 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15800 if (!SWIG_IsOK(res1)) {
15801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15802 }
15803 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15804 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15805 if (!SWIG_IsOK(res2)) {
15806 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15807 }
15808 arg2 = reinterpret_cast< wxWindow * >(argp2);
15809 if (obj2) {
15810 ecode3 = SWIG_AsVal_int(obj2, &val3);
15811 if (!SWIG_IsOK(ecode3)) {
15812 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15813 }
15814 arg3 = static_cast< int >(val3);
15815 }
15816 if (obj3) {
093d3ff1 15817 {
554f62e9
RD
15818 arg4 = &temp4;
15819 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 15820 }
554f62e9
RD
15821 }
15822 if (obj4) {
d55e5bfc 15823 {
554f62e9
RD
15824 arg5 = &temp5;
15825 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 15826 }
554f62e9
RD
15827 }
15828 if (obj5) {
15829 ecode6 = SWIG_AsVal_long(obj5, &val6);
15830 if (!SWIG_IsOK(ecode6)) {
15831 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15832 }
15833 arg6 = static_cast< long >(val6);
15834 }
15835 if (obj6) {
093d3ff1 15836 {
554f62e9
RD
15837 arg7 = wxString_in_helper(obj6);
15838 if (arg7 == NULL) SWIG_fail;
15839 temp7 = true;
093d3ff1 15840 }
554f62e9
RD
15841 }
15842 {
15843 PyThreadState* __tstate = wxPyBeginAllowThreads();
15844 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15845 wxPyEndAllowThreads(__tstate);
15846 if (PyErr_Occurred()) SWIG_fail;
15847 }
15848 {
15849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15850 }
15851 {
15852 if (temp7)
15853 delete arg7;
15854 }
15855 return resultobj;
15856fail:
15857 {
15858 if (temp7)
15859 delete arg7;
15860 }
15861 return NULL;
15862}
15863
15864
15865SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15866 PyObject *resultobj = 0;
15867 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15868 size_t arg2 ;
15869 void *argp1 = 0 ;
15870 int res1 = 0 ;
15871 size_t val2 ;
15872 int ecode2 = 0 ;
15873 PyObject * obj0 = 0 ;
15874 PyObject * obj1 = 0 ;
15875 char * kwnames[] = {
15876 (char *) "self",(char *) "count", NULL
15877 };
15878
15879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15881 if (!SWIG_IsOK(res1)) {
15882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15883 }
15884 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15885 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15886 if (!SWIG_IsOK(ecode2)) {
15887 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15888 }
15889 arg2 = static_cast< size_t >(val2);
15890 {
15891 PyThreadState* __tstate = wxPyBeginAllowThreads();
15892 (arg1)->SetItemCount(arg2);
15893 wxPyEndAllowThreads(__tstate);
15894 if (PyErr_Occurred()) SWIG_fail;
15895 }
15896 resultobj = SWIG_Py_Void();
15897 return resultobj;
15898fail:
15899 return NULL;
d55e5bfc
RD
15900}
15901
15902
554f62e9
RD
15903SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15904 PyObject *resultobj = 0;
15905 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15906 wxFileSystem *result = 0 ;
15907 void *argp1 = 0 ;
15908 int res1 = 0 ;
15909 PyObject *swig_obj[1] ;
15910
15911 if (!args) SWIG_fail;
15912 swig_obj[0] = args;
15913 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15914 if (!SWIG_IsOK(res1)) {
15915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15916 }
15917 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15918 {
15919 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15920 {
554f62e9
RD
15921 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15922 result = (wxFileSystem *) &_result_ref;
093d3ff1 15923 }
554f62e9
RD
15924 wxPyEndAllowThreads(__tstate);
15925 if (PyErr_Occurred()) SWIG_fail;
15926 }
15927 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15928 return resultobj;
15929fail:
15930 return NULL;
d55e5bfc
RD
15931}
15932
15933
e9d6f3a4
RD
15934SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15935 PyObject *resultobj = 0;
15936 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15937 size_t arg2 ;
15938 wxHtmlLinkInfo *arg3 = 0 ;
15939 void *argp1 = 0 ;
15940 int res1 = 0 ;
15941 size_t val2 ;
15942 int ecode2 = 0 ;
15943 void *argp3 = 0 ;
15944 int res3 = 0 ;
15945 PyObject * obj0 = 0 ;
15946 PyObject * obj1 = 0 ;
15947 PyObject * obj2 = 0 ;
15948 char * kwnames[] = {
15949 (char *) "self",(char *) "n",(char *) "link", NULL
15950 };
15951
15952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15954 if (!SWIG_IsOK(res1)) {
15955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15956 }
15957 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15958 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15959 if (!SWIG_IsOK(ecode2)) {
15960 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15961 }
15962 arg2 = static_cast< size_t >(val2);
15963 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15964 if (!SWIG_IsOK(res3)) {
15965 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15966 }
15967 if (!argp3) {
15968 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15969 }
15970 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15971 {
15972 PyThreadState* __tstate = wxPyBeginAllowThreads();
15973 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15974 wxPyEndAllowThreads(__tstate);
15975 if (PyErr_Occurred()) SWIG_fail;
15976 }
15977 resultobj = SWIG_Py_Void();
15978 return resultobj;
15979fail:
15980 return NULL;
15981}
15982
15983
554f62e9
RD
15984SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15985 PyObject *obj;
15986 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15987 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15988 return SWIG_Py_Void();
d55e5bfc
RD
15989}
15990
554f62e9
RD
15991SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15992 return SWIG_Python_InitShadowInstance(args);
15993}
d55e5bfc 15994
554f62e9
RD
15995SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15996 PyObject *resultobj = 0;
15997 wxPyTaskBarIcon *result = 0 ;
15998
15999 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
16000 {
16001 if (!wxPyCheckForApp()) SWIG_fail;
16002 PyThreadState* __tstate = wxPyBeginAllowThreads();
16003 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
16004 wxPyEndAllowThreads(__tstate);
16005 if (PyErr_Occurred()) SWIG_fail;
16006 }
16007 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
16008 return resultobj;
16009fail:
16010 return NULL;
d55e5bfc
RD
16011}
16012
16013
554f62e9
RD
16014SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16015 PyObject *resultobj = 0;
16016 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16017 void *argp1 = 0 ;
16018 int res1 = 0 ;
16019 PyObject *swig_obj[1] ;
16020
16021 if (!args) SWIG_fail;
16022 swig_obj[0] = args;
16023 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
16024 if (!SWIG_IsOK(res1)) {
16025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16026 }
16027 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16028 {
16029 PyThreadState* __tstate = wxPyBeginAllowThreads();
16030 delete arg1;
d55e5bfc 16031
554f62e9
RD
16032 wxPyEndAllowThreads(__tstate);
16033 if (PyErr_Occurred()) SWIG_fail;
16034 }
16035 resultobj = SWIG_Py_Void();
16036 return resultobj;
16037fail:
16038 return NULL;
16039}
16040
16041
16042SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16043 PyObject *resultobj = 0;
16044 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16045 PyObject *arg2 = (PyObject *) 0 ;
16046 PyObject *arg3 = (PyObject *) 0 ;
16047 int arg4 ;
16048 void *argp1 = 0 ;
16049 int res1 = 0 ;
16050 int val4 ;
16051 int ecode4 = 0 ;
16052 PyObject * obj0 = 0 ;
16053 PyObject * obj1 = 0 ;
16054 PyObject * obj2 = 0 ;
16055 PyObject * obj3 = 0 ;
16056 char * kwnames[] = {
16057 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16058 };
16059
16060 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16061 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16062 if (!SWIG_IsOK(res1)) {
16063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16064 }
16065 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16066 arg2 = obj1;
16067 arg3 = obj2;
16068 ecode4 = SWIG_AsVal_int(obj3, &val4);
16069 if (!SWIG_IsOK(ecode4)) {
16070 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16071 }
16072 arg4 = static_cast< int >(val4);
16073 {
16074 PyThreadState* __tstate = wxPyBeginAllowThreads();
16075 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
16076 wxPyEndAllowThreads(__tstate);
16077 if (PyErr_Occurred()) SWIG_fail;
16078 }
16079 resultobj = SWIG_Py_Void();
16080 return resultobj;
16081fail:
16082 return NULL;
d55e5bfc
RD
16083}
16084
16085
554f62e9
RD
16086SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16087 PyObject *resultobj = 0;
16088 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16089 void *argp1 = 0 ;
16090 int res1 = 0 ;
16091 PyObject *swig_obj[1] ;
16092
16093 if (!args) SWIG_fail;
16094 swig_obj[0] = args;
16095 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16096 if (!SWIG_IsOK(res1)) {
16097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16098 }
16099 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16100 {
16101 PyThreadState* __tstate = wxPyBeginAllowThreads();
16102 wxPyTaskBarIcon_Destroy(arg1);
16103 wxPyEndAllowThreads(__tstate);
16104 if (PyErr_Occurred()) SWIG_fail;
16105 }
16106 resultobj = SWIG_Py_Void();
16107 return resultobj;
16108fail:
16109 return NULL;
d55e5bfc
RD
16110}
16111
16112
554f62e9
RD
16113SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16114 PyObject *resultobj = 0;
16115 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16116 bool result;
16117 void *argp1 = 0 ;
16118 int res1 = 0 ;
16119 PyObject *swig_obj[1] ;
16120
16121 if (!args) SWIG_fail;
16122 swig_obj[0] = args;
16123 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16124 if (!SWIG_IsOK(res1)) {
16125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16126 }
16127 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16128 {
16129 PyThreadState* __tstate = wxPyBeginAllowThreads();
16130 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
16131 wxPyEndAllowThreads(__tstate);
16132 if (PyErr_Occurred()) SWIG_fail;
16133 }
16134 {
16135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16136 }
16137 return resultobj;
16138fail:
16139 return NULL;
d55e5bfc
RD
16140}
16141
16142
554f62e9
RD
16143SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16144 PyObject *resultobj = 0;
16145 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16146 bool result;
16147 void *argp1 = 0 ;
16148 int res1 = 0 ;
16149 PyObject *swig_obj[1] ;
16150
16151 if (!args) SWIG_fail;
16152 swig_obj[0] = args;
16153 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16154 if (!SWIG_IsOK(res1)) {
16155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16156 }
16157 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16158 {
16159 PyThreadState* __tstate = wxPyBeginAllowThreads();
16160 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
16161 wxPyEndAllowThreads(__tstate);
16162 if (PyErr_Occurred()) SWIG_fail;
16163 }
16164 {
16165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16166 }
16167 return resultobj;
16168fail:
16169 return NULL;
16170}
16171
16172
16173SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16174 PyObject *resultobj = 0;
16175 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16176 wxIcon *arg2 = 0 ;
16177 wxString const &arg3_defvalue = wxPyEmptyString ;
16178 wxString *arg3 = (wxString *) &arg3_defvalue ;
16179 bool result;
16180 void *argp1 = 0 ;
16181 int res1 = 0 ;
16182 void *argp2 = 0 ;
16183 int res2 = 0 ;
16184 bool temp3 = false ;
16185 PyObject * obj0 = 0 ;
16186 PyObject * obj1 = 0 ;
16187 PyObject * obj2 = 0 ;
16188 char * kwnames[] = {
16189 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16190 };
16191
16192 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16193 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16194 if (!SWIG_IsOK(res1)) {
16195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16196 }
16197 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16198 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
16199 if (!SWIG_IsOK(res2)) {
16200 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16201 }
16202 if (!argp2) {
16203 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16204 }
16205 arg2 = reinterpret_cast< wxIcon * >(argp2);
16206 if (obj2) {
093d3ff1 16207 {
554f62e9
RD
16208 arg3 = wxString_in_helper(obj2);
16209 if (arg3 == NULL) SWIG_fail;
16210 temp3 = true;
093d3ff1 16211 }
554f62e9
RD
16212 }
16213 {
16214 PyThreadState* __tstate = wxPyBeginAllowThreads();
16215 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16216 wxPyEndAllowThreads(__tstate);
16217 if (PyErr_Occurred()) SWIG_fail;
16218 }
16219 {
16220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16221 }
16222 {
16223 if (temp3)
16224 delete arg3;
16225 }
16226 return resultobj;
16227fail:
16228 {
16229 if (temp3)
16230 delete arg3;
16231 }
16232 return NULL;
d55e5bfc
RD
16233}
16234
16235
554f62e9
RD
16236SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16237 PyObject *resultobj = 0;
16238 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16239 bool result;
16240 void *argp1 = 0 ;
16241 int res1 = 0 ;
16242 PyObject *swig_obj[1] ;
16243
16244 if (!args) SWIG_fail;
16245 swig_obj[0] = args;
16246 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16247 if (!SWIG_IsOK(res1)) {
16248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16249 }
16250 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16251 {
16252 PyThreadState* __tstate = wxPyBeginAllowThreads();
16253 result = (bool)(arg1)->RemoveIcon();
16254 wxPyEndAllowThreads(__tstate);
16255 if (PyErr_Occurred()) SWIG_fail;
16256 }
16257 {
16258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16259 }
16260 return resultobj;
16261fail:
16262 return NULL;
16263}
16264
16265
16266SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16267 PyObject *resultobj = 0;
16268 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16269 wxMenu *arg2 = (wxMenu *) 0 ;
16270 bool result;
16271 void *argp1 = 0 ;
16272 int res1 = 0 ;
16273 void *argp2 = 0 ;
16274 int res2 = 0 ;
16275 PyObject * obj0 = 0 ;
16276 PyObject * obj1 = 0 ;
16277 char * kwnames[] = {
16278 (char *) "self",(char *) "menu", NULL
16279 };
16280
16281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16283 if (!SWIG_IsOK(res1)) {
16284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16285 }
16286 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16287 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16288 if (!SWIG_IsOK(res2)) {
16289 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16290 }
16291 arg2 = reinterpret_cast< wxMenu * >(argp2);
16292 {
16293 PyThreadState* __tstate = wxPyBeginAllowThreads();
16294 result = (bool)(arg1)->PopupMenu(arg2);
16295 wxPyEndAllowThreads(__tstate);
16296 if (PyErr_Occurred()) SWIG_fail;
16297 }
16298 {
16299 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16300 }
16301 return resultobj;
16302fail:
16303 return NULL;
d55e5bfc
RD
16304}
16305
16306
554f62e9
RD
16307SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16308 PyObject *obj;
16309 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16310 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16311 return SWIG_Py_Void();
d55e5bfc
RD
16312}
16313
554f62e9
RD
16314SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16315 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
16316}
16317
554f62e9
RD
16318SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16319 PyObject *resultobj = 0;
16320 wxEventType arg1 ;
16321 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16322 wxTaskBarIconEvent *result = 0 ;
16323 int val1 ;
16324 int ecode1 = 0 ;
16325 void *argp2 = 0 ;
16326 int res2 = 0 ;
16327 PyObject * obj0 = 0 ;
16328 PyObject * obj1 = 0 ;
16329 char * kwnames[] = {
16330 (char *) "evtType",(char *) "tbIcon", NULL
16331 };
16332
16333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16334 ecode1 = SWIG_AsVal_int(obj0, &val1);
16335 if (!SWIG_IsOK(ecode1)) {
16336 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16337 }
16338 arg1 = static_cast< wxEventType >(val1);
16339 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16340 if (!SWIG_IsOK(res2)) {
16341 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16342 }
16343 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16344 {
16345 PyThreadState* __tstate = wxPyBeginAllowThreads();
16346 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16347 wxPyEndAllowThreads(__tstate);
16348 if (PyErr_Occurred()) SWIG_fail;
16349 }
16350 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16351 return resultobj;
16352fail:
16353 return NULL;
d55e5bfc
RD
16354}
16355
16356
554f62e9
RD
16357SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16358 PyObject *obj;
16359 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16360 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16361 return SWIG_Py_Void();
d55e5bfc
RD
16362}
16363
554f62e9
RD
16364SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16365 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
16366}
16367
554f62e9
RD
16368SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16369 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16370 return 1;
d55e5bfc
RD
16371}
16372
16373
554f62e9
RD
16374SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16375 PyObject *pyobj = 0;
16376
16377 {
16378#if wxUSE_UNICODE
16379 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16380#else
16381 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16382#endif
16383 }
16384 return pyobj;
d55e5bfc
RD
16385}
16386
16387
554f62e9
RD
16388SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16389 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16390 return 1;
d55e5bfc
RD
16391}
16392
16393
554f62e9
RD
16394SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16395 PyObject *pyobj = 0;
16396
16397 {
16398#if wxUSE_UNICODE
16399 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16400#else
16401 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16402#endif
16403 }
16404 return pyobj;
d55e5bfc
RD
16405}
16406
16407
554f62e9
RD
16408SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16409 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16410 return 1;
d55e5bfc
RD
16411}
16412
16413
554f62e9
RD
16414SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16415 PyObject *pyobj = 0;
16416
16417 {
16418#if wxUSE_UNICODE
16419 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16420#else
16421 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16422#endif
16423 }
16424 return pyobj;
d55e5bfc
RD
16425}
16426
16427
554f62e9
RD
16428SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16429 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16430 return 1;
d55e5bfc
RD
16431}
16432
16433
554f62e9
RD
16434SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16435 PyObject *pyobj = 0;
16436
16437 {
16438#if wxUSE_UNICODE
16439 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16440#else
16441 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16442#endif
16443 }
16444 return pyobj;
d55e5bfc
RD
16445}
16446
16447
554f62e9
RD
16448SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16449 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16450 return 1;
d55e5bfc
RD
16451}
16452
16453
554f62e9
RD
16454SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16455 PyObject *pyobj = 0;
16456
16457 {
16458#if wxUSE_UNICODE
16459 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16460#else
16461 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16462#endif
16463 }
16464 return pyobj;
d55e5bfc
RD
16465}
16466
16467
554f62e9
RD
16468SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16469 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16470 return 1;
d55e5bfc
RD
16471}
16472
16473
554f62e9
RD
16474SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16475 PyObject *pyobj = 0;
16476
16477 {
16478#if wxUSE_UNICODE
16479 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16480#else
16481 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16482#endif
16483 }
16484 return pyobj;
d55e5bfc
RD
16485}
16486
16487
554f62e9
RD
16488SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16489 PyObject *resultobj = 0;
16490 wxColourData *result = 0 ;
16491
16492 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16493 {
16494 PyThreadState* __tstate = wxPyBeginAllowThreads();
16495 result = (wxColourData *)new wxColourData();
16496 wxPyEndAllowThreads(__tstate);
16497 if (PyErr_Occurred()) SWIG_fail;
16498 }
16499 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16500 return resultobj;
16501fail:
16502 return NULL;
d55e5bfc
RD
16503}
16504
16505
554f62e9
RD
16506SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16507 PyObject *resultobj = 0;
16508 wxColourData *arg1 = (wxColourData *) 0 ;
16509 void *argp1 = 0 ;
16510 int res1 = 0 ;
16511 PyObject *swig_obj[1] ;
16512
16513 if (!args) SWIG_fail;
16514 swig_obj[0] = args;
16515 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16516 if (!SWIG_IsOK(res1)) {
16517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16518 }
16519 arg1 = reinterpret_cast< wxColourData * >(argp1);
16520 {
16521 PyThreadState* __tstate = wxPyBeginAllowThreads();
16522 delete arg1;
d55e5bfc 16523
554f62e9
RD
16524 wxPyEndAllowThreads(__tstate);
16525 if (PyErr_Occurred()) SWIG_fail;
16526 }
16527 resultobj = SWIG_Py_Void();
16528 return resultobj;
16529fail:
16530 return NULL;
d55e5bfc
RD
16531}
16532
16533
554f62e9
RD
16534SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16535 PyObject *resultobj = 0;
16536 wxColourData *arg1 = (wxColourData *) 0 ;
16537 bool result;
16538 void *argp1 = 0 ;
16539 int res1 = 0 ;
16540 PyObject *swig_obj[1] ;
16541
16542 if (!args) SWIG_fail;
16543 swig_obj[0] = args;
16544 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16545 if (!SWIG_IsOK(res1)) {
16546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16547 }
16548 arg1 = reinterpret_cast< wxColourData * >(argp1);
16549 {
16550 PyThreadState* __tstate = wxPyBeginAllowThreads();
16551 result = (bool)(arg1)->GetChooseFull();
16552 wxPyEndAllowThreads(__tstate);
16553 if (PyErr_Occurred()) SWIG_fail;
16554 }
16555 {
16556 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16557 }
16558 return resultobj;
16559fail:
16560 return NULL;
d55e5bfc
RD
16561}
16562
16563
554f62e9
RD
16564SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16565 PyObject *resultobj = 0;
16566 wxColourData *arg1 = (wxColourData *) 0 ;
16567 wxColour result;
16568 void *argp1 = 0 ;
16569 int res1 = 0 ;
16570 PyObject *swig_obj[1] ;
16571
16572 if (!args) SWIG_fail;
16573 swig_obj[0] = args;
16574 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16575 if (!SWIG_IsOK(res1)) {
16576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16577 }
16578 arg1 = reinterpret_cast< wxColourData * >(argp1);
16579 {
16580 PyThreadState* __tstate = wxPyBeginAllowThreads();
16581 result = (arg1)->GetColour();
16582 wxPyEndAllowThreads(__tstate);
16583 if (PyErr_Occurred()) SWIG_fail;
16584 }
16585 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16586 return resultobj;
16587fail:
16588 return NULL;
16589}
16590
16591
16592SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16593 PyObject *resultobj = 0;
16594 wxColourData *arg1 = (wxColourData *) 0 ;
16595 int arg2 ;
16596 wxColour result;
16597 void *argp1 = 0 ;
16598 int res1 = 0 ;
16599 int val2 ;
16600 int ecode2 = 0 ;
16601 PyObject * obj0 = 0 ;
16602 PyObject * obj1 = 0 ;
16603 char * kwnames[] = {
16604 (char *) "self",(char *) "i", NULL
16605 };
16606
16607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16609 if (!SWIG_IsOK(res1)) {
16610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16611 }
16612 arg1 = reinterpret_cast< wxColourData * >(argp1);
16613 ecode2 = SWIG_AsVal_int(obj1, &val2);
16614 if (!SWIG_IsOK(ecode2)) {
16615 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16616 }
16617 arg2 = static_cast< int >(val2);
16618 {
16619 PyThreadState* __tstate = wxPyBeginAllowThreads();
16620 result = (arg1)->GetCustomColour(arg2);
16621 wxPyEndAllowThreads(__tstate);
16622 if (PyErr_Occurred()) SWIG_fail;
16623 }
16624 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16625 return resultobj;
16626fail:
16627 return NULL;
16628}
16629
16630
16631SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16632 PyObject *resultobj = 0;
16633 wxColourData *arg1 = (wxColourData *) 0 ;
16634 int arg2 ;
16635 void *argp1 = 0 ;
16636 int res1 = 0 ;
16637 int val2 ;
16638 int ecode2 = 0 ;
16639 PyObject * obj0 = 0 ;
16640 PyObject * obj1 = 0 ;
16641 char * kwnames[] = {
16642 (char *) "self",(char *) "flag", NULL
16643 };
16644
16645 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16646 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16647 if (!SWIG_IsOK(res1)) {
16648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16649 }
16650 arg1 = reinterpret_cast< wxColourData * >(argp1);
16651 ecode2 = SWIG_AsVal_int(obj1, &val2);
16652 if (!SWIG_IsOK(ecode2)) {
16653 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16654 }
16655 arg2 = static_cast< int >(val2);
16656 {
16657 PyThreadState* __tstate = wxPyBeginAllowThreads();
16658 (arg1)->SetChooseFull(arg2);
16659 wxPyEndAllowThreads(__tstate);
16660 if (PyErr_Occurred()) SWIG_fail;
16661 }
16662 resultobj = SWIG_Py_Void();
16663 return resultobj;
16664fail:
16665 return NULL;
16666}
16667
16668
16669SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16670 PyObject *resultobj = 0;
16671 wxColourData *arg1 = (wxColourData *) 0 ;
16672 wxColour *arg2 = 0 ;
16673 void *argp1 = 0 ;
16674 int res1 = 0 ;
16675 wxColour temp2 ;
16676 PyObject * obj0 = 0 ;
16677 PyObject * obj1 = 0 ;
16678 char * kwnames[] = {
16679 (char *) "self",(char *) "colour", NULL
16680 };
16681
16682 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16683 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16684 if (!SWIG_IsOK(res1)) {
16685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16686 }
16687 arg1 = reinterpret_cast< wxColourData * >(argp1);
16688 {
16689 arg2 = &temp2;
16690 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16691 }
16692 {
16693 PyThreadState* __tstate = wxPyBeginAllowThreads();
16694 (arg1)->SetColour((wxColour const &)*arg2);
16695 wxPyEndAllowThreads(__tstate);
16696 if (PyErr_Occurred()) SWIG_fail;
16697 }
16698 resultobj = SWIG_Py_Void();
16699 return resultobj;
16700fail:
16701 return NULL;
16702}
16703
16704
16705SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16706 PyObject *resultobj = 0;
16707 wxColourData *arg1 = (wxColourData *) 0 ;
16708 int arg2 ;
16709 wxColour *arg3 = 0 ;
16710 void *argp1 = 0 ;
16711 int res1 = 0 ;
16712 int val2 ;
16713 int ecode2 = 0 ;
16714 wxColour temp3 ;
16715 PyObject * obj0 = 0 ;
16716 PyObject * obj1 = 0 ;
16717 PyObject * obj2 = 0 ;
16718 char * kwnames[] = {
16719 (char *) "self",(char *) "i",(char *) "colour", NULL
16720 };
16721
16722 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16723 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16724 if (!SWIG_IsOK(res1)) {
16725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16726 }
16727 arg1 = reinterpret_cast< wxColourData * >(argp1);
16728 ecode2 = SWIG_AsVal_int(obj1, &val2);
16729 if (!SWIG_IsOK(ecode2)) {
16730 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16731 }
16732 arg2 = static_cast< int >(val2);
16733 {
16734 arg3 = &temp3;
16735 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16736 }
16737 {
16738 PyThreadState* __tstate = wxPyBeginAllowThreads();
16739 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16740 wxPyEndAllowThreads(__tstate);
16741 if (PyErr_Occurred()) SWIG_fail;
16742 }
16743 resultobj = SWIG_Py_Void();
16744 return resultobj;
16745fail:
16746 return NULL;
d55e5bfc
RD
16747}
16748
16749
554f62e9
RD
16750SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16751 PyObject *obj;
16752 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16753 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16754 return SWIG_Py_Void();
d55e5bfc
RD
16755}
16756
554f62e9
RD
16757SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16758 return SWIG_Python_InitShadowInstance(args);
16759}
d55e5bfc 16760
554f62e9
RD
16761SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16762 PyObject *resultobj = 0;
16763 wxWindow *arg1 = (wxWindow *) 0 ;
16764 wxColourData *arg2 = (wxColourData *) NULL ;
16765 wxColourDialog *result = 0 ;
16766 void *argp1 = 0 ;
16767 int res1 = 0 ;
16768 void *argp2 = 0 ;
16769 int res2 = 0 ;
16770 PyObject * obj0 = 0 ;
16771 PyObject * obj1 = 0 ;
16772 char * kwnames[] = {
16773 (char *) "parent",(char *) "data", NULL
16774 };
16775
16776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16778 if (!SWIG_IsOK(res1)) {
16779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16780 }
16781 arg1 = reinterpret_cast< wxWindow * >(argp1);
16782 if (obj1) {
16783 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16784 if (!SWIG_IsOK(res2)) {
16785 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
d55e5bfc 16786 }
554f62e9
RD
16787 arg2 = reinterpret_cast< wxColourData * >(argp2);
16788 }
16789 {
16790 if (!wxPyCheckForApp()) SWIG_fail;
16791 PyThreadState* __tstate = wxPyBeginAllowThreads();
16792 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16793 wxPyEndAllowThreads(__tstate);
16794 if (PyErr_Occurred()) SWIG_fail;
16795 }
16796 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16797 return resultobj;
16798fail:
16799 return NULL;
16800}
16801
16802
16803SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16804 PyObject *resultobj = 0;
16805 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16806 wxColourData *result = 0 ;
16807 void *argp1 = 0 ;
16808 int res1 = 0 ;
16809 PyObject *swig_obj[1] ;
16810
16811 if (!args) SWIG_fail;
16812 swig_obj[0] = args;
16813 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16814 if (!SWIG_IsOK(res1)) {
16815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16816 }
16817 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16818 {
16819 PyThreadState* __tstate = wxPyBeginAllowThreads();
16820 {
16821 wxColourData &_result_ref = (arg1)->GetColourData();
16822 result = (wxColourData *) &_result_ref;
d55e5bfc 16823 }
554f62e9
RD
16824 wxPyEndAllowThreads(__tstate);
16825 if (PyErr_Occurred()) SWIG_fail;
16826 }
16827 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16828 return resultobj;
16829fail:
16830 return NULL;
16831}
16832
16833
16834SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16835 PyObject *obj;
16836 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16837 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16838 return SWIG_Py_Void();
16839}
16840
16841SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16842 return SWIG_Python_InitShadowInstance(args);
16843}
16844
16845SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16846 PyObject *resultobj = 0;
16847 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16848 wxColour const &arg2_defvalue = wxNullColour ;
16849 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16850 wxString const &arg3_defvalue = wxPyEmptyString ;
16851 wxString *arg3 = (wxString *) &arg3_defvalue ;
16852 wxColour result;
16853 void *argp1 = 0 ;
16854 int res1 = 0 ;
16855 wxColour temp2 ;
16856 bool temp3 = false ;
16857 PyObject * obj0 = 0 ;
16858 PyObject * obj1 = 0 ;
16859 PyObject * obj2 = 0 ;
16860 char * kwnames[] = {
16861 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16862 };
16863
16864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16865 if (obj0) {
16866 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16867 if (!SWIG_IsOK(res1)) {
16868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
d55e5bfc 16869 }
554f62e9
RD
16870 arg1 = reinterpret_cast< wxWindow * >(argp1);
16871 }
16872 if (obj1) {
d55e5bfc 16873 {
554f62e9
RD
16874 arg2 = &temp2;
16875 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc 16876 }
554f62e9
RD
16877 }
16878 if (obj2) {
d55e5bfc 16879 {
554f62e9
RD
16880 arg3 = wxString_in_helper(obj2);
16881 if (arg3 == NULL) SWIG_fail;
16882 temp3 = true;
d55e5bfc 16883 }
554f62e9
RD
16884 }
16885 {
16886 PyThreadState* __tstate = wxPyBeginAllowThreads();
16887 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16888 wxPyEndAllowThreads(__tstate);
16889 if (PyErr_Occurred()) SWIG_fail;
16890 }
16891 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16892 {
16893 if (temp3)
16894 delete arg3;
16895 }
16896 return resultobj;
16897fail:
16898 {
16899 if (temp3)
16900 delete arg3;
16901 }
16902 return NULL;
16903}
16904
16905
16906SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16907 PyObject *resultobj = 0;
16908 wxWindow *arg1 = (wxWindow *) 0 ;
16909 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16910 wxString *arg2 = (wxString *) &arg2_defvalue ;
16911 wxString const &arg3_defvalue = wxPyEmptyString ;
16912 wxString *arg3 = (wxString *) &arg3_defvalue ;
704eda0c 16913 long arg4 = (long) wxDD_DEFAULT_STYLE ;
554f62e9
RD
16914 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16915 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16916 wxSize const &arg6_defvalue = wxDefaultSize ;
16917 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16918 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16919 wxString *arg7 = (wxString *) &arg7_defvalue ;
16920 wxDirDialog *result = 0 ;
16921 void *argp1 = 0 ;
16922 int res1 = 0 ;
16923 bool temp2 = false ;
16924 bool temp3 = false ;
16925 long val4 ;
16926 int ecode4 = 0 ;
16927 wxPoint temp5 ;
16928 wxSize temp6 ;
16929 bool temp7 = false ;
16930 PyObject * obj0 = 0 ;
16931 PyObject * obj1 = 0 ;
16932 PyObject * obj2 = 0 ;
16933 PyObject * obj3 = 0 ;
16934 PyObject * obj4 = 0 ;
16935 PyObject * obj5 = 0 ;
16936 PyObject * obj6 = 0 ;
16937 char * kwnames[] = {
16938 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16939 };
16940
16941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16943 if (!SWIG_IsOK(res1)) {
16944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16945 }
16946 arg1 = reinterpret_cast< wxWindow * >(argp1);
16947 if (obj1) {
d55e5bfc 16948 {
554f62e9
RD
16949 arg2 = wxString_in_helper(obj1);
16950 if (arg2 == NULL) SWIG_fail;
16951 temp2 = true;
d55e5bfc 16952 }
554f62e9
RD
16953 }
16954 if (obj2) {
d55e5bfc 16955 {
554f62e9
RD
16956 arg3 = wxString_in_helper(obj2);
16957 if (arg3 == NULL) SWIG_fail;
16958 temp3 = true;
d55e5bfc 16959 }
554f62e9
RD
16960 }
16961 if (obj3) {
16962 ecode4 = SWIG_AsVal_long(obj3, &val4);
16963 if (!SWIG_IsOK(ecode4)) {
16964 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16965 }
16966 arg4 = static_cast< long >(val4);
16967 }
16968 if (obj4) {
093d3ff1 16969 {
554f62e9
RD
16970 arg5 = &temp5;
16971 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 16972 }
554f62e9
RD
16973 }
16974 if (obj5) {
d55e5bfc 16975 {
554f62e9
RD
16976 arg6 = &temp6;
16977 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 16978 }
554f62e9
RD
16979 }
16980 if (obj6) {
d55e5bfc 16981 {
554f62e9
RD
16982 arg7 = wxString_in_helper(obj6);
16983 if (arg7 == NULL) SWIG_fail;
16984 temp7 = true;
093d3ff1 16985 }
554f62e9
RD
16986 }
16987 {
16988 if (!wxPyCheckForApp()) SWIG_fail;
16989 PyThreadState* __tstate = wxPyBeginAllowThreads();
16990 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16991 wxPyEndAllowThreads(__tstate);
16992 if (PyErr_Occurred()) SWIG_fail;
16993 }
16994 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16995 {
16996 if (temp2)
16997 delete arg2;
16998 }
16999 {
17000 if (temp3)
17001 delete arg3;
17002 }
17003 {
17004 if (temp7)
17005 delete arg7;
17006 }
17007 return resultobj;
17008fail:
17009 {
17010 if (temp2)
17011 delete arg2;
17012 }
17013 {
17014 if (temp3)
17015 delete arg3;
17016 }
17017 {
17018 if (temp7)
17019 delete arg7;
17020 }
17021 return NULL;
d55e5bfc
RD
17022}
17023
17024
554f62e9
RD
17025SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17026 PyObject *resultobj = 0;
17027 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17028 wxString result;
17029 void *argp1 = 0 ;
17030 int res1 = 0 ;
17031 PyObject *swig_obj[1] ;
17032
17033 if (!args) SWIG_fail;
17034 swig_obj[0] = args;
17035 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17036 if (!SWIG_IsOK(res1)) {
17037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17038 }
17039 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17040 {
17041 PyThreadState* __tstate = wxPyBeginAllowThreads();
17042 result = (arg1)->GetPath();
17043 wxPyEndAllowThreads(__tstate);
17044 if (PyErr_Occurred()) SWIG_fail;
17045 }
17046 {
17047#if wxUSE_UNICODE
17048 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17049#else
17050 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17051#endif
17052 }
17053 return resultobj;
17054fail:
17055 return NULL;
d55e5bfc
RD
17056}
17057
17058
554f62e9
RD
17059SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17060 PyObject *resultobj = 0;
17061 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17062 wxString result;
17063 void *argp1 = 0 ;
17064 int res1 = 0 ;
17065 PyObject *swig_obj[1] ;
17066
17067 if (!args) SWIG_fail;
17068 swig_obj[0] = args;
17069 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17070 if (!SWIG_IsOK(res1)) {
17071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17072 }
17073 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17074 {
17075 PyThreadState* __tstate = wxPyBeginAllowThreads();
17076 result = (arg1)->GetMessage();
17077 wxPyEndAllowThreads(__tstate);
17078 if (PyErr_Occurred()) SWIG_fail;
17079 }
17080 {
17081#if wxUSE_UNICODE
17082 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17083#else
17084 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17085#endif
17086 }
17087 return resultobj;
17088fail:
17089 return NULL;
d55e5bfc
RD
17090}
17091
17092
554f62e9
RD
17093SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17094 PyObject *resultobj = 0;
17095 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17096 wxString *arg2 = 0 ;
17097 void *argp1 = 0 ;
17098 int res1 = 0 ;
17099 bool temp2 = false ;
17100 PyObject * obj0 = 0 ;
17101 PyObject * obj1 = 0 ;
17102 char * kwnames[] = {
17103 (char *) "self",(char *) "message", NULL
17104 };
17105
17106 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17107 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17108 if (!SWIG_IsOK(res1)) {
17109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17110 }
17111 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17112 {
17113 arg2 = wxString_in_helper(obj1);
17114 if (arg2 == NULL) SWIG_fail;
17115 temp2 = true;
17116 }
17117 {
17118 PyThreadState* __tstate = wxPyBeginAllowThreads();
17119 (arg1)->SetMessage((wxString const &)*arg2);
17120 wxPyEndAllowThreads(__tstate);
17121 if (PyErr_Occurred()) SWIG_fail;
17122 }
17123 resultobj = SWIG_Py_Void();
17124 {
17125 if (temp2)
17126 delete arg2;
17127 }
17128 return resultobj;
17129fail:
17130 {
17131 if (temp2)
17132 delete arg2;
17133 }
17134 return NULL;
d55e5bfc
RD
17135}
17136
17137
554f62e9
RD
17138SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17139 PyObject *resultobj = 0;
17140 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17141 wxString *arg2 = 0 ;
17142 void *argp1 = 0 ;
17143 int res1 = 0 ;
17144 bool temp2 = false ;
17145 PyObject * obj0 = 0 ;
17146 PyObject * obj1 = 0 ;
17147 char * kwnames[] = {
17148 (char *) "self",(char *) "path", NULL
17149 };
17150
17151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17153 if (!SWIG_IsOK(res1)) {
17154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17155 }
17156 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17157 {
17158 arg2 = wxString_in_helper(obj1);
17159 if (arg2 == NULL) SWIG_fail;
17160 temp2 = true;
17161 }
17162 {
17163 PyThreadState* __tstate = wxPyBeginAllowThreads();
17164 (arg1)->SetPath((wxString const &)*arg2);
17165 wxPyEndAllowThreads(__tstate);
17166 if (PyErr_Occurred()) SWIG_fail;
17167 }
17168 resultobj = SWIG_Py_Void();
17169 {
17170 if (temp2)
17171 delete arg2;
17172 }
17173 return resultobj;
17174fail:
17175 {
17176 if (temp2)
17177 delete arg2;
17178 }
17179 return NULL;
17180}
17181
17182
17183SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17184 PyObject *obj;
17185 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17186 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
17187 return SWIG_Py_Void();
17188}
17189
17190SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17191 return SWIG_Python_InitShadowInstance(args);
17192}
17193
17194SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17195 PyObject *resultobj = 0;
17196 wxWindow *arg1 = (wxWindow *) 0 ;
17197 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
17198 wxString *arg2 = (wxString *) &arg2_defvalue ;
17199 wxString const &arg3_defvalue = wxPyEmptyString ;
17200 wxString *arg3 = (wxString *) &arg3_defvalue ;
17201 wxString const &arg4_defvalue = wxPyEmptyString ;
17202 wxString *arg4 = (wxString *) &arg4_defvalue ;
17203 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
17204 wxString *arg5 = (wxString *) &arg5_defvalue ;
704eda0c 17205 long arg6 = (long) wxFD_DEFAULT_STYLE ;
554f62e9
RD
17206 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17207 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17208 wxFileDialog *result = 0 ;
17209 void *argp1 = 0 ;
17210 int res1 = 0 ;
17211 bool temp2 = false ;
17212 bool temp3 = false ;
17213 bool temp4 = false ;
17214 bool temp5 = false ;
17215 long val6 ;
17216 int ecode6 = 0 ;
17217 wxPoint temp7 ;
17218 PyObject * obj0 = 0 ;
17219 PyObject * obj1 = 0 ;
17220 PyObject * obj2 = 0 ;
17221 PyObject * obj3 = 0 ;
17222 PyObject * obj4 = 0 ;
17223 PyObject * obj5 = 0 ;
17224 PyObject * obj6 = 0 ;
17225 char * kwnames[] = {
17226 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17227 };
17228
17229 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17230 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17231 if (!SWIG_IsOK(res1)) {
17232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17233 }
17234 arg1 = reinterpret_cast< wxWindow * >(argp1);
17235 if (obj1) {
d55e5bfc 17236 {
554f62e9
RD
17237 arg2 = wxString_in_helper(obj1);
17238 if (arg2 == NULL) SWIG_fail;
17239 temp2 = true;
d55e5bfc 17240 }
554f62e9
RD
17241 }
17242 if (obj2) {
d55e5bfc 17243 {
554f62e9
RD
17244 arg3 = wxString_in_helper(obj2);
17245 if (arg3 == NULL) SWIG_fail;
17246 temp3 = true;
d55e5bfc 17247 }
554f62e9
RD
17248 }
17249 if (obj3) {
17250 {
17251 arg4 = wxString_in_helper(obj3);
17252 if (arg4 == NULL) SWIG_fail;
17253 temp4 = true;
d55e5bfc 17254 }
554f62e9
RD
17255 }
17256 if (obj4) {
d55e5bfc 17257 {
554f62e9
RD
17258 arg5 = wxString_in_helper(obj4);
17259 if (arg5 == NULL) SWIG_fail;
17260 temp5 = true;
d55e5bfc 17261 }
554f62e9
RD
17262 }
17263 if (obj5) {
17264 ecode6 = SWIG_AsVal_long(obj5, &val6);
17265 if (!SWIG_IsOK(ecode6)) {
17266 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17267 }
17268 arg6 = static_cast< long >(val6);
17269 }
17270 if (obj6) {
d55e5bfc 17271 {
554f62e9
RD
17272 arg7 = &temp7;
17273 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
d55e5bfc 17274 }
554f62e9
RD
17275 }
17276 {
17277 if (!wxPyCheckForApp()) SWIG_fail;
17278 PyThreadState* __tstate = wxPyBeginAllowThreads();
17279 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17280 wxPyEndAllowThreads(__tstate);
17281 if (PyErr_Occurred()) SWIG_fail;
17282 }
17283 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17284 {
17285 if (temp2)
17286 delete arg2;
17287 }
17288 {
17289 if (temp3)
17290 delete arg3;
17291 }
17292 {
17293 if (temp4)
17294 delete arg4;
17295 }
17296 {
17297 if (temp5)
17298 delete arg5;
17299 }
17300 return resultobj;
17301fail:
17302 {
17303 if (temp2)
17304 delete arg2;
17305 }
17306 {
17307 if (temp3)
17308 delete arg3;
17309 }
17310 {
17311 if (temp4)
17312 delete arg4;
17313 }
17314 {
17315 if (temp5)
17316 delete arg5;
17317 }
17318 return NULL;
d55e5bfc
RD
17319}
17320
17321
554f62e9
RD
17322SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17323 PyObject *resultobj = 0;
17324 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17325 wxString *arg2 = 0 ;
17326 void *argp1 = 0 ;
17327 int res1 = 0 ;
17328 bool temp2 = false ;
17329 PyObject * obj0 = 0 ;
17330 PyObject * obj1 = 0 ;
17331 char * kwnames[] = {
17332 (char *) "self",(char *) "message", NULL
17333 };
17334
17335 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17336 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17337 if (!SWIG_IsOK(res1)) {
17338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17339 }
17340 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17341 {
17342 arg2 = wxString_in_helper(obj1);
17343 if (arg2 == NULL) SWIG_fail;
17344 temp2 = true;
17345 }
17346 {
17347 PyThreadState* __tstate = wxPyBeginAllowThreads();
17348 (arg1)->SetMessage((wxString const &)*arg2);
17349 wxPyEndAllowThreads(__tstate);
17350 if (PyErr_Occurred()) SWIG_fail;
17351 }
17352 resultobj = SWIG_Py_Void();
17353 {
17354 if (temp2)
17355 delete arg2;
17356 }
17357 return resultobj;
17358fail:
17359 {
17360 if (temp2)
17361 delete arg2;
17362 }
17363 return NULL;
d55e5bfc
RD
17364}
17365
17366
554f62e9
RD
17367SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17368 PyObject *resultobj = 0;
17369 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17370 wxString *arg2 = 0 ;
17371 void *argp1 = 0 ;
17372 int res1 = 0 ;
17373 bool temp2 = false ;
17374 PyObject * obj0 = 0 ;
17375 PyObject * obj1 = 0 ;
17376 char * kwnames[] = {
17377 (char *) "self",(char *) "path", NULL
17378 };
17379
17380 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17381 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17382 if (!SWIG_IsOK(res1)) {
17383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17384 }
17385 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17386 {
17387 arg2 = wxString_in_helper(obj1);
17388 if (arg2 == NULL) SWIG_fail;
17389 temp2 = true;
17390 }
17391 {
17392 PyThreadState* __tstate = wxPyBeginAllowThreads();
17393 (arg1)->SetPath((wxString const &)*arg2);
17394 wxPyEndAllowThreads(__tstate);
17395 if (PyErr_Occurred()) SWIG_fail;
17396 }
17397 resultobj = SWIG_Py_Void();
17398 {
17399 if (temp2)
17400 delete arg2;
17401 }
17402 return resultobj;
17403fail:
17404 {
17405 if (temp2)
17406 delete arg2;
17407 }
17408 return NULL;
d55e5bfc
RD
17409}
17410
17411
554f62e9
RD
17412SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17413 PyObject *resultobj = 0;
17414 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17415 wxString *arg2 = 0 ;
17416 void *argp1 = 0 ;
17417 int res1 = 0 ;
17418 bool temp2 = false ;
17419 PyObject * obj0 = 0 ;
17420 PyObject * obj1 = 0 ;
17421 char * kwnames[] = {
17422 (char *) "self",(char *) "dir", NULL
17423 };
17424
17425 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17426 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17427 if (!SWIG_IsOK(res1)) {
17428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17429 }
17430 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17431 {
17432 arg2 = wxString_in_helper(obj1);
17433 if (arg2 == NULL) SWIG_fail;
17434 temp2 = true;
17435 }
17436 {
17437 PyThreadState* __tstate = wxPyBeginAllowThreads();
17438 (arg1)->SetDirectory((wxString const &)*arg2);
17439 wxPyEndAllowThreads(__tstate);
17440 if (PyErr_Occurred()) SWIG_fail;
17441 }
17442 resultobj = SWIG_Py_Void();
17443 {
17444 if (temp2)
17445 delete arg2;
17446 }
17447 return resultobj;
17448fail:
17449 {
17450 if (temp2)
17451 delete arg2;
17452 }
17453 return NULL;
d55e5bfc
RD
17454}
17455
17456
554f62e9
RD
17457SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17458 PyObject *resultobj = 0;
17459 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17460 wxString *arg2 = 0 ;
17461 void *argp1 = 0 ;
17462 int res1 = 0 ;
17463 bool temp2 = false ;
17464 PyObject * obj0 = 0 ;
17465 PyObject * obj1 = 0 ;
17466 char * kwnames[] = {
17467 (char *) "self",(char *) "name", NULL
17468 };
17469
17470 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17471 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17472 if (!SWIG_IsOK(res1)) {
17473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17474 }
17475 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17476 {
17477 arg2 = wxString_in_helper(obj1);
17478 if (arg2 == NULL) SWIG_fail;
17479 temp2 = true;
17480 }
17481 {
17482 PyThreadState* __tstate = wxPyBeginAllowThreads();
17483 (arg1)->SetFilename((wxString const &)*arg2);
17484 wxPyEndAllowThreads(__tstate);
17485 if (PyErr_Occurred()) SWIG_fail;
17486 }
17487 resultobj = SWIG_Py_Void();
17488 {
17489 if (temp2)
17490 delete arg2;
17491 }
17492 return resultobj;
17493fail:
17494 {
17495 if (temp2)
17496 delete arg2;
17497 }
17498 return NULL;
d55e5bfc
RD
17499}
17500
17501
554f62e9
RD
17502SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17503 PyObject *resultobj = 0;
17504 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17505 wxString *arg2 = 0 ;
17506 void *argp1 = 0 ;
17507 int res1 = 0 ;
17508 bool temp2 = false ;
17509 PyObject * obj0 = 0 ;
17510 PyObject * obj1 = 0 ;
17511 char * kwnames[] = {
17512 (char *) "self",(char *) "wildCard", NULL
17513 };
17514
17515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17517 if (!SWIG_IsOK(res1)) {
17518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17519 }
17520 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17521 {
17522 arg2 = wxString_in_helper(obj1);
17523 if (arg2 == NULL) SWIG_fail;
17524 temp2 = true;
17525 }
17526 {
17527 PyThreadState* __tstate = wxPyBeginAllowThreads();
17528 (arg1)->SetWildcard((wxString const &)*arg2);
17529 wxPyEndAllowThreads(__tstate);
17530 if (PyErr_Occurred()) SWIG_fail;
17531 }
17532 resultobj = SWIG_Py_Void();
17533 {
17534 if (temp2)
17535 delete arg2;
17536 }
17537 return resultobj;
17538fail:
17539 {
17540 if (temp2)
17541 delete arg2;
17542 }
17543 return NULL;
17544}
17545
17546
554f62e9
RD
17547SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17548 PyObject *resultobj = 0;
17549 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17550 int arg2 ;
17551 void *argp1 = 0 ;
17552 int res1 = 0 ;
17553 int val2 ;
17554 int ecode2 = 0 ;
17555 PyObject * obj0 = 0 ;
17556 PyObject * obj1 = 0 ;
17557 char * kwnames[] = {
17558 (char *) "self",(char *) "filterIndex", NULL
17559 };
17560
17561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17563 if (!SWIG_IsOK(res1)) {
17564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17565 }
17566 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17567 ecode2 = SWIG_AsVal_int(obj1, &val2);
17568 if (!SWIG_IsOK(ecode2)) {
17569 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17570 }
17571 arg2 = static_cast< int >(val2);
17572 {
17573 PyThreadState* __tstate = wxPyBeginAllowThreads();
17574 (arg1)->SetFilterIndex(arg2);
17575 wxPyEndAllowThreads(__tstate);
17576 if (PyErr_Occurred()) SWIG_fail;
17577 }
17578 resultobj = SWIG_Py_Void();
17579 return resultobj;
17580fail:
17581 return NULL;
d55e5bfc
RD
17582}
17583
17584
554f62e9
RD
17585SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17586 PyObject *resultobj = 0;
17587 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17588 wxString result;
17589 void *argp1 = 0 ;
17590 int res1 = 0 ;
17591 PyObject *swig_obj[1] ;
17592
17593 if (!args) SWIG_fail;
17594 swig_obj[0] = args;
17595 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17596 if (!SWIG_IsOK(res1)) {
17597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17598 }
17599 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17600 {
17601 PyThreadState* __tstate = wxPyBeginAllowThreads();
17602 result = ((wxFileDialog const *)arg1)->GetMessage();
17603 wxPyEndAllowThreads(__tstate);
17604 if (PyErr_Occurred()) SWIG_fail;
17605 }
17606 {
17607#if wxUSE_UNICODE
17608 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17609#else
17610 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17611#endif
17612 }
17613 return resultobj;
17614fail:
17615 return NULL;
d55e5bfc
RD
17616}
17617
17618
554f62e9
RD
17619SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17620 PyObject *resultobj = 0;
17621 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17622 wxString result;
17623 void *argp1 = 0 ;
17624 int res1 = 0 ;
17625 PyObject *swig_obj[1] ;
17626
17627 if (!args) SWIG_fail;
17628 swig_obj[0] = args;
17629 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17630 if (!SWIG_IsOK(res1)) {
17631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17632 }
17633 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17634 {
17635 PyThreadState* __tstate = wxPyBeginAllowThreads();
17636 result = ((wxFileDialog const *)arg1)->GetPath();
17637 wxPyEndAllowThreads(__tstate);
17638 if (PyErr_Occurred()) SWIG_fail;
17639 }
17640 {
17641#if wxUSE_UNICODE
17642 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17643#else
17644 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17645#endif
17646 }
17647 return resultobj;
17648fail:
17649 return NULL;
d55e5bfc
RD
17650}
17651
17652
554f62e9
RD
17653SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17654 PyObject *resultobj = 0;
17655 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17656 wxString result;
17657 void *argp1 = 0 ;
17658 int res1 = 0 ;
17659 PyObject *swig_obj[1] ;
17660
17661 if (!args) SWIG_fail;
17662 swig_obj[0] = args;
17663 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17664 if (!SWIG_IsOK(res1)) {
17665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17666 }
17667 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17668 {
17669 PyThreadState* __tstate = wxPyBeginAllowThreads();
17670 result = ((wxFileDialog const *)arg1)->GetDirectory();
17671 wxPyEndAllowThreads(__tstate);
17672 if (PyErr_Occurred()) SWIG_fail;
17673 }
17674 {
17675#if wxUSE_UNICODE
17676 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17677#else
17678 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17679#endif
17680 }
17681 return resultobj;
17682fail:
17683 return NULL;
d55e5bfc
RD
17684}
17685
17686
554f62e9
RD
17687SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17688 PyObject *resultobj = 0;
17689 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17690 wxString result;
17691 void *argp1 = 0 ;
17692 int res1 = 0 ;
17693 PyObject *swig_obj[1] ;
17694
17695 if (!args) SWIG_fail;
17696 swig_obj[0] = args;
17697 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17698 if (!SWIG_IsOK(res1)) {
17699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17700 }
17701 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17702 {
17703 PyThreadState* __tstate = wxPyBeginAllowThreads();
17704 result = ((wxFileDialog const *)arg1)->GetFilename();
17705 wxPyEndAllowThreads(__tstate);
17706 if (PyErr_Occurred()) SWIG_fail;
17707 }
17708 {
17709#if wxUSE_UNICODE
17710 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17711#else
17712 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17713#endif
17714 }
17715 return resultobj;
17716fail:
17717 return NULL;
d55e5bfc
RD
17718}
17719
17720
554f62e9
RD
17721SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17722 PyObject *resultobj = 0;
17723 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17724 wxString result;
17725 void *argp1 = 0 ;
17726 int res1 = 0 ;
17727 PyObject *swig_obj[1] ;
17728
17729 if (!args) SWIG_fail;
17730 swig_obj[0] = args;
17731 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17732 if (!SWIG_IsOK(res1)) {
17733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17734 }
17735 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17736 {
17737 PyThreadState* __tstate = wxPyBeginAllowThreads();
17738 result = ((wxFileDialog const *)arg1)->GetWildcard();
17739 wxPyEndAllowThreads(__tstate);
17740 if (PyErr_Occurred()) SWIG_fail;
17741 }
17742 {
17743#if wxUSE_UNICODE
17744 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17745#else
17746 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17747#endif
17748 }
17749 return resultobj;
17750fail:
17751 return NULL;
d55e5bfc
RD
17752}
17753
17754
554f62e9
RD
17755SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17756 PyObject *resultobj = 0;
17757 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17758 int result;
17759 void *argp1 = 0 ;
17760 int res1 = 0 ;
17761 PyObject *swig_obj[1] ;
17762
17763 if (!args) SWIG_fail;
17764 swig_obj[0] = args;
17765 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17766 if (!SWIG_IsOK(res1)) {
17767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17768 }
17769 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17770 {
17771 PyThreadState* __tstate = wxPyBeginAllowThreads();
17772 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17773 wxPyEndAllowThreads(__tstate);
17774 if (PyErr_Occurred()) SWIG_fail;
17775 }
17776 resultobj = SWIG_From_int(static_cast< int >(result));
17777 return resultobj;
17778fail:
17779 return NULL;
d55e5bfc
RD
17780}
17781
17782
554f62e9
RD
17783SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17784 PyObject *resultobj = 0;
17785 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17786 PyObject *result = 0 ;
17787 void *argp1 = 0 ;
17788 int res1 = 0 ;
17789 PyObject *swig_obj[1] ;
17790
17791 if (!args) SWIG_fail;
17792 swig_obj[0] = args;
17793 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17794 if (!SWIG_IsOK(res1)) {
17795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17796 }
17797 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17798 {
17799 PyThreadState* __tstate = wxPyBeginAllowThreads();
17800 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17801 wxPyEndAllowThreads(__tstate);
17802 if (PyErr_Occurred()) SWIG_fail;
17803 }
17804 resultobj = result;
17805 return resultobj;
17806fail:
17807 return NULL;
d55e5bfc
RD
17808}
17809
17810
554f62e9
RD
17811SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17812 PyObject *resultobj = 0;
17813 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17814 PyObject *result = 0 ;
17815 void *argp1 = 0 ;
17816 int res1 = 0 ;
17817 PyObject *swig_obj[1] ;
17818
17819 if (!args) SWIG_fail;
17820 swig_obj[0] = args;
17821 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17822 if (!SWIG_IsOK(res1)) {
17823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17824 }
17825 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17826 {
17827 PyThreadState* __tstate = wxPyBeginAllowThreads();
17828 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17829 wxPyEndAllowThreads(__tstate);
17830 if (PyErr_Occurred()) SWIG_fail;
17831 }
17832 resultobj = result;
17833 return resultobj;
17834fail:
17835 return NULL;
17836}
17837
17838
17839SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17840 PyObject *obj;
17841 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17842 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17843 return SWIG_Py_Void();
17844}
17845
17846SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17847 return SWIG_Python_InitShadowInstance(args);
17848}
17849
17850SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17851 PyObject *resultobj = 0;
17852 wxWindow *arg1 = (wxWindow *) 0 ;
17853 wxString *arg2 = 0 ;
17854 wxString *arg3 = 0 ;
17855 int arg4 = (int) 0 ;
17856 wxString *arg5 = (wxString *) NULL ;
17857 long arg6 = (long) wxCHOICEDLG_STYLE ;
17858 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17859 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17860 wxMultiChoiceDialog *result = 0 ;
17861 void *argp1 = 0 ;
17862 int res1 = 0 ;
17863 bool temp2 = false ;
17864 bool temp3 = false ;
17865 long val6 ;
17866 int ecode6 = 0 ;
17867 wxPoint temp7 ;
17868 PyObject * obj0 = 0 ;
17869 PyObject * obj1 = 0 ;
17870 PyObject * obj2 = 0 ;
17871 PyObject * obj3 = 0 ;
17872 PyObject * obj4 = 0 ;
17873 PyObject * obj5 = 0 ;
17874 char * kwnames[] = {
17875 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17876 };
17877
17878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17880 if (!SWIG_IsOK(res1)) {
17881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17882 }
17883 arg1 = reinterpret_cast< wxWindow * >(argp1);
17884 {
17885 arg2 = wxString_in_helper(obj1);
17886 if (arg2 == NULL) SWIG_fail;
17887 temp2 = true;
17888 }
17889 {
17890 arg3 = wxString_in_helper(obj2);
17891 if (arg3 == NULL) SWIG_fail;
17892 temp3 = true;
17893 }
17894 if (obj3) {
d55e5bfc 17895 {
554f62e9
RD
17896 arg4 = PyList_Size(obj3);
17897 arg5 = wxString_LIST_helper(obj3);
17898 if (arg5 == NULL) SWIG_fail;
d55e5bfc 17899 }
554f62e9
RD
17900 }
17901 if (obj4) {
17902 ecode6 = SWIG_AsVal_long(obj4, &val6);
17903 if (!SWIG_IsOK(ecode6)) {
17904 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17905 }
17906 arg6 = static_cast< long >(val6);
17907 }
17908 if (obj5) {
d55e5bfc 17909 {
554f62e9
RD
17910 arg7 = &temp7;
17911 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
d55e5bfc 17912 }
554f62e9
RD
17913 }
17914 {
17915 if (!wxPyCheckForApp()) SWIG_fail;
17916 PyThreadState* __tstate = wxPyBeginAllowThreads();
17917 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17918 wxPyEndAllowThreads(__tstate);
17919 if (PyErr_Occurred()) SWIG_fail;
17920 }
17921 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17922 {
17923 if (temp2)
17924 delete arg2;
17925 }
17926 {
17927 if (temp3)
17928 delete arg3;
17929 }
17930 {
17931 if (arg5) delete [] arg5;
17932 }
17933 return resultobj;
17934fail:
17935 {
17936 if (temp2)
17937 delete arg2;
17938 }
17939 {
17940 if (temp3)
17941 delete arg3;
17942 }
17943 {
17944 if (arg5) delete [] arg5;
17945 }
17946 return NULL;
d55e5bfc
RD
17947}
17948
17949
554f62e9
RD
17950SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17951 PyObject *resultobj = 0;
17952 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17953 wxArrayInt *arg2 = 0 ;
17954 void *argp1 = 0 ;
17955 int res1 = 0 ;
17956 bool temp2 = false ;
17957 PyObject * obj0 = 0 ;
17958 PyObject * obj1 = 0 ;
17959 char * kwnames[] = {
17960 (char *) "self",(char *) "selections", NULL
17961 };
17962
17963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17965 if (!SWIG_IsOK(res1)) {
17966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17967 }
17968 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17969 {
17970 if (! PySequence_Check(obj1)) {
17971 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17972 SWIG_fail;
17973 }
17974 arg2 = new wxArrayInt;
17975 temp2 = true;
17976 int i, len=PySequence_Length(obj1);
17977 for (i=0; i<len; i++) {
17978 PyObject* item = PySequence_GetItem(obj1, i);
17979 PyObject* number = PyNumber_Int(item);
17980 arg2->Add(PyInt_AS_LONG(number));
17981 Py_DECREF(item);
17982 Py_DECREF(number);
093d3ff1 17983 }
554f62e9
RD
17984 }
17985 {
17986 PyThreadState* __tstate = wxPyBeginAllowThreads();
17987 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17988 wxPyEndAllowThreads(__tstate);
17989 if (PyErr_Occurred()) SWIG_fail;
17990 }
17991 resultobj = SWIG_Py_Void();
17992 {
17993 if (temp2) delete arg2;
17994 }
17995 return resultobj;
17996fail:
17997 {
17998 if (temp2) delete arg2;
17999 }
18000 return NULL;
d55e5bfc
RD
18001}
18002
18003
554f62e9
RD
18004SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18005 PyObject *resultobj = 0;
18006 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
18007 PyObject *result = 0 ;
18008 void *argp1 = 0 ;
18009 int res1 = 0 ;
18010 PyObject *swig_obj[1] ;
18011
18012 if (!args) SWIG_fail;
18013 swig_obj[0] = args;
18014 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
18015 if (!SWIG_IsOK(res1)) {
18016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18017 }
18018 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
18019 {
18020 PyThreadState* __tstate = wxPyBeginAllowThreads();
18021 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
18022 wxPyEndAllowThreads(__tstate);
18023 if (PyErr_Occurred()) SWIG_fail;
18024 }
18025 resultobj = result;
18026 return resultobj;
18027fail:
18028 return NULL;
18029}
18030
18031
18032SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18033 PyObject *obj;
18034 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18035 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
18036 return SWIG_Py_Void();
18037}
18038
18039SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18040 return SWIG_Python_InitShadowInstance(args);
18041}
18042
18043SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18044 PyObject *resultobj = 0;
18045 wxWindow *arg1 = (wxWindow *) 0 ;
18046 wxString *arg2 = 0 ;
18047 wxString *arg3 = 0 ;
18048 int arg4 ;
18049 wxString *arg5 = (wxString *) 0 ;
18050 long arg6 = (long) wxCHOICEDLG_STYLE ;
18051 wxPoint const &arg7_defvalue = wxDefaultPosition ;
18052 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
18053 wxSingleChoiceDialog *result = 0 ;
18054 void *argp1 = 0 ;
18055 int res1 = 0 ;
18056 bool temp2 = false ;
18057 bool temp3 = false ;
18058 long val6 ;
18059 int ecode6 = 0 ;
18060 wxPoint temp7 ;
18061 PyObject * obj0 = 0 ;
18062 PyObject * obj1 = 0 ;
18063 PyObject * obj2 = 0 ;
18064 PyObject * obj3 = 0 ;
18065 PyObject * obj4 = 0 ;
18066 PyObject * obj5 = 0 ;
18067 char * kwnames[] = {
18068 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18069 };
18070
18071 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18072 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18073 if (!SWIG_IsOK(res1)) {
18074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18075 }
18076 arg1 = reinterpret_cast< wxWindow * >(argp1);
18077 {
18078 arg2 = wxString_in_helper(obj1);
18079 if (arg2 == NULL) SWIG_fail;
18080 temp2 = true;
18081 }
18082 {
18083 arg3 = wxString_in_helper(obj2);
18084 if (arg3 == NULL) SWIG_fail;
18085 temp3 = true;
18086 }
18087 {
18088 arg4 = PyList_Size(obj3);
18089 arg5 = wxString_LIST_helper(obj3);
18090 if (arg5 == NULL) SWIG_fail;
18091 }
18092 if (obj4) {
18093 ecode6 = SWIG_AsVal_long(obj4, &val6);
18094 if (!SWIG_IsOK(ecode6)) {
18095 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18096 }
18097 arg6 = static_cast< long >(val6);
18098 }
18099 if (obj5) {
093d3ff1 18100 {
554f62e9
RD
18101 arg7 = &temp7;
18102 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
093d3ff1 18103 }
554f62e9
RD
18104 }
18105 {
18106 if (!wxPyCheckForApp()) SWIG_fail;
18107 PyThreadState* __tstate = wxPyBeginAllowThreads();
18108 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18109 wxPyEndAllowThreads(__tstate);
18110 if (PyErr_Occurred()) SWIG_fail;
18111 }
18112 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
18113 {
18114 if (temp2)
18115 delete arg2;
18116 }
18117 {
18118 if (temp3)
18119 delete arg3;
18120 }
18121 {
18122 if (arg5) delete [] arg5;
18123 }
18124 return resultobj;
18125fail:
18126 {
18127 if (temp2)
18128 delete arg2;
18129 }
18130 {
18131 if (temp3)
18132 delete arg3;
18133 }
18134 {
18135 if (arg5) delete [] arg5;
18136 }
18137 return NULL;
d55e5bfc
RD
18138}
18139
18140
554f62e9
RD
18141SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18142 PyObject *resultobj = 0;
18143 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18144 int result;
18145 void *argp1 = 0 ;
18146 int res1 = 0 ;
18147 PyObject *swig_obj[1] ;
18148
18149 if (!args) SWIG_fail;
18150 swig_obj[0] = args;
18151 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18152 if (!SWIG_IsOK(res1)) {
18153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18154 }
18155 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18156 {
18157 PyThreadState* __tstate = wxPyBeginAllowThreads();
18158 result = (int)(arg1)->GetSelection();
18159 wxPyEndAllowThreads(__tstate);
18160 if (PyErr_Occurred()) SWIG_fail;
18161 }
18162 resultobj = SWIG_From_int(static_cast< int >(result));
18163 return resultobj;
18164fail:
18165 return NULL;
d55e5bfc
RD
18166}
18167
18168
554f62e9
RD
18169SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18170 PyObject *resultobj = 0;
18171 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18172 wxString result;
18173 void *argp1 = 0 ;
18174 int res1 = 0 ;
18175 PyObject *swig_obj[1] ;
18176
18177 if (!args) SWIG_fail;
18178 swig_obj[0] = args;
18179 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18180 if (!SWIG_IsOK(res1)) {
18181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18182 }
18183 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18184 {
18185 PyThreadState* __tstate = wxPyBeginAllowThreads();
18186 result = (arg1)->GetStringSelection();
18187 wxPyEndAllowThreads(__tstate);
18188 if (PyErr_Occurred()) SWIG_fail;
18189 }
18190 {
18191#if wxUSE_UNICODE
18192 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18193#else
18194 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18195#endif
18196 }
18197 return resultobj;
18198fail:
18199 return NULL;
18200}
18201
18202
18203SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18204 PyObject *resultobj = 0;
18205 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18206 int arg2 ;
18207 void *argp1 = 0 ;
18208 int res1 = 0 ;
18209 int val2 ;
18210 int ecode2 = 0 ;
18211 PyObject * obj0 = 0 ;
18212 PyObject * obj1 = 0 ;
18213 char * kwnames[] = {
18214 (char *) "self",(char *) "sel", NULL
18215 };
18216
18217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18219 if (!SWIG_IsOK(res1)) {
18220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18221 }
18222 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18223 ecode2 = SWIG_AsVal_int(obj1, &val2);
18224 if (!SWIG_IsOK(ecode2)) {
18225 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18226 }
18227 arg2 = static_cast< int >(val2);
18228 {
18229 PyThreadState* __tstate = wxPyBeginAllowThreads();
18230 (arg1)->SetSelection(arg2);
18231 wxPyEndAllowThreads(__tstate);
18232 if (PyErr_Occurred()) SWIG_fail;
18233 }
18234 resultobj = SWIG_Py_Void();
18235 return resultobj;
18236fail:
18237 return NULL;
18238}
18239
18240
18241SWIGINTERN PyObject *SingleChoiceDialog_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_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18245 return SWIG_Py_Void();
18246}
18247
18248SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18249 return SWIG_Python_InitShadowInstance(args);
18250}
18251
18252SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18253 PyObject *resultobj = 0;
18254 wxWindow *arg1 = (wxWindow *) 0 ;
18255 wxString *arg2 = 0 ;
18256 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18257 wxString *arg3 = (wxString *) &arg3_defvalue ;
18258 wxString const &arg4_defvalue = wxPyEmptyString ;
18259 wxString *arg4 = (wxString *) &arg4_defvalue ;
18260 long arg5 = (long) wxTextEntryDialogStyle ;
18261 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18262 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18263 wxTextEntryDialog *result = 0 ;
18264 void *argp1 = 0 ;
18265 int res1 = 0 ;
18266 bool temp2 = false ;
18267 bool temp3 = false ;
18268 bool temp4 = false ;
18269 long val5 ;
18270 int ecode5 = 0 ;
18271 wxPoint temp6 ;
18272 PyObject * obj0 = 0 ;
18273 PyObject * obj1 = 0 ;
18274 PyObject * obj2 = 0 ;
18275 PyObject * obj3 = 0 ;
18276 PyObject * obj4 = 0 ;
18277 PyObject * obj5 = 0 ;
18278 char * kwnames[] = {
18279 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18280 };
18281
18282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18284 if (!SWIG_IsOK(res1)) {
18285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18286 }
18287 arg1 = reinterpret_cast< wxWindow * >(argp1);
18288 {
18289 arg2 = wxString_in_helper(obj1);
18290 if (arg2 == NULL) SWIG_fail;
18291 temp2 = true;
18292 }
18293 if (obj2) {
093d3ff1 18294 {
554f62e9
RD
18295 arg3 = wxString_in_helper(obj2);
18296 if (arg3 == NULL) SWIG_fail;
18297 temp3 = true;
093d3ff1 18298 }
554f62e9
RD
18299 }
18300 if (obj3) {
d55e5bfc 18301 {
554f62e9
RD
18302 arg4 = wxString_in_helper(obj3);
18303 if (arg4 == NULL) SWIG_fail;
18304 temp4 = true;
d55e5bfc 18305 }
554f62e9
RD
18306 }
18307 if (obj4) {
18308 ecode5 = SWIG_AsVal_long(obj4, &val5);
18309 if (!SWIG_IsOK(ecode5)) {
18310 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18311 }
18312 arg5 = static_cast< long >(val5);
18313 }
18314 if (obj5) {
d55e5bfc 18315 {
554f62e9
RD
18316 arg6 = &temp6;
18317 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 18318 }
554f62e9
RD
18319 }
18320 {
18321 if (!wxPyCheckForApp()) SWIG_fail;
18322 PyThreadState* __tstate = wxPyBeginAllowThreads();
18323 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18324 wxPyEndAllowThreads(__tstate);
18325 if (PyErr_Occurred()) SWIG_fail;
18326 }
18327 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18328 {
18329 if (temp2)
18330 delete arg2;
18331 }
18332 {
18333 if (temp3)
18334 delete arg3;
18335 }
18336 {
18337 if (temp4)
18338 delete arg4;
18339 }
18340 return resultobj;
18341fail:
18342 {
18343 if (temp2)
18344 delete arg2;
18345 }
18346 {
18347 if (temp3)
18348 delete arg3;
18349 }
18350 {
18351 if (temp4)
18352 delete arg4;
18353 }
18354 return NULL;
d55e5bfc
RD
18355}
18356
18357
554f62e9
RD
18358SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18359 PyObject *resultobj = 0;
18360 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18361 wxString result;
18362 void *argp1 = 0 ;
18363 int res1 = 0 ;
18364 PyObject *swig_obj[1] ;
18365
18366 if (!args) SWIG_fail;
18367 swig_obj[0] = args;
18368 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18369 if (!SWIG_IsOK(res1)) {
18370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18371 }
18372 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18373 {
18374 PyThreadState* __tstate = wxPyBeginAllowThreads();
18375 result = (arg1)->GetValue();
18376 wxPyEndAllowThreads(__tstate);
18377 if (PyErr_Occurred()) SWIG_fail;
18378 }
18379 {
18380#if wxUSE_UNICODE
18381 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18382#else
18383 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18384#endif
18385 }
18386 return resultobj;
18387fail:
18388 return NULL;
18389}
18390
18391
18392SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18393 PyObject *resultobj = 0;
18394 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18395 wxString *arg2 = 0 ;
18396 void *argp1 = 0 ;
18397 int res1 = 0 ;
18398 bool temp2 = false ;
18399 PyObject * obj0 = 0 ;
18400 PyObject * obj1 = 0 ;
18401 char * kwnames[] = {
18402 (char *) "self",(char *) "value", NULL
18403 };
18404
18405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18407 if (!SWIG_IsOK(res1)) {
18408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18409 }
18410 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18411 {
18412 arg2 = wxString_in_helper(obj1);
18413 if (arg2 == NULL) SWIG_fail;
18414 temp2 = true;
18415 }
18416 {
18417 PyThreadState* __tstate = wxPyBeginAllowThreads();
18418 (arg1)->SetValue((wxString const &)*arg2);
18419 wxPyEndAllowThreads(__tstate);
18420 if (PyErr_Occurred()) SWIG_fail;
18421 }
18422 resultobj = SWIG_Py_Void();
18423 {
18424 if (temp2)
18425 delete arg2;
18426 }
18427 return resultobj;
18428fail:
18429 {
18430 if (temp2)
18431 delete arg2;
18432 }
18433 return NULL;
d55e5bfc
RD
18434}
18435
18436
554f62e9
RD
18437SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18438 PyObject *obj;
18439 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18440 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18441 return SWIG_Py_Void();
d55e5bfc
RD
18442}
18443
554f62e9
RD
18444SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18445 return SWIG_Python_InitShadowInstance(args);
18446}
d55e5bfc 18447
554f62e9
RD
18448SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18449 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18450 return 1;
d55e5bfc
RD
18451}
18452
18453
554f62e9
RD
18454SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18455 PyObject *pyobj = 0;
18456
18457 {
18458#if wxUSE_UNICODE
18459 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18460#else
18461 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18462#endif
18463 }
18464 return pyobj;
18465}
18466
18467
18468SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18469 PyObject *resultobj = 0;
18470 wxWindow *arg1 = (wxWindow *) 0 ;
18471 wxString *arg2 = 0 ;
18472 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18473 wxString *arg3 = (wxString *) &arg3_defvalue ;
18474 wxString const &arg4_defvalue = wxPyEmptyString ;
18475 wxString *arg4 = (wxString *) &arg4_defvalue ;
18476 long arg5 = (long) wxTextEntryDialogStyle ;
18477 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18478 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18479 wxPasswordEntryDialog *result = 0 ;
18480 void *argp1 = 0 ;
18481 int res1 = 0 ;
18482 bool temp2 = false ;
18483 bool temp3 = false ;
18484 bool temp4 = false ;
18485 long val5 ;
18486 int ecode5 = 0 ;
18487 wxPoint temp6 ;
18488 PyObject * obj0 = 0 ;
18489 PyObject * obj1 = 0 ;
18490 PyObject * obj2 = 0 ;
18491 PyObject * obj3 = 0 ;
18492 PyObject * obj4 = 0 ;
18493 PyObject * obj5 = 0 ;
18494 char * kwnames[] = {
18495 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18496 };
18497
18498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18500 if (!SWIG_IsOK(res1)) {
18501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18502 }
18503 arg1 = reinterpret_cast< wxWindow * >(argp1);
18504 {
18505 arg2 = wxString_in_helper(obj1);
18506 if (arg2 == NULL) SWIG_fail;
18507 temp2 = true;
18508 }
18509 if (obj2) {
d55e5bfc 18510 {
554f62e9
RD
18511 arg3 = wxString_in_helper(obj2);
18512 if (arg3 == NULL) SWIG_fail;
18513 temp3 = true;
d55e5bfc 18514 }
554f62e9
RD
18515 }
18516 if (obj3) {
d55e5bfc 18517 {
554f62e9
RD
18518 arg4 = wxString_in_helper(obj3);
18519 if (arg4 == NULL) SWIG_fail;
18520 temp4 = true;
d55e5bfc 18521 }
554f62e9
RD
18522 }
18523 if (obj4) {
18524 ecode5 = SWIG_AsVal_long(obj4, &val5);
18525 if (!SWIG_IsOK(ecode5)) {
18526 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18527 }
18528 arg5 = static_cast< long >(val5);
18529 }
18530 if (obj5) {
093d3ff1 18531 {
554f62e9
RD
18532 arg6 = &temp6;
18533 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
093d3ff1 18534 }
554f62e9
RD
18535 }
18536 {
18537 PyThreadState* __tstate = wxPyBeginAllowThreads();
18538 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18539 wxPyEndAllowThreads(__tstate);
18540 if (PyErr_Occurred()) SWIG_fail;
18541 }
18542 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18543 {
18544 if (temp2)
18545 delete arg2;
18546 }
18547 {
18548 if (temp3)
18549 delete arg3;
18550 }
18551 {
18552 if (temp4)
18553 delete arg4;
18554 }
18555 return resultobj;
18556fail:
18557 {
18558 if (temp2)
18559 delete arg2;
18560 }
18561 {
18562 if (temp3)
18563 delete arg3;
18564 }
18565 {
18566 if (temp4)
18567 delete arg4;
18568 }
18569 return NULL;
d55e5bfc
RD
18570}
18571
18572
554f62e9
RD
18573SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18574 PyObject *obj;
18575 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18576 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18577 return SWIG_Py_Void();
d55e5bfc
RD
18578}
18579
554f62e9
RD
18580SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18581 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
18582}
18583
27e45892
RD
18584SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18585 PyObject *resultobj = 0;
18586 wxWindow *arg1 = (wxWindow *) 0 ;
18587 wxString *arg2 = 0 ;
18588 wxString *arg3 = 0 ;
18589 wxString *arg4 = 0 ;
18590 long arg5 ;
18591 long arg6 ;
18592 long arg7 ;
18593 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18594 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18595 wxNumberEntryDialog *result = 0 ;
18596 void *argp1 = 0 ;
18597 int res1 = 0 ;
18598 bool temp2 = false ;
18599 bool temp3 = false ;
18600 bool temp4 = false ;
18601 long val5 ;
18602 int ecode5 = 0 ;
18603 long val6 ;
18604 int ecode6 = 0 ;
18605 long val7 ;
18606 int ecode7 = 0 ;
18607 wxPoint temp8 ;
18608 PyObject * obj0 = 0 ;
18609 PyObject * obj1 = 0 ;
18610 PyObject * obj2 = 0 ;
18611 PyObject * obj3 = 0 ;
18612 PyObject * obj4 = 0 ;
18613 PyObject * obj5 = 0 ;
18614 PyObject * obj6 = 0 ;
18615 PyObject * obj7 = 0 ;
18616 char * kwnames[] = {
18617 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18618 };
18619
18620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18622 if (!SWIG_IsOK(res1)) {
18623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18624 }
18625 arg1 = reinterpret_cast< wxWindow * >(argp1);
18626 {
18627 arg2 = wxString_in_helper(obj1);
18628 if (arg2 == NULL) SWIG_fail;
18629 temp2 = true;
18630 }
18631 {
18632 arg3 = wxString_in_helper(obj2);
18633 if (arg3 == NULL) SWIG_fail;
18634 temp3 = true;
18635 }
18636 {
18637 arg4 = wxString_in_helper(obj3);
18638 if (arg4 == NULL) SWIG_fail;
18639 temp4 = true;
18640 }
18641 ecode5 = SWIG_AsVal_long(obj4, &val5);
18642 if (!SWIG_IsOK(ecode5)) {
18643 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18644 }
18645 arg5 = static_cast< long >(val5);
18646 ecode6 = SWIG_AsVal_long(obj5, &val6);
18647 if (!SWIG_IsOK(ecode6)) {
18648 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18649 }
18650 arg6 = static_cast< long >(val6);
18651 ecode7 = SWIG_AsVal_long(obj6, &val7);
18652 if (!SWIG_IsOK(ecode7)) {
18653 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18654 }
18655 arg7 = static_cast< long >(val7);
18656 if (obj7) {
18657 {
18658 arg8 = &temp8;
18659 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
18660 }
18661 }
18662 {
18663 if (!wxPyCheckForApp()) SWIG_fail;
18664 PyThreadState* __tstate = wxPyBeginAllowThreads();
18665 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
18666 wxPyEndAllowThreads(__tstate);
18667 if (PyErr_Occurred()) SWIG_fail;
18668 }
18669 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
18670 {
18671 if (temp2)
18672 delete arg2;
18673 }
18674 {
18675 if (temp3)
18676 delete arg3;
18677 }
18678 {
18679 if (temp4)
18680 delete arg4;
18681 }
18682 return resultobj;
18683fail:
18684 {
18685 if (temp2)
18686 delete arg2;
18687 }
18688 {
18689 if (temp3)
18690 delete arg3;
18691 }
18692 {
18693 if (temp4)
18694 delete arg4;
18695 }
18696 return NULL;
18697}
18698
18699
18700SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18701 PyObject *resultobj = 0;
18702 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
18703 long result;
18704 void *argp1 = 0 ;
18705 int res1 = 0 ;
18706 PyObject *swig_obj[1] ;
18707
18708 if (!args) SWIG_fail;
18709 swig_obj[0] = args;
18710 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
18711 if (!SWIG_IsOK(res1)) {
18712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18713 }
18714 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
18715 {
18716 PyThreadState* __tstate = wxPyBeginAllowThreads();
18717 result = (long)(arg1)->GetValue();
18718 wxPyEndAllowThreads(__tstate);
18719 if (PyErr_Occurred()) SWIG_fail;
18720 }
18721 resultobj = SWIG_From_long(static_cast< long >(result));
18722 return resultobj;
18723fail:
18724 return NULL;
18725}
18726
18727
18728SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18729 PyObject *obj;
18730 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18731 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
18732 return SWIG_Py_Void();
18733}
18734
18735SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18736 return SWIG_Python_InitShadowInstance(args);
18737}
18738
554f62e9
RD
18739SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18740 PyObject *resultobj = 0;
18741 wxFontData *result = 0 ;
18742
18743 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18744 {
18745 PyThreadState* __tstate = wxPyBeginAllowThreads();
18746 result = (wxFontData *)new wxFontData();
18747 wxPyEndAllowThreads(__tstate);
18748 if (PyErr_Occurred()) SWIG_fail;
18749 }
18750 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18751 return resultobj;
18752fail:
18753 return NULL;
d55e5bfc
RD
18754}
18755
18756
554f62e9
RD
18757SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18758 PyObject *resultobj = 0;
18759 wxFontData *arg1 = (wxFontData *) 0 ;
18760 void *argp1 = 0 ;
18761 int res1 = 0 ;
18762 PyObject *swig_obj[1] ;
18763
18764 if (!args) SWIG_fail;
18765 swig_obj[0] = args;
18766 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18767 if (!SWIG_IsOK(res1)) {
18768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18769 }
18770 arg1 = reinterpret_cast< wxFontData * >(argp1);
18771 {
18772 PyThreadState* __tstate = wxPyBeginAllowThreads();
18773 delete arg1;
d55e5bfc 18774
554f62e9
RD
18775 wxPyEndAllowThreads(__tstate);
18776 if (PyErr_Occurred()) SWIG_fail;
18777 }
18778 resultobj = SWIG_Py_Void();
18779 return resultobj;
18780fail:
18781 return NULL;
18782}
18783
18784
18785SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18786 PyObject *resultobj = 0;
18787 wxFontData *arg1 = (wxFontData *) 0 ;
18788 bool arg2 ;
18789 void *argp1 = 0 ;
18790 int res1 = 0 ;
18791 bool val2 ;
18792 int ecode2 = 0 ;
18793 PyObject * obj0 = 0 ;
18794 PyObject * obj1 = 0 ;
18795 char * kwnames[] = {
18796 (char *) "self",(char *) "enable", NULL
18797 };
18798
18799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18801 if (!SWIG_IsOK(res1)) {
18802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18803 }
18804 arg1 = reinterpret_cast< wxFontData * >(argp1);
18805 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18806 if (!SWIG_IsOK(ecode2)) {
18807 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18808 }
18809 arg2 = static_cast< bool >(val2);
18810 {
18811 PyThreadState* __tstate = wxPyBeginAllowThreads();
18812 (arg1)->EnableEffects(arg2);
18813 wxPyEndAllowThreads(__tstate);
18814 if (PyErr_Occurred()) SWIG_fail;
18815 }
18816 resultobj = SWIG_Py_Void();
18817 return resultobj;
18818fail:
18819 return NULL;
d55e5bfc
RD
18820}
18821
18822
554f62e9
RD
18823SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18824 PyObject *resultobj = 0;
18825 wxFontData *arg1 = (wxFontData *) 0 ;
18826 bool result;
18827 void *argp1 = 0 ;
18828 int res1 = 0 ;
18829 PyObject *swig_obj[1] ;
18830
18831 if (!args) SWIG_fail;
18832 swig_obj[0] = args;
18833 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18834 if (!SWIG_IsOK(res1)) {
18835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18836 }
18837 arg1 = reinterpret_cast< wxFontData * >(argp1);
18838 {
18839 PyThreadState* __tstate = wxPyBeginAllowThreads();
18840 result = (bool)(arg1)->GetAllowSymbols();
18841 wxPyEndAllowThreads(__tstate);
18842 if (PyErr_Occurred()) SWIG_fail;
18843 }
18844 {
18845 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18846 }
18847 return resultobj;
18848fail:
18849 return NULL;
d55e5bfc
RD
18850}
18851
18852
554f62e9
RD
18853SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18854 PyObject *resultobj = 0;
18855 wxFontData *arg1 = (wxFontData *) 0 ;
18856 wxColour result;
18857 void *argp1 = 0 ;
18858 int res1 = 0 ;
18859 PyObject *swig_obj[1] ;
18860
18861 if (!args) SWIG_fail;
18862 swig_obj[0] = args;
18863 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18864 if (!SWIG_IsOK(res1)) {
18865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18866 }
18867 arg1 = reinterpret_cast< wxFontData * >(argp1);
18868 {
18869 PyThreadState* __tstate = wxPyBeginAllowThreads();
18870 result = (arg1)->GetColour();
18871 wxPyEndAllowThreads(__tstate);
18872 if (PyErr_Occurred()) SWIG_fail;
18873 }
18874 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18875 return resultobj;
18876fail:
18877 return NULL;
70b7a5fe
RD
18878}
18879
18880
554f62e9
RD
18881SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18882 PyObject *resultobj = 0;
18883 wxFontData *arg1 = (wxFontData *) 0 ;
18884 wxFont result;
18885 void *argp1 = 0 ;
18886 int res1 = 0 ;
18887 PyObject *swig_obj[1] ;
18888
18889 if (!args) SWIG_fail;
18890 swig_obj[0] = args;
18891 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18892 if (!SWIG_IsOK(res1)) {
18893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18894 }
18895 arg1 = reinterpret_cast< wxFontData * >(argp1);
18896 {
18897 PyThreadState* __tstate = wxPyBeginAllowThreads();
18898 result = (arg1)->GetChosenFont();
18899 wxPyEndAllowThreads(__tstate);
18900 if (PyErr_Occurred()) SWIG_fail;
18901 }
18902 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18903 return resultobj;
18904fail:
18905 return NULL;
70b7a5fe
RD
18906}
18907
18908
554f62e9
RD
18909SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18910 PyObject *resultobj = 0;
18911 wxFontData *arg1 = (wxFontData *) 0 ;
18912 bool result;
18913 void *argp1 = 0 ;
18914 int res1 = 0 ;
18915 PyObject *swig_obj[1] ;
18916
18917 if (!args) SWIG_fail;
18918 swig_obj[0] = args;
18919 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18920 if (!SWIG_IsOK(res1)) {
18921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18922 }
18923 arg1 = reinterpret_cast< wxFontData * >(argp1);
18924 {
18925 PyThreadState* __tstate = wxPyBeginAllowThreads();
18926 result = (bool)(arg1)->GetEnableEffects();
18927 wxPyEndAllowThreads(__tstate);
18928 if (PyErr_Occurred()) SWIG_fail;
18929 }
18930 {
18931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18932 }
18933 return resultobj;
18934fail:
18935 return NULL;
d55e5bfc
RD
18936}
18937
18938
554f62e9
RD
18939SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18940 PyObject *resultobj = 0;
18941 wxFontData *arg1 = (wxFontData *) 0 ;
18942 wxFont result;
18943 void *argp1 = 0 ;
18944 int res1 = 0 ;
18945 PyObject *swig_obj[1] ;
18946
18947 if (!args) SWIG_fail;
18948 swig_obj[0] = args;
18949 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18950 if (!SWIG_IsOK(res1)) {
18951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18952 }
18953 arg1 = reinterpret_cast< wxFontData * >(argp1);
18954 {
18955 PyThreadState* __tstate = wxPyBeginAllowThreads();
18956 result = (arg1)->GetInitialFont();
18957 wxPyEndAllowThreads(__tstate);
18958 if (PyErr_Occurred()) SWIG_fail;
18959 }
18960 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18961 return resultobj;
18962fail:
18963 return NULL;
d55e5bfc
RD
18964}
18965
18966
554f62e9
RD
18967SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18968 PyObject *resultobj = 0;
18969 wxFontData *arg1 = (wxFontData *) 0 ;
18970 bool result;
18971 void *argp1 = 0 ;
18972 int res1 = 0 ;
18973 PyObject *swig_obj[1] ;
18974
18975 if (!args) SWIG_fail;
18976 swig_obj[0] = args;
18977 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18978 if (!SWIG_IsOK(res1)) {
18979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18980 }
18981 arg1 = reinterpret_cast< wxFontData * >(argp1);
18982 {
18983 PyThreadState* __tstate = wxPyBeginAllowThreads();
18984 result = (bool)(arg1)->GetShowHelp();
18985 wxPyEndAllowThreads(__tstate);
18986 if (PyErr_Occurred()) SWIG_fail;
18987 }
18988 {
18989 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18990 }
18991 return resultobj;
18992fail:
18993 return NULL;
18994}
18995
18996
18997SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18998 PyObject *resultobj = 0;
18999 wxFontData *arg1 = (wxFontData *) 0 ;
19000 bool arg2 ;
19001 void *argp1 = 0 ;
19002 int res1 = 0 ;
19003 bool val2 ;
19004 int ecode2 = 0 ;
19005 PyObject * obj0 = 0 ;
19006 PyObject * obj1 = 0 ;
19007 char * kwnames[] = {
19008 (char *) "self",(char *) "allowSymbols", NULL
19009 };
19010
19011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
19012 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19013 if (!SWIG_IsOK(res1)) {
19014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19015 }
19016 arg1 = reinterpret_cast< wxFontData * >(argp1);
19017 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19018 if (!SWIG_IsOK(ecode2)) {
19019 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19020 }
19021 arg2 = static_cast< bool >(val2);
19022 {
19023 PyThreadState* __tstate = wxPyBeginAllowThreads();
19024 (arg1)->SetAllowSymbols(arg2);
19025 wxPyEndAllowThreads(__tstate);
19026 if (PyErr_Occurred()) SWIG_fail;
19027 }
19028 resultobj = SWIG_Py_Void();
19029 return resultobj;
19030fail:
19031 return NULL;
19032}
19033
19034
19035SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19036 PyObject *resultobj = 0;
19037 wxFontData *arg1 = (wxFontData *) 0 ;
19038 wxFont *arg2 = 0 ;
19039 void *argp1 = 0 ;
19040 int res1 = 0 ;
19041 void *argp2 = 0 ;
19042 int res2 = 0 ;
19043 PyObject * obj0 = 0 ;
19044 PyObject * obj1 = 0 ;
19045 char * kwnames[] = {
19046 (char *) "self",(char *) "font", NULL
19047 };
19048
19049 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
19050 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19051 if (!SWIG_IsOK(res1)) {
19052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19053 }
19054 arg1 = reinterpret_cast< wxFontData * >(argp1);
19055 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19056 if (!SWIG_IsOK(res2)) {
19057 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19058 }
19059 if (!argp2) {
19060 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19061 }
19062 arg2 = reinterpret_cast< wxFont * >(argp2);
19063 {
19064 PyThreadState* __tstate = wxPyBeginAllowThreads();
19065 (arg1)->SetChosenFont((wxFont const &)*arg2);
19066 wxPyEndAllowThreads(__tstate);
19067 if (PyErr_Occurred()) SWIG_fail;
19068 }
19069 resultobj = SWIG_Py_Void();
19070 return resultobj;
19071fail:
19072 return NULL;
19073}
19074
19075
19076SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19077 PyObject *resultobj = 0;
19078 wxFontData *arg1 = (wxFontData *) 0 ;
19079 wxColour *arg2 = 0 ;
19080 void *argp1 = 0 ;
19081 int res1 = 0 ;
19082 wxColour temp2 ;
19083 PyObject * obj0 = 0 ;
19084 PyObject * obj1 = 0 ;
19085 char * kwnames[] = {
19086 (char *) "self",(char *) "colour", NULL
19087 };
19088
19089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
19090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19091 if (!SWIG_IsOK(res1)) {
19092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19093 }
19094 arg1 = reinterpret_cast< wxFontData * >(argp1);
19095 {
19096 arg2 = &temp2;
19097 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19098 }
19099 {
19100 PyThreadState* __tstate = wxPyBeginAllowThreads();
19101 (arg1)->SetColour((wxColour const &)*arg2);
19102 wxPyEndAllowThreads(__tstate);
19103 if (PyErr_Occurred()) SWIG_fail;
19104 }
19105 resultobj = SWIG_Py_Void();
19106 return resultobj;
19107fail:
19108 return NULL;
19109}
19110
19111
19112SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19113 PyObject *resultobj = 0;
19114 wxFontData *arg1 = (wxFontData *) 0 ;
19115 wxFont *arg2 = 0 ;
19116 void *argp1 = 0 ;
19117 int res1 = 0 ;
19118 void *argp2 = 0 ;
19119 int res2 = 0 ;
19120 PyObject * obj0 = 0 ;
19121 PyObject * obj1 = 0 ;
19122 char * kwnames[] = {
19123 (char *) "self",(char *) "font", NULL
19124 };
19125
19126 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
19127 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19128 if (!SWIG_IsOK(res1)) {
19129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19130 }
19131 arg1 = reinterpret_cast< wxFontData * >(argp1);
19132 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19133 if (!SWIG_IsOK(res2)) {
19134 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19135 }
19136 if (!argp2) {
19137 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19138 }
19139 arg2 = reinterpret_cast< wxFont * >(argp2);
19140 {
19141 PyThreadState* __tstate = wxPyBeginAllowThreads();
19142 (arg1)->SetInitialFont((wxFont const &)*arg2);
19143 wxPyEndAllowThreads(__tstate);
19144 if (PyErr_Occurred()) SWIG_fail;
19145 }
19146 resultobj = SWIG_Py_Void();
19147 return resultobj;
19148fail:
19149 return NULL;
19150}
19151
19152
19153SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19154 PyObject *resultobj = 0;
19155 wxFontData *arg1 = (wxFontData *) 0 ;
19156 int arg2 ;
19157 int arg3 ;
19158 void *argp1 = 0 ;
19159 int res1 = 0 ;
19160 int val2 ;
19161 int ecode2 = 0 ;
19162 int val3 ;
19163 int ecode3 = 0 ;
19164 PyObject * obj0 = 0 ;
19165 PyObject * obj1 = 0 ;
19166 PyObject * obj2 = 0 ;
19167 char * kwnames[] = {
19168 (char *) "self",(char *) "min",(char *) "max", NULL
19169 };
19170
19171 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19172 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19173 if (!SWIG_IsOK(res1)) {
19174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19175 }
19176 arg1 = reinterpret_cast< wxFontData * >(argp1);
19177 ecode2 = SWIG_AsVal_int(obj1, &val2);
19178 if (!SWIG_IsOK(ecode2)) {
19179 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19180 }
19181 arg2 = static_cast< int >(val2);
19182 ecode3 = SWIG_AsVal_int(obj2, &val3);
19183 if (!SWIG_IsOK(ecode3)) {
19184 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19185 }
19186 arg3 = static_cast< int >(val3);
19187 {
19188 PyThreadState* __tstate = wxPyBeginAllowThreads();
19189 (arg1)->SetRange(arg2,arg3);
19190 wxPyEndAllowThreads(__tstate);
19191 if (PyErr_Occurred()) SWIG_fail;
19192 }
19193 resultobj = SWIG_Py_Void();
19194 return resultobj;
19195fail:
19196 return NULL;
19197}
19198
19199
19200SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19201 PyObject *resultobj = 0;
19202 wxFontData *arg1 = (wxFontData *) 0 ;
19203 bool arg2 ;
19204 void *argp1 = 0 ;
19205 int res1 = 0 ;
19206 bool val2 ;
19207 int ecode2 = 0 ;
19208 PyObject * obj0 = 0 ;
19209 PyObject * obj1 = 0 ;
19210 char * kwnames[] = {
19211 (char *) "self",(char *) "showHelp", NULL
19212 };
19213
19214 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
19215 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19216 if (!SWIG_IsOK(res1)) {
19217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19218 }
19219 arg1 = reinterpret_cast< wxFontData * >(argp1);
19220 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19221 if (!SWIG_IsOK(ecode2)) {
19222 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19223 }
19224 arg2 = static_cast< bool >(val2);
19225 {
19226 PyThreadState* __tstate = wxPyBeginAllowThreads();
19227 (arg1)->SetShowHelp(arg2);
19228 wxPyEndAllowThreads(__tstate);
19229 if (PyErr_Occurred()) SWIG_fail;
19230 }
19231 resultobj = SWIG_Py_Void();
19232 return resultobj;
19233fail:
19234 return NULL;
d55e5bfc
RD
19235}
19236
19237
554f62e9
RD
19238SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19239 PyObject *obj;
19240 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19241 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19242 return SWIG_Py_Void();
d55e5bfc
RD
19243}
19244
554f62e9
RD
19245SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19246 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
19247}
19248
554f62e9
RD
19249SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19250 PyObject *resultobj = 0;
19251 wxWindow *arg1 = (wxWindow *) 0 ;
19252 wxFontData *arg2 = 0 ;
19253 wxFontDialog *result = 0 ;
19254 void *argp1 = 0 ;
19255 int res1 = 0 ;
19256 void *argp2 = 0 ;
19257 int res2 = 0 ;
19258 PyObject * obj0 = 0 ;
19259 PyObject * obj1 = 0 ;
19260 char * kwnames[] = {
19261 (char *) "parent",(char *) "data", NULL
19262 };
19263
19264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19266 if (!SWIG_IsOK(res1)) {
19267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19268 }
19269 arg1 = reinterpret_cast< wxWindow * >(argp1);
19270 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19271 if (!SWIG_IsOK(res2)) {
19272 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19273 }
19274 if (!argp2) {
19275 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19276 }
19277 arg2 = reinterpret_cast< wxFontData * >(argp2);
19278 {
19279 if (!wxPyCheckForApp()) SWIG_fail;
19280 PyThreadState* __tstate = wxPyBeginAllowThreads();
19281 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19282 wxPyEndAllowThreads(__tstate);
19283 if (PyErr_Occurred()) SWIG_fail;
19284 }
19285 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19286 return resultobj;
19287fail:
19288 return NULL;
d55e5bfc
RD
19289}
19290
19291
554f62e9
RD
19292SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19293 PyObject *resultobj = 0;
19294 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19295 wxFontData *result = 0 ;
19296 void *argp1 = 0 ;
19297 int res1 = 0 ;
19298 PyObject *swig_obj[1] ;
19299
19300 if (!args) SWIG_fail;
19301 swig_obj[0] = args;
19302 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19303 if (!SWIG_IsOK(res1)) {
19304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19305 }
19306 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19307 {
19308 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 19309 {
554f62e9
RD
19310 wxFontData &_result_ref = (arg1)->GetFontData();
19311 result = (wxFontData *) &_result_ref;
d55e5bfc 19312 }
554f62e9
RD
19313 wxPyEndAllowThreads(__tstate);
19314 if (PyErr_Occurred()) SWIG_fail;
19315 }
19316 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19317 return resultobj;
19318fail:
19319 return NULL;
19320}
19321
19322
19323SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19324 PyObject *obj;
19325 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19326 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19327 return SWIG_Py_Void();
19328}
19329
19330SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19331 return SWIG_Python_InitShadowInstance(args);
19332}
19333
19334SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19335 PyObject *resultobj = 0;
19336 wxWindow *arg1 = (wxWindow *) NULL ;
19337 wxFont const &arg2_defvalue = wxNullFont ;
19338 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19339 wxString const &arg3_defvalue = wxPyEmptyString ;
19340 wxString *arg3 = (wxString *) &arg3_defvalue ;
19341 wxFont result;
19342 void *argp1 = 0 ;
19343 int res1 = 0 ;
19344 void *argp2 = 0 ;
19345 int res2 = 0 ;
19346 bool temp3 = false ;
19347 PyObject * obj0 = 0 ;
19348 PyObject * obj1 = 0 ;
19349 PyObject * obj2 = 0 ;
19350 char * kwnames[] = {
19351 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19352 };
19353
19354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19355 if (obj0) {
19356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19357 if (!SWIG_IsOK(res1)) {
19358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
093d3ff1 19359 }
554f62e9
RD
19360 arg1 = reinterpret_cast< wxWindow * >(argp1);
19361 }
19362 if (obj1) {
19363 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19364 if (!SWIG_IsOK(res2)) {
19365 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
093d3ff1 19366 }
554f62e9
RD
19367 if (!argp2) {
19368 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
d55e5bfc 19369 }
554f62e9
RD
19370 arg2 = reinterpret_cast< wxFont * >(argp2);
19371 }
19372 if (obj2) {
d55e5bfc 19373 {
554f62e9
RD
19374 arg3 = wxString_in_helper(obj2);
19375 if (arg3 == NULL) SWIG_fail;
19376 temp3 = true;
d55e5bfc 19377 }
554f62e9
RD
19378 }
19379 {
19380 PyThreadState* __tstate = wxPyBeginAllowThreads();
19381 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19382 wxPyEndAllowThreads(__tstate);
19383 if (PyErr_Occurred()) SWIG_fail;
19384 }
19385 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19386 {
19387 if (temp3)
19388 delete arg3;
19389 }
19390 return resultobj;
19391fail:
19392 {
19393 if (temp3)
19394 delete arg3;
19395 }
19396 return NULL;
19397}
19398
19399
19400SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19401 PyObject *resultobj = 0;
19402 wxWindow *arg1 = (wxWindow *) 0 ;
19403 wxString *arg2 = 0 ;
19404 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19405 wxString *arg3 = (wxString *) &arg3_defvalue ;
19406 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19407 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19408 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19409 wxMessageDialog *result = 0 ;
19410 void *argp1 = 0 ;
19411 int res1 = 0 ;
19412 bool temp2 = false ;
19413 bool temp3 = false ;
19414 long val4 ;
19415 int ecode4 = 0 ;
19416 wxPoint temp5 ;
19417 PyObject * obj0 = 0 ;
19418 PyObject * obj1 = 0 ;
19419 PyObject * obj2 = 0 ;
19420 PyObject * obj3 = 0 ;
19421 PyObject * obj4 = 0 ;
19422 char * kwnames[] = {
19423 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19424 };
19425
19426 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19427 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19428 if (!SWIG_IsOK(res1)) {
19429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19430 }
19431 arg1 = reinterpret_cast< wxWindow * >(argp1);
19432 {
19433 arg2 = wxString_in_helper(obj1);
19434 if (arg2 == NULL) SWIG_fail;
19435 temp2 = true;
19436 }
19437 if (obj2) {
093d3ff1 19438 {
554f62e9
RD
19439 arg3 = wxString_in_helper(obj2);
19440 if (arg3 == NULL) SWIG_fail;
19441 temp3 = true;
093d3ff1 19442 }
554f62e9
RD
19443 }
19444 if (obj3) {
19445 ecode4 = SWIG_AsVal_long(obj3, &val4);
19446 if (!SWIG_IsOK(ecode4)) {
19447 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19448 }
19449 arg4 = static_cast< long >(val4);
19450 }
19451 if (obj4) {
d55e5bfc 19452 {
554f62e9
RD
19453 arg5 = &temp5;
19454 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19455 }
19456 }
19457 {
19458 if (!wxPyCheckForApp()) SWIG_fail;
19459 PyThreadState* __tstate = wxPyBeginAllowThreads();
19460 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19461 wxPyEndAllowThreads(__tstate);
19462 if (PyErr_Occurred()) SWIG_fail;
19463 }
19464 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19465 {
19466 if (temp2)
19467 delete arg2;
19468 }
19469 {
19470 if (temp3)
19471 delete arg3;
19472 }
19473 return resultobj;
19474fail:
19475 {
19476 if (temp2)
19477 delete arg2;
19478 }
19479 {
19480 if (temp3)
19481 delete arg3;
19482 }
19483 return NULL;
19484}
19485
19486
19487SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19488 PyObject *obj;
19489 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19490 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19491 return SWIG_Py_Void();
19492}
19493
19494SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19495 return SWIG_Python_InitShadowInstance(args);
19496}
19497
19498SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19499 PyObject *resultobj = 0;
19500 wxString *arg1 = 0 ;
19501 wxString *arg2 = 0 ;
19502 int arg3 = (int) 100 ;
19503 wxWindow *arg4 = (wxWindow *) NULL ;
19504 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19505 wxProgressDialog *result = 0 ;
19506 bool temp1 = false ;
19507 bool temp2 = false ;
19508 int val3 ;
19509 int ecode3 = 0 ;
19510 void *argp4 = 0 ;
19511 int res4 = 0 ;
19512 int val5 ;
19513 int ecode5 = 0 ;
19514 PyObject * obj0 = 0 ;
19515 PyObject * obj1 = 0 ;
19516 PyObject * obj2 = 0 ;
19517 PyObject * obj3 = 0 ;
19518 PyObject * obj4 = 0 ;
19519 char * kwnames[] = {
19520 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19521 };
19522
19523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19524 {
19525 arg1 = wxString_in_helper(obj0);
19526 if (arg1 == NULL) SWIG_fail;
19527 temp1 = true;
19528 }
19529 {
19530 arg2 = wxString_in_helper(obj1);
19531 if (arg2 == NULL) SWIG_fail;
19532 temp2 = true;
19533 }
19534 if (obj2) {
19535 ecode3 = SWIG_AsVal_int(obj2, &val3);
19536 if (!SWIG_IsOK(ecode3)) {
19537 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19538 }
19539 arg3 = static_cast< int >(val3);
19540 }
19541 if (obj3) {
19542 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19543 if (!SWIG_IsOK(res4)) {
19544 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
d55e5bfc 19545 }
554f62e9
RD
19546 arg4 = reinterpret_cast< wxWindow * >(argp4);
19547 }
19548 if (obj4) {
19549 ecode5 = SWIG_AsVal_int(obj4, &val5);
19550 if (!SWIG_IsOK(ecode5)) {
19551 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19552 }
19553 arg5 = static_cast< int >(val5);
19554 }
19555 {
19556 if (!wxPyCheckForApp()) SWIG_fail;
19557 PyThreadState* __tstate = wxPyBeginAllowThreads();
19558 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19559 wxPyEndAllowThreads(__tstate);
19560 if (PyErr_Occurred()) SWIG_fail;
19561 }
19562 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19563 {
19564 if (temp1)
19565 delete arg1;
19566 }
19567 {
19568 if (temp2)
19569 delete arg2;
19570 }
19571 return resultobj;
19572fail:
19573 {
19574 if (temp1)
19575 delete arg1;
19576 }
19577 {
19578 if (temp2)
19579 delete arg2;
19580 }
19581 return NULL;
19582}
19583
19584
19585SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19586 PyObject *resultobj = 0;
19587 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19588 int arg2 ;
19589 wxString const &arg3_defvalue = wxPyEmptyString ;
19590 wxString *arg3 = (wxString *) &arg3_defvalue ;
f460c29d 19591 bool *arg4 = (bool *) 0 ;
554f62e9
RD
19592 bool result;
19593 void *argp1 = 0 ;
19594 int res1 = 0 ;
19595 int val2 ;
19596 int ecode2 = 0 ;
19597 bool temp3 = false ;
f460c29d
RD
19598 bool temp4 ;
19599 int res4 = SWIG_TMPOBJ ;
554f62e9
RD
19600 PyObject * obj0 = 0 ;
19601 PyObject * obj1 = 0 ;
19602 PyObject * obj2 = 0 ;
19603 char * kwnames[] = {
19604 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19605 };
19606
f460c29d 19607 arg4 = &temp4;
554f62e9
RD
19608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19610 if (!SWIG_IsOK(res1)) {
19611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19612 }
19613 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19614 ecode2 = SWIG_AsVal_int(obj1, &val2);
19615 if (!SWIG_IsOK(ecode2)) {
19616 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19617 }
19618 arg2 = static_cast< int >(val2);
19619 if (obj2) {
d55e5bfc 19620 {
554f62e9
RD
19621 arg3 = wxString_in_helper(obj2);
19622 if (arg3 == NULL) SWIG_fail;
19623 temp3 = true;
d55e5bfc 19624 }
554f62e9
RD
19625 }
19626 {
19627 PyThreadState* __tstate = wxPyBeginAllowThreads();
f460c29d 19628 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
554f62e9
RD
19629 wxPyEndAllowThreads(__tstate);
19630 if (PyErr_Occurred()) SWIG_fail;
19631 }
19632 {
19633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19634 }
f460c29d
RD
19635 if (SWIG_IsTmpObj(res4)) {
19636 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19637 } else {
19638 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19639 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19640 }
554f62e9
RD
19641 {
19642 if (temp3)
19643 delete arg3;
19644 }
19645 return resultobj;
19646fail:
19647 {
19648 if (temp3)
19649 delete arg3;
19650 }
19651 return NULL;
d55e5bfc
RD
19652}
19653
19654
6b449b19 19655SWIGINTERN PyObject *_wrap_ProgressDialog_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0d2c9713
RD
19656 PyObject *resultobj = 0;
19657 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19658 wxString const &arg2_defvalue = wxPyEmptyString ;
19659 wxString *arg2 = (wxString *) &arg2_defvalue ;
19660 bool *arg3 = (bool *) 0 ;
19661 bool result;
19662 void *argp1 = 0 ;
19663 int res1 = 0 ;
19664 bool temp2 = false ;
19665 bool temp3 ;
19666 int res3 = SWIG_TMPOBJ ;
19667 PyObject * obj0 = 0 ;
19668 PyObject * obj1 = 0 ;
19669 char * kwnames[] = {
19670 (char *) "self",(char *) "newmsg", NULL
19671 };
19672
19673 arg3 = &temp3;
6b449b19 19674 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_Pulse",kwnames,&obj0,&obj1)) SWIG_fail;
0d2c9713
RD
19675 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19676 if (!SWIG_IsOK(res1)) {
6b449b19 19677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
0d2c9713
RD
19678 }
19679 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19680 if (obj1) {
19681 {
19682 arg2 = wxString_in_helper(obj1);
19683 if (arg2 == NULL) SWIG_fail;
19684 temp2 = true;
19685 }
19686 }
19687 {
19688 PyThreadState* __tstate = wxPyBeginAllowThreads();
6b449b19 19689 result = (bool)(arg1)->Pulse((wxString const &)*arg2,arg3);
0d2c9713
RD
19690 wxPyEndAllowThreads(__tstate);
19691 if (PyErr_Occurred()) SWIG_fail;
19692 }
19693 {
19694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19695 }
19696 if (SWIG_IsTmpObj(res3)) {
19697 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg3)));
19698 } else {
19699 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19700 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_bool, new_flags));
19701 }
19702 {
19703 if (temp2)
19704 delete arg2;
19705 }
19706 return resultobj;
19707fail:
19708 {
19709 if (temp2)
19710 delete arg2;
19711 }
19712 return NULL;
19713}
19714
19715
554f62e9
RD
19716SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19717 PyObject *resultobj = 0;
19718 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19719 void *argp1 = 0 ;
19720 int res1 = 0 ;
19721 PyObject *swig_obj[1] ;
19722
19723 if (!args) SWIG_fail;
19724 swig_obj[0] = args;
19725 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19726 if (!SWIG_IsOK(res1)) {
19727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19728 }
19729 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19730 {
19731 PyThreadState* __tstate = wxPyBeginAllowThreads();
19732 (arg1)->Resume();
19733 wxPyEndAllowThreads(__tstate);
19734 if (PyErr_Occurred()) SWIG_fail;
19735 }
19736 resultobj = SWIG_Py_Void();
19737 return resultobj;
19738fail:
19739 return NULL;
d55e5bfc
RD
19740}
19741
19742
554f62e9
RD
19743SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19744 PyObject *obj;
19745 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19746 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19747 return SWIG_Py_Void();
d55e5bfc
RD
19748}
19749
554f62e9
RD
19750SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19751 return SWIG_Python_InitShadowInstance(args);
19752}
d55e5bfc 19753
554f62e9
RD
19754SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19755 PyObject *resultobj = 0;
19756 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19757 int arg2 = (int) 0 ;
19758 wxFindDialogEvent *result = 0 ;
19759 int val1 ;
19760 int ecode1 = 0 ;
19761 int val2 ;
19762 int ecode2 = 0 ;
19763 PyObject * obj0 = 0 ;
19764 PyObject * obj1 = 0 ;
19765 char * kwnames[] = {
19766 (char *) "commandType",(char *) "id", NULL
19767 };
19768
19769 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19770 if (obj0) {
19771 ecode1 = SWIG_AsVal_int(obj0, &val1);
19772 if (!SWIG_IsOK(ecode1)) {
19773 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19774 }
19775 arg1 = static_cast< wxEventType >(val1);
19776 }
19777 if (obj1) {
19778 ecode2 = SWIG_AsVal_int(obj1, &val2);
19779 if (!SWIG_IsOK(ecode2)) {
19780 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19781 }
19782 arg2 = static_cast< int >(val2);
19783 }
19784 {
19785 PyThreadState* __tstate = wxPyBeginAllowThreads();
19786 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19787 wxPyEndAllowThreads(__tstate);
19788 if (PyErr_Occurred()) SWIG_fail;
19789 }
19790 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19791 return resultobj;
19792fail:
19793 return NULL;
d55e5bfc
RD
19794}
19795
19796
554f62e9
RD
19797SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19798 PyObject *resultobj = 0;
19799 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19800 int result;
19801 void *argp1 = 0 ;
19802 int res1 = 0 ;
19803 PyObject *swig_obj[1] ;
19804
19805 if (!args) SWIG_fail;
19806 swig_obj[0] = args;
19807 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19808 if (!SWIG_IsOK(res1)) {
19809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19810 }
19811 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19812 {
19813 PyThreadState* __tstate = wxPyBeginAllowThreads();
19814 result = (int)(arg1)->GetFlags();
19815 wxPyEndAllowThreads(__tstate);
19816 if (PyErr_Occurred()) SWIG_fail;
19817 }
19818 resultobj = SWIG_From_int(static_cast< int >(result));
19819 return resultobj;
19820fail:
19821 return NULL;
d55e5bfc
RD
19822}
19823
19824
554f62e9
RD
19825SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19826 PyObject *resultobj = 0;
19827 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19828 wxString *result = 0 ;
19829 void *argp1 = 0 ;
19830 int res1 = 0 ;
19831 PyObject *swig_obj[1] ;
19832
19833 if (!args) SWIG_fail;
19834 swig_obj[0] = args;
19835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19836 if (!SWIG_IsOK(res1)) {
19837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19838 }
19839 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19840 {
19841 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 19842 {
554f62e9
RD
19843 wxString const &_result_ref = (arg1)->GetFindString();
19844 result = (wxString *) &_result_ref;
d55e5bfc 19845 }
554f62e9
RD
19846 wxPyEndAllowThreads(__tstate);
19847 if (PyErr_Occurred()) SWIG_fail;
19848 }
19849 {
19850#if wxUSE_UNICODE
19851 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19852#else
19853 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19854#endif
19855 }
19856 return resultobj;
19857fail:
19858 return NULL;
d55e5bfc
RD
19859}
19860
19861
554f62e9
RD
19862SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19863 PyObject *resultobj = 0;
19864 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19865 wxString *result = 0 ;
19866 void *argp1 = 0 ;
19867 int res1 = 0 ;
19868 PyObject *swig_obj[1] ;
19869
19870 if (!args) SWIG_fail;
19871 swig_obj[0] = args;
19872 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19873 if (!SWIG_IsOK(res1)) {
19874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19875 }
19876 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19877 {
19878 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 19879 {
554f62e9
RD
19880 wxString const &_result_ref = (arg1)->GetReplaceString();
19881 result = (wxString *) &_result_ref;
093d3ff1 19882 }
554f62e9
RD
19883 wxPyEndAllowThreads(__tstate);
19884 if (PyErr_Occurred()) SWIG_fail;
19885 }
19886 {
19887#if wxUSE_UNICODE
19888 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19889#else
19890 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19891#endif
19892 }
19893 return resultobj;
19894fail:
19895 return NULL;
d55e5bfc
RD
19896}
19897
19898
554f62e9
RD
19899SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19900 PyObject *resultobj = 0;
19901 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19902 wxFindReplaceDialog *result = 0 ;
19903 void *argp1 = 0 ;
19904 int res1 = 0 ;
19905 PyObject *swig_obj[1] ;
19906
19907 if (!args) SWIG_fail;
19908 swig_obj[0] = args;
19909 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19910 if (!SWIG_IsOK(res1)) {
19911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19912 }
19913 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19914 {
19915 PyThreadState* __tstate = wxPyBeginAllowThreads();
19916 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19917 wxPyEndAllowThreads(__tstate);
19918 if (PyErr_Occurred()) SWIG_fail;
19919 }
19920 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19921 return resultobj;
19922fail:
19923 return NULL;
19924}
19925
19926
19927SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19928 PyObject *resultobj = 0;
19929 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19930 int arg2 ;
19931 void *argp1 = 0 ;
19932 int res1 = 0 ;
19933 int val2 ;
19934 int ecode2 = 0 ;
19935 PyObject * obj0 = 0 ;
19936 PyObject * obj1 = 0 ;
19937 char * kwnames[] = {
19938 (char *) "self",(char *) "flags", NULL
19939 };
19940
19941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19943 if (!SWIG_IsOK(res1)) {
19944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19945 }
19946 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19947 ecode2 = SWIG_AsVal_int(obj1, &val2);
19948 if (!SWIG_IsOK(ecode2)) {
19949 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19950 }
19951 arg2 = static_cast< int >(val2);
19952 {
19953 PyThreadState* __tstate = wxPyBeginAllowThreads();
19954 (arg1)->SetFlags(arg2);
19955 wxPyEndAllowThreads(__tstate);
19956 if (PyErr_Occurred()) SWIG_fail;
19957 }
19958 resultobj = SWIG_Py_Void();
19959 return resultobj;
19960fail:
19961 return NULL;
19962}
19963
19964
19965SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19966 PyObject *resultobj = 0;
19967 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19968 wxString *arg2 = 0 ;
19969 void *argp1 = 0 ;
19970 int res1 = 0 ;
19971 bool temp2 = false ;
19972 PyObject * obj0 = 0 ;
19973 PyObject * obj1 = 0 ;
19974 char * kwnames[] = {
19975 (char *) "self",(char *) "str", NULL
19976 };
19977
19978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19980 if (!SWIG_IsOK(res1)) {
19981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19982 }
19983 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19984 {
19985 arg2 = wxString_in_helper(obj1);
19986 if (arg2 == NULL) SWIG_fail;
19987 temp2 = true;
19988 }
19989 {
19990 PyThreadState* __tstate = wxPyBeginAllowThreads();
19991 (arg1)->SetFindString((wxString const &)*arg2);
19992 wxPyEndAllowThreads(__tstate);
19993 if (PyErr_Occurred()) SWIG_fail;
19994 }
19995 resultobj = SWIG_Py_Void();
19996 {
19997 if (temp2)
19998 delete arg2;
19999 }
20000 return resultobj;
20001fail:
20002 {
20003 if (temp2)
20004 delete arg2;
20005 }
20006 return NULL;
d55e5bfc
RD
20007}
20008
20009
554f62e9
RD
20010SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20011 PyObject *resultobj = 0;
20012 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20013 wxString *arg2 = 0 ;
20014 void *argp1 = 0 ;
20015 int res1 = 0 ;
20016 bool temp2 = false ;
20017 PyObject * obj0 = 0 ;
20018 PyObject * obj1 = 0 ;
20019 char * kwnames[] = {
20020 (char *) "self",(char *) "str", NULL
20021 };
20022
20023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20025 if (!SWIG_IsOK(res1)) {
20026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20027 }
20028 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20029 {
20030 arg2 = wxString_in_helper(obj1);
20031 if (arg2 == NULL) SWIG_fail;
20032 temp2 = true;
20033 }
20034 {
20035 PyThreadState* __tstate = wxPyBeginAllowThreads();
20036 (arg1)->SetReplaceString((wxString const &)*arg2);
20037 wxPyEndAllowThreads(__tstate);
20038 if (PyErr_Occurred()) SWIG_fail;
20039 }
20040 resultobj = SWIG_Py_Void();
20041 {
20042 if (temp2)
20043 delete arg2;
20044 }
20045 return resultobj;
20046fail:
20047 {
20048 if (temp2)
20049 delete arg2;
20050 }
20051 return NULL;
d55e5bfc
RD
20052}
20053
20054
554f62e9
RD
20055SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20056 PyObject *obj;
20057 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20058 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
20059 return SWIG_Py_Void();
d55e5bfc
RD
20060}
20061
554f62e9
RD
20062SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20063 return SWIG_Python_InitShadowInstance(args);
20064}
d55e5bfc 20065
554f62e9
RD
20066SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20067 PyObject *resultobj = 0;
20068 int arg1 = (int) 0 ;
20069 wxFindReplaceData *result = 0 ;
20070 int val1 ;
20071 int ecode1 = 0 ;
20072 PyObject * obj0 = 0 ;
20073 char * kwnames[] = {
20074 (char *) "flags", NULL
20075 };
20076
20077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
20078 if (obj0) {
20079 ecode1 = SWIG_AsVal_int(obj0, &val1);
20080 if (!SWIG_IsOK(ecode1)) {
20081 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20082 }
20083 arg1 = static_cast< int >(val1);
20084 }
20085 {
20086 PyThreadState* __tstate = wxPyBeginAllowThreads();
20087 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
20088 wxPyEndAllowThreads(__tstate);
20089 if (PyErr_Occurred()) SWIG_fail;
20090 }
20091 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
20092 return resultobj;
20093fail:
20094 return NULL;
d55e5bfc
RD
20095}
20096
20097
554f62e9
RD
20098SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20099 PyObject *resultobj = 0;
20100 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20101 void *argp1 = 0 ;
20102 int res1 = 0 ;
20103 PyObject *swig_obj[1] ;
20104
20105 if (!args) SWIG_fail;
20106 swig_obj[0] = args;
20107 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
20108 if (!SWIG_IsOK(res1)) {
20109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20110 }
20111 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20112 {
20113 PyThreadState* __tstate = wxPyBeginAllowThreads();
20114 delete arg1;
d55e5bfc 20115
554f62e9
RD
20116 wxPyEndAllowThreads(__tstate);
20117 if (PyErr_Occurred()) SWIG_fail;
20118 }
20119 resultobj = SWIG_Py_Void();
20120 return resultobj;
20121fail:
20122 return NULL;
d55e5bfc
RD
20123}
20124
20125
554f62e9
RD
20126SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20127 PyObject *resultobj = 0;
20128 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20129 wxString *result = 0 ;
20130 void *argp1 = 0 ;
20131 int res1 = 0 ;
20132 PyObject *swig_obj[1] ;
20133
20134 if (!args) SWIG_fail;
20135 swig_obj[0] = args;
20136 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20137 if (!SWIG_IsOK(res1)) {
20138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20139 }
20140 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20141 {
20142 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 20143 {
554f62e9
RD
20144 wxString const &_result_ref = (arg1)->GetFindString();
20145 result = (wxString *) &_result_ref;
d55e5bfc 20146 }
554f62e9
RD
20147 wxPyEndAllowThreads(__tstate);
20148 if (PyErr_Occurred()) SWIG_fail;
20149 }
20150 {
20151#if wxUSE_UNICODE
20152 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20153#else
20154 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20155#endif
20156 }
20157 return resultobj;
20158fail:
20159 return NULL;
d55e5bfc
RD
20160}
20161
20162
554f62e9
RD
20163SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20164 PyObject *resultobj = 0;
20165 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20166 wxString *result = 0 ;
20167 void *argp1 = 0 ;
20168 int res1 = 0 ;
20169 PyObject *swig_obj[1] ;
20170
20171 if (!args) SWIG_fail;
20172 swig_obj[0] = args;
20173 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20174 if (!SWIG_IsOK(res1)) {
20175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20176 }
20177 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20178 {
20179 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 20180 {
554f62e9
RD
20181 wxString const &_result_ref = (arg1)->GetReplaceString();
20182 result = (wxString *) &_result_ref;
d55e5bfc 20183 }
554f62e9
RD
20184 wxPyEndAllowThreads(__tstate);
20185 if (PyErr_Occurred()) SWIG_fail;
20186 }
20187 {
20188#if wxUSE_UNICODE
20189 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20190#else
20191 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20192#endif
20193 }
20194 return resultobj;
20195fail:
20196 return NULL;
d55e5bfc
RD
20197}
20198
20199
554f62e9
RD
20200SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20201 PyObject *resultobj = 0;
20202 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20203 int result;
20204 void *argp1 = 0 ;
20205 int res1 = 0 ;
20206 PyObject *swig_obj[1] ;
20207
20208 if (!args) SWIG_fail;
20209 swig_obj[0] = args;
20210 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20211 if (!SWIG_IsOK(res1)) {
20212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20213 }
20214 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20215 {
20216 PyThreadState* __tstate = wxPyBeginAllowThreads();
20217 result = (int)(arg1)->GetFlags();
20218 wxPyEndAllowThreads(__tstate);
20219 if (PyErr_Occurred()) SWIG_fail;
20220 }
20221 resultobj = SWIG_From_int(static_cast< int >(result));
20222 return resultobj;
20223fail:
20224 return NULL;
20225}
20226
20227
20228SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20229 PyObject *resultobj = 0;
20230 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20231 int arg2 ;
20232 void *argp1 = 0 ;
20233 int res1 = 0 ;
20234 int val2 ;
20235 int ecode2 = 0 ;
20236 PyObject * obj0 = 0 ;
20237 PyObject * obj1 = 0 ;
20238 char * kwnames[] = {
20239 (char *) "self",(char *) "flags", NULL
20240 };
20241
20242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20244 if (!SWIG_IsOK(res1)) {
20245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20246 }
20247 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20248 ecode2 = SWIG_AsVal_int(obj1, &val2);
20249 if (!SWIG_IsOK(ecode2)) {
20250 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20251 }
20252 arg2 = static_cast< int >(val2);
20253 {
20254 PyThreadState* __tstate = wxPyBeginAllowThreads();
20255 (arg1)->SetFlags(arg2);
20256 wxPyEndAllowThreads(__tstate);
20257 if (PyErr_Occurred()) SWIG_fail;
20258 }
20259 resultobj = SWIG_Py_Void();
20260 return resultobj;
20261fail:
20262 return NULL;
20263}
20264
20265
20266SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20267 PyObject *resultobj = 0;
20268 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20269 wxString *arg2 = 0 ;
20270 void *argp1 = 0 ;
20271 int res1 = 0 ;
20272 bool temp2 = false ;
20273 PyObject * obj0 = 0 ;
20274 PyObject * obj1 = 0 ;
20275 char * kwnames[] = {
20276 (char *) "self",(char *) "str", NULL
20277 };
20278
20279 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20280 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20281 if (!SWIG_IsOK(res1)) {
20282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20283 }
20284 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20285 {
20286 arg2 = wxString_in_helper(obj1);
20287 if (arg2 == NULL) SWIG_fail;
20288 temp2 = true;
20289 }
20290 {
20291 PyThreadState* __tstate = wxPyBeginAllowThreads();
20292 (arg1)->SetFindString((wxString const &)*arg2);
20293 wxPyEndAllowThreads(__tstate);
20294 if (PyErr_Occurred()) SWIG_fail;
20295 }
20296 resultobj = SWIG_Py_Void();
20297 {
20298 if (temp2)
20299 delete arg2;
20300 }
20301 return resultobj;
20302fail:
20303 {
20304 if (temp2)
20305 delete arg2;
20306 }
20307 return NULL;
d55e5bfc
RD
20308}
20309
20310
554f62e9
RD
20311SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20312 PyObject *resultobj = 0;
20313 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20314 wxString *arg2 = 0 ;
20315 void *argp1 = 0 ;
20316 int res1 = 0 ;
20317 bool temp2 = false ;
20318 PyObject * obj0 = 0 ;
20319 PyObject * obj1 = 0 ;
20320 char * kwnames[] = {
20321 (char *) "self",(char *) "str", NULL
20322 };
20323
20324 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20325 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20326 if (!SWIG_IsOK(res1)) {
20327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20328 }
20329 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20330 {
20331 arg2 = wxString_in_helper(obj1);
20332 if (arg2 == NULL) SWIG_fail;
20333 temp2 = true;
20334 }
20335 {
20336 PyThreadState* __tstate = wxPyBeginAllowThreads();
20337 (arg1)->SetReplaceString((wxString const &)*arg2);
20338 wxPyEndAllowThreads(__tstate);
20339 if (PyErr_Occurred()) SWIG_fail;
20340 }
20341 resultobj = SWIG_Py_Void();
20342 {
20343 if (temp2)
20344 delete arg2;
20345 }
20346 return resultobj;
20347fail:
20348 {
20349 if (temp2)
20350 delete arg2;
20351 }
20352 return NULL;
20353}
20354
20355
20356SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20357 PyObject *obj;
20358 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20359 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20360 return SWIG_Py_Void();
20361}
20362
20363SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20364 return SWIG_Python_InitShadowInstance(args);
20365}
20366
20367SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20368 PyObject *resultobj = 0;
20369 wxWindow *arg1 = (wxWindow *) 0 ;
20370 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20371 wxString *arg3 = 0 ;
20372 int arg4 = (int) 0 ;
20373 wxFindReplaceDialog *result = 0 ;
20374 void *argp1 = 0 ;
20375 int res1 = 0 ;
20376 void *argp2 = 0 ;
20377 int res2 = 0 ;
20378 bool temp3 = false ;
20379 int val4 ;
20380 int ecode4 = 0 ;
20381 PyObject * obj0 = 0 ;
20382 PyObject * obj1 = 0 ;
20383 PyObject * obj2 = 0 ;
20384 PyObject * obj3 = 0 ;
20385 char * kwnames[] = {
20386 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20387 };
20388
20389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20390 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20391 if (!SWIG_IsOK(res1)) {
20392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20393 }
20394 arg1 = reinterpret_cast< wxWindow * >(argp1);
20395 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20396 if (!SWIG_IsOK(res2)) {
20397 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20398 }
20399 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20400 {
20401 arg3 = wxString_in_helper(obj2);
20402 if (arg3 == NULL) SWIG_fail;
20403 temp3 = true;
20404 }
20405 if (obj3) {
20406 ecode4 = SWIG_AsVal_int(obj3, &val4);
20407 if (!SWIG_IsOK(ecode4)) {
20408 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20409 }
20410 arg4 = static_cast< int >(val4);
20411 }
20412 {
20413 if (!wxPyCheckForApp()) SWIG_fail;
20414 PyThreadState* __tstate = wxPyBeginAllowThreads();
20415 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20416 wxPyEndAllowThreads(__tstate);
20417 if (PyErr_Occurred()) SWIG_fail;
20418 }
20419 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20420 {
20421 if (temp3)
20422 delete arg3;
20423 }
20424 return resultobj;
20425fail:
20426 {
20427 if (temp3)
20428 delete arg3;
20429 }
20430 return NULL;
d55e5bfc
RD
20431}
20432
20433
554f62e9
RD
20434SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20435 PyObject *resultobj = 0;
20436 wxFindReplaceDialog *result = 0 ;
20437
20438 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20439 {
20440 if (!wxPyCheckForApp()) SWIG_fail;
20441 PyThreadState* __tstate = wxPyBeginAllowThreads();
20442 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20443 wxPyEndAllowThreads(__tstate);
20444 if (PyErr_Occurred()) SWIG_fail;
20445 }
20446 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20447 return resultobj;
20448fail:
20449 return NULL;
20450}
20451
20452
20453SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20454 PyObject *resultobj = 0;
20455 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20456 wxWindow *arg2 = (wxWindow *) 0 ;
20457 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20458 wxString *arg4 = 0 ;
20459 int arg5 = (int) 0 ;
20460 bool result;
20461 void *argp1 = 0 ;
20462 int res1 = 0 ;
20463 void *argp2 = 0 ;
20464 int res2 = 0 ;
20465 void *argp3 = 0 ;
20466 int res3 = 0 ;
20467 bool temp4 = false ;
20468 int val5 ;
20469 int ecode5 = 0 ;
20470 PyObject * obj0 = 0 ;
20471 PyObject * obj1 = 0 ;
20472 PyObject * obj2 = 0 ;
20473 PyObject * obj3 = 0 ;
20474 PyObject * obj4 = 0 ;
20475 char * kwnames[] = {
20476 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20477 };
20478
20479 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20480 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20481 if (!SWIG_IsOK(res1)) {
20482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20483 }
20484 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20485 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20486 if (!SWIG_IsOK(res2)) {
20487 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20488 }
20489 arg2 = reinterpret_cast< wxWindow * >(argp2);
20490 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20491 if (!SWIG_IsOK(res3)) {
20492 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20493 }
20494 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20495 {
20496 arg4 = wxString_in_helper(obj3);
20497 if (arg4 == NULL) SWIG_fail;
20498 temp4 = true;
20499 }
20500 if (obj4) {
20501 ecode5 = SWIG_AsVal_int(obj4, &val5);
20502 if (!SWIG_IsOK(ecode5)) {
20503 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20504 }
20505 arg5 = static_cast< int >(val5);
20506 }
20507 {
20508 PyThreadState* __tstate = wxPyBeginAllowThreads();
20509 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20510 wxPyEndAllowThreads(__tstate);
20511 if (PyErr_Occurred()) SWIG_fail;
20512 }
20513 {
20514 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20515 }
20516 {
20517 if (temp4)
20518 delete arg4;
20519 }
20520 return resultobj;
20521fail:
20522 {
20523 if (temp4)
20524 delete arg4;
20525 }
20526 return NULL;
d55e5bfc
RD
20527}
20528
20529
554f62e9
RD
20530SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20531 PyObject *resultobj = 0;
20532 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20533 wxFindReplaceData *result = 0 ;
20534 void *argp1 = 0 ;
20535 int res1 = 0 ;
20536 PyObject *swig_obj[1] ;
20537
20538 if (!args) SWIG_fail;
20539 swig_obj[0] = args;
20540 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20541 if (!SWIG_IsOK(res1)) {
20542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20543 }
20544 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20545 {
20546 PyThreadState* __tstate = wxPyBeginAllowThreads();
20547 result = (wxFindReplaceData *)(arg1)->GetData();
20548 wxPyEndAllowThreads(__tstate);
20549 if (PyErr_Occurred()) SWIG_fail;
20550 }
20551 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20552 return resultobj;
20553fail:
20554 return NULL;
20555}
20556
20557
20558SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20559 PyObject *resultobj = 0;
20560 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20561 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20562 void *argp1 = 0 ;
20563 int res1 = 0 ;
20564 void *argp2 = 0 ;
20565 int res2 = 0 ;
20566 PyObject * obj0 = 0 ;
20567 PyObject * obj1 = 0 ;
20568 char * kwnames[] = {
20569 (char *) "self",(char *) "data", NULL
20570 };
20571
20572 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20573 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20574 if (!SWIG_IsOK(res1)) {
20575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20576 }
20577 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20578 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20579 if (!SWIG_IsOK(res2)) {
20580 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20581 }
20582 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20583 {
20584 PyThreadState* __tstate = wxPyBeginAllowThreads();
20585 (arg1)->SetData(arg2);
20586 wxPyEndAllowThreads(__tstate);
20587 if (PyErr_Occurred()) SWIG_fail;
20588 }
20589 resultobj = SWIG_Py_Void();
20590 return resultobj;
20591fail:
20592 return NULL;
20593}
20594
20595
20596SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20597 PyObject *obj;
20598 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20599 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20600 return SWIG_Py_Void();
20601}
20602
20603SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20604 return SWIG_Python_InitShadowInstance(args);
20605}
20606
20607SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20608 PyObject *resultobj = 0;
20609 wxWindow *arg1 = (wxWindow *) 0 ;
20610 int arg2 = (int) (int)-1 ;
20611 wxString const &arg3_defvalue = wxPyEmptyString ;
20612 wxString *arg3 = (wxString *) &arg3_defvalue ;
20613 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20614 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20615 wxSize const &arg5_defvalue = wxDefaultSize ;
20616 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20617 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20618 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20619 wxString *arg7 = (wxString *) &arg7_defvalue ;
20620 wxMDIParentFrame *result = 0 ;
20621 void *argp1 = 0 ;
20622 int res1 = 0 ;
20623 int val2 ;
20624 int ecode2 = 0 ;
20625 bool temp3 = false ;
20626 wxPoint temp4 ;
20627 wxSize temp5 ;
20628 long val6 ;
20629 int ecode6 = 0 ;
20630 bool temp7 = false ;
20631 PyObject * obj0 = 0 ;
20632 PyObject * obj1 = 0 ;
20633 PyObject * obj2 = 0 ;
20634 PyObject * obj3 = 0 ;
20635 PyObject * obj4 = 0 ;
20636 PyObject * obj5 = 0 ;
20637 PyObject * obj6 = 0 ;
20638 char * kwnames[] = {
20639 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20640 };
20641
20642 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20643 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20644 if (!SWIG_IsOK(res1)) {
20645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20646 }
20647 arg1 = reinterpret_cast< wxWindow * >(argp1);
20648 if (obj1) {
20649 ecode2 = SWIG_AsVal_int(obj1, &val2);
20650 if (!SWIG_IsOK(ecode2)) {
20651 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20652 }
20653 arg2 = static_cast< int >(val2);
20654 }
20655 if (obj2) {
d55e5bfc 20656 {
554f62e9
RD
20657 arg3 = wxString_in_helper(obj2);
20658 if (arg3 == NULL) SWIG_fail;
20659 temp3 = true;
d55e5bfc 20660 }
554f62e9
RD
20661 }
20662 if (obj3) {
d55e5bfc 20663 {
554f62e9
RD
20664 arg4 = &temp4;
20665 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 20666 }
554f62e9
RD
20667 }
20668 if (obj4) {
d55e5bfc 20669 {
554f62e9
RD
20670 arg5 = &temp5;
20671 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20672 }
20673 }
20674 if (obj5) {
20675 ecode6 = SWIG_AsVal_long(obj5, &val6);
20676 if (!SWIG_IsOK(ecode6)) {
20677 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20678 }
20679 arg6 = static_cast< long >(val6);
20680 }
20681 if (obj6) {
d55e5bfc 20682 {
554f62e9
RD
20683 arg7 = wxString_in_helper(obj6);
20684 if (arg7 == NULL) SWIG_fail;
20685 temp7 = true;
20686 }
20687 }
20688 {
20689 if (!wxPyCheckForApp()) SWIG_fail;
20690 PyThreadState* __tstate = wxPyBeginAllowThreads();
20691 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20692 wxPyEndAllowThreads(__tstate);
20693 if (PyErr_Occurred()) SWIG_fail;
20694 }
20695 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20696 {
20697 if (temp3)
20698 delete arg3;
20699 }
20700 {
20701 if (temp7)
20702 delete arg7;
20703 }
20704 return resultobj;
20705fail:
20706 {
20707 if (temp3)
20708 delete arg3;
20709 }
20710 {
20711 if (temp7)
20712 delete arg7;
20713 }
20714 return NULL;
d55e5bfc
RD
20715}
20716
20717
554f62e9
RD
20718SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20719 PyObject *resultobj = 0;
20720 wxMDIParentFrame *result = 0 ;
20721
20722 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20723 {
20724 if (!wxPyCheckForApp()) SWIG_fail;
20725 PyThreadState* __tstate = wxPyBeginAllowThreads();
20726 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20727 wxPyEndAllowThreads(__tstate);
20728 if (PyErr_Occurred()) SWIG_fail;
20729 }
20730 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20731 return resultobj;
20732fail:
20733 return NULL;
20734}
20735
20736
20737SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20738 PyObject *resultobj = 0;
20739 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20740 wxWindow *arg2 = (wxWindow *) 0 ;
20741 int arg3 = (int) (int)-1 ;
20742 wxString const &arg4_defvalue = wxPyEmptyString ;
20743 wxString *arg4 = (wxString *) &arg4_defvalue ;
20744 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20745 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20746 wxSize const &arg6_defvalue = wxDefaultSize ;
20747 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20748 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20749 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20750 wxString *arg8 = (wxString *) &arg8_defvalue ;
20751 bool result;
20752 void *argp1 = 0 ;
20753 int res1 = 0 ;
20754 void *argp2 = 0 ;
20755 int res2 = 0 ;
20756 int val3 ;
20757 int ecode3 = 0 ;
20758 bool temp4 = false ;
20759 wxPoint temp5 ;
20760 wxSize temp6 ;
20761 long val7 ;
20762 int ecode7 = 0 ;
20763 bool temp8 = false ;
20764 PyObject * obj0 = 0 ;
20765 PyObject * obj1 = 0 ;
20766 PyObject * obj2 = 0 ;
20767 PyObject * obj3 = 0 ;
20768 PyObject * obj4 = 0 ;
20769 PyObject * obj5 = 0 ;
20770 PyObject * obj6 = 0 ;
20771 PyObject * obj7 = 0 ;
20772 char * kwnames[] = {
20773 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20774 };
20775
20776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20778 if (!SWIG_IsOK(res1)) {
20779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20780 }
20781 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20782 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20783 if (!SWIG_IsOK(res2)) {
20784 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20785 }
20786 arg2 = reinterpret_cast< wxWindow * >(argp2);
20787 if (obj2) {
20788 ecode3 = SWIG_AsVal_int(obj2, &val3);
20789 if (!SWIG_IsOK(ecode3)) {
20790 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20791 }
20792 arg3 = static_cast< int >(val3);
20793 }
20794 if (obj3) {
d55e5bfc 20795 {
554f62e9
RD
20796 arg4 = wxString_in_helper(obj3);
20797 if (arg4 == NULL) SWIG_fail;
20798 temp4 = true;
d55e5bfc 20799 }
554f62e9
RD
20800 }
20801 if (obj4) {
d55e5bfc 20802 {
554f62e9
RD
20803 arg5 = &temp5;
20804 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 20805 }
554f62e9
RD
20806 }
20807 if (obj5) {
d55e5bfc 20808 {
554f62e9
RD
20809 arg6 = &temp6;
20810 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 20811 }
554f62e9
RD
20812 }
20813 if (obj6) {
20814 ecode7 = SWIG_AsVal_long(obj6, &val7);
20815 if (!SWIG_IsOK(ecode7)) {
20816 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20817 }
20818 arg7 = static_cast< long >(val7);
20819 }
20820 if (obj7) {
d55e5bfc 20821 {
554f62e9
RD
20822 arg8 = wxString_in_helper(obj7);
20823 if (arg8 == NULL) SWIG_fail;
20824 temp8 = true;
d55e5bfc 20825 }
554f62e9
RD
20826 }
20827 {
20828 PyThreadState* __tstate = wxPyBeginAllowThreads();
20829 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20830 wxPyEndAllowThreads(__tstate);
20831 if (PyErr_Occurred()) SWIG_fail;
20832 }
20833 {
20834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20835 }
20836 {
20837 if (temp4)
20838 delete arg4;
20839 }
20840 {
20841 if (temp8)
20842 delete arg8;
20843 }
20844 return resultobj;
20845fail:
20846 {
20847 if (temp4)
20848 delete arg4;
20849 }
20850 {
20851 if (temp8)
20852 delete arg8;
20853 }
20854 return NULL;
d55e5bfc
RD
20855}
20856
20857
554f62e9
RD
20858SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20859 PyObject *resultobj = 0;
20860 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20861 void *argp1 = 0 ;
20862 int res1 = 0 ;
20863 PyObject *swig_obj[1] ;
20864
20865 if (!args) SWIG_fail;
20866 swig_obj[0] = args;
20867 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20868 if (!SWIG_IsOK(res1)) {
20869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20870 }
20871 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20872 {
20873 PyThreadState* __tstate = wxPyBeginAllowThreads();
20874 (arg1)->ActivateNext();
20875 wxPyEndAllowThreads(__tstate);
20876 if (PyErr_Occurred()) SWIG_fail;
20877 }
20878 resultobj = SWIG_Py_Void();
20879 return resultobj;
20880fail:
20881 return NULL;
d55e5bfc
RD
20882}
20883
20884
554f62e9
RD
20885SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20886 PyObject *resultobj = 0;
20887 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20888 void *argp1 = 0 ;
20889 int res1 = 0 ;
20890 PyObject *swig_obj[1] ;
20891
20892 if (!args) SWIG_fail;
20893 swig_obj[0] = args;
20894 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20895 if (!SWIG_IsOK(res1)) {
20896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20897 }
20898 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20899 {
20900 PyThreadState* __tstate = wxPyBeginAllowThreads();
20901 (arg1)->ActivatePrevious();
20902 wxPyEndAllowThreads(__tstate);
20903 if (PyErr_Occurred()) SWIG_fail;
20904 }
20905 resultobj = SWIG_Py_Void();
20906 return resultobj;
20907fail:
20908 return NULL;
d55e5bfc
RD
20909}
20910
20911
554f62e9
RD
20912SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20913 PyObject *resultobj = 0;
20914 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20915 void *argp1 = 0 ;
20916 int res1 = 0 ;
20917 PyObject *swig_obj[1] ;
20918
20919 if (!args) SWIG_fail;
20920 swig_obj[0] = args;
20921 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20922 if (!SWIG_IsOK(res1)) {
20923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20924 }
20925 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20926 {
20927 PyThreadState* __tstate = wxPyBeginAllowThreads();
20928 (arg1)->ArrangeIcons();
20929 wxPyEndAllowThreads(__tstate);
20930 if (PyErr_Occurred()) SWIG_fail;
20931 }
20932 resultobj = SWIG_Py_Void();
20933 return resultobj;
20934fail:
20935 return NULL;
7e08d4ef
RD
20936}
20937
20938
554f62e9
RD
20939SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20940 PyObject *resultobj = 0;
20941 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20942 void *argp1 = 0 ;
20943 int res1 = 0 ;
20944 PyObject *swig_obj[1] ;
20945
20946 if (!args) SWIG_fail;
20947 swig_obj[0] = args;
20948 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20949 if (!SWIG_IsOK(res1)) {
20950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20951 }
20952 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20953 {
20954 PyThreadState* __tstate = wxPyBeginAllowThreads();
20955 (arg1)->Cascade();
20956 wxPyEndAllowThreads(__tstate);
20957 if (PyErr_Occurred()) SWIG_fail;
20958 }
20959 resultobj = SWIG_Py_Void();
20960 return resultobj;
20961fail:
20962 return NULL;
d55e5bfc
RD
20963}
20964
20965
554f62e9
RD
20966SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20967 PyObject *resultobj = 0;
20968 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20969 wxMDIChildFrame *result = 0 ;
20970 void *argp1 = 0 ;
20971 int res1 = 0 ;
20972 PyObject *swig_obj[1] ;
20973
20974 if (!args) SWIG_fail;
20975 swig_obj[0] = args;
20976 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20977 if (!SWIG_IsOK(res1)) {
20978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20979 }
20980 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20981 {
20982 PyThreadState* __tstate = wxPyBeginAllowThreads();
20983 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20984 wxPyEndAllowThreads(__tstate);
20985 if (PyErr_Occurred()) SWIG_fail;
20986 }
20987 {
20988 resultobj = wxPyMake_wxObject(result, (bool)0);
20989 }
20990 return resultobj;
20991fail:
20992 return NULL;
d55e5bfc
RD
20993}
20994
20995
554f62e9
RD
20996SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20997 PyObject *resultobj = 0;
20998 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20999 wxMDIClientWindow *result = 0 ;
21000 void *argp1 = 0 ;
21001 int res1 = 0 ;
21002 PyObject *swig_obj[1] ;
21003
21004 if (!args) SWIG_fail;
21005 swig_obj[0] = args;
21006 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21007 if (!SWIG_IsOK(res1)) {
21008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21009 }
21010 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21011 {
21012 PyThreadState* __tstate = wxPyBeginAllowThreads();
21013 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
21014 wxPyEndAllowThreads(__tstate);
21015 if (PyErr_Occurred()) SWIG_fail;
21016 }
21017 {
21018 resultobj = wxPyMake_wxObject(result, (bool)0);
21019 }
21020 return resultobj;
21021fail:
21022 return NULL;
d55e5bfc
RD
21023}
21024
21025
554f62e9
RD
21026SWIGINTERN PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21027 PyObject *resultobj = 0;
21028 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21029 wxMenu *result = 0 ;
21030 void *argp1 = 0 ;
21031 int res1 = 0 ;
21032 PyObject *swig_obj[1] ;
21033
21034 if (!args) SWIG_fail;
21035 swig_obj[0] = args;
21036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21037 if (!SWIG_IsOK(res1)) {
21038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21039 }
21040 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21041 {
21042 PyThreadState* __tstate = wxPyBeginAllowThreads();
21043 result = (wxMenu *)(arg1)->GetWindowMenu();
21044 wxPyEndAllowThreads(__tstate);
21045 if (PyErr_Occurred()) SWIG_fail;
21046 }
21047 {
21048 resultobj = wxPyMake_wxObject(result, 0);
21049 }
21050 return resultobj;
21051fail:
21052 return NULL;
21053}
21054
21055
21056SWIGINTERN PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21057 PyObject *resultobj = 0;
21058 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21059 wxMenu *arg2 = (wxMenu *) 0 ;
21060 void *argp1 = 0 ;
21061 int res1 = 0 ;
21062 void *argp2 = 0 ;
21063 int res2 = 0 ;
21064 PyObject * obj0 = 0 ;
21065 PyObject * obj1 = 0 ;
21066 char * kwnames[] = {
21067 (char *) "self",(char *) "menu", NULL
21068 };
21069
21070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) SWIG_fail;
21071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21072 if (!SWIG_IsOK(res1)) {
21073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21074 }
21075 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21076 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
21077 if (!SWIG_IsOK(res2)) {
21078 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
21079 }
21080 arg2 = reinterpret_cast< wxMenu * >(argp2);
21081 {
21082 PyThreadState* __tstate = wxPyBeginAllowThreads();
21083 (arg1)->SetWindowMenu(arg2);
21084 wxPyEndAllowThreads(__tstate);
21085 if (PyErr_Occurred()) SWIG_fail;
21086 }
21087 resultobj = SWIG_Py_Void();
21088 return resultobj;
21089fail:
21090 return NULL;
21091}
21092
21093
21094SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21095 PyObject *resultobj = 0;
21096 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21097 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
21098 void *argp1 = 0 ;
21099 int res1 = 0 ;
21100 int val2 ;
21101 int ecode2 = 0 ;
21102 PyObject * obj0 = 0 ;
21103 PyObject * obj1 = 0 ;
21104 char * kwnames[] = {
21105 (char *) "self",(char *) "orient", NULL
21106 };
21107
21108 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
21109 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21110 if (!SWIG_IsOK(res1)) {
21111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21112 }
21113 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21114 if (obj1) {
21115 ecode2 = SWIG_AsVal_int(obj1, &val2);
21116 if (!SWIG_IsOK(ecode2)) {
21117 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21118 }
21119 arg2 = static_cast< wxOrientation >(val2);
21120 }
21121 {
21122 PyThreadState* __tstate = wxPyBeginAllowThreads();
21123 (arg1)->Tile(arg2);
21124 wxPyEndAllowThreads(__tstate);
21125 if (PyErr_Occurred()) SWIG_fail;
21126 }
21127 resultobj = SWIG_Py_Void();
21128 return resultobj;
21129fail:
21130 return NULL;
21131}
21132
21133
21134SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21135 PyObject *obj;
21136 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21137 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
21138 return SWIG_Py_Void();
21139}
21140
21141SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21142 return SWIG_Python_InitShadowInstance(args);
21143}
21144
21145SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21146 PyObject *resultobj = 0;
21147 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21148 int arg2 = (int) (int)-1 ;
21149 wxString const &arg3_defvalue = wxPyEmptyString ;
21150 wxString *arg3 = (wxString *) &arg3_defvalue ;
21151 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21152 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21153 wxSize const &arg5_defvalue = wxDefaultSize ;
21154 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21155 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21156 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21157 wxString *arg7 = (wxString *) &arg7_defvalue ;
21158 wxMDIChildFrame *result = 0 ;
21159 void *argp1 = 0 ;
21160 int res1 = 0 ;
21161 int val2 ;
21162 int ecode2 = 0 ;
21163 bool temp3 = false ;
21164 wxPoint temp4 ;
21165 wxSize temp5 ;
21166 long val6 ;
21167 int ecode6 = 0 ;
21168 bool temp7 = false ;
21169 PyObject * obj0 = 0 ;
21170 PyObject * obj1 = 0 ;
21171 PyObject * obj2 = 0 ;
21172 PyObject * obj3 = 0 ;
21173 PyObject * obj4 = 0 ;
21174 PyObject * obj5 = 0 ;
21175 PyObject * obj6 = 0 ;
21176 char * kwnames[] = {
21177 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21178 };
21179
21180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21182 if (!SWIG_IsOK(res1)) {
21183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21184 }
21185 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21186 if (obj1) {
21187 ecode2 = SWIG_AsVal_int(obj1, &val2);
21188 if (!SWIG_IsOK(ecode2)) {
21189 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21190 }
21191 arg2 = static_cast< int >(val2);
21192 }
21193 if (obj2) {
d55e5bfc 21194 {
554f62e9
RD
21195 arg3 = wxString_in_helper(obj2);
21196 if (arg3 == NULL) SWIG_fail;
21197 temp3 = true;
d55e5bfc 21198 }
554f62e9
RD
21199 }
21200 if (obj3) {
d55e5bfc 21201 {
554f62e9
RD
21202 arg4 = &temp4;
21203 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 21204 }
554f62e9
RD
21205 }
21206 if (obj4) {
d55e5bfc 21207 {
554f62e9
RD
21208 arg5 = &temp5;
21209 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 21210 }
554f62e9
RD
21211 }
21212 if (obj5) {
21213 ecode6 = SWIG_AsVal_long(obj5, &val6);
21214 if (!SWIG_IsOK(ecode6)) {
21215 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21216 }
21217 arg6 = static_cast< long >(val6);
21218 }
21219 if (obj6) {
d55e5bfc 21220 {
554f62e9
RD
21221 arg7 = wxString_in_helper(obj6);
21222 if (arg7 == NULL) SWIG_fail;
21223 temp7 = true;
d55e5bfc 21224 }
554f62e9
RD
21225 }
21226 {
21227 if (!wxPyCheckForApp()) SWIG_fail;
21228 PyThreadState* __tstate = wxPyBeginAllowThreads();
21229 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21230 wxPyEndAllowThreads(__tstate);
21231 if (PyErr_Occurred()) SWIG_fail;
21232 }
21233 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
21234 {
21235 if (temp3)
21236 delete arg3;
21237 }
21238 {
21239 if (temp7)
21240 delete arg7;
21241 }
21242 return resultobj;
21243fail:
21244 {
21245 if (temp3)
21246 delete arg3;
21247 }
21248 {
21249 if (temp7)
21250 delete arg7;
21251 }
21252 return NULL;
d55e5bfc
RD
21253}
21254
21255
554f62e9
RD
21256SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21257 PyObject *resultobj = 0;
21258 wxMDIChildFrame *result = 0 ;
21259
21260 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
21261 {
21262 if (!wxPyCheckForApp()) SWIG_fail;
21263 PyThreadState* __tstate = wxPyBeginAllowThreads();
21264 result = (wxMDIChildFrame *)new wxMDIChildFrame();
21265 wxPyEndAllowThreads(__tstate);
21266 if (PyErr_Occurred()) SWIG_fail;
21267 }
21268 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
21269 return resultobj;
21270fail:
21271 return NULL;
21272}
21273
21274
21275SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21276 PyObject *resultobj = 0;
21277 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21278 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21279 int arg3 = (int) (int)-1 ;
21280 wxString const &arg4_defvalue = wxPyEmptyString ;
21281 wxString *arg4 = (wxString *) &arg4_defvalue ;
21282 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21283 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21284 wxSize const &arg6_defvalue = wxDefaultSize ;
21285 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21286 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
21287 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21288 wxString *arg8 = (wxString *) &arg8_defvalue ;
21289 bool result;
21290 void *argp1 = 0 ;
21291 int res1 = 0 ;
21292 void *argp2 = 0 ;
21293 int res2 = 0 ;
21294 int val3 ;
21295 int ecode3 = 0 ;
21296 bool temp4 = false ;
21297 wxPoint temp5 ;
21298 wxSize temp6 ;
21299 long val7 ;
21300 int ecode7 = 0 ;
21301 bool temp8 = false ;
21302 PyObject * obj0 = 0 ;
21303 PyObject * obj1 = 0 ;
21304 PyObject * obj2 = 0 ;
21305 PyObject * obj3 = 0 ;
21306 PyObject * obj4 = 0 ;
21307 PyObject * obj5 = 0 ;
21308 PyObject * obj6 = 0 ;
21309 PyObject * obj7 = 0 ;
21310 char * kwnames[] = {
21311 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21312 };
21313
21314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21315 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21316 if (!SWIG_IsOK(res1)) {
21317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21318 }
21319 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21320 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21321 if (!SWIG_IsOK(res2)) {
21322 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21323 }
21324 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21325 if (obj2) {
21326 ecode3 = SWIG_AsVal_int(obj2, &val3);
21327 if (!SWIG_IsOK(ecode3)) {
21328 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21329 }
21330 arg3 = static_cast< int >(val3);
21331 }
21332 if (obj3) {
d55e5bfc 21333 {
554f62e9
RD
21334 arg4 = wxString_in_helper(obj3);
21335 if (arg4 == NULL) SWIG_fail;
21336 temp4 = true;
d55e5bfc 21337 }
554f62e9
RD
21338 }
21339 if (obj4) {
d55e5bfc 21340 {
554f62e9
RD
21341 arg5 = &temp5;
21342 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 21343 }
554f62e9
RD
21344 }
21345 if (obj5) {
093d3ff1 21346 {
554f62e9
RD
21347 arg6 = &temp6;
21348 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
093d3ff1 21349 }
554f62e9
RD
21350 }
21351 if (obj6) {
21352 ecode7 = SWIG_AsVal_long(obj6, &val7);
21353 if (!SWIG_IsOK(ecode7)) {
21354 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21355 }
21356 arg7 = static_cast< long >(val7);
21357 }
21358 if (obj7) {
d55e5bfc 21359 {
554f62e9
RD
21360 arg8 = wxString_in_helper(obj7);
21361 if (arg8 == NULL) SWIG_fail;
21362 temp8 = true;
d55e5bfc 21363 }
554f62e9
RD
21364 }
21365 {
21366 PyThreadState* __tstate = wxPyBeginAllowThreads();
21367 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21368 wxPyEndAllowThreads(__tstate);
21369 if (PyErr_Occurred()) SWIG_fail;
21370 }
21371 {
21372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21373 }
21374 {
21375 if (temp4)
21376 delete arg4;
21377 }
21378 {
21379 if (temp8)
21380 delete arg8;
21381 }
21382 return resultobj;
21383fail:
21384 {
21385 if (temp4)
21386 delete arg4;
21387 }
21388 {
21389 if (temp8)
21390 delete arg8;
21391 }
21392 return NULL;
d55e5bfc
RD
21393}
21394
21395
554f62e9
RD
21396SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21397 PyObject *resultobj = 0;
21398 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21399 void *argp1 = 0 ;
21400 int res1 = 0 ;
21401 PyObject *swig_obj[1] ;
21402
21403 if (!args) SWIG_fail;
21404 swig_obj[0] = args;
21405 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21406 if (!SWIG_IsOK(res1)) {
21407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21408 }
21409 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21410 {
21411 PyThreadState* __tstate = wxPyBeginAllowThreads();
21412 (arg1)->Activate();
21413 wxPyEndAllowThreads(__tstate);
21414 if (PyErr_Occurred()) SWIG_fail;
21415 }
21416 resultobj = SWIG_Py_Void();
21417 return resultobj;
21418fail:
21419 return NULL;
d55e5bfc
RD
21420}
21421
21422
554f62e9
RD
21423SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21424 PyObject *obj;
21425 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21426 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21427 return SWIG_Py_Void();
d55e5bfc
RD
21428}
21429
554f62e9
RD
21430SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21431 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
21432}
21433
554f62e9
RD
21434SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21435 PyObject *resultobj = 0;
21436 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21437 long arg2 = (long) 0 ;
21438 wxMDIClientWindow *result = 0 ;
21439 void *argp1 = 0 ;
21440 int res1 = 0 ;
21441 long val2 ;
21442 int ecode2 = 0 ;
21443 PyObject * obj0 = 0 ;
21444 PyObject * obj1 = 0 ;
21445 char * kwnames[] = {
21446 (char *) "parent",(char *) "style", NULL
21447 };
21448
21449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21451 if (!SWIG_IsOK(res1)) {
21452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21453 }
21454 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21455 if (obj1) {
21456 ecode2 = SWIG_AsVal_long(obj1, &val2);
21457 if (!SWIG_IsOK(ecode2)) {
21458 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21459 }
21460 arg2 = static_cast< long >(val2);
21461 }
21462 {
21463 if (!wxPyCheckForApp()) SWIG_fail;
21464 PyThreadState* __tstate = wxPyBeginAllowThreads();
21465 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21466 wxPyEndAllowThreads(__tstate);
21467 if (PyErr_Occurred()) SWIG_fail;
21468 }
21469 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21470 return resultobj;
21471fail:
21472 return NULL;
d55e5bfc
RD
21473}
21474
21475
554f62e9
RD
21476SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21477 PyObject *resultobj = 0;
21478 wxMDIClientWindow *result = 0 ;
21479
21480 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21481 {
21482 if (!wxPyCheckForApp()) SWIG_fail;
21483 PyThreadState* __tstate = wxPyBeginAllowThreads();
21484 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21485 wxPyEndAllowThreads(__tstate);
21486 if (PyErr_Occurred()) SWIG_fail;
21487 }
21488 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21489 return resultobj;
21490fail:
21491 return NULL;
21492}
21493
21494
21495SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21496 PyObject *resultobj = 0;
21497 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21498 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21499 long arg3 = (long) 0 ;
21500 bool result;
21501 void *argp1 = 0 ;
21502 int res1 = 0 ;
21503 void *argp2 = 0 ;
21504 int res2 = 0 ;
21505 long val3 ;
21506 int ecode3 = 0 ;
21507 PyObject * obj0 = 0 ;
21508 PyObject * obj1 = 0 ;
21509 PyObject * obj2 = 0 ;
21510 char * kwnames[] = {
21511 (char *) "self",(char *) "parent",(char *) "style", NULL
21512 };
21513
21514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21516 if (!SWIG_IsOK(res1)) {
21517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21518 }
21519 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21520 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21521 if (!SWIG_IsOK(res2)) {
21522 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21523 }
21524 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21525 if (obj2) {
21526 ecode3 = SWIG_AsVal_long(obj2, &val3);
21527 if (!SWIG_IsOK(ecode3)) {
21528 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21529 }
21530 arg3 = static_cast< long >(val3);
21531 }
21532 {
21533 PyThreadState* __tstate = wxPyBeginAllowThreads();
21534 result = (bool)(arg1)->Create(arg2,arg3);
21535 wxPyEndAllowThreads(__tstate);
21536 if (PyErr_Occurred()) SWIG_fail;
21537 }
21538 {
21539 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21540 }
21541 return resultobj;
21542fail:
21543 return NULL;
21544}
21545
21546
21547SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21548 PyObject *obj;
21549 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21550 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21551 return SWIG_Py_Void();
21552}
21553
21554SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21555 return SWIG_Python_InitShadowInstance(args);
21556}
21557
21558SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21559 PyObject *resultobj = 0;
21560 wxWindow *arg1 = (wxWindow *) 0 ;
21561 int arg2 = (int) (int)-1 ;
21562 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21563 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21564 wxSize const &arg4_defvalue = wxDefaultSize ;
21565 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21566 long arg5 = (long) 0 ;
21567 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21568 wxString *arg6 = (wxString *) &arg6_defvalue ;
21569 wxPyWindow *result = 0 ;
21570 void *argp1 = 0 ;
21571 int res1 = 0 ;
21572 int val2 ;
21573 int ecode2 = 0 ;
21574 wxPoint temp3 ;
21575 wxSize temp4 ;
21576 long val5 ;
21577 int ecode5 = 0 ;
21578 bool temp6 = false ;
21579 PyObject * obj0 = 0 ;
21580 PyObject * obj1 = 0 ;
21581 PyObject * obj2 = 0 ;
21582 PyObject * obj3 = 0 ;
21583 PyObject * obj4 = 0 ;
21584 PyObject * obj5 = 0 ;
21585 char * kwnames[] = {
21586 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21587 };
21588
21589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21591 if (!SWIG_IsOK(res1)) {
21592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21593 }
21594 arg1 = reinterpret_cast< wxWindow * >(argp1);
21595 if (obj1) {
21596 ecode2 = SWIG_AsVal_int(obj1, &val2);
21597 if (!SWIG_IsOK(ecode2)) {
21598 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21599 }
21600 arg2 = static_cast< int >(val2);
21601 }
21602 if (obj2) {
d55e5bfc 21603 {
554f62e9
RD
21604 arg3 = &temp3;
21605 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 21606 }
554f62e9
RD
21607 }
21608 if (obj3) {
d55e5bfc 21609 {
554f62e9
RD
21610 arg4 = &temp4;
21611 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 21612 }
554f62e9
RD
21613 }
21614 if (obj4) {
21615 ecode5 = SWIG_AsVal_long(obj4, &val5);
21616 if (!SWIG_IsOK(ecode5)) {
21617 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21618 }
21619 arg5 = static_cast< long >(val5);
21620 }
21621 if (obj5) {
d55e5bfc 21622 {
554f62e9
RD
21623 arg6 = wxString_in_helper(obj5);
21624 if (arg6 == NULL) SWIG_fail;
21625 temp6 = true;
d55e5bfc 21626 }
554f62e9
RD
21627 }
21628 {
21629 if (!wxPyCheckForApp()) SWIG_fail;
21630 PyThreadState* __tstate = wxPyBeginAllowThreads();
21631 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21632 wxPyEndAllowThreads(__tstate);
21633 if (PyErr_Occurred()) SWIG_fail;
21634 }
21635 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21636 {
21637 if (temp6)
21638 delete arg6;
21639 }
21640 return resultobj;
21641fail:
21642 {
21643 if (temp6)
21644 delete arg6;
21645 }
21646 return NULL;
d55e5bfc
RD
21647}
21648
21649
554f62e9
RD
21650SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21651 PyObject *resultobj = 0;
21652 wxPyWindow *result = 0 ;
21653
21654 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21655 {
21656 if (!wxPyCheckForApp()) SWIG_fail;
21657 PyThreadState* __tstate = wxPyBeginAllowThreads();
21658 result = (wxPyWindow *)new wxPyWindow();
21659 wxPyEndAllowThreads(__tstate);
21660 if (PyErr_Occurred()) SWIG_fail;
21661 }
21662 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21663 return resultobj;
21664fail:
21665 return NULL;
21666}
21667
21668
21669SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21670 PyObject *resultobj = 0;
21671 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21672 PyObject *arg2 = (PyObject *) 0 ;
21673 PyObject *arg3 = (PyObject *) 0 ;
21674 void *argp1 = 0 ;
21675 int res1 = 0 ;
21676 PyObject * obj0 = 0 ;
21677 PyObject * obj1 = 0 ;
21678 PyObject * obj2 = 0 ;
21679 char * kwnames[] = {
21680 (char *) "self",(char *) "self",(char *) "_class", NULL
21681 };
21682
21683 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21684 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21685 if (!SWIG_IsOK(res1)) {
21686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21687 }
21688 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21689 arg2 = obj1;
21690 arg3 = obj2;
21691 {
21692 PyThreadState* __tstate = wxPyBeginAllowThreads();
21693 (arg1)->_setCallbackInfo(arg2,arg3);
21694 wxPyEndAllowThreads(__tstate);
21695 if (PyErr_Occurred()) SWIG_fail;
21696 }
21697 resultobj = SWIG_Py_Void();
21698 return resultobj;
21699fail:
21700 return NULL;
21701}
21702
21703
554f62e9
RD
21704SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21705 PyObject *resultobj = 0;
21706 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21707 wxDC *arg2 = (wxDC *) 0 ;
21708 bool result;
21709 void *argp1 = 0 ;
21710 int res1 = 0 ;
21711 void *argp2 = 0 ;
21712 int res2 = 0 ;
21713 PyObject * obj0 = 0 ;
21714 PyObject * obj1 = 0 ;
21715 char * kwnames[] = {
21716 (char *) "self",(char *) "dc", NULL
21717 };
21718
21719 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21720 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21721 if (!SWIG_IsOK(res1)) {
21722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21723 }
21724 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21725 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21726 if (!SWIG_IsOK(res2)) {
21727 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21728 }
21729 arg2 = reinterpret_cast< wxDC * >(argp2);
21730 {
21731 PyThreadState* __tstate = wxPyBeginAllowThreads();
21732 result = (bool)(arg1)->DoEraseBackground(arg2);
21733 wxPyEndAllowThreads(__tstate);
21734 if (PyErr_Occurred()) SWIG_fail;
21735 }
21736 {
21737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21738 }
21739 return resultobj;
21740fail:
21741 return NULL;
21742}
21743
21744
21745SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21746 PyObject *resultobj = 0;
21747 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21748 int arg2 ;
21749 int arg3 ;
21750 int arg4 ;
21751 int arg5 ;
21752 void *argp1 = 0 ;
21753 int res1 = 0 ;
21754 int val2 ;
21755 int ecode2 = 0 ;
21756 int val3 ;
21757 int ecode3 = 0 ;
21758 int val4 ;
21759 int ecode4 = 0 ;
21760 int val5 ;
21761 int ecode5 = 0 ;
21762 PyObject * obj0 = 0 ;
21763 PyObject * obj1 = 0 ;
21764 PyObject * obj2 = 0 ;
21765 PyObject * obj3 = 0 ;
21766 PyObject * obj4 = 0 ;
21767 char * kwnames[] = {
21768 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21769 };
21770
21771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21773 if (!SWIG_IsOK(res1)) {
21774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21775 }
21776 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21777 ecode2 = SWIG_AsVal_int(obj1, &val2);
21778 if (!SWIG_IsOK(ecode2)) {
21779 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21780 }
21781 arg2 = static_cast< int >(val2);
21782 ecode3 = SWIG_AsVal_int(obj2, &val3);
21783 if (!SWIG_IsOK(ecode3)) {
21784 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21785 }
21786 arg3 = static_cast< int >(val3);
21787 ecode4 = SWIG_AsVal_int(obj3, &val4);
21788 if (!SWIG_IsOK(ecode4)) {
21789 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21790 }
21791 arg4 = static_cast< int >(val4);
21792 ecode5 = SWIG_AsVal_int(obj4, &val5);
21793 if (!SWIG_IsOK(ecode5)) {
21794 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21795 }
21796 arg5 = static_cast< int >(val5);
21797 {
21798 PyThreadState* __tstate = wxPyBeginAllowThreads();
21799 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21800 wxPyEndAllowThreads(__tstate);
21801 if (PyErr_Occurred()) SWIG_fail;
21802 }
21803 resultobj = SWIG_Py_Void();
21804 return resultobj;
21805fail:
21806 return NULL;
21807}
21808
21809
21810SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21811 PyObject *resultobj = 0;
21812 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21813 int arg2 ;
21814 int arg3 ;
21815 int arg4 ;
21816 int arg5 ;
21817 int arg6 = (int) wxSIZE_AUTO ;
21818 void *argp1 = 0 ;
21819 int res1 = 0 ;
21820 int val2 ;
21821 int ecode2 = 0 ;
21822 int val3 ;
21823 int ecode3 = 0 ;
21824 int val4 ;
21825 int ecode4 = 0 ;
21826 int val5 ;
21827 int ecode5 = 0 ;
21828 int val6 ;
21829 int ecode6 = 0 ;
21830 PyObject * obj0 = 0 ;
21831 PyObject * obj1 = 0 ;
21832 PyObject * obj2 = 0 ;
21833 PyObject * obj3 = 0 ;
21834 PyObject * obj4 = 0 ;
21835 PyObject * obj5 = 0 ;
21836 char * kwnames[] = {
21837 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21838 };
21839
21840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21842 if (!SWIG_IsOK(res1)) {
21843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21844 }
21845 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21846 ecode2 = SWIG_AsVal_int(obj1, &val2);
21847 if (!SWIG_IsOK(ecode2)) {
21848 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21849 }
21850 arg2 = static_cast< int >(val2);
21851 ecode3 = SWIG_AsVal_int(obj2, &val3);
21852 if (!SWIG_IsOK(ecode3)) {
21853 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21854 }
21855 arg3 = static_cast< int >(val3);
21856 ecode4 = SWIG_AsVal_int(obj3, &val4);
21857 if (!SWIG_IsOK(ecode4)) {
21858 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21859 }
21860 arg4 = static_cast< int >(val4);
21861 ecode5 = SWIG_AsVal_int(obj4, &val5);
21862 if (!SWIG_IsOK(ecode5)) {
21863 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21864 }
21865 arg5 = static_cast< int >(val5);
21866 if (obj5) {
21867 ecode6 = SWIG_AsVal_int(obj5, &val6);
21868 if (!SWIG_IsOK(ecode6)) {
21869 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21870 }
21871 arg6 = static_cast< int >(val6);
21872 }
21873 {
21874 PyThreadState* __tstate = wxPyBeginAllowThreads();
21875 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21876 wxPyEndAllowThreads(__tstate);
21877 if (PyErr_Occurred()) SWIG_fail;
21878 }
21879 resultobj = SWIG_Py_Void();
21880 return resultobj;
21881fail:
21882 return NULL;
21883}
21884
21885
21886SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21887 PyObject *resultobj = 0;
21888 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21889 int arg2 ;
21890 int arg3 ;
21891 void *argp1 = 0 ;
21892 int res1 = 0 ;
21893 int val2 ;
21894 int ecode2 = 0 ;
21895 int val3 ;
21896 int ecode3 = 0 ;
21897 PyObject * obj0 = 0 ;
21898 PyObject * obj1 = 0 ;
21899 PyObject * obj2 = 0 ;
21900 char * kwnames[] = {
21901 (char *) "self",(char *) "width",(char *) "height", NULL
21902 };
21903
21904 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21905 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21906 if (!SWIG_IsOK(res1)) {
21907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21908 }
21909 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21910 ecode2 = SWIG_AsVal_int(obj1, &val2);
21911 if (!SWIG_IsOK(ecode2)) {
21912 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21913 }
21914 arg2 = static_cast< int >(val2);
21915 ecode3 = SWIG_AsVal_int(obj2, &val3);
21916 if (!SWIG_IsOK(ecode3)) {
21917 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21918 }
21919 arg3 = static_cast< int >(val3);
21920 {
21921 PyThreadState* __tstate = wxPyBeginAllowThreads();
21922 (arg1)->DoSetClientSize(arg2,arg3);
21923 wxPyEndAllowThreads(__tstate);
21924 if (PyErr_Occurred()) SWIG_fail;
21925 }
21926 resultobj = SWIG_Py_Void();
21927 return resultobj;
21928fail:
21929 return NULL;
21930}
21931
21932
21933SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21934 PyObject *resultobj = 0;
21935 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21936 int arg2 ;
21937 int arg3 ;
21938 void *argp1 = 0 ;
21939 int res1 = 0 ;
21940 int val2 ;
21941 int ecode2 = 0 ;
21942 int val3 ;
21943 int ecode3 = 0 ;
21944 PyObject * obj0 = 0 ;
21945 PyObject * obj1 = 0 ;
21946 PyObject * obj2 = 0 ;
21947 char * kwnames[] = {
21948 (char *) "self",(char *) "x",(char *) "y", NULL
21949 };
21950
21951 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21952 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21953 if (!SWIG_IsOK(res1)) {
21954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21955 }
21956 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21957 ecode2 = SWIG_AsVal_int(obj1, &val2);
21958 if (!SWIG_IsOK(ecode2)) {
21959 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21960 }
21961 arg2 = static_cast< int >(val2);
21962 ecode3 = SWIG_AsVal_int(obj2, &val3);
21963 if (!SWIG_IsOK(ecode3)) {
21964 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21965 }
21966 arg3 = static_cast< int >(val3);
21967 {
21968 PyThreadState* __tstate = wxPyBeginAllowThreads();
21969 (arg1)->DoSetVirtualSize(arg2,arg3);
21970 wxPyEndAllowThreads(__tstate);
21971 if (PyErr_Occurred()) SWIG_fail;
21972 }
21973 resultobj = SWIG_Py_Void();
21974 return resultobj;
21975fail:
21976 return NULL;
21977}
21978
21979
21980SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21981 PyObject *resultobj = 0;
21982 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21983 int *arg2 = (int *) 0 ;
21984 int *arg3 = (int *) 0 ;
21985 void *argp1 = 0 ;
21986 int res1 = 0 ;
21987 int temp2 ;
21988 int res2 = SWIG_TMPOBJ ;
21989 int temp3 ;
21990 int res3 = SWIG_TMPOBJ ;
21991 PyObject *swig_obj[1] ;
21992
21993 arg2 = &temp2;
21994 arg3 = &temp3;
21995 if (!args) SWIG_fail;
21996 swig_obj[0] = args;
21997 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21998 if (!SWIG_IsOK(res1)) {
21999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22000 }
22001 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22002 {
22003 PyThreadState* __tstate = wxPyBeginAllowThreads();
22004 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
22005 wxPyEndAllowThreads(__tstate);
22006 if (PyErr_Occurred()) SWIG_fail;
22007 }
22008 resultobj = SWIG_Py_Void();
22009 if (SWIG_IsTmpObj(res2)) {
22010 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22011 } else {
22012 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22013 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22014 }
22015 if (SWIG_IsTmpObj(res3)) {
22016 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22017 } else {
22018 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22019 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22020 }
22021 return resultobj;
22022fail:
22023 return NULL;
22024}
22025
22026
22027SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22028 PyObject *resultobj = 0;
22029 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22030 int *arg2 = (int *) 0 ;
22031 int *arg3 = (int *) 0 ;
22032 void *argp1 = 0 ;
22033 int res1 = 0 ;
22034 int temp2 ;
22035 int res2 = SWIG_TMPOBJ ;
22036 int temp3 ;
22037 int res3 = SWIG_TMPOBJ ;
22038 PyObject *swig_obj[1] ;
22039
22040 arg2 = &temp2;
22041 arg3 = &temp3;
22042 if (!args) SWIG_fail;
22043 swig_obj[0] = args;
22044 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22045 if (!SWIG_IsOK(res1)) {
22046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22047 }
22048 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22049 {
22050 PyThreadState* __tstate = wxPyBeginAllowThreads();
22051 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
22052 wxPyEndAllowThreads(__tstate);
22053 if (PyErr_Occurred()) SWIG_fail;
22054 }
22055 resultobj = SWIG_Py_Void();
22056 if (SWIG_IsTmpObj(res2)) {
22057 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22058 } else {
22059 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22060 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22061 }
22062 if (SWIG_IsTmpObj(res3)) {
22063 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22064 } else {
22065 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22066 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22067 }
22068 return resultobj;
22069fail:
22070 return NULL;
22071}
22072
22073
22074SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22075 PyObject *resultobj = 0;
22076 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22077 int *arg2 = (int *) 0 ;
22078 int *arg3 = (int *) 0 ;
22079 void *argp1 = 0 ;
22080 int res1 = 0 ;
22081 int temp2 ;
22082 int res2 = SWIG_TMPOBJ ;
22083 int temp3 ;
22084 int res3 = SWIG_TMPOBJ ;
22085 PyObject *swig_obj[1] ;
22086
22087 arg2 = &temp2;
22088 arg3 = &temp3;
22089 if (!args) SWIG_fail;
22090 swig_obj[0] = args;
22091 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22092 if (!SWIG_IsOK(res1)) {
22093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22094 }
22095 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22096 {
22097 PyThreadState* __tstate = wxPyBeginAllowThreads();
22098 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
22099 wxPyEndAllowThreads(__tstate);
22100 if (PyErr_Occurred()) SWIG_fail;
22101 }
22102 resultobj = SWIG_Py_Void();
22103 if (SWIG_IsTmpObj(res2)) {
22104 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22105 } else {
22106 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22107 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22108 }
22109 if (SWIG_IsTmpObj(res3)) {
22110 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22111 } else {
22112 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22113 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22114 }
22115 return resultobj;
22116fail:
22117 return NULL;
22118}
d55e5bfc 22119
554f62e9
RD
22120
22121SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22122 PyObject *resultobj = 0;
22123 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22124 wxSize result;
22125 void *argp1 = 0 ;
22126 int res1 = 0 ;
22127 PyObject *swig_obj[1] ;
22128
22129 if (!args) SWIG_fail;
22130 swig_obj[0] = args;
22131 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22132 if (!SWIG_IsOK(res1)) {
22133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22134 }
22135 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22136 {
22137 PyThreadState* __tstate = wxPyBeginAllowThreads();
22138 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
22139 wxPyEndAllowThreads(__tstate);
22140 if (PyErr_Occurred()) SWIG_fail;
22141 }
22142 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22143 return resultobj;
22144fail:
22145 return NULL;
d55e5bfc
RD
22146}
22147
22148
554f62e9
RD
22149SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22150 PyObject *resultobj = 0;
22151 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22152 wxSize result;
22153 void *argp1 = 0 ;
22154 int res1 = 0 ;
22155 PyObject *swig_obj[1] ;
22156
22157 if (!args) SWIG_fail;
22158 swig_obj[0] = args;
22159 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22160 if (!SWIG_IsOK(res1)) {
22161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22162 }
22163 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22164 {
22165 PyThreadState* __tstate = wxPyBeginAllowThreads();
22166 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
22167 wxPyEndAllowThreads(__tstate);
22168 if (PyErr_Occurred()) SWIG_fail;
22169 }
22170 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22171 return resultobj;
22172fail:
22173 return NULL;
d55e5bfc
RD
22174}
22175
22176
554f62e9
RD
22177SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22178 PyObject *resultobj = 0;
22179 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22180 SwigValueWrapper<wxVisualAttributes > result;
22181 void *argp1 = 0 ;
22182 int res1 = 0 ;
22183 PyObject *swig_obj[1] ;
22184
22185 if (!args) SWIG_fail;
22186 swig_obj[0] = args;
22187 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22188 if (!SWIG_IsOK(res1)) {
22189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22190 }
22191 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22192 {
22193 PyThreadState* __tstate = wxPyBeginAllowThreads();
22194 result = (arg1)->GetDefaultAttributes();
22195 wxPyEndAllowThreads(__tstate);
22196 if (PyErr_Occurred()) SWIG_fail;
22197 }
22198 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22199 return resultobj;
22200fail:
22201 return NULL;
d55e5bfc
RD
22202}
22203
22204
554f62e9
RD
22205SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22206 PyObject *resultobj = 0;
22207 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22208 void *argp1 = 0 ;
22209 int res1 = 0 ;
22210 PyObject *swig_obj[1] ;
22211
22212 if (!args) SWIG_fail;
22213 swig_obj[0] = args;
22214 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22215 if (!SWIG_IsOK(res1)) {
22216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22217 }
22218 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22219 {
22220 PyThreadState* __tstate = wxPyBeginAllowThreads();
22221 (arg1)->OnInternalIdle();
22222 wxPyEndAllowThreads(__tstate);
22223 if (PyErr_Occurred()) SWIG_fail;
22224 }
22225 resultobj = SWIG_Py_Void();
22226 return resultobj;
22227fail:
22228 return NULL;
22229}
22230
22231
22232SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22233 PyObject *obj;
22234 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22235 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
22236 return SWIG_Py_Void();
22237}
22238
22239SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22240 return SWIG_Python_InitShadowInstance(args);
22241}
22242
22243SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22244 PyObject *resultobj = 0;
22245 wxWindow *arg1 = (wxWindow *) 0 ;
22246 int arg2 = (int) (int)-1 ;
22247 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22248 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22249 wxSize const &arg4_defvalue = wxDefaultSize ;
22250 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22251 long arg5 = (long) 0 ;
22252 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22253 wxString *arg6 = (wxString *) &arg6_defvalue ;
22254 wxPyPanel *result = 0 ;
22255 void *argp1 = 0 ;
22256 int res1 = 0 ;
22257 int val2 ;
22258 int ecode2 = 0 ;
22259 wxPoint temp3 ;
22260 wxSize temp4 ;
22261 long val5 ;
22262 int ecode5 = 0 ;
22263 bool temp6 = false ;
22264 PyObject * obj0 = 0 ;
22265 PyObject * obj1 = 0 ;
22266 PyObject * obj2 = 0 ;
22267 PyObject * obj3 = 0 ;
22268 PyObject * obj4 = 0 ;
22269 PyObject * obj5 = 0 ;
22270 char * kwnames[] = {
22271 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22272 };
22273
22274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22276 if (!SWIG_IsOK(res1)) {
22277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22278 }
22279 arg1 = reinterpret_cast< wxWindow * >(argp1);
22280 if (obj1) {
22281 ecode2 = SWIG_AsVal_int(obj1, &val2);
22282 if (!SWIG_IsOK(ecode2)) {
22283 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22284 }
22285 arg2 = static_cast< int >(val2);
22286 }
22287 if (obj2) {
093d3ff1 22288 {
554f62e9
RD
22289 arg3 = &temp3;
22290 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 22291 }
554f62e9
RD
22292 }
22293 if (obj3) {
d55e5bfc 22294 {
554f62e9
RD
22295 arg4 = &temp4;
22296 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 22297 }
554f62e9
RD
22298 }
22299 if (obj4) {
22300 ecode5 = SWIG_AsVal_long(obj4, &val5);
22301 if (!SWIG_IsOK(ecode5)) {
22302 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22303 }
22304 arg5 = static_cast< long >(val5);
22305 }
22306 if (obj5) {
d55e5bfc 22307 {
554f62e9
RD
22308 arg6 = wxString_in_helper(obj5);
22309 if (arg6 == NULL) SWIG_fail;
22310 temp6 = true;
d55e5bfc 22311 }
554f62e9
RD
22312 }
22313 {
22314 if (!wxPyCheckForApp()) SWIG_fail;
22315 PyThreadState* __tstate = wxPyBeginAllowThreads();
22316 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22317 wxPyEndAllowThreads(__tstate);
22318 if (PyErr_Occurred()) SWIG_fail;
22319 }
22320 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22321 {
22322 if (temp6)
22323 delete arg6;
22324 }
22325 return resultobj;
22326fail:
22327 {
22328 if (temp6)
22329 delete arg6;
22330 }
22331 return NULL;
d55e5bfc
RD
22332}
22333
22334
554f62e9
RD
22335SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22336 PyObject *resultobj = 0;
22337 wxPyPanel *result = 0 ;
22338
22339 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22340 {
22341 if (!wxPyCheckForApp()) SWIG_fail;
22342 PyThreadState* __tstate = wxPyBeginAllowThreads();
22343 result = (wxPyPanel *)new wxPyPanel();
22344 wxPyEndAllowThreads(__tstate);
22345 if (PyErr_Occurred()) SWIG_fail;
22346 }
22347 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22348 return resultobj;
22349fail:
22350 return NULL;
22351}
22352
22353
22354SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22355 PyObject *resultobj = 0;
22356 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22357 PyObject *arg2 = (PyObject *) 0 ;
22358 PyObject *arg3 = (PyObject *) 0 ;
22359 void *argp1 = 0 ;
22360 int res1 = 0 ;
22361 PyObject * obj0 = 0 ;
22362 PyObject * obj1 = 0 ;
22363 PyObject * obj2 = 0 ;
22364 char * kwnames[] = {
22365 (char *) "self",(char *) "self",(char *) "_class", NULL
22366 };
22367
22368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22369 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22370 if (!SWIG_IsOK(res1)) {
22371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22372 }
22373 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22374 arg2 = obj1;
22375 arg3 = obj2;
22376 {
22377 PyThreadState* __tstate = wxPyBeginAllowThreads();
22378 (arg1)->_setCallbackInfo(arg2,arg3);
22379 wxPyEndAllowThreads(__tstate);
22380 if (PyErr_Occurred()) SWIG_fail;
22381 }
22382 resultobj = SWIG_Py_Void();
22383 return resultobj;
22384fail:
22385 return NULL;
22386}
22387
22388
554f62e9
RD
22389SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22390 PyObject *resultobj = 0;
22391 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22392 wxDC *arg2 = (wxDC *) 0 ;
22393 bool result;
22394 void *argp1 = 0 ;
22395 int res1 = 0 ;
22396 void *argp2 = 0 ;
22397 int res2 = 0 ;
22398 PyObject * obj0 = 0 ;
22399 PyObject * obj1 = 0 ;
22400 char * kwnames[] = {
22401 (char *) "self",(char *) "dc", NULL
22402 };
22403
22404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22406 if (!SWIG_IsOK(res1)) {
22407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22408 }
22409 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22410 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22411 if (!SWIG_IsOK(res2)) {
22412 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22413 }
22414 arg2 = reinterpret_cast< wxDC * >(argp2);
22415 {
22416 PyThreadState* __tstate = wxPyBeginAllowThreads();
22417 result = (bool)(arg1)->DoEraseBackground(arg2);
22418 wxPyEndAllowThreads(__tstate);
22419 if (PyErr_Occurred()) SWIG_fail;
22420 }
22421 {
22422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22423 }
22424 return resultobj;
22425fail:
22426 return NULL;
22427}
22428
22429
22430SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22431 PyObject *resultobj = 0;
22432 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22433 int arg2 ;
22434 int arg3 ;
22435 int arg4 ;
22436 int arg5 ;
22437 void *argp1 = 0 ;
22438 int res1 = 0 ;
22439 int val2 ;
22440 int ecode2 = 0 ;
22441 int val3 ;
22442 int ecode3 = 0 ;
22443 int val4 ;
22444 int ecode4 = 0 ;
22445 int val5 ;
22446 int ecode5 = 0 ;
22447 PyObject * obj0 = 0 ;
22448 PyObject * obj1 = 0 ;
22449 PyObject * obj2 = 0 ;
22450 PyObject * obj3 = 0 ;
22451 PyObject * obj4 = 0 ;
22452 char * kwnames[] = {
22453 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22454 };
22455
22456 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22457 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22458 if (!SWIG_IsOK(res1)) {
22459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22460 }
22461 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22462 ecode2 = SWIG_AsVal_int(obj1, &val2);
22463 if (!SWIG_IsOK(ecode2)) {
22464 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22465 }
22466 arg2 = static_cast< int >(val2);
22467 ecode3 = SWIG_AsVal_int(obj2, &val3);
22468 if (!SWIG_IsOK(ecode3)) {
22469 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22470 }
22471 arg3 = static_cast< int >(val3);
22472 ecode4 = SWIG_AsVal_int(obj3, &val4);
22473 if (!SWIG_IsOK(ecode4)) {
22474 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22475 }
22476 arg4 = static_cast< int >(val4);
22477 ecode5 = SWIG_AsVal_int(obj4, &val5);
22478 if (!SWIG_IsOK(ecode5)) {
22479 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22480 }
22481 arg5 = static_cast< int >(val5);
22482 {
22483 PyThreadState* __tstate = wxPyBeginAllowThreads();
22484 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22485 wxPyEndAllowThreads(__tstate);
22486 if (PyErr_Occurred()) SWIG_fail;
22487 }
22488 resultobj = SWIG_Py_Void();
22489 return resultobj;
22490fail:
22491 return NULL;
22492}
22493
22494
22495SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22496 PyObject *resultobj = 0;
22497 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22498 int arg2 ;
22499 int arg3 ;
22500 int arg4 ;
22501 int arg5 ;
22502 int arg6 = (int) wxSIZE_AUTO ;
22503 void *argp1 = 0 ;
22504 int res1 = 0 ;
22505 int val2 ;
22506 int ecode2 = 0 ;
22507 int val3 ;
22508 int ecode3 = 0 ;
22509 int val4 ;
22510 int ecode4 = 0 ;
22511 int val5 ;
22512 int ecode5 = 0 ;
22513 int val6 ;
22514 int ecode6 = 0 ;
22515 PyObject * obj0 = 0 ;
22516 PyObject * obj1 = 0 ;
22517 PyObject * obj2 = 0 ;
22518 PyObject * obj3 = 0 ;
22519 PyObject * obj4 = 0 ;
22520 PyObject * obj5 = 0 ;
22521 char * kwnames[] = {
22522 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22523 };
22524
22525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22527 if (!SWIG_IsOK(res1)) {
22528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22529 }
22530 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22531 ecode2 = SWIG_AsVal_int(obj1, &val2);
22532 if (!SWIG_IsOK(ecode2)) {
22533 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22534 }
22535 arg2 = static_cast< int >(val2);
22536 ecode3 = SWIG_AsVal_int(obj2, &val3);
22537 if (!SWIG_IsOK(ecode3)) {
22538 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22539 }
22540 arg3 = static_cast< int >(val3);
22541 ecode4 = SWIG_AsVal_int(obj3, &val4);
22542 if (!SWIG_IsOK(ecode4)) {
22543 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22544 }
22545 arg4 = static_cast< int >(val4);
22546 ecode5 = SWIG_AsVal_int(obj4, &val5);
22547 if (!SWIG_IsOK(ecode5)) {
22548 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22549 }
22550 arg5 = static_cast< int >(val5);
22551 if (obj5) {
22552 ecode6 = SWIG_AsVal_int(obj5, &val6);
22553 if (!SWIG_IsOK(ecode6)) {
22554 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22555 }
22556 arg6 = static_cast< int >(val6);
22557 }
22558 {
22559 PyThreadState* __tstate = wxPyBeginAllowThreads();
22560 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22561 wxPyEndAllowThreads(__tstate);
22562 if (PyErr_Occurred()) SWIG_fail;
22563 }
22564 resultobj = SWIG_Py_Void();
22565 return resultobj;
22566fail:
22567 return NULL;
22568}
22569
22570
22571SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22572 PyObject *resultobj = 0;
22573 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22574 int arg2 ;
22575 int arg3 ;
22576 void *argp1 = 0 ;
22577 int res1 = 0 ;
22578 int val2 ;
22579 int ecode2 = 0 ;
22580 int val3 ;
22581 int ecode3 = 0 ;
22582 PyObject * obj0 = 0 ;
22583 PyObject * obj1 = 0 ;
22584 PyObject * obj2 = 0 ;
22585 char * kwnames[] = {
22586 (char *) "self",(char *) "width",(char *) "height", NULL
22587 };
22588
22589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22591 if (!SWIG_IsOK(res1)) {
22592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22593 }
22594 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22595 ecode2 = SWIG_AsVal_int(obj1, &val2);
22596 if (!SWIG_IsOK(ecode2)) {
22597 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22598 }
22599 arg2 = static_cast< int >(val2);
22600 ecode3 = SWIG_AsVal_int(obj2, &val3);
22601 if (!SWIG_IsOK(ecode3)) {
22602 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22603 }
22604 arg3 = static_cast< int >(val3);
22605 {
22606 PyThreadState* __tstate = wxPyBeginAllowThreads();
22607 (arg1)->DoSetClientSize(arg2,arg3);
22608 wxPyEndAllowThreads(__tstate);
22609 if (PyErr_Occurred()) SWIG_fail;
22610 }
22611 resultobj = SWIG_Py_Void();
22612 return resultobj;
22613fail:
22614 return NULL;
22615}
22616
22617
22618SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22619 PyObject *resultobj = 0;
22620 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22621 int arg2 ;
22622 int arg3 ;
22623 void *argp1 = 0 ;
22624 int res1 = 0 ;
22625 int val2 ;
22626 int ecode2 = 0 ;
22627 int val3 ;
22628 int ecode3 = 0 ;
22629 PyObject * obj0 = 0 ;
22630 PyObject * obj1 = 0 ;
22631 PyObject * obj2 = 0 ;
22632 char * kwnames[] = {
22633 (char *) "self",(char *) "x",(char *) "y", NULL
22634 };
22635
22636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22638 if (!SWIG_IsOK(res1)) {
22639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22640 }
22641 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22642 ecode2 = SWIG_AsVal_int(obj1, &val2);
22643 if (!SWIG_IsOK(ecode2)) {
22644 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22645 }
22646 arg2 = static_cast< int >(val2);
22647 ecode3 = SWIG_AsVal_int(obj2, &val3);
22648 if (!SWIG_IsOK(ecode3)) {
22649 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22650 }
22651 arg3 = static_cast< int >(val3);
22652 {
22653 PyThreadState* __tstate = wxPyBeginAllowThreads();
22654 (arg1)->DoSetVirtualSize(arg2,arg3);
22655 wxPyEndAllowThreads(__tstate);
22656 if (PyErr_Occurred()) SWIG_fail;
22657 }
22658 resultobj = SWIG_Py_Void();
22659 return resultobj;
22660fail:
22661 return NULL;
22662}
22663
22664
22665SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22666 PyObject *resultobj = 0;
22667 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22668 int *arg2 = (int *) 0 ;
22669 int *arg3 = (int *) 0 ;
22670 void *argp1 = 0 ;
22671 int res1 = 0 ;
22672 int temp2 ;
22673 int res2 = SWIG_TMPOBJ ;
22674 int temp3 ;
22675 int res3 = SWIG_TMPOBJ ;
22676 PyObject *swig_obj[1] ;
22677
22678 arg2 = &temp2;
22679 arg3 = &temp3;
22680 if (!args) SWIG_fail;
22681 swig_obj[0] = args;
22682 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22683 if (!SWIG_IsOK(res1)) {
22684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22685 }
22686 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22687 {
22688 PyThreadState* __tstate = wxPyBeginAllowThreads();
22689 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22690 wxPyEndAllowThreads(__tstate);
22691 if (PyErr_Occurred()) SWIG_fail;
22692 }
22693 resultobj = SWIG_Py_Void();
22694 if (SWIG_IsTmpObj(res2)) {
22695 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22696 } else {
22697 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22698 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22699 }
22700 if (SWIG_IsTmpObj(res3)) {
22701 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22702 } else {
22703 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22704 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22705 }
22706 return resultobj;
22707fail:
22708 return NULL;
22709}
22710
22711
22712SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22713 PyObject *resultobj = 0;
22714 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22715 int *arg2 = (int *) 0 ;
22716 int *arg3 = (int *) 0 ;
22717 void *argp1 = 0 ;
22718 int res1 = 0 ;
22719 int temp2 ;
22720 int res2 = SWIG_TMPOBJ ;
22721 int temp3 ;
22722 int res3 = SWIG_TMPOBJ ;
22723 PyObject *swig_obj[1] ;
22724
22725 arg2 = &temp2;
22726 arg3 = &temp3;
22727 if (!args) SWIG_fail;
22728 swig_obj[0] = args;
22729 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22730 if (!SWIG_IsOK(res1)) {
22731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22732 }
22733 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22734 {
22735 PyThreadState* __tstate = wxPyBeginAllowThreads();
22736 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22737 wxPyEndAllowThreads(__tstate);
22738 if (PyErr_Occurred()) SWIG_fail;
22739 }
22740 resultobj = SWIG_Py_Void();
22741 if (SWIG_IsTmpObj(res2)) {
22742 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22743 } else {
22744 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22745 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22746 }
22747 if (SWIG_IsTmpObj(res3)) {
22748 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22749 } else {
22750 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22751 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22752 }
22753 return resultobj;
22754fail:
22755 return NULL;
22756}
22757
22758
22759SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22760 PyObject *resultobj = 0;
22761 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22762 int *arg2 = (int *) 0 ;
22763 int *arg3 = (int *) 0 ;
22764 void *argp1 = 0 ;
22765 int res1 = 0 ;
22766 int temp2 ;
22767 int res2 = SWIG_TMPOBJ ;
22768 int temp3 ;
22769 int res3 = SWIG_TMPOBJ ;
22770 PyObject *swig_obj[1] ;
22771
22772 arg2 = &temp2;
22773 arg3 = &temp3;
22774 if (!args) SWIG_fail;
22775 swig_obj[0] = args;
22776 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22777 if (!SWIG_IsOK(res1)) {
22778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22779 }
22780 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22781 {
22782 PyThreadState* __tstate = wxPyBeginAllowThreads();
22783 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22784 wxPyEndAllowThreads(__tstate);
22785 if (PyErr_Occurred()) SWIG_fail;
22786 }
22787 resultobj = SWIG_Py_Void();
22788 if (SWIG_IsTmpObj(res2)) {
22789 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22790 } else {
22791 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22792 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22793 }
22794 if (SWIG_IsTmpObj(res3)) {
22795 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22796 } else {
22797 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22798 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22799 }
22800 return resultobj;
22801fail:
22802 return NULL;
d55e5bfc
RD
22803}
22804
22805
554f62e9
RD
22806SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22807 PyObject *resultobj = 0;
22808 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22809 wxSize result;
22810 void *argp1 = 0 ;
22811 int res1 = 0 ;
22812 PyObject *swig_obj[1] ;
22813
22814 if (!args) SWIG_fail;
22815 swig_obj[0] = args;
22816 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22817 if (!SWIG_IsOK(res1)) {
22818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22819 }
22820 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22821 {
22822 PyThreadState* __tstate = wxPyBeginAllowThreads();
22823 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22824 wxPyEndAllowThreads(__tstate);
22825 if (PyErr_Occurred()) SWIG_fail;
22826 }
22827 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22828 return resultobj;
22829fail:
22830 return NULL;
d55e5bfc
RD
22831}
22832
22833
554f62e9
RD
22834SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22835 PyObject *resultobj = 0;
22836 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22837 wxSize result;
22838 void *argp1 = 0 ;
22839 int res1 = 0 ;
22840 PyObject *swig_obj[1] ;
22841
22842 if (!args) SWIG_fail;
22843 swig_obj[0] = args;
22844 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22845 if (!SWIG_IsOK(res1)) {
22846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22847 }
22848 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22849 {
22850 PyThreadState* __tstate = wxPyBeginAllowThreads();
22851 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22852 wxPyEndAllowThreads(__tstate);
22853 if (PyErr_Occurred()) SWIG_fail;
22854 }
22855 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22856 return resultobj;
22857fail:
22858 return NULL;
d55e5bfc
RD
22859}
22860
22861
554f62e9
RD
22862SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22863 PyObject *resultobj = 0;
22864 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22865 SwigValueWrapper<wxVisualAttributes > result;
22866 void *argp1 = 0 ;
22867 int res1 = 0 ;
22868 PyObject *swig_obj[1] ;
22869
22870 if (!args) SWIG_fail;
22871 swig_obj[0] = args;
22872 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22873 if (!SWIG_IsOK(res1)) {
22874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22875 }
22876 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22877 {
22878 PyThreadState* __tstate = wxPyBeginAllowThreads();
22879 result = (arg1)->GetDefaultAttributes();
22880 wxPyEndAllowThreads(__tstate);
22881 if (PyErr_Occurred()) SWIG_fail;
22882 }
22883 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22884 return resultobj;
22885fail:
22886 return NULL;
d55e5bfc
RD
22887}
22888
22889
554f62e9
RD
22890SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22891 PyObject *resultobj = 0;
22892 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22893 void *argp1 = 0 ;
22894 int res1 = 0 ;
22895 PyObject *swig_obj[1] ;
22896
22897 if (!args) SWIG_fail;
22898 swig_obj[0] = args;
22899 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22900 if (!SWIG_IsOK(res1)) {
22901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22902 }
22903 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22904 {
22905 PyThreadState* __tstate = wxPyBeginAllowThreads();
22906 (arg1)->OnInternalIdle();
22907 wxPyEndAllowThreads(__tstate);
22908 if (PyErr_Occurred()) SWIG_fail;
22909 }
22910 resultobj = SWIG_Py_Void();
22911 return resultobj;
22912fail:
22913 return NULL;
22914}
22915
22916
22917SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22918 PyObject *obj;
22919 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22920 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22921 return SWIG_Py_Void();
22922}
22923
22924SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22925 return SWIG_Python_InitShadowInstance(args);
22926}
22927
22928SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22929 PyObject *resultobj = 0;
22930 wxWindow *arg1 = (wxWindow *) 0 ;
22931 int arg2 = (int) (int)-1 ;
22932 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22933 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22934 wxSize const &arg4_defvalue = wxDefaultSize ;
22935 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22936 long arg5 = (long) 0 ;
22937 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22938 wxString *arg6 = (wxString *) &arg6_defvalue ;
22939 wxPyScrolledWindow *result = 0 ;
22940 void *argp1 = 0 ;
22941 int res1 = 0 ;
22942 int val2 ;
22943 int ecode2 = 0 ;
22944 wxPoint temp3 ;
22945 wxSize temp4 ;
22946 long val5 ;
22947 int ecode5 = 0 ;
22948 bool temp6 = false ;
22949 PyObject * obj0 = 0 ;
22950 PyObject * obj1 = 0 ;
22951 PyObject * obj2 = 0 ;
22952 PyObject * obj3 = 0 ;
22953 PyObject * obj4 = 0 ;
22954 PyObject * obj5 = 0 ;
22955 char * kwnames[] = {
22956 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22957 };
22958
22959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22961 if (!SWIG_IsOK(res1)) {
22962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22963 }
22964 arg1 = reinterpret_cast< wxWindow * >(argp1);
22965 if (obj1) {
22966 ecode2 = SWIG_AsVal_int(obj1, &val2);
22967 if (!SWIG_IsOK(ecode2)) {
22968 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22969 }
22970 arg2 = static_cast< int >(val2);
22971 }
22972 if (obj2) {
d55e5bfc 22973 {
554f62e9
RD
22974 arg3 = &temp3;
22975 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7449af73 22976 }
554f62e9
RD
22977 }
22978 if (obj3) {
7449af73 22979 {
554f62e9
RD
22980 arg4 = &temp4;
22981 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7449af73 22982 }
554f62e9
RD
22983 }
22984 if (obj4) {
22985 ecode5 = SWIG_AsVal_long(obj4, &val5);
22986 if (!SWIG_IsOK(ecode5)) {
22987 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22988 }
22989 arg5 = static_cast< long >(val5);
22990 }
22991 if (obj5) {
7449af73 22992 {
554f62e9
RD
22993 arg6 = wxString_in_helper(obj5);
22994 if (arg6 == NULL) SWIG_fail;
22995 temp6 = true;
7449af73 22996 }
554f62e9
RD
22997 }
22998 {
22999 if (!wxPyCheckForApp()) SWIG_fail;
23000 PyThreadState* __tstate = wxPyBeginAllowThreads();
23001 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
23002 wxPyEndAllowThreads(__tstate);
23003 if (PyErr_Occurred()) SWIG_fail;
23004 }
23005 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
23006 {
23007 if (temp6)
23008 delete arg6;
23009 }
23010 return resultobj;
23011fail:
23012 {
23013 if (temp6)
23014 delete arg6;
23015 }
23016 return NULL;
7449af73
RD
23017}
23018
23019
554f62e9
RD
23020SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23021 PyObject *resultobj = 0;
23022 wxPyScrolledWindow *result = 0 ;
23023
23024 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
23025 {
23026 if (!wxPyCheckForApp()) SWIG_fail;
23027 PyThreadState* __tstate = wxPyBeginAllowThreads();
23028 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
23029 wxPyEndAllowThreads(__tstate);
23030 if (PyErr_Occurred()) SWIG_fail;
23031 }
23032 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
23033 return resultobj;
23034fail:
23035 return NULL;
23036}
23037
23038
23039SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23040 PyObject *resultobj = 0;
23041 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23042 PyObject *arg2 = (PyObject *) 0 ;
23043 PyObject *arg3 = (PyObject *) 0 ;
23044 void *argp1 = 0 ;
23045 int res1 = 0 ;
23046 PyObject * obj0 = 0 ;
23047 PyObject * obj1 = 0 ;
23048 PyObject * obj2 = 0 ;
23049 char * kwnames[] = {
23050 (char *) "self",(char *) "self",(char *) "_class", NULL
23051 };
23052
23053 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23054 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23055 if (!SWIG_IsOK(res1)) {
23056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23057 }
23058 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23059 arg2 = obj1;
23060 arg3 = obj2;
23061 {
23062 PyThreadState* __tstate = wxPyBeginAllowThreads();
23063 (arg1)->_setCallbackInfo(arg2,arg3);
23064 wxPyEndAllowThreads(__tstate);
23065 if (PyErr_Occurred()) SWIG_fail;
23066 }
23067 resultobj = SWIG_Py_Void();
23068 return resultobj;
23069fail:
23070 return NULL;
23071}
23072
23073
554f62e9
RD
23074SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23075 PyObject *resultobj = 0;
23076 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23077 wxDC *arg2 = (wxDC *) 0 ;
23078 bool result;
23079 void *argp1 = 0 ;
23080 int res1 = 0 ;
23081 void *argp2 = 0 ;
23082 int res2 = 0 ;
23083 PyObject * obj0 = 0 ;
23084 PyObject * obj1 = 0 ;
23085 char * kwnames[] = {
23086 (char *) "self",(char *) "dc", NULL
23087 };
23088
23089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
23090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23091 if (!SWIG_IsOK(res1)) {
23092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23093 }
23094 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23095 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
23096 if (!SWIG_IsOK(res2)) {
23097 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23098 }
23099 arg2 = reinterpret_cast< wxDC * >(argp2);
23100 {
23101 PyThreadState* __tstate = wxPyBeginAllowThreads();
23102 result = (bool)(arg1)->DoEraseBackground(arg2);
23103 wxPyEndAllowThreads(__tstate);
23104 if (PyErr_Occurred()) SWIG_fail;
23105 }
23106 {
23107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23108 }
23109 return resultobj;
23110fail:
23111 return NULL;
23112}
23113
23114
23115SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23116 PyObject *resultobj = 0;
23117 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23118 int arg2 ;
23119 int arg3 ;
23120 int arg4 ;
23121 int arg5 ;
23122 void *argp1 = 0 ;
23123 int res1 = 0 ;
23124 int val2 ;
23125 int ecode2 = 0 ;
23126 int val3 ;
23127 int ecode3 = 0 ;
23128 int val4 ;
23129 int ecode4 = 0 ;
23130 int val5 ;
23131 int ecode5 = 0 ;
23132 PyObject * obj0 = 0 ;
23133 PyObject * obj1 = 0 ;
23134 PyObject * obj2 = 0 ;
23135 PyObject * obj3 = 0 ;
23136 PyObject * obj4 = 0 ;
23137 char * kwnames[] = {
23138 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23139 };
23140
23141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
23142 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23143 if (!SWIG_IsOK(res1)) {
23144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23145 }
23146 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23147 ecode2 = SWIG_AsVal_int(obj1, &val2);
23148 if (!SWIG_IsOK(ecode2)) {
23149 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23150 }
23151 arg2 = static_cast< int >(val2);
23152 ecode3 = SWIG_AsVal_int(obj2, &val3);
23153 if (!SWIG_IsOK(ecode3)) {
23154 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23155 }
23156 arg3 = static_cast< int >(val3);
23157 ecode4 = SWIG_AsVal_int(obj3, &val4);
23158 if (!SWIG_IsOK(ecode4)) {
23159 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23160 }
23161 arg4 = static_cast< int >(val4);
23162 ecode5 = SWIG_AsVal_int(obj4, &val5);
23163 if (!SWIG_IsOK(ecode5)) {
23164 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23165 }
23166 arg5 = static_cast< int >(val5);
23167 {
23168 PyThreadState* __tstate = wxPyBeginAllowThreads();
23169 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
23170 wxPyEndAllowThreads(__tstate);
23171 if (PyErr_Occurred()) SWIG_fail;
23172 }
23173 resultobj = SWIG_Py_Void();
23174 return resultobj;
23175fail:
23176 return NULL;
23177}
23178
23179
23180SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23181 PyObject *resultobj = 0;
23182 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23183 int arg2 ;
23184 int arg3 ;
23185 int arg4 ;
23186 int arg5 ;
23187 int arg6 = (int) wxSIZE_AUTO ;
23188 void *argp1 = 0 ;
23189 int res1 = 0 ;
23190 int val2 ;
23191 int ecode2 = 0 ;
23192 int val3 ;
23193 int ecode3 = 0 ;
23194 int val4 ;
23195 int ecode4 = 0 ;
23196 int val5 ;
23197 int ecode5 = 0 ;
23198 int val6 ;
23199 int ecode6 = 0 ;
23200 PyObject * obj0 = 0 ;
23201 PyObject * obj1 = 0 ;
23202 PyObject * obj2 = 0 ;
23203 PyObject * obj3 = 0 ;
23204 PyObject * obj4 = 0 ;
23205 PyObject * obj5 = 0 ;
23206 char * kwnames[] = {
23207 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23208 };
23209
23210 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23211 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23212 if (!SWIG_IsOK(res1)) {
23213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23214 }
23215 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23216 ecode2 = SWIG_AsVal_int(obj1, &val2);
23217 if (!SWIG_IsOK(ecode2)) {
23218 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23219 }
23220 arg2 = static_cast< int >(val2);
23221 ecode3 = SWIG_AsVal_int(obj2, &val3);
23222 if (!SWIG_IsOK(ecode3)) {
23223 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23224 }
23225 arg3 = static_cast< int >(val3);
23226 ecode4 = SWIG_AsVal_int(obj3, &val4);
23227 if (!SWIG_IsOK(ecode4)) {
23228 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23229 }
23230 arg4 = static_cast< int >(val4);
23231 ecode5 = SWIG_AsVal_int(obj4, &val5);
23232 if (!SWIG_IsOK(ecode5)) {
23233 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23234 }
23235 arg5 = static_cast< int >(val5);
23236 if (obj5) {
23237 ecode6 = SWIG_AsVal_int(obj5, &val6);
23238 if (!SWIG_IsOK(ecode6)) {
23239 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23240 }
23241 arg6 = static_cast< int >(val6);
23242 }
23243 {
23244 PyThreadState* __tstate = wxPyBeginAllowThreads();
23245 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23246 wxPyEndAllowThreads(__tstate);
23247 if (PyErr_Occurred()) SWIG_fail;
23248 }
23249 resultobj = SWIG_Py_Void();
23250 return resultobj;
23251fail:
23252 return NULL;
23253}
23254
23255
23256SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23257 PyObject *resultobj = 0;
23258 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23259 int arg2 ;
23260 int arg3 ;
23261 void *argp1 = 0 ;
23262 int res1 = 0 ;
23263 int val2 ;
23264 int ecode2 = 0 ;
23265 int val3 ;
23266 int ecode3 = 0 ;
23267 PyObject * obj0 = 0 ;
23268 PyObject * obj1 = 0 ;
23269 PyObject * obj2 = 0 ;
23270 char * kwnames[] = {
23271 (char *) "self",(char *) "width",(char *) "height", NULL
23272 };
23273
23274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23276 if (!SWIG_IsOK(res1)) {
23277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23278 }
23279 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23280 ecode2 = SWIG_AsVal_int(obj1, &val2);
23281 if (!SWIG_IsOK(ecode2)) {
23282 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23283 }
23284 arg2 = static_cast< int >(val2);
23285 ecode3 = SWIG_AsVal_int(obj2, &val3);
23286 if (!SWIG_IsOK(ecode3)) {
23287 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23288 }
23289 arg3 = static_cast< int >(val3);
23290 {
23291 PyThreadState* __tstate = wxPyBeginAllowThreads();
23292 (arg1)->DoSetClientSize(arg2,arg3);
23293 wxPyEndAllowThreads(__tstate);
23294 if (PyErr_Occurred()) SWIG_fail;
23295 }
23296 resultobj = SWIG_Py_Void();
23297 return resultobj;
23298fail:
23299 return NULL;
23300}
23301
23302
23303SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23304 PyObject *resultobj = 0;
23305 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23306 int arg2 ;
23307 int arg3 ;
23308 void *argp1 = 0 ;
23309 int res1 = 0 ;
23310 int val2 ;
23311 int ecode2 = 0 ;
23312 int val3 ;
23313 int ecode3 = 0 ;
23314 PyObject * obj0 = 0 ;
23315 PyObject * obj1 = 0 ;
23316 PyObject * obj2 = 0 ;
23317 char * kwnames[] = {
23318 (char *) "self",(char *) "x",(char *) "y", NULL
23319 };
23320
23321 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23322 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23323 if (!SWIG_IsOK(res1)) {
23324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23325 }
23326 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23327 ecode2 = SWIG_AsVal_int(obj1, &val2);
23328 if (!SWIG_IsOK(ecode2)) {
23329 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23330 }
23331 arg2 = static_cast< int >(val2);
23332 ecode3 = SWIG_AsVal_int(obj2, &val3);
23333 if (!SWIG_IsOK(ecode3)) {
23334 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23335 }
23336 arg3 = static_cast< int >(val3);
23337 {
23338 PyThreadState* __tstate = wxPyBeginAllowThreads();
23339 (arg1)->DoSetVirtualSize(arg2,arg3);
23340 wxPyEndAllowThreads(__tstate);
23341 if (PyErr_Occurred()) SWIG_fail;
23342 }
23343 resultobj = SWIG_Py_Void();
23344 return resultobj;
23345fail:
23346 return NULL;
23347}
23348
23349
23350SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23351 PyObject *resultobj = 0;
23352 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23353 int *arg2 = (int *) 0 ;
23354 int *arg3 = (int *) 0 ;
23355 void *argp1 = 0 ;
23356 int res1 = 0 ;
23357 int temp2 ;
23358 int res2 = SWIG_TMPOBJ ;
23359 int temp3 ;
23360 int res3 = SWIG_TMPOBJ ;
23361 PyObject *swig_obj[1] ;
23362
23363 arg2 = &temp2;
23364 arg3 = &temp3;
23365 if (!args) SWIG_fail;
23366 swig_obj[0] = args;
23367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23368 if (!SWIG_IsOK(res1)) {
23369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23370 }
23371 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23372 {
23373 PyThreadState* __tstate = wxPyBeginAllowThreads();
23374 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23375 wxPyEndAllowThreads(__tstate);
23376 if (PyErr_Occurred()) SWIG_fail;
23377 }
23378 resultobj = SWIG_Py_Void();
23379 if (SWIG_IsTmpObj(res2)) {
23380 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23381 } else {
23382 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23383 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23384 }
23385 if (SWIG_IsTmpObj(res3)) {
23386 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23387 } else {
23388 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23389 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23390 }
23391 return resultobj;
23392fail:
23393 return NULL;
23394}
23395
23396
23397SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23398 PyObject *resultobj = 0;
23399 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23400 int *arg2 = (int *) 0 ;
23401 int *arg3 = (int *) 0 ;
23402 void *argp1 = 0 ;
23403 int res1 = 0 ;
23404 int temp2 ;
23405 int res2 = SWIG_TMPOBJ ;
23406 int temp3 ;
23407 int res3 = SWIG_TMPOBJ ;
23408 PyObject *swig_obj[1] ;
23409
23410 arg2 = &temp2;
23411 arg3 = &temp3;
23412 if (!args) SWIG_fail;
23413 swig_obj[0] = args;
23414 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23415 if (!SWIG_IsOK(res1)) {
23416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23417 }
23418 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23419 {
23420 PyThreadState* __tstate = wxPyBeginAllowThreads();
23421 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23422 wxPyEndAllowThreads(__tstate);
23423 if (PyErr_Occurred()) SWIG_fail;
23424 }
23425 resultobj = SWIG_Py_Void();
23426 if (SWIG_IsTmpObj(res2)) {
23427 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23428 } else {
23429 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23430 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23431 }
23432 if (SWIG_IsTmpObj(res3)) {
23433 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23434 } else {
23435 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23436 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23437 }
23438 return resultobj;
23439fail:
23440 return NULL;
23441}
23442
23443
23444SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23445 PyObject *resultobj = 0;
23446 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23447 int *arg2 = (int *) 0 ;
23448 int *arg3 = (int *) 0 ;
23449 void *argp1 = 0 ;
23450 int res1 = 0 ;
23451 int temp2 ;
23452 int res2 = SWIG_TMPOBJ ;
23453 int temp3 ;
23454 int res3 = SWIG_TMPOBJ ;
23455 PyObject *swig_obj[1] ;
23456
23457 arg2 = &temp2;
23458 arg3 = &temp3;
23459 if (!args) SWIG_fail;
23460 swig_obj[0] = args;
23461 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23462 if (!SWIG_IsOK(res1)) {
23463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23464 }
23465 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23466 {
23467 PyThreadState* __tstate = wxPyBeginAllowThreads();
23468 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23469 wxPyEndAllowThreads(__tstate);
23470 if (PyErr_Occurred()) SWIG_fail;
23471 }
23472 resultobj = SWIG_Py_Void();
23473 if (SWIG_IsTmpObj(res2)) {
23474 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23475 } else {
23476 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23477 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23478 }
23479 if (SWIG_IsTmpObj(res3)) {
23480 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23481 } else {
23482 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23483 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23484 }
23485 return resultobj;
23486fail:
23487 return NULL;
d55e5bfc
RD
23488}
23489
23490
554f62e9
RD
23491SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23492 PyObject *resultobj = 0;
23493 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23494 wxSize result;
23495 void *argp1 = 0 ;
23496 int res1 = 0 ;
23497 PyObject *swig_obj[1] ;
23498
23499 if (!args) SWIG_fail;
23500 swig_obj[0] = args;
23501 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23502 if (!SWIG_IsOK(res1)) {
23503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23504 }
23505 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23506 {
23507 PyThreadState* __tstate = wxPyBeginAllowThreads();
23508 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23509 wxPyEndAllowThreads(__tstate);
23510 if (PyErr_Occurred()) SWIG_fail;
23511 }
23512 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23513 return resultobj;
23514fail:
23515 return NULL;
d55e5bfc
RD
23516}
23517
23518
554f62e9
RD
23519SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23520 PyObject *resultobj = 0;
23521 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23522 wxSize result;
23523 void *argp1 = 0 ;
23524 int res1 = 0 ;
23525 PyObject *swig_obj[1] ;
23526
23527 if (!args) SWIG_fail;
23528 swig_obj[0] = args;
23529 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23530 if (!SWIG_IsOK(res1)) {
23531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23532 }
23533 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23534 {
23535 PyThreadState* __tstate = wxPyBeginAllowThreads();
23536 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23537 wxPyEndAllowThreads(__tstate);
23538 if (PyErr_Occurred()) SWIG_fail;
23539 }
23540 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23541 return resultobj;
23542fail:
23543 return NULL;
d55e5bfc
RD
23544}
23545
23546
554f62e9
RD
23547SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23548 PyObject *resultobj = 0;
23549 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23550 SwigValueWrapper<wxVisualAttributes > result;
23551 void *argp1 = 0 ;
23552 int res1 = 0 ;
23553 PyObject *swig_obj[1] ;
23554
23555 if (!args) SWIG_fail;
23556 swig_obj[0] = args;
23557 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23558 if (!SWIG_IsOK(res1)) {
23559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23560 }
23561 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23562 {
23563 PyThreadState* __tstate = wxPyBeginAllowThreads();
23564 result = (arg1)->GetDefaultAttributes();
23565 wxPyEndAllowThreads(__tstate);
23566 if (PyErr_Occurred()) SWIG_fail;
23567 }
23568 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23569 return resultobj;
23570fail:
23571 return NULL;
d55e5bfc
RD
23572}
23573
23574
554f62e9
RD
23575SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23576 PyObject *resultobj = 0;
23577 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23578 void *argp1 = 0 ;
23579 int res1 = 0 ;
23580 PyObject *swig_obj[1] ;
23581
23582 if (!args) SWIG_fail;
23583 swig_obj[0] = args;
23584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23585 if (!SWIG_IsOK(res1)) {
23586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23587 }
23588 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23589 {
23590 PyThreadState* __tstate = wxPyBeginAllowThreads();
23591 (arg1)->OnInternalIdle();
23592 wxPyEndAllowThreads(__tstate);
23593 if (PyErr_Occurred()) SWIG_fail;
23594 }
23595 resultobj = SWIG_Py_Void();
23596 return resultobj;
23597fail:
23598 return NULL;
d55e5bfc
RD
23599}
23600
23601
554f62e9
RD
23602SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23603 PyObject *obj;
23604 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23605 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23606 return SWIG_Py_Void();
d55e5bfc
RD
23607}
23608
554f62e9
RD
23609SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23610 return SWIG_Python_InitShadowInstance(args);
23611}
d55e5bfc 23612
554f62e9
RD
23613SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23614 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23615 return 1;
d55e5bfc
RD
23616}
23617
23618
554f62e9
RD
23619SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23620 PyObject *pyobj = 0;
23621
23622 {
23623#if wxUSE_UNICODE
23624 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23625#else
23626 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23627#endif
23628 }
23629 return pyobj;
d55e5bfc
RD
23630}
23631
23632
554f62e9
RD
23633SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23634 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23635 return 1;
d55e5bfc
RD
23636}
23637
23638
554f62e9
RD
23639SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23640 PyObject *pyobj = 0;
23641
23642 {
23643#if wxUSE_UNICODE
23644 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23645#else
23646 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23647#endif
23648 }
23649 return pyobj;
d55e5bfc
RD
23650}
23651
23652
554f62e9
RD
23653SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23654 PyObject *resultobj = 0;
23655 wxPrintData *result = 0 ;
23656
23657 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23658 {
23659 PyThreadState* __tstate = wxPyBeginAllowThreads();
23660 result = (wxPrintData *)new wxPrintData();
23661 wxPyEndAllowThreads(__tstate);
23662 if (PyErr_Occurred()) SWIG_fail;
23663 }
23664 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23665 return resultobj;
23666fail:
23667 return NULL;
d55e5bfc
RD
23668}
23669
23670
554f62e9
RD
23671SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23672 PyObject *resultobj = 0;
23673 wxPrintData *arg1 = 0 ;
23674 wxPrintData *result = 0 ;
23675 void *argp1 = 0 ;
23676 int res1 = 0 ;
23677
23678 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23679 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23680 if (!SWIG_IsOK(res1)) {
23681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23682 }
23683 if (!argp1) {
23684 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23685 }
23686 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23687 {
23688 PyThreadState* __tstate = wxPyBeginAllowThreads();
23689 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23690 wxPyEndAllowThreads(__tstate);
23691 if (PyErr_Occurred()) SWIG_fail;
23692 }
23693 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23694 return resultobj;
23695fail:
23696 return NULL;
d55e5bfc
RD
23697}
23698
23699
554f62e9
RD
23700SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23701 int argc;
23702 PyObject *argv[2];
23703
23704 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23705 --argc;
23706 if (argc == 0) {
23707 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23708 }
23709 if (argc == 1) {
23710 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23711 }
23712
23713fail:
23714 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23715 return NULL;
d55e5bfc
RD
23716}
23717
23718
554f62e9
RD
23719SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23720 PyObject *resultobj = 0;
23721 wxPrintData *arg1 = (wxPrintData *) 0 ;
23722 void *argp1 = 0 ;
23723 int res1 = 0 ;
23724 PyObject *swig_obj[1] ;
23725
23726 if (!args) SWIG_fail;
23727 swig_obj[0] = args;
23728 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23729 if (!SWIG_IsOK(res1)) {
23730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23731 }
23732 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23733 {
23734 PyThreadState* __tstate = wxPyBeginAllowThreads();
23735 delete arg1;
d55e5bfc 23736
554f62e9
RD
23737 wxPyEndAllowThreads(__tstate);
23738 if (PyErr_Occurred()) SWIG_fail;
23739 }
23740 resultobj = SWIG_Py_Void();
23741 return resultobj;
23742fail:
23743 return NULL;
d55e5bfc
RD
23744}
23745
23746
554f62e9
RD
23747SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23748 PyObject *resultobj = 0;
23749 wxPrintData *arg1 = (wxPrintData *) 0 ;
23750 int result;
23751 void *argp1 = 0 ;
23752 int res1 = 0 ;
23753 PyObject *swig_obj[1] ;
23754
23755 if (!args) SWIG_fail;
23756 swig_obj[0] = args;
23757 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23758 if (!SWIG_IsOK(res1)) {
23759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23760 }
23761 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23762 {
23763 PyThreadState* __tstate = wxPyBeginAllowThreads();
23764 result = (int)(arg1)->GetNoCopies();
23765 wxPyEndAllowThreads(__tstate);
23766 if (PyErr_Occurred()) SWIG_fail;
23767 }
23768 resultobj = SWIG_From_int(static_cast< int >(result));
23769 return resultobj;
23770fail:
23771 return NULL;
d55e5bfc
RD
23772}
23773
23774
554f62e9
RD
23775SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23776 PyObject *resultobj = 0;
23777 wxPrintData *arg1 = (wxPrintData *) 0 ;
23778 bool result;
23779 void *argp1 = 0 ;
23780 int res1 = 0 ;
23781 PyObject *swig_obj[1] ;
23782
23783 if (!args) SWIG_fail;
23784 swig_obj[0] = args;
23785 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23786 if (!SWIG_IsOK(res1)) {
23787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23788 }
23789 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23790 {
23791 PyThreadState* __tstate = wxPyBeginAllowThreads();
23792 result = (bool)(arg1)->GetCollate();
23793 wxPyEndAllowThreads(__tstate);
23794 if (PyErr_Occurred()) SWIG_fail;
23795 }
23796 {
23797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23798 }
23799 return resultobj;
23800fail:
23801 return NULL;
d55e5bfc
RD
23802}
23803
23804
554f62e9
RD
23805SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23806 PyObject *resultobj = 0;
23807 wxPrintData *arg1 = (wxPrintData *) 0 ;
23808 int result;
23809 void *argp1 = 0 ;
23810 int res1 = 0 ;
23811 PyObject *swig_obj[1] ;
23812
23813 if (!args) SWIG_fail;
23814 swig_obj[0] = args;
23815 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23816 if (!SWIG_IsOK(res1)) {
23817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23818 }
23819 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23820 {
23821 PyThreadState* __tstate = wxPyBeginAllowThreads();
23822 result = (int)(arg1)->GetOrientation();
23823 wxPyEndAllowThreads(__tstate);
23824 if (PyErr_Occurred()) SWIG_fail;
23825 }
23826 resultobj = SWIG_From_int(static_cast< int >(result));
23827 return resultobj;
23828fail:
23829 return NULL;
d55e5bfc
RD
23830}
23831
23832
b39fe951 23833SWIGINTERN PyObject *_wrap_PrintData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
554f62e9
RD
23834 PyObject *resultobj = 0;
23835 wxPrintData *arg1 = (wxPrintData *) 0 ;
23836 bool result;
23837 void *argp1 = 0 ;
23838 int res1 = 0 ;
23839 PyObject *swig_obj[1] ;
23840
23841 if (!args) SWIG_fail;
23842 swig_obj[0] = args;
23843 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23844 if (!SWIG_IsOK(res1)) {
b39fe951 23845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
554f62e9
RD
23846 }
23847 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23848 {
23849 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 23850 result = (bool)(arg1)->IsOk();
554f62e9
RD
23851 wxPyEndAllowThreads(__tstate);
23852 if (PyErr_Occurred()) SWIG_fail;
23853 }
23854 {
23855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23856 }
23857 return resultobj;
23858fail:
23859 return NULL;
d55e5bfc
RD
23860}
23861
23862
554f62e9
RD
23863SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23864 PyObject *resultobj = 0;
23865 wxPrintData *arg1 = (wxPrintData *) 0 ;
23866 wxString *result = 0 ;
23867 void *argp1 = 0 ;
23868 int res1 = 0 ;
23869 PyObject *swig_obj[1] ;
23870
23871 if (!args) SWIG_fail;
23872 swig_obj[0] = args;
23873 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23874 if (!SWIG_IsOK(res1)) {
23875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23876 }
23877 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23878 {
23879 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 23880 {
554f62e9
RD
23881 wxString const &_result_ref = (arg1)->GetPrinterName();
23882 result = (wxString *) &_result_ref;
d55e5bfc 23883 }
554f62e9
RD
23884 wxPyEndAllowThreads(__tstate);
23885 if (PyErr_Occurred()) SWIG_fail;
23886 }
23887 {
d55e5bfc 23888#if wxUSE_UNICODE
554f62e9 23889 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d55e5bfc 23890#else
554f62e9 23891 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d55e5bfc 23892#endif
554f62e9
RD
23893 }
23894 return resultobj;
23895fail:
23896 return NULL;
d55e5bfc
RD
23897}
23898
23899
554f62e9
RD
23900SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23901 PyObject *resultobj = 0;
23902 wxPrintData *arg1 = (wxPrintData *) 0 ;
23903 bool result;
23904 void *argp1 = 0 ;
23905 int res1 = 0 ;
23906 PyObject *swig_obj[1] ;
23907
23908 if (!args) SWIG_fail;
23909 swig_obj[0] = args;
23910 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23911 if (!SWIG_IsOK(res1)) {
23912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23913 }
23914 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23915 {
23916 PyThreadState* __tstate = wxPyBeginAllowThreads();
23917 result = (bool)(arg1)->GetColour();
23918 wxPyEndAllowThreads(__tstate);
23919 if (PyErr_Occurred()) SWIG_fail;
23920 }
23921 {
23922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23923 }
23924 return resultobj;
23925fail:
23926 return NULL;
d55e5bfc
RD
23927}
23928
23929
554f62e9
RD
23930SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23931 PyObject *resultobj = 0;
23932 wxPrintData *arg1 = (wxPrintData *) 0 ;
23933 wxDuplexMode result;
23934 void *argp1 = 0 ;
23935 int res1 = 0 ;
23936 PyObject *swig_obj[1] ;
23937
23938 if (!args) SWIG_fail;
23939 swig_obj[0] = args;
23940 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23941 if (!SWIG_IsOK(res1)) {
23942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23943 }
23944 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23945 {
23946 PyThreadState* __tstate = wxPyBeginAllowThreads();
23947 result = (wxDuplexMode)(arg1)->GetDuplex();
23948 wxPyEndAllowThreads(__tstate);
23949 if (PyErr_Occurred()) SWIG_fail;
23950 }
23951 resultobj = SWIG_From_int(static_cast< int >(result));
23952 return resultobj;
23953fail:
23954 return NULL;
d55e5bfc
RD
23955}
23956
23957
554f62e9
RD
23958SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23959 PyObject *resultobj = 0;
23960 wxPrintData *arg1 = (wxPrintData *) 0 ;
23961 wxPaperSize result;
23962 void *argp1 = 0 ;
23963 int res1 = 0 ;
23964 PyObject *swig_obj[1] ;
23965
23966 if (!args) SWIG_fail;
23967 swig_obj[0] = args;
23968 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23969 if (!SWIG_IsOK(res1)) {
23970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23971 }
23972 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23973 {
23974 PyThreadState* __tstate = wxPyBeginAllowThreads();
23975 result = (wxPaperSize)(arg1)->GetPaperId();
23976 wxPyEndAllowThreads(__tstate);
23977 if (PyErr_Occurred()) SWIG_fail;
23978 }
23979 resultobj = SWIG_From_int(static_cast< int >(result));
23980 return resultobj;
23981fail:
23982 return NULL;
d55e5bfc
RD
23983}
23984
23985
554f62e9
RD
23986SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23987 PyObject *resultobj = 0;
23988 wxPrintData *arg1 = (wxPrintData *) 0 ;
23989 wxSize *result = 0 ;
23990 void *argp1 = 0 ;
23991 int res1 = 0 ;
23992 PyObject *swig_obj[1] ;
23993
23994 if (!args) SWIG_fail;
23995 swig_obj[0] = args;
23996 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23997 if (!SWIG_IsOK(res1)) {
23998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23999 }
24000 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24001 {
24002 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 24003 {
554f62e9
RD
24004 wxSize const &_result_ref = (arg1)->GetPaperSize();
24005 result = (wxSize *) &_result_ref;
d55e5bfc 24006 }
554f62e9
RD
24007 wxPyEndAllowThreads(__tstate);
24008 if (PyErr_Occurred()) SWIG_fail;
24009 }
24010 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
24011 return resultobj;
24012fail:
24013 return NULL;
d55e5bfc
RD
24014}
24015
24016
554f62e9
RD
24017SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24018 PyObject *resultobj = 0;
24019 wxPrintData *arg1 = (wxPrintData *) 0 ;
24020 int result;
24021 void *argp1 = 0 ;
24022 int res1 = 0 ;
24023 PyObject *swig_obj[1] ;
24024
24025 if (!args) SWIG_fail;
24026 swig_obj[0] = args;
24027 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24028 if (!SWIG_IsOK(res1)) {
24029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24030 }
24031 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24032 {
24033 PyThreadState* __tstate = wxPyBeginAllowThreads();
24034 result = (int)(arg1)->GetQuality();
24035 wxPyEndAllowThreads(__tstate);
24036 if (PyErr_Occurred()) SWIG_fail;
24037 }
24038 resultobj = SWIG_From_int(static_cast< int >(result));
24039 return resultobj;
24040fail:
24041 return NULL;
d55e5bfc
RD
24042}
24043
24044
554f62e9
RD
24045SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24046 PyObject *resultobj = 0;
24047 wxPrintData *arg1 = (wxPrintData *) 0 ;
24048 wxPrintBin result;
24049 void *argp1 = 0 ;
24050 int res1 = 0 ;
24051 PyObject *swig_obj[1] ;
24052
24053 if (!args) SWIG_fail;
24054 swig_obj[0] = args;
24055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24056 if (!SWIG_IsOK(res1)) {
24057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24058 }
24059 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24060 {
24061 PyThreadState* __tstate = wxPyBeginAllowThreads();
24062 result = (wxPrintBin)(arg1)->GetBin();
24063 wxPyEndAllowThreads(__tstate);
24064 if (PyErr_Occurred()) SWIG_fail;
24065 }
24066 resultobj = SWIG_From_int(static_cast< int >(result));
24067 return resultobj;
24068fail:
24069 return NULL;
d55e5bfc
RD
24070}
24071
24072
554f62e9
RD
24073SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24074 PyObject *resultobj = 0;
24075 wxPrintData *arg1 = (wxPrintData *) 0 ;
24076 wxPrintMode result;
24077 void *argp1 = 0 ;
24078 int res1 = 0 ;
24079 PyObject *swig_obj[1] ;
24080
24081 if (!args) SWIG_fail;
24082 swig_obj[0] = args;
24083 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24084 if (!SWIG_IsOK(res1)) {
24085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24086 }
24087 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24088 {
24089 PyThreadState* __tstate = wxPyBeginAllowThreads();
24090 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
24091 wxPyEndAllowThreads(__tstate);
24092 if (PyErr_Occurred()) SWIG_fail;
24093 }
24094 resultobj = SWIG_From_int(static_cast< int >(result));
24095 return resultobj;
24096fail:
24097 return NULL;
24098}
24099
24100
8f514ab4
RD
24101SWIGINTERN PyObject *_wrap_PrintData_GetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24102 PyObject *resultobj = 0;
24103 wxPrintData *arg1 = (wxPrintData *) 0 ;
24104 int result;
24105 void *argp1 = 0 ;
24106 int res1 = 0 ;
24107 PyObject *swig_obj[1] ;
24108
24109 if (!args) SWIG_fail;
24110 swig_obj[0] = args;
24111 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24112 if (!SWIG_IsOK(res1)) {
24113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24114 }
24115 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24116 {
24117 PyThreadState* __tstate = wxPyBeginAllowThreads();
24118 result = (int)((wxPrintData const *)arg1)->GetMedia();
24119 wxPyEndAllowThreads(__tstate);
24120 if (PyErr_Occurred()) SWIG_fail;
24121 }
24122 resultobj = SWIG_From_int(static_cast< int >(result));
24123 return resultobj;
24124fail:
24125 return NULL;
24126}
24127
24128
554f62e9
RD
24129SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24130 PyObject *resultobj = 0;
24131 wxPrintData *arg1 = (wxPrintData *) 0 ;
24132 int arg2 ;
24133 void *argp1 = 0 ;
24134 int res1 = 0 ;
24135 int val2 ;
24136 int ecode2 = 0 ;
24137 PyObject * obj0 = 0 ;
24138 PyObject * obj1 = 0 ;
24139 char * kwnames[] = {
24140 (char *) "self",(char *) "v", NULL
24141 };
24142
24143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
24144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24145 if (!SWIG_IsOK(res1)) {
24146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24147 }
24148 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24149 ecode2 = SWIG_AsVal_int(obj1, &val2);
24150 if (!SWIG_IsOK(ecode2)) {
24151 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24152 }
24153 arg2 = static_cast< int >(val2);
24154 {
24155 PyThreadState* __tstate = wxPyBeginAllowThreads();
24156 (arg1)->SetNoCopies(arg2);
24157 wxPyEndAllowThreads(__tstate);
24158 if (PyErr_Occurred()) SWIG_fail;
24159 }
24160 resultobj = SWIG_Py_Void();
24161 return resultobj;
24162fail:
24163 return NULL;
24164}
24165
24166
24167SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24168 PyObject *resultobj = 0;
24169 wxPrintData *arg1 = (wxPrintData *) 0 ;
24170 bool arg2 ;
24171 void *argp1 = 0 ;
24172 int res1 = 0 ;
24173 bool val2 ;
24174 int ecode2 = 0 ;
24175 PyObject * obj0 = 0 ;
24176 PyObject * obj1 = 0 ;
24177 char * kwnames[] = {
24178 (char *) "self",(char *) "flag", NULL
24179 };
24180
24181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
24182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24183 if (!SWIG_IsOK(res1)) {
24184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24185 }
24186 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24187 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24188 if (!SWIG_IsOK(ecode2)) {
24189 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24190 }
24191 arg2 = static_cast< bool >(val2);
24192 {
24193 PyThreadState* __tstate = wxPyBeginAllowThreads();
24194 (arg1)->SetCollate(arg2);
24195 wxPyEndAllowThreads(__tstate);
24196 if (PyErr_Occurred()) SWIG_fail;
24197 }
24198 resultobj = SWIG_Py_Void();
24199 return resultobj;
24200fail:
24201 return NULL;
24202}
24203
24204
24205SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24206 PyObject *resultobj = 0;
24207 wxPrintData *arg1 = (wxPrintData *) 0 ;
24208 int arg2 ;
24209 void *argp1 = 0 ;
24210 int res1 = 0 ;
24211 int val2 ;
24212 int ecode2 = 0 ;
24213 PyObject * obj0 = 0 ;
24214 PyObject * obj1 = 0 ;
24215 char * kwnames[] = {
24216 (char *) "self",(char *) "orient", NULL
24217 };
24218
24219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24221 if (!SWIG_IsOK(res1)) {
24222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24223 }
24224 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24225 ecode2 = SWIG_AsVal_int(obj1, &val2);
24226 if (!SWIG_IsOK(ecode2)) {
24227 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24228 }
24229 arg2 = static_cast< int >(val2);
24230 {
24231 PyThreadState* __tstate = wxPyBeginAllowThreads();
24232 (arg1)->SetOrientation(arg2);
24233 wxPyEndAllowThreads(__tstate);
24234 if (PyErr_Occurred()) SWIG_fail;
24235 }
24236 resultobj = SWIG_Py_Void();
24237 return resultobj;
24238fail:
24239 return NULL;
24240}
24241
24242
24243SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24244 PyObject *resultobj = 0;
24245 wxPrintData *arg1 = (wxPrintData *) 0 ;
24246 wxString *arg2 = 0 ;
24247 void *argp1 = 0 ;
24248 int res1 = 0 ;
24249 bool temp2 = false ;
24250 PyObject * obj0 = 0 ;
24251 PyObject * obj1 = 0 ;
24252 char * kwnames[] = {
24253 (char *) "self",(char *) "name", NULL
24254 };
24255
24256 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24257 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24258 if (!SWIG_IsOK(res1)) {
24259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24260 }
24261 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24262 {
24263 arg2 = wxString_in_helper(obj1);
24264 if (arg2 == NULL) SWIG_fail;
24265 temp2 = true;
24266 }
24267 {
24268 PyThreadState* __tstate = wxPyBeginAllowThreads();
24269 (arg1)->SetPrinterName((wxString const &)*arg2);
24270 wxPyEndAllowThreads(__tstate);
24271 if (PyErr_Occurred()) SWIG_fail;
24272 }
24273 resultobj = SWIG_Py_Void();
24274 {
24275 if (temp2)
24276 delete arg2;
24277 }
24278 return resultobj;
24279fail:
24280 {
24281 if (temp2)
24282 delete arg2;
24283 }
24284 return NULL;
24285}
24286
24287
24288SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24289 PyObject *resultobj = 0;
24290 wxPrintData *arg1 = (wxPrintData *) 0 ;
24291 bool arg2 ;
24292 void *argp1 = 0 ;
24293 int res1 = 0 ;
24294 bool val2 ;
24295 int ecode2 = 0 ;
24296 PyObject * obj0 = 0 ;
24297 PyObject * obj1 = 0 ;
24298 char * kwnames[] = {
24299 (char *) "self",(char *) "colour", NULL
24300 };
24301
24302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",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_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24306 }
24307 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24308 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24309 if (!SWIG_IsOK(ecode2)) {
24310 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24311 }
24312 arg2 = static_cast< bool >(val2);
24313 {
24314 PyThreadState* __tstate = wxPyBeginAllowThreads();
24315 (arg1)->SetColour(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
24326SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24327 PyObject *resultobj = 0;
24328 wxPrintData *arg1 = (wxPrintData *) 0 ;
24329 wxDuplexMode arg2 ;
24330 void *argp1 = 0 ;
24331 int res1 = 0 ;
24332 int val2 ;
24333 int ecode2 = 0 ;
24334 PyObject * obj0 = 0 ;
24335 PyObject * obj1 = 0 ;
24336 char * kwnames[] = {
24337 (char *) "self",(char *) "duplex", NULL
24338 };
24339
24340 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24341 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24342 if (!SWIG_IsOK(res1)) {
24343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24344 }
24345 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24346 ecode2 = SWIG_AsVal_int(obj1, &val2);
24347 if (!SWIG_IsOK(ecode2)) {
24348 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24349 }
24350 arg2 = static_cast< wxDuplexMode >(val2);
24351 {
24352 PyThreadState* __tstate = wxPyBeginAllowThreads();
24353 (arg1)->SetDuplex(arg2);
24354 wxPyEndAllowThreads(__tstate);
24355 if (PyErr_Occurred()) SWIG_fail;
24356 }
24357 resultobj = SWIG_Py_Void();
24358 return resultobj;
24359fail:
24360 return NULL;
24361}
24362
24363
24364SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24365 PyObject *resultobj = 0;
24366 wxPrintData *arg1 = (wxPrintData *) 0 ;
24367 wxPaperSize arg2 ;
24368 void *argp1 = 0 ;
24369 int res1 = 0 ;
24370 int val2 ;
24371 int ecode2 = 0 ;
24372 PyObject * obj0 = 0 ;
24373 PyObject * obj1 = 0 ;
24374 char * kwnames[] = {
24375 (char *) "self",(char *) "sizeId", NULL
24376 };
24377
24378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24380 if (!SWIG_IsOK(res1)) {
24381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24382 }
24383 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24384 ecode2 = SWIG_AsVal_int(obj1, &val2);
24385 if (!SWIG_IsOK(ecode2)) {
24386 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24387 }
24388 arg2 = static_cast< wxPaperSize >(val2);
24389 {
24390 PyThreadState* __tstate = wxPyBeginAllowThreads();
24391 (arg1)->SetPaperId(arg2);
24392 wxPyEndAllowThreads(__tstate);
24393 if (PyErr_Occurred()) SWIG_fail;
24394 }
24395 resultobj = SWIG_Py_Void();
24396 return resultobj;
24397fail:
24398 return NULL;
24399}
24400
24401
24402SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24403 PyObject *resultobj = 0;
24404 wxPrintData *arg1 = (wxPrintData *) 0 ;
24405 wxSize *arg2 = 0 ;
24406 void *argp1 = 0 ;
24407 int res1 = 0 ;
24408 wxSize temp2 ;
24409 PyObject * obj0 = 0 ;
24410 PyObject * obj1 = 0 ;
24411 char * kwnames[] = {
24412 (char *) "self",(char *) "sz", NULL
24413 };
24414
24415 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24416 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24417 if (!SWIG_IsOK(res1)) {
24418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24419 }
24420 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24421 {
24422 arg2 = &temp2;
24423 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24424 }
24425 {
24426 PyThreadState* __tstate = wxPyBeginAllowThreads();
24427 (arg1)->SetPaperSize((wxSize const &)*arg2);
24428 wxPyEndAllowThreads(__tstate);
24429 if (PyErr_Occurred()) SWIG_fail;
24430 }
24431 resultobj = SWIG_Py_Void();
24432 return resultobj;
24433fail:
24434 return NULL;
24435}
24436
24437
24438SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24439 PyObject *resultobj = 0;
24440 wxPrintData *arg1 = (wxPrintData *) 0 ;
24441 int arg2 ;
24442 void *argp1 = 0 ;
24443 int res1 = 0 ;
24444 int val2 ;
24445 int ecode2 = 0 ;
24446 PyObject * obj0 = 0 ;
24447 PyObject * obj1 = 0 ;
24448 char * kwnames[] = {
24449 (char *) "self",(char *) "quality", NULL
24450 };
24451
24452 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24453 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24454 if (!SWIG_IsOK(res1)) {
24455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24456 }
24457 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24458 ecode2 = SWIG_AsVal_int(obj1, &val2);
24459 if (!SWIG_IsOK(ecode2)) {
24460 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24461 }
24462 arg2 = static_cast< int >(val2);
24463 {
24464 PyThreadState* __tstate = wxPyBeginAllowThreads();
24465 (arg1)->SetQuality(arg2);
24466 wxPyEndAllowThreads(__tstate);
24467 if (PyErr_Occurred()) SWIG_fail;
24468 }
24469 resultobj = SWIG_Py_Void();
24470 return resultobj;
24471fail:
24472 return NULL;
24473}
24474
24475
24476SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24477 PyObject *resultobj = 0;
24478 wxPrintData *arg1 = (wxPrintData *) 0 ;
24479 wxPrintBin arg2 ;
24480 void *argp1 = 0 ;
24481 int res1 = 0 ;
24482 int val2 ;
24483 int ecode2 = 0 ;
24484 PyObject * obj0 = 0 ;
24485 PyObject * obj1 = 0 ;
24486 char * kwnames[] = {
24487 (char *) "self",(char *) "bin", NULL
24488 };
24489
24490 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24491 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24492 if (!SWIG_IsOK(res1)) {
24493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24494 }
24495 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24496 ecode2 = SWIG_AsVal_int(obj1, &val2);
24497 if (!SWIG_IsOK(ecode2)) {
24498 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24499 }
24500 arg2 = static_cast< wxPrintBin >(val2);
24501 {
24502 PyThreadState* __tstate = wxPyBeginAllowThreads();
24503 (arg1)->SetBin(arg2);
24504 wxPyEndAllowThreads(__tstate);
24505 if (PyErr_Occurred()) SWIG_fail;
24506 }
24507 resultobj = SWIG_Py_Void();
24508 return resultobj;
24509fail:
24510 return NULL;
24511}
24512
24513
24514SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24515 PyObject *resultobj = 0;
24516 wxPrintData *arg1 = (wxPrintData *) 0 ;
24517 wxPrintMode arg2 ;
24518 void *argp1 = 0 ;
24519 int res1 = 0 ;
24520 int val2 ;
24521 int ecode2 = 0 ;
24522 PyObject * obj0 = 0 ;
24523 PyObject * obj1 = 0 ;
24524 char * kwnames[] = {
24525 (char *) "self",(char *) "printMode", NULL
24526 };
24527
24528 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24529 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24530 if (!SWIG_IsOK(res1)) {
24531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24532 }
24533 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24534 ecode2 = SWIG_AsVal_int(obj1, &val2);
24535 if (!SWIG_IsOK(ecode2)) {
24536 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24537 }
24538 arg2 = static_cast< wxPrintMode >(val2);
24539 {
24540 PyThreadState* __tstate = wxPyBeginAllowThreads();
24541 (arg1)->SetPrintMode(arg2);
24542 wxPyEndAllowThreads(__tstate);
24543 if (PyErr_Occurred()) SWIG_fail;
24544 }
24545 resultobj = SWIG_Py_Void();
24546 return resultobj;
24547fail:
24548 return NULL;
d55e5bfc
RD
24549}
24550
24551
8f514ab4
RD
24552SWIGINTERN PyObject *_wrap_PrintData_SetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24553 PyObject *resultobj = 0;
24554 wxPrintData *arg1 = (wxPrintData *) 0 ;
24555 int arg2 ;
24556 void *argp1 = 0 ;
24557 int res1 = 0 ;
24558 int val2 ;
24559 int ecode2 = 0 ;
24560 PyObject * obj0 = 0 ;
24561 PyObject * obj1 = 0 ;
24562 char * kwnames[] = {
24563 (char *) "self",(char *) "media", NULL
24564 };
24565
24566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetMedia",kwnames,&obj0,&obj1)) SWIG_fail;
24567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24568 if (!SWIG_IsOK(res1)) {
24569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24570 }
24571 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24572 ecode2 = SWIG_AsVal_int(obj1, &val2);
24573 if (!SWIG_IsOK(ecode2)) {
24574 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24575 }
24576 arg2 = static_cast< int >(val2);
24577 {
24578 PyThreadState* __tstate = wxPyBeginAllowThreads();
24579 (arg1)->SetMedia(arg2);
24580 wxPyEndAllowThreads(__tstate);
24581 if (PyErr_Occurred()) SWIG_fail;
24582 }
24583 resultobj = SWIG_Py_Void();
24584 return resultobj;
24585fail:
24586 return NULL;
24587}
24588
24589
554f62e9
RD
24590SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24591 PyObject *resultobj = 0;
24592 wxPrintData *arg1 = (wxPrintData *) 0 ;
24593 wxString result;
24594 void *argp1 = 0 ;
24595 int res1 = 0 ;
24596 PyObject *swig_obj[1] ;
24597
24598 if (!args) SWIG_fail;
24599 swig_obj[0] = args;
24600 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24601 if (!SWIG_IsOK(res1)) {
24602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24603 }
24604 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24605 {
24606 PyThreadState* __tstate = wxPyBeginAllowThreads();
24607 result = ((wxPrintData const *)arg1)->GetFilename();
24608 wxPyEndAllowThreads(__tstate);
24609 if (PyErr_Occurred()) SWIG_fail;
24610 }
24611 {
d55e5bfc 24612#if wxUSE_UNICODE
554f62e9 24613 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 24614#else
554f62e9 24615 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc 24616#endif
554f62e9
RD
24617 }
24618 return resultobj;
24619fail:
24620 return NULL;
24621}
24622
24623
24624SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24625 PyObject *resultobj = 0;
24626 wxPrintData *arg1 = (wxPrintData *) 0 ;
24627 wxString *arg2 = 0 ;
24628 void *argp1 = 0 ;
24629 int res1 = 0 ;
24630 bool temp2 = false ;
24631 PyObject * obj0 = 0 ;
24632 PyObject * obj1 = 0 ;
24633 char * kwnames[] = {
24634 (char *) "self",(char *) "filename", NULL
24635 };
24636
24637 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24638 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24639 if (!SWIG_IsOK(res1)) {
24640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24641 }
24642 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24643 {
24644 arg2 = wxString_in_helper(obj1);
24645 if (arg2 == NULL) SWIG_fail;
24646 temp2 = true;
24647 }
24648 {
24649 PyThreadState* __tstate = wxPyBeginAllowThreads();
24650 (arg1)->SetFilename((wxString const &)*arg2);
24651 wxPyEndAllowThreads(__tstate);
24652 if (PyErr_Occurred()) SWIG_fail;
24653 }
24654 resultobj = SWIG_Py_Void();
24655 {
24656 if (temp2)
24657 delete arg2;
24658 }
24659 return resultobj;
24660fail:
24661 {
24662 if (temp2)
24663 delete arg2;
24664 }
24665 return NULL;
d55e5bfc
RD
24666}
24667
24668
554f62e9
RD
24669SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24670 PyObject *resultobj = 0;
24671 wxPrintData *arg1 = (wxPrintData *) 0 ;
24672 PyObject *result = 0 ;
24673 void *argp1 = 0 ;
24674 int res1 = 0 ;
24675 PyObject *swig_obj[1] ;
24676
24677 if (!args) SWIG_fail;
24678 swig_obj[0] = args;
24679 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24680 if (!SWIG_IsOK(res1)) {
24681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24682 }
24683 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24684 {
24685 PyThreadState* __tstate = wxPyBeginAllowThreads();
24686 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24687 wxPyEndAllowThreads(__tstate);
24688 if (PyErr_Occurred()) SWIG_fail;
24689 }
24690 resultobj = result;
24691 return resultobj;
24692fail:
24693 return NULL;
24694}
24695
24696
24697SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24698 PyObject *resultobj = 0;
24699 wxPrintData *arg1 = (wxPrintData *) 0 ;
24700 PyObject *arg2 = (PyObject *) 0 ;
24701 void *argp1 = 0 ;
24702 int res1 = 0 ;
24703 PyObject * obj0 = 0 ;
24704 PyObject * obj1 = 0 ;
24705 char * kwnames[] = {
24706 (char *) "self",(char *) "data", NULL
24707 };
24708
24709 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24710 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24711 if (!SWIG_IsOK(res1)) {
24712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24713 }
24714 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24715 arg2 = obj1;
24716 {
24717 PyThreadState* __tstate = wxPyBeginAllowThreads();
24718 wxPrintData_SetPrivData(arg1,arg2);
24719 wxPyEndAllowThreads(__tstate);
24720 if (PyErr_Occurred()) SWIG_fail;
24721 }
24722 resultobj = SWIG_Py_Void();
24723 return resultobj;
24724fail:
24725 return NULL;
d55e5bfc
RD
24726}
24727
24728
554f62e9
RD
24729SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24730 PyObject *obj;
24731 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24732 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24733 return SWIG_Py_Void();
c1cb24a4
RD
24734}
24735
554f62e9
RD
24736SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24737 return SWIG_Python_InitShadowInstance(args);
c1cb24a4
RD
24738}
24739
554f62e9
RD
24740SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24741 PyObject *resultobj = 0;
24742 wxPageSetupDialogData *result = 0 ;
24743
24744 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24745 {
24746 PyThreadState* __tstate = wxPyBeginAllowThreads();
24747 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24748 wxPyEndAllowThreads(__tstate);
24749 if (PyErr_Occurred()) SWIG_fail;
24750 }
24751 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24752 return resultobj;
24753fail:
24754 return NULL;
d55e5bfc
RD
24755}
24756
24757
554f62e9
RD
24758SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24759 PyObject *resultobj = 0;
24760 wxPageSetupDialogData *arg1 = 0 ;
24761 wxPageSetupDialogData *result = 0 ;
24762 void *argp1 = 0 ;
24763 int res1 = 0 ;
24764
24765 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24766 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24767 if (!SWIG_IsOK(res1)) {
24768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24769 }
24770 if (!argp1) {
24771 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24772 }
24773 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24774 {
24775 PyThreadState* __tstate = wxPyBeginAllowThreads();
24776 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24777 wxPyEndAllowThreads(__tstate);
24778 if (PyErr_Occurred()) SWIG_fail;
24779 }
24780 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24781 return resultobj;
24782fail:
24783 return NULL;
d55e5bfc
RD
24784}
24785
24786
554f62e9
RD
24787SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24788 PyObject *resultobj = 0;
24789 wxPrintData *arg1 = 0 ;
24790 wxPageSetupDialogData *result = 0 ;
24791 void *argp1 = 0 ;
24792 int res1 = 0 ;
24793
24794 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24796 if (!SWIG_IsOK(res1)) {
24797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24798 }
24799 if (!argp1) {
24800 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24801 }
24802 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24803 {
24804 PyThreadState* __tstate = wxPyBeginAllowThreads();
24805 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24806 wxPyEndAllowThreads(__tstate);
24807 if (PyErr_Occurred()) SWIG_fail;
24808 }
24809 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24810 return resultobj;
24811fail:
24812 return NULL;
d55e5bfc
RD
24813}
24814
24815
554f62e9
RD
24816SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24817 int argc;
24818 PyObject *argv[2];
24819
24820 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24821 --argc;
24822 if (argc == 0) {
24823 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24824 }
24825 if (argc == 1) {
24826 int _v = 0;
d55e5bfc 24827 {
554f62e9
RD
24828 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24829 _v = SWIG_CheckState(res);
d55e5bfc 24830 }
554f62e9
RD
24831 if (!_v) goto check_2;
24832 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24833 }
24834check_2:
24835
24836 if (argc == 1) {
24837 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24838 }
24839
24840fail:
24841 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24842 return NULL;
d55e5bfc
RD
24843}
24844
24845
554f62e9
RD
24846SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24847 PyObject *resultobj = 0;
24848 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24849 void *argp1 = 0 ;
24850 int res1 = 0 ;
24851 PyObject *swig_obj[1] ;
24852
24853 if (!args) SWIG_fail;
24854 swig_obj[0] = args;
24855 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24856 if (!SWIG_IsOK(res1)) {
24857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24858 }
24859 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24860 {
24861 PyThreadState* __tstate = wxPyBeginAllowThreads();
24862 delete arg1;
d55e5bfc 24863
554f62e9
RD
24864 wxPyEndAllowThreads(__tstate);
24865 if (PyErr_Occurred()) SWIG_fail;
24866 }
24867 resultobj = SWIG_Py_Void();
24868 return resultobj;
24869fail:
24870 return NULL;
24871}
24872
24873
24874SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24875 PyObject *resultobj = 0;
24876 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24877 bool arg2 ;
24878 void *argp1 = 0 ;
24879 int res1 = 0 ;
24880 bool val2 ;
24881 int ecode2 = 0 ;
24882 PyObject * obj0 = 0 ;
24883 PyObject * obj1 = 0 ;
24884 char * kwnames[] = {
24885 (char *) "self",(char *) "flag", NULL
24886 };
24887
24888 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24889 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24890 if (!SWIG_IsOK(res1)) {
24891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24892 }
24893 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24894 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24895 if (!SWIG_IsOK(ecode2)) {
24896 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24897 }
24898 arg2 = static_cast< bool >(val2);
24899 {
24900 PyThreadState* __tstate = wxPyBeginAllowThreads();
24901 (arg1)->EnableHelp(arg2);
24902 wxPyEndAllowThreads(__tstate);
24903 if (PyErr_Occurred()) SWIG_fail;
24904 }
24905 resultobj = SWIG_Py_Void();
24906 return resultobj;
24907fail:
24908 return NULL;
24909}
24910
24911
24912SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24913 PyObject *resultobj = 0;
24914 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24915 bool arg2 ;
24916 void *argp1 = 0 ;
24917 int res1 = 0 ;
24918 bool val2 ;
24919 int ecode2 = 0 ;
24920 PyObject * obj0 = 0 ;
24921 PyObject * obj1 = 0 ;
24922 char * kwnames[] = {
24923 (char *) "self",(char *) "flag", NULL
24924 };
24925
24926 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24927 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24928 if (!SWIG_IsOK(res1)) {
24929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24930 }
24931 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24932 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24933 if (!SWIG_IsOK(ecode2)) {
24934 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24935 }
24936 arg2 = static_cast< bool >(val2);
24937 {
24938 PyThreadState* __tstate = wxPyBeginAllowThreads();
24939 (arg1)->EnableMargins(arg2);
24940 wxPyEndAllowThreads(__tstate);
24941 if (PyErr_Occurred()) SWIG_fail;
24942 }
24943 resultobj = SWIG_Py_Void();
24944 return resultobj;
24945fail:
24946 return NULL;
24947}
24948
24949
24950SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24951 PyObject *resultobj = 0;
24952 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24953 bool arg2 ;
24954 void *argp1 = 0 ;
24955 int res1 = 0 ;
24956 bool val2 ;
24957 int ecode2 = 0 ;
24958 PyObject * obj0 = 0 ;
24959 PyObject * obj1 = 0 ;
24960 char * kwnames[] = {
24961 (char *) "self",(char *) "flag", NULL
24962 };
24963
24964 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24965 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24966 if (!SWIG_IsOK(res1)) {
24967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24968 }
24969 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24970 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24971 if (!SWIG_IsOK(ecode2)) {
24972 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24973 }
24974 arg2 = static_cast< bool >(val2);
24975 {
24976 PyThreadState* __tstate = wxPyBeginAllowThreads();
24977 (arg1)->EnableOrientation(arg2);
24978 wxPyEndAllowThreads(__tstate);
24979 if (PyErr_Occurred()) SWIG_fail;
24980 }
24981 resultobj = SWIG_Py_Void();
24982 return resultobj;
24983fail:
24984 return NULL;
24985}
24986
24987
24988SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24989 PyObject *resultobj = 0;
24990 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24991 bool arg2 ;
24992 void *argp1 = 0 ;
24993 int res1 = 0 ;
24994 bool val2 ;
24995 int ecode2 = 0 ;
24996 PyObject * obj0 = 0 ;
24997 PyObject * obj1 = 0 ;
24998 char * kwnames[] = {
24999 (char *) "self",(char *) "flag", NULL
25000 };
25001
25002 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
25003 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25004 if (!SWIG_IsOK(res1)) {
25005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25006 }
25007 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25008 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25009 if (!SWIG_IsOK(ecode2)) {
25010 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
25011 }
25012 arg2 = static_cast< bool >(val2);
25013 {
25014 PyThreadState* __tstate = wxPyBeginAllowThreads();
25015 (arg1)->EnablePaper(arg2);
25016 wxPyEndAllowThreads(__tstate);
25017 if (PyErr_Occurred()) SWIG_fail;
25018 }
25019 resultobj = SWIG_Py_Void();
25020 return resultobj;
25021fail:
25022 return NULL;
25023}
25024
25025
25026SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25027 PyObject *resultobj = 0;
25028 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25029 bool arg2 ;
25030 void *argp1 = 0 ;
25031 int res1 = 0 ;
25032 bool val2 ;
25033 int ecode2 = 0 ;
25034 PyObject * obj0 = 0 ;
25035 PyObject * obj1 = 0 ;
25036 char * kwnames[] = {
25037 (char *) "self",(char *) "flag", NULL
25038 };
25039
25040 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
25041 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25042 if (!SWIG_IsOK(res1)) {
25043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25044 }
25045 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25046 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25047 if (!SWIG_IsOK(ecode2)) {
25048 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
25049 }
25050 arg2 = static_cast< bool >(val2);
25051 {
25052 PyThreadState* __tstate = wxPyBeginAllowThreads();
25053 (arg1)->EnablePrinter(arg2);
25054 wxPyEndAllowThreads(__tstate);
25055 if (PyErr_Occurred()) SWIG_fail;
25056 }
25057 resultobj = SWIG_Py_Void();
25058 return resultobj;
25059fail:
25060 return NULL;
d55e5bfc
RD
25061}
25062
25063
554f62e9
RD
25064SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25065 PyObject *resultobj = 0;
25066 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25067 bool result;
25068 void *argp1 = 0 ;
25069 int res1 = 0 ;
25070 PyObject *swig_obj[1] ;
25071
25072 if (!args) SWIG_fail;
25073 swig_obj[0] = args;
25074 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25075 if (!SWIG_IsOK(res1)) {
25076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25077 }
25078 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25079 {
25080 PyThreadState* __tstate = wxPyBeginAllowThreads();
25081 result = (bool)(arg1)->GetDefaultMinMargins();
25082 wxPyEndAllowThreads(__tstate);
25083 if (PyErr_Occurred()) SWIG_fail;
25084 }
25085 {
25086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25087 }
25088 return resultobj;
25089fail:
25090 return NULL;
d55e5bfc
RD
25091}
25092
25093
554f62e9
RD
25094SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25095 PyObject *resultobj = 0;
25096 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25097 bool 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_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25107 }
25108 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25109 {
25110 PyThreadState* __tstate = wxPyBeginAllowThreads();
25111 result = (bool)(arg1)->GetEnableMargins();
25112 wxPyEndAllowThreads(__tstate);
25113 if (PyErr_Occurred()) SWIG_fail;
25114 }
25115 {
25116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25117 }
25118 return resultobj;
25119fail:
25120 return NULL;
d55e5bfc
RD
25121}
25122
25123
554f62e9
RD
25124SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25125 PyObject *resultobj = 0;
25126 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25127 bool result;
25128 void *argp1 = 0 ;
25129 int res1 = 0 ;
25130 PyObject *swig_obj[1] ;
25131
25132 if (!args) SWIG_fail;
25133 swig_obj[0] = args;
25134 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25135 if (!SWIG_IsOK(res1)) {
25136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25137 }
25138 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25139 {
25140 PyThreadState* __tstate = wxPyBeginAllowThreads();
25141 result = (bool)(arg1)->GetEnableOrientation();
25142 wxPyEndAllowThreads(__tstate);
25143 if (PyErr_Occurred()) SWIG_fail;
25144 }
25145 {
25146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25147 }
25148 return resultobj;
25149fail:
25150 return NULL;
d55e5bfc
RD
25151}
25152
25153
554f62e9
RD
25154SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25155 PyObject *resultobj = 0;
25156 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25157 bool result;
25158 void *argp1 = 0 ;
25159 int res1 = 0 ;
25160 PyObject *swig_obj[1] ;
25161
25162 if (!args) SWIG_fail;
25163 swig_obj[0] = args;
25164 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25165 if (!SWIG_IsOK(res1)) {
25166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25167 }
25168 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25169 {
25170 PyThreadState* __tstate = wxPyBeginAllowThreads();
25171 result = (bool)(arg1)->GetEnablePaper();
25172 wxPyEndAllowThreads(__tstate);
25173 if (PyErr_Occurred()) SWIG_fail;
25174 }
25175 {
25176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25177 }
25178 return resultobj;
25179fail:
25180 return NULL;
d55e5bfc
RD
25181}
25182
25183
554f62e9
RD
25184SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25185 PyObject *resultobj = 0;
25186 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25187 bool result;
25188 void *argp1 = 0 ;
25189 int res1 = 0 ;
25190 PyObject *swig_obj[1] ;
25191
25192 if (!args) SWIG_fail;
25193 swig_obj[0] = args;
25194 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25195 if (!SWIG_IsOK(res1)) {
25196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25197 }
25198 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25199 {
25200 PyThreadState* __tstate = wxPyBeginAllowThreads();
25201 result = (bool)(arg1)->GetEnablePrinter();
25202 wxPyEndAllowThreads(__tstate);
25203 if (PyErr_Occurred()) SWIG_fail;
25204 }
25205 {
25206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25207 }
25208 return resultobj;
25209fail:
25210 return NULL;
d55e5bfc
RD
25211}
25212
25213
554f62e9
RD
25214SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25215 PyObject *resultobj = 0;
25216 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25217 bool result;
25218 void *argp1 = 0 ;
25219 int res1 = 0 ;
25220 PyObject *swig_obj[1] ;
25221
25222 if (!args) SWIG_fail;
25223 swig_obj[0] = args;
25224 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25225 if (!SWIG_IsOK(res1)) {
25226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25227 }
25228 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25229 {
25230 PyThreadState* __tstate = wxPyBeginAllowThreads();
25231 result = (bool)(arg1)->GetEnableHelp();
25232 wxPyEndAllowThreads(__tstate);
25233 if (PyErr_Occurred()) SWIG_fail;
25234 }
25235 {
25236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25237 }
25238 return resultobj;
25239fail:
25240 return NULL;
d55e5bfc
RD
25241}
25242
25243
554f62e9
RD
25244SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25245 PyObject *resultobj = 0;
25246 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25247 bool result;
25248 void *argp1 = 0 ;
25249 int res1 = 0 ;
25250 PyObject *swig_obj[1] ;
25251
25252 if (!args) SWIG_fail;
25253 swig_obj[0] = args;
25254 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25255 if (!SWIG_IsOK(res1)) {
25256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25257 }
25258 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25259 {
25260 PyThreadState* __tstate = wxPyBeginAllowThreads();
25261 result = (bool)(arg1)->GetDefaultInfo();
25262 wxPyEndAllowThreads(__tstate);
25263 if (PyErr_Occurred()) SWIG_fail;
25264 }
25265 {
25266 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25267 }
25268 return resultobj;
25269fail:
25270 return NULL;
d55e5bfc
RD
25271}
25272
25273
554f62e9
RD
25274SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25275 PyObject *resultobj = 0;
25276 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25277 wxPoint result;
25278 void *argp1 = 0 ;
25279 int res1 = 0 ;
25280 PyObject *swig_obj[1] ;
25281
25282 if (!args) SWIG_fail;
25283 swig_obj[0] = args;
25284 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25285 if (!SWIG_IsOK(res1)) {
25286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25287 }
25288 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25289 {
25290 PyThreadState* __tstate = wxPyBeginAllowThreads();
25291 result = (arg1)->GetMarginTopLeft();
25292 wxPyEndAllowThreads(__tstate);
25293 if (PyErr_Occurred()) SWIG_fail;
25294 }
25295 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25296 return resultobj;
25297fail:
25298 return NULL;
d55e5bfc
RD
25299}
25300
25301
554f62e9
RD
25302SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25303 PyObject *resultobj = 0;
25304 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25305 wxPoint result;
25306 void *argp1 = 0 ;
25307 int res1 = 0 ;
25308 PyObject *swig_obj[1] ;
25309
25310 if (!args) SWIG_fail;
25311 swig_obj[0] = args;
25312 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25313 if (!SWIG_IsOK(res1)) {
25314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25315 }
25316 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25317 {
25318 PyThreadState* __tstate = wxPyBeginAllowThreads();
25319 result = (arg1)->GetMarginBottomRight();
25320 wxPyEndAllowThreads(__tstate);
25321 if (PyErr_Occurred()) SWIG_fail;
25322 }
25323 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25324 return resultobj;
25325fail:
25326 return NULL;
d55e5bfc
RD
25327}
25328
25329
554f62e9
RD
25330SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25331 PyObject *resultobj = 0;
25332 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25333 wxPoint result;
25334 void *argp1 = 0 ;
25335 int res1 = 0 ;
25336 PyObject *swig_obj[1] ;
25337
25338 if (!args) SWIG_fail;
25339 swig_obj[0] = args;
25340 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25341 if (!SWIG_IsOK(res1)) {
25342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25343 }
25344 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25345 {
25346 PyThreadState* __tstate = wxPyBeginAllowThreads();
25347 result = (arg1)->GetMinMarginTopLeft();
25348 wxPyEndAllowThreads(__tstate);
25349 if (PyErr_Occurred()) SWIG_fail;
25350 }
25351 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25352 return resultobj;
25353fail:
25354 return NULL;
d55e5bfc
RD
25355}
25356
25357
554f62e9
RD
25358SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25359 PyObject *resultobj = 0;
25360 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25361 wxPoint result;
25362 void *argp1 = 0 ;
25363 int res1 = 0 ;
25364 PyObject *swig_obj[1] ;
25365
25366 if (!args) SWIG_fail;
25367 swig_obj[0] = args;
25368 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25369 if (!SWIG_IsOK(res1)) {
25370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25371 }
25372 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25373 {
25374 PyThreadState* __tstate = wxPyBeginAllowThreads();
25375 result = (arg1)->GetMinMarginBottomRight();
25376 wxPyEndAllowThreads(__tstate);
25377 if (PyErr_Occurred()) SWIG_fail;
25378 }
25379 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25380 return resultobj;
25381fail:
25382 return NULL;
d55e5bfc
RD
25383}
25384
25385
554f62e9
RD
25386SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25387 PyObject *resultobj = 0;
25388 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25389 wxPaperSize result;
25390 void *argp1 = 0 ;
25391 int res1 = 0 ;
25392 PyObject *swig_obj[1] ;
25393
25394 if (!args) SWIG_fail;
25395 swig_obj[0] = args;
25396 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25397 if (!SWIG_IsOK(res1)) {
25398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25399 }
25400 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25401 {
25402 PyThreadState* __tstate = wxPyBeginAllowThreads();
25403 result = (wxPaperSize)(arg1)->GetPaperId();
25404 wxPyEndAllowThreads(__tstate);
25405 if (PyErr_Occurred()) SWIG_fail;
25406 }
25407 resultobj = SWIG_From_int(static_cast< int >(result));
25408 return resultobj;
25409fail:
25410 return NULL;
d55e5bfc
RD
25411}
25412
25413
554f62e9
RD
25414SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25415 PyObject *resultobj = 0;
25416 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25417 wxSize result;
25418 void *argp1 = 0 ;
25419 int res1 = 0 ;
25420 PyObject *swig_obj[1] ;
25421
25422 if (!args) SWIG_fail;
25423 swig_obj[0] = args;
25424 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25425 if (!SWIG_IsOK(res1)) {
25426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25427 }
25428 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25429 {
25430 PyThreadState* __tstate = wxPyBeginAllowThreads();
25431 result = (arg1)->GetPaperSize();
25432 wxPyEndAllowThreads(__tstate);
25433 if (PyErr_Occurred()) SWIG_fail;
25434 }
25435 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25436 return resultobj;
25437fail:
25438 return NULL;
7449af73
RD
25439}
25440
25441
554f62e9
RD
25442SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25443 PyObject *resultobj = 0;
25444 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25445 wxPrintData *result = 0 ;
25446 void *argp1 = 0 ;
25447 int res1 = 0 ;
25448 PyObject *swig_obj[1] ;
25449
25450 if (!args) SWIG_fail;
25451 swig_obj[0] = args;
25452 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25453 if (!SWIG_IsOK(res1)) {
25454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25455 }
25456 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25457 {
25458 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 25459 {
554f62e9
RD
25460 wxPrintData &_result_ref = (arg1)->GetPrintData();
25461 result = (wxPrintData *) &_result_ref;
d55e5bfc 25462 }
554f62e9
RD
25463 wxPyEndAllowThreads(__tstate);
25464 if (PyErr_Occurred()) SWIG_fail;
25465 }
25466 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25467 return resultobj;
25468fail:
25469 return NULL;
d55e5bfc
RD
25470}
25471
25472
b39fe951 25473SWIGINTERN PyObject *_wrap_PageSetupDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
554f62e9
RD
25474 PyObject *resultobj = 0;
25475 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25476 bool result;
25477 void *argp1 = 0 ;
25478 int res1 = 0 ;
25479 PyObject *swig_obj[1] ;
25480
25481 if (!args) SWIG_fail;
25482 swig_obj[0] = args;
25483 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25484 if (!SWIG_IsOK(res1)) {
b39fe951 25485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
554f62e9
RD
25486 }
25487 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25488 {
25489 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 25490 result = (bool)(arg1)->IsOk();
554f62e9
RD
25491 wxPyEndAllowThreads(__tstate);
25492 if (PyErr_Occurred()) SWIG_fail;
25493 }
25494 {
25495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25496 }
25497 return resultobj;
25498fail:
25499 return NULL;
25500}
25501
25502
25503SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25504 PyObject *resultobj = 0;
25505 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25506 bool arg2 ;
25507 void *argp1 = 0 ;
25508 int res1 = 0 ;
25509 bool val2 ;
25510 int ecode2 = 0 ;
25511 PyObject * obj0 = 0 ;
25512 PyObject * obj1 = 0 ;
25513 char * kwnames[] = {
25514 (char *) "self",(char *) "flag", NULL
25515 };
25516
25517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25519 if (!SWIG_IsOK(res1)) {
25520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25521 }
25522 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25523 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25524 if (!SWIG_IsOK(ecode2)) {
25525 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25526 }
25527 arg2 = static_cast< bool >(val2);
25528 {
25529 PyThreadState* __tstate = wxPyBeginAllowThreads();
25530 (arg1)->SetDefaultInfo(arg2);
25531 wxPyEndAllowThreads(__tstate);
25532 if (PyErr_Occurred()) SWIG_fail;
25533 }
25534 resultobj = SWIG_Py_Void();
25535 return resultobj;
25536fail:
25537 return NULL;
25538}
25539
25540
25541SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25542 PyObject *resultobj = 0;
25543 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25544 bool arg2 ;
25545 void *argp1 = 0 ;
25546 int res1 = 0 ;
25547 bool val2 ;
25548 int ecode2 = 0 ;
25549 PyObject * obj0 = 0 ;
25550 PyObject * obj1 = 0 ;
25551 char * kwnames[] = {
25552 (char *) "self",(char *) "flag", NULL
25553 };
25554
25555 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25556 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25557 if (!SWIG_IsOK(res1)) {
25558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25559 }
25560 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25561 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25562 if (!SWIG_IsOK(ecode2)) {
25563 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25564 }
25565 arg2 = static_cast< bool >(val2);
25566 {
25567 PyThreadState* __tstate = wxPyBeginAllowThreads();
25568 (arg1)->SetDefaultMinMargins(arg2);
25569 wxPyEndAllowThreads(__tstate);
25570 if (PyErr_Occurred()) SWIG_fail;
25571 }
25572 resultobj = SWIG_Py_Void();
25573 return resultobj;
25574fail:
25575 return NULL;
25576}
25577
25578
25579SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25580 PyObject *resultobj = 0;
25581 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25582 wxPoint *arg2 = 0 ;
25583 void *argp1 = 0 ;
25584 int res1 = 0 ;
25585 wxPoint temp2 ;
25586 PyObject * obj0 = 0 ;
25587 PyObject * obj1 = 0 ;
25588 char * kwnames[] = {
25589 (char *) "self",(char *) "pt", NULL
25590 };
25591
25592 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25593 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25594 if (!SWIG_IsOK(res1)) {
25595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25596 }
25597 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25598 {
25599 arg2 = &temp2;
25600 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25601 }
25602 {
25603 PyThreadState* __tstate = wxPyBeginAllowThreads();
25604 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25605 wxPyEndAllowThreads(__tstate);
25606 if (PyErr_Occurred()) SWIG_fail;
25607 }
25608 resultobj = SWIG_Py_Void();
25609 return resultobj;
25610fail:
25611 return NULL;
25612}
25613
25614
25615SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25616 PyObject *resultobj = 0;
25617 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25618 wxPoint *arg2 = 0 ;
25619 void *argp1 = 0 ;
25620 int res1 = 0 ;
25621 wxPoint temp2 ;
25622 PyObject * obj0 = 0 ;
25623 PyObject * obj1 = 0 ;
25624 char * kwnames[] = {
25625 (char *) "self",(char *) "pt", NULL
25626 };
25627
25628 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25629 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25630 if (!SWIG_IsOK(res1)) {
25631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25632 }
25633 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25634 {
25635 arg2 = &temp2;
25636 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25637 }
25638 {
25639 PyThreadState* __tstate = wxPyBeginAllowThreads();
25640 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25641 wxPyEndAllowThreads(__tstate);
25642 if (PyErr_Occurred()) SWIG_fail;
25643 }
25644 resultobj = SWIG_Py_Void();
25645 return resultobj;
25646fail:
25647 return NULL;
25648}
25649
25650
25651SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25652 PyObject *resultobj = 0;
25653 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25654 wxPoint *arg2 = 0 ;
25655 void *argp1 = 0 ;
25656 int res1 = 0 ;
25657 wxPoint temp2 ;
25658 PyObject * obj0 = 0 ;
25659 PyObject * obj1 = 0 ;
25660 char * kwnames[] = {
25661 (char *) "self",(char *) "pt", NULL
25662 };
25663
25664 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25665 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25666 if (!SWIG_IsOK(res1)) {
25667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25668 }
25669 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25670 {
25671 arg2 = &temp2;
25672 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25673 }
25674 {
25675 PyThreadState* __tstate = wxPyBeginAllowThreads();
25676 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25677 wxPyEndAllowThreads(__tstate);
25678 if (PyErr_Occurred()) SWIG_fail;
25679 }
25680 resultobj = SWIG_Py_Void();
25681 return resultobj;
25682fail:
25683 return NULL;
25684}
25685
25686
25687SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25688 PyObject *resultobj = 0;
25689 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25690 wxPoint *arg2 = 0 ;
25691 void *argp1 = 0 ;
25692 int res1 = 0 ;
25693 wxPoint temp2 ;
25694 PyObject * obj0 = 0 ;
25695 PyObject * obj1 = 0 ;
25696 char * kwnames[] = {
25697 (char *) "self",(char *) "pt", NULL
25698 };
25699
25700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25702 if (!SWIG_IsOK(res1)) {
25703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25704 }
25705 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25706 {
25707 arg2 = &temp2;
25708 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25709 }
25710 {
25711 PyThreadState* __tstate = wxPyBeginAllowThreads();
25712 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25713 wxPyEndAllowThreads(__tstate);
25714 if (PyErr_Occurred()) SWIG_fail;
25715 }
25716 resultobj = SWIG_Py_Void();
25717 return resultobj;
25718fail:
25719 return NULL;
25720}
25721
25722
25723SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25724 PyObject *resultobj = 0;
25725 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25726 wxPaperSize arg2 ;
25727 void *argp1 = 0 ;
25728 int res1 = 0 ;
25729 int val2 ;
25730 int ecode2 = 0 ;
25731 PyObject * obj0 = 0 ;
25732 PyObject * obj1 = 0 ;
25733 char * kwnames[] = {
25734 (char *) "self",(char *) "id", NULL
25735 };
25736
25737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25739 if (!SWIG_IsOK(res1)) {
25740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25741 }
25742 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25743 ecode2 = SWIG_AsVal_int(obj1, &val2);
25744 if (!SWIG_IsOK(ecode2)) {
25745 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25746 }
25747 arg2 = static_cast< wxPaperSize >(val2);
25748 {
25749 PyThreadState* __tstate = wxPyBeginAllowThreads();
25750 (arg1)->SetPaperId(arg2);
25751 wxPyEndAllowThreads(__tstate);
25752 if (PyErr_Occurred()) SWIG_fail;
25753 }
25754 resultobj = SWIG_Py_Void();
25755 return resultobj;
25756fail:
25757 return NULL;
25758}
25759
25760
25761SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25762 PyObject *resultobj = 0;
25763 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25764 wxSize *arg2 = 0 ;
25765 void *argp1 = 0 ;
25766 int res1 = 0 ;
25767 wxSize temp2 ;
25768 PyObject * obj0 = 0 ;
25769 PyObject * obj1 = 0 ;
25770 char * kwnames[] = {
25771 (char *) "self",(char *) "size", NULL
25772 };
25773
25774 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25775 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25776 if (!SWIG_IsOK(res1)) {
25777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25778 }
25779 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25780 {
25781 arg2 = &temp2;
25782 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25783 }
25784 {
25785 PyThreadState* __tstate = wxPyBeginAllowThreads();
25786 (arg1)->SetPaperSize((wxSize const &)*arg2);
25787 wxPyEndAllowThreads(__tstate);
25788 if (PyErr_Occurred()) SWIG_fail;
25789 }
25790 resultobj = SWIG_Py_Void();
25791 return resultobj;
25792fail:
25793 return NULL;
25794}
25795
25796
25797SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25798 PyObject *resultobj = 0;
25799 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25800 wxPrintData *arg2 = 0 ;
25801 void *argp1 = 0 ;
25802 int res1 = 0 ;
25803 void *argp2 = 0 ;
25804 int res2 = 0 ;
25805 PyObject * obj0 = 0 ;
25806 PyObject * obj1 = 0 ;
25807 char * kwnames[] = {
25808 (char *) "self",(char *) "printData", NULL
25809 };
25810
25811 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25813 if (!SWIG_IsOK(res1)) {
25814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25815 }
25816 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25817 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25818 if (!SWIG_IsOK(res2)) {
25819 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25820 }
25821 if (!argp2) {
25822 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25823 }
25824 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25825 {
25826 PyThreadState* __tstate = wxPyBeginAllowThreads();
25827 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25828 wxPyEndAllowThreads(__tstate);
25829 if (PyErr_Occurred()) SWIG_fail;
25830 }
25831 resultobj = SWIG_Py_Void();
25832 return resultobj;
25833fail:
25834 return NULL;
d55e5bfc
RD
25835}
25836
25837
554f62e9
RD
25838SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25839 PyObject *resultobj = 0;
25840 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25841 void *argp1 = 0 ;
25842 int res1 = 0 ;
25843 PyObject *swig_obj[1] ;
25844
25845 if (!args) SWIG_fail;
25846 swig_obj[0] = args;
25847 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25848 if (!SWIG_IsOK(res1)) {
25849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25850 }
25851 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25852 {
25853 PyThreadState* __tstate = wxPyBeginAllowThreads();
25854 (arg1)->CalculateIdFromPaperSize();
25855 wxPyEndAllowThreads(__tstate);
25856 if (PyErr_Occurred()) SWIG_fail;
25857 }
25858 resultobj = SWIG_Py_Void();
25859 return resultobj;
25860fail:
25861 return NULL;
d55e5bfc
RD
25862}
25863
25864
554f62e9
RD
25865SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25866 PyObject *resultobj = 0;
25867 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25868 void *argp1 = 0 ;
25869 int res1 = 0 ;
25870 PyObject *swig_obj[1] ;
25871
25872 if (!args) SWIG_fail;
25873 swig_obj[0] = args;
25874 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25875 if (!SWIG_IsOK(res1)) {
25876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25877 }
25878 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25879 {
25880 PyThreadState* __tstate = wxPyBeginAllowThreads();
25881 (arg1)->CalculatePaperSizeFromId();
25882 wxPyEndAllowThreads(__tstate);
25883 if (PyErr_Occurred()) SWIG_fail;
25884 }
25885 resultobj = SWIG_Py_Void();
25886 return resultobj;
25887fail:
25888 return NULL;
d55e5bfc
RD
25889}
25890
25891
554f62e9
RD
25892SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25893 PyObject *obj;
25894 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25895 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25896 return SWIG_Py_Void();
d55e5bfc
RD
25897}
25898
554f62e9
RD
25899SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25900 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
25901}
25902
554f62e9
RD
25903SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25904 PyObject *resultobj = 0;
25905 wxWindow *arg1 = (wxWindow *) 0 ;
25906 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25907 wxPageSetupDialog *result = 0 ;
25908 void *argp1 = 0 ;
25909 int res1 = 0 ;
25910 void *argp2 = 0 ;
25911 int res2 = 0 ;
25912 PyObject * obj0 = 0 ;
25913 PyObject * obj1 = 0 ;
25914 char * kwnames[] = {
25915 (char *) "parent",(char *) "data", NULL
25916 };
25917
25918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25920 if (!SWIG_IsOK(res1)) {
25921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25922 }
25923 arg1 = reinterpret_cast< wxWindow * >(argp1);
25924 if (obj1) {
25925 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25926 if (!SWIG_IsOK(res2)) {
25927 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
d55e5bfc 25928 }
554f62e9
RD
25929 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25930 }
25931 {
25932 if (!wxPyCheckForApp()) SWIG_fail;
25933 PyThreadState* __tstate = wxPyBeginAllowThreads();
25934 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25935 wxPyEndAllowThreads(__tstate);
25936 if (PyErr_Occurred()) SWIG_fail;
25937 }
25938 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25939 return resultobj;
25940fail:
25941 return NULL;
d55e5bfc
RD
25942}
25943
25944
f05326ba
RD
25945SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25946 PyObject *resultobj = 0;
25947 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
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_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
25955 if (!SWIG_IsOK(res1)) {
25956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25957 }
25958 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25959 {
25960 PyThreadState* __tstate = wxPyBeginAllowThreads();
25961 delete arg1;
25962
25963 wxPyEndAllowThreads(__tstate);
25964 if (PyErr_Occurred()) SWIG_fail;
25965 }
25966 resultobj = SWIG_Py_Void();
25967 return resultobj;
25968fail:
25969 return NULL;
25970}
25971
25972
554f62e9
RD
25973SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25974 PyObject *resultobj = 0;
25975 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25976 wxPageSetupDialogData *result = 0 ;
25977 void *argp1 = 0 ;
25978 int res1 = 0 ;
25979 PyObject *swig_obj[1] ;
25980
25981 if (!args) SWIG_fail;
25982 swig_obj[0] = args;
25983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25984 if (!SWIG_IsOK(res1)) {
25985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25986 }
25987 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25988 {
25989 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 25990 {
554f62e9
RD
25991 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25992 result = (wxPageSetupDialogData *) &_result_ref;
d55e5bfc 25993 }
554f62e9
RD
25994 wxPyEndAllowThreads(__tstate);
25995 if (PyErr_Occurred()) SWIG_fail;
25996 }
25997 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25998 return resultobj;
25999fail:
26000 return NULL;
d55e5bfc
RD
26001}
26002
26003
554f62e9
RD
26004SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26005 PyObject *resultobj = 0;
26006 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26007 wxPageSetupDialogData *result = 0 ;
26008 void *argp1 = 0 ;
26009 int res1 = 0 ;
26010 PyObject *swig_obj[1] ;
26011
26012 if (!args) SWIG_fail;
26013 swig_obj[0] = args;
26014 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26015 if (!SWIG_IsOK(res1)) {
26016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26017 }
26018 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26019 {
26020 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 26021 {
554f62e9
RD
26022 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
26023 result = (wxPageSetupDialogData *) &_result_ref;
093d3ff1 26024 }
554f62e9
RD
26025 wxPyEndAllowThreads(__tstate);
26026 if (PyErr_Occurred()) SWIG_fail;
26027 }
26028 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26029 return resultobj;
26030fail:
26031 return NULL;
d55e5bfc
RD
26032}
26033
26034
554f62e9
RD
26035SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26036 PyObject *resultobj = 0;
26037 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26038 int result;
26039 void *argp1 = 0 ;
26040 int res1 = 0 ;
26041 PyObject *swig_obj[1] ;
26042
26043 if (!args) SWIG_fail;
26044 swig_obj[0] = args;
26045 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26046 if (!SWIG_IsOK(res1)) {
26047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26048 }
26049 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26050 {
26051 PyThreadState* __tstate = wxPyBeginAllowThreads();
26052 result = (int)(arg1)->ShowModal();
26053 wxPyEndAllowThreads(__tstate);
26054 if (PyErr_Occurred()) SWIG_fail;
26055 }
26056 resultobj = SWIG_From_int(static_cast< int >(result));
26057 return resultobj;
26058fail:
26059 return NULL;
d55e5bfc
RD
26060}
26061
26062
554f62e9
RD
26063SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26064 PyObject *obj;
26065 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26066 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
26067 return SWIG_Py_Void();
d55e5bfc
RD
26068}
26069
554f62e9
RD
26070SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26071 return SWIG_Python_InitShadowInstance(args);
d55e5bfc 26072}
554f62e9
RD
26073
26074SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
26075 PyObject *resultobj = 0;
26076 wxPrintDialogData *result = 0 ;
26077
26078 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
26079 {
26080 PyThreadState* __tstate = wxPyBeginAllowThreads();
26081 result = (wxPrintDialogData *)new wxPrintDialogData();
26082 wxPyEndAllowThreads(__tstate);
26083 if (PyErr_Occurred()) SWIG_fail;
26084 }
26085 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26086 return resultobj;
26087fail:
26088 return NULL;
d55e5bfc
RD
26089}
26090
26091
554f62e9
RD
26092SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26093 PyObject *resultobj = 0;
26094 wxPrintData *arg1 = 0 ;
26095 wxPrintDialogData *result = 0 ;
26096 void *argp1 = 0 ;
26097 int res1 = 0 ;
26098
26099 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26100 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
26101 if (!SWIG_IsOK(res1)) {
26102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26103 }
26104 if (!argp1) {
26105 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26106 }
26107 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26108 {
26109 PyThreadState* __tstate = wxPyBeginAllowThreads();
26110 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
26111 wxPyEndAllowThreads(__tstate);
26112 if (PyErr_Occurred()) SWIG_fail;
26113 }
26114 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26115 return resultobj;
26116fail:
26117 return NULL;
d55e5bfc
RD
26118}
26119
26120
554f62e9
RD
26121SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26122 PyObject *resultobj = 0;
26123 wxPrintDialogData *arg1 = 0 ;
26124 wxPrintDialogData *result = 0 ;
26125 void *argp1 = 0 ;
26126 int res1 = 0 ;
26127
26128 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26129 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
26130 if (!SWIG_IsOK(res1)) {
26131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26132 }
26133 if (!argp1) {
26134 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26135 }
26136 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26137 {
26138 PyThreadState* __tstate = wxPyBeginAllowThreads();
26139 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
26140 wxPyEndAllowThreads(__tstate);
26141 if (PyErr_Occurred()) SWIG_fail;
26142 }
26143 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26144 return resultobj;
26145fail:
26146 return NULL;
d55e5bfc
RD
26147}
26148
26149
554f62e9
RD
26150SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
26151 int argc;
26152 PyObject *argv[2];
26153
26154 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
26155 --argc;
26156 if (argc == 0) {
26157 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
26158 }
26159 if (argc == 1) {
26160 int _v = 0;
d55e5bfc 26161 {
554f62e9
RD
26162 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
26163 _v = SWIG_CheckState(res);
d55e5bfc 26164 }
554f62e9
RD
26165 if (!_v) goto check_2;
26166 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
26167 }
26168check_2:
26169
26170 if (argc == 1) {
26171 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
26172 }
26173
26174fail:
26175 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
26176 return NULL;
d55e5bfc
RD
26177}
26178
26179
554f62e9
RD
26180SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26181 PyObject *resultobj = 0;
26182 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26183 void *argp1 = 0 ;
26184 int res1 = 0 ;
26185 PyObject *swig_obj[1] ;
26186
26187 if (!args) SWIG_fail;
26188 swig_obj[0] = args;
26189 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
26190 if (!SWIG_IsOK(res1)) {
26191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26192 }
26193 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26194 {
26195 PyThreadState* __tstate = wxPyBeginAllowThreads();
26196 delete arg1;
d55e5bfc 26197
554f62e9
RD
26198 wxPyEndAllowThreads(__tstate);
26199 if (PyErr_Occurred()) SWIG_fail;
26200 }
26201 resultobj = SWIG_Py_Void();
26202 return resultobj;
26203fail:
26204 return NULL;
d55e5bfc
RD
26205}
26206
26207
554f62e9
RD
26208SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26209 PyObject *resultobj = 0;
26210 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26211 int result;
26212 void *argp1 = 0 ;
26213 int res1 = 0 ;
26214 PyObject *swig_obj[1] ;
26215
26216 if (!args) SWIG_fail;
26217 swig_obj[0] = args;
26218 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26219 if (!SWIG_IsOK(res1)) {
26220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26221 }
26222 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26223 {
26224 PyThreadState* __tstate = wxPyBeginAllowThreads();
26225 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
26226 wxPyEndAllowThreads(__tstate);
26227 if (PyErr_Occurred()) SWIG_fail;
26228 }
26229 resultobj = SWIG_From_int(static_cast< int >(result));
26230 return resultobj;
26231fail:
26232 return NULL;
d55e5bfc
RD
26233}
26234
26235
554f62e9
RD
26236SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26237 PyObject *resultobj = 0;
26238 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26239 int result;
26240 void *argp1 = 0 ;
26241 int res1 = 0 ;
26242 PyObject *swig_obj[1] ;
26243
26244 if (!args) SWIG_fail;
26245 swig_obj[0] = args;
26246 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26247 if (!SWIG_IsOK(res1)) {
26248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26249 }
26250 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26251 {
26252 PyThreadState* __tstate = wxPyBeginAllowThreads();
26253 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
26254 wxPyEndAllowThreads(__tstate);
26255 if (PyErr_Occurred()) SWIG_fail;
26256 }
26257 resultobj = SWIG_From_int(static_cast< int >(result));
26258 return resultobj;
26259fail:
26260 return NULL;
d55e5bfc
RD
26261}
26262
26263
554f62e9
RD
26264SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26265 PyObject *resultobj = 0;
26266 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26267 int result;
26268 void *argp1 = 0 ;
26269 int res1 = 0 ;
26270 PyObject *swig_obj[1] ;
26271
26272 if (!args) SWIG_fail;
26273 swig_obj[0] = args;
26274 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26275 if (!SWIG_IsOK(res1)) {
26276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26277 }
26278 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26279 {
26280 PyThreadState* __tstate = wxPyBeginAllowThreads();
26281 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
26282 wxPyEndAllowThreads(__tstate);
26283 if (PyErr_Occurred()) SWIG_fail;
26284 }
26285 resultobj = SWIG_From_int(static_cast< int >(result));
26286 return resultobj;
26287fail:
26288 return NULL;
d55e5bfc
RD
26289}
26290
26291
554f62e9
RD
26292SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26293 PyObject *resultobj = 0;
26294 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26295 int result;
26296 void *argp1 = 0 ;
26297 int res1 = 0 ;
26298 PyObject *swig_obj[1] ;
26299
26300 if (!args) SWIG_fail;
26301 swig_obj[0] = args;
26302 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26303 if (!SWIG_IsOK(res1)) {
26304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26305 }
26306 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26307 {
26308 PyThreadState* __tstate = wxPyBeginAllowThreads();
26309 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26310 wxPyEndAllowThreads(__tstate);
26311 if (PyErr_Occurred()) SWIG_fail;
26312 }
26313 resultobj = SWIG_From_int(static_cast< int >(result));
26314 return resultobj;
26315fail:
26316 return NULL;
d55e5bfc
RD
26317}
26318
26319
554f62e9
RD
26320SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26321 PyObject *resultobj = 0;
26322 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26323 int result;
26324 void *argp1 = 0 ;
26325 int res1 = 0 ;
26326 PyObject *swig_obj[1] ;
26327
26328 if (!args) SWIG_fail;
26329 swig_obj[0] = args;
26330 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26331 if (!SWIG_IsOK(res1)) {
26332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26333 }
26334 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26335 {
26336 PyThreadState* __tstate = wxPyBeginAllowThreads();
26337 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26338 wxPyEndAllowThreads(__tstate);
26339 if (PyErr_Occurred()) SWIG_fail;
26340 }
26341 resultobj = SWIG_From_int(static_cast< int >(result));
26342 return resultobj;
26343fail:
26344 return NULL;
d55e5bfc
RD
26345}
26346
26347
554f62e9
RD
26348SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26349 PyObject *resultobj = 0;
26350 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26351 bool result;
26352 void *argp1 = 0 ;
26353 int res1 = 0 ;
26354 PyObject *swig_obj[1] ;
26355
26356 if (!args) SWIG_fail;
26357 swig_obj[0] = args;
26358 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26359 if (!SWIG_IsOK(res1)) {
26360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26361 }
26362 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26363 {
26364 PyThreadState* __tstate = wxPyBeginAllowThreads();
26365 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26366 wxPyEndAllowThreads(__tstate);
26367 if (PyErr_Occurred()) SWIG_fail;
26368 }
26369 {
26370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26371 }
26372 return resultobj;
26373fail:
26374 return NULL;
d55e5bfc
RD
26375}
26376
26377
554f62e9
RD
26378SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26379 PyObject *resultobj = 0;
26380 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26381 bool result;
26382 void *argp1 = 0 ;
26383 int res1 = 0 ;
26384 PyObject *swig_obj[1] ;
26385
26386 if (!args) SWIG_fail;
26387 swig_obj[0] = args;
26388 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26389 if (!SWIG_IsOK(res1)) {
26390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26391 }
26392 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26393 {
26394 PyThreadState* __tstate = wxPyBeginAllowThreads();
26395 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26396 wxPyEndAllowThreads(__tstate);
26397 if (PyErr_Occurred()) SWIG_fail;
26398 }
26399 {
26400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26401 }
26402 return resultobj;
26403fail:
26404 return NULL;
d55e5bfc
RD
26405}
26406
26407
554f62e9
RD
26408SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26409 PyObject *resultobj = 0;
26410 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26411 bool result;
26412 void *argp1 = 0 ;
26413 int res1 = 0 ;
26414 PyObject *swig_obj[1] ;
26415
26416 if (!args) SWIG_fail;
26417 swig_obj[0] = args;
26418 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26419 if (!SWIG_IsOK(res1)) {
26420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26421 }
26422 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26423 {
26424 PyThreadState* __tstate = wxPyBeginAllowThreads();
26425 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26426 wxPyEndAllowThreads(__tstate);
26427 if (PyErr_Occurred()) SWIG_fail;
26428 }
26429 {
26430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26431 }
26432 return resultobj;
26433fail:
26434 return NULL;
d55e5bfc
RD
26435}
26436
26437
554f62e9
RD
26438SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26439 PyObject *resultobj = 0;
26440 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26441 bool result;
26442 void *argp1 = 0 ;
26443 int res1 = 0 ;
26444 PyObject *swig_obj[1] ;
26445
26446 if (!args) SWIG_fail;
26447 swig_obj[0] = args;
26448 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26449 if (!SWIG_IsOK(res1)) {
26450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26451 }
26452 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26453 {
26454 PyThreadState* __tstate = wxPyBeginAllowThreads();
26455 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26456 wxPyEndAllowThreads(__tstate);
26457 if (PyErr_Occurred()) SWIG_fail;
26458 }
26459 {
26460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26461 }
26462 return resultobj;
26463fail:
26464 return NULL;
26465}
26466
26467
26468SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26469 PyObject *resultobj = 0;
26470 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26471 int arg2 ;
26472 void *argp1 = 0 ;
26473 int res1 = 0 ;
26474 int val2 ;
26475 int ecode2 = 0 ;
26476 PyObject * obj0 = 0 ;
26477 PyObject * obj1 = 0 ;
26478 char * kwnames[] = {
26479 (char *) "self",(char *) "v", NULL
26480 };
26481
26482 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26483 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26484 if (!SWIG_IsOK(res1)) {
26485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26486 }
26487 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26488 ecode2 = SWIG_AsVal_int(obj1, &val2);
26489 if (!SWIG_IsOK(ecode2)) {
26490 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26491 }
26492 arg2 = static_cast< int >(val2);
26493 {
26494 PyThreadState* __tstate = wxPyBeginAllowThreads();
26495 (arg1)->SetFromPage(arg2);
26496 wxPyEndAllowThreads(__tstate);
26497 if (PyErr_Occurred()) SWIG_fail;
26498 }
26499 resultobj = SWIG_Py_Void();
26500 return resultobj;
26501fail:
26502 return NULL;
26503}
26504
26505
26506SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26507 PyObject *resultobj = 0;
26508 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26509 int arg2 ;
26510 void *argp1 = 0 ;
26511 int res1 = 0 ;
26512 int val2 ;
26513 int ecode2 = 0 ;
26514 PyObject * obj0 = 0 ;
26515 PyObject * obj1 = 0 ;
26516 char * kwnames[] = {
26517 (char *) "self",(char *) "v", NULL
26518 };
26519
26520 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26521 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26522 if (!SWIG_IsOK(res1)) {
26523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26524 }
26525 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26526 ecode2 = SWIG_AsVal_int(obj1, &val2);
26527 if (!SWIG_IsOK(ecode2)) {
26528 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26529 }
26530 arg2 = static_cast< int >(val2);
26531 {
26532 PyThreadState* __tstate = wxPyBeginAllowThreads();
26533 (arg1)->SetToPage(arg2);
26534 wxPyEndAllowThreads(__tstate);
26535 if (PyErr_Occurred()) SWIG_fail;
26536 }
26537 resultobj = SWIG_Py_Void();
26538 return resultobj;
26539fail:
26540 return NULL;
26541}
26542
26543
26544SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26545 PyObject *resultobj = 0;
26546 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26547 int arg2 ;
26548 void *argp1 = 0 ;
26549 int res1 = 0 ;
26550 int val2 ;
26551 int ecode2 = 0 ;
26552 PyObject * obj0 = 0 ;
26553 PyObject * obj1 = 0 ;
26554 char * kwnames[] = {
26555 (char *) "self",(char *) "v", NULL
26556 };
26557
26558 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26559 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26560 if (!SWIG_IsOK(res1)) {
26561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26562 }
26563 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26564 ecode2 = SWIG_AsVal_int(obj1, &val2);
26565 if (!SWIG_IsOK(ecode2)) {
26566 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26567 }
26568 arg2 = static_cast< int >(val2);
26569 {
26570 PyThreadState* __tstate = wxPyBeginAllowThreads();
26571 (arg1)->SetMinPage(arg2);
26572 wxPyEndAllowThreads(__tstate);
26573 if (PyErr_Occurred()) SWIG_fail;
26574 }
26575 resultobj = SWIG_Py_Void();
26576 return resultobj;
26577fail:
26578 return NULL;
26579}
26580
26581
26582SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26583 PyObject *resultobj = 0;
26584 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26585 int arg2 ;
26586 void *argp1 = 0 ;
26587 int res1 = 0 ;
26588 int val2 ;
26589 int ecode2 = 0 ;
26590 PyObject * obj0 = 0 ;
26591 PyObject * obj1 = 0 ;
26592 char * kwnames[] = {
26593 (char *) "self",(char *) "v", NULL
26594 };
26595
26596 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26597 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26598 if (!SWIG_IsOK(res1)) {
26599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26600 }
26601 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26602 ecode2 = SWIG_AsVal_int(obj1, &val2);
26603 if (!SWIG_IsOK(ecode2)) {
26604 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26605 }
26606 arg2 = static_cast< int >(val2);
26607 {
26608 PyThreadState* __tstate = wxPyBeginAllowThreads();
26609 (arg1)->SetMaxPage(arg2);
26610 wxPyEndAllowThreads(__tstate);
26611 if (PyErr_Occurred()) SWIG_fail;
26612 }
26613 resultobj = SWIG_Py_Void();
26614 return resultobj;
26615fail:
26616 return NULL;
26617}
26618
26619
26620SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26621 PyObject *resultobj = 0;
26622 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26623 int arg2 ;
26624 void *argp1 = 0 ;
26625 int res1 = 0 ;
26626 int val2 ;
26627 int ecode2 = 0 ;
26628 PyObject * obj0 = 0 ;
26629 PyObject * obj1 = 0 ;
26630 char * kwnames[] = {
26631 (char *) "self",(char *) "v", NULL
26632 };
26633
26634 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26635 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26636 if (!SWIG_IsOK(res1)) {
26637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26638 }
26639 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26640 ecode2 = SWIG_AsVal_int(obj1, &val2);
26641 if (!SWIG_IsOK(ecode2)) {
26642 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26643 }
26644 arg2 = static_cast< int >(val2);
26645 {
26646 PyThreadState* __tstate = wxPyBeginAllowThreads();
26647 (arg1)->SetNoCopies(arg2);
26648 wxPyEndAllowThreads(__tstate);
26649 if (PyErr_Occurred()) SWIG_fail;
26650 }
26651 resultobj = SWIG_Py_Void();
26652 return resultobj;
26653fail:
26654 return NULL;
26655}
26656
26657
26658SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26659 PyObject *resultobj = 0;
26660 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26661 bool arg2 ;
26662 void *argp1 = 0 ;
26663 int res1 = 0 ;
26664 bool val2 ;
26665 int ecode2 = 0 ;
26666 PyObject * obj0 = 0 ;
26667 PyObject * obj1 = 0 ;
26668 char * kwnames[] = {
26669 (char *) "self",(char *) "flag", NULL
26670 };
26671
26672 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26673 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26674 if (!SWIG_IsOK(res1)) {
26675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26676 }
26677 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26678 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26679 if (!SWIG_IsOK(ecode2)) {
26680 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26681 }
26682 arg2 = static_cast< bool >(val2);
26683 {
26684 PyThreadState* __tstate = wxPyBeginAllowThreads();
26685 (arg1)->SetAllPages(arg2);
26686 wxPyEndAllowThreads(__tstate);
26687 if (PyErr_Occurred()) SWIG_fail;
26688 }
26689 resultobj = SWIG_Py_Void();
26690 return resultobj;
26691fail:
26692 return NULL;
26693}
26694
26695
26696SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26697 PyObject *resultobj = 0;
26698 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26699 bool arg2 ;
26700 void *argp1 = 0 ;
26701 int res1 = 0 ;
26702 bool val2 ;
26703 int ecode2 = 0 ;
26704 PyObject * obj0 = 0 ;
26705 PyObject * obj1 = 0 ;
26706 char * kwnames[] = {
26707 (char *) "self",(char *) "flag", NULL
26708 };
26709
26710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26712 if (!SWIG_IsOK(res1)) {
26713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26714 }
26715 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26716 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26717 if (!SWIG_IsOK(ecode2)) {
26718 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26719 }
26720 arg2 = static_cast< bool >(val2);
26721 {
26722 PyThreadState* __tstate = wxPyBeginAllowThreads();
26723 (arg1)->SetSelection(arg2);
26724 wxPyEndAllowThreads(__tstate);
26725 if (PyErr_Occurred()) SWIG_fail;
26726 }
26727 resultobj = SWIG_Py_Void();
26728 return resultobj;
26729fail:
26730 return NULL;
26731}
26732
26733
26734SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26735 PyObject *resultobj = 0;
26736 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26737 bool arg2 ;
26738 void *argp1 = 0 ;
26739 int res1 = 0 ;
26740 bool val2 ;
26741 int ecode2 = 0 ;
26742 PyObject * obj0 = 0 ;
26743 PyObject * obj1 = 0 ;
26744 char * kwnames[] = {
26745 (char *) "self",(char *) "flag", NULL
26746 };
26747
26748 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26749 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26750 if (!SWIG_IsOK(res1)) {
26751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26752 }
26753 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26754 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26755 if (!SWIG_IsOK(ecode2)) {
26756 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26757 }
26758 arg2 = static_cast< bool >(val2);
26759 {
26760 PyThreadState* __tstate = wxPyBeginAllowThreads();
26761 (arg1)->SetCollate(arg2);
26762 wxPyEndAllowThreads(__tstate);
26763 if (PyErr_Occurred()) SWIG_fail;
26764 }
26765 resultobj = SWIG_Py_Void();
26766 return resultobj;
26767fail:
26768 return NULL;
26769}
26770
26771
26772SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26773 PyObject *resultobj = 0;
26774 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26775 bool arg2 ;
26776 void *argp1 = 0 ;
26777 int res1 = 0 ;
26778 bool val2 ;
26779 int ecode2 = 0 ;
26780 PyObject * obj0 = 0 ;
26781 PyObject * obj1 = 0 ;
26782 char * kwnames[] = {
26783 (char *) "self",(char *) "flag", NULL
26784 };
26785
26786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26788 if (!SWIG_IsOK(res1)) {
26789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26790 }
26791 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26792 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26793 if (!SWIG_IsOK(ecode2)) {
26794 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26795 }
26796 arg2 = static_cast< bool >(val2);
26797 {
26798 PyThreadState* __tstate = wxPyBeginAllowThreads();
26799 (arg1)->SetPrintToFile(arg2);
26800 wxPyEndAllowThreads(__tstate);
26801 if (PyErr_Occurred()) SWIG_fail;
26802 }
26803 resultobj = SWIG_Py_Void();
26804 return resultobj;
26805fail:
26806 return NULL;
26807}
26808
26809
26810SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26811 PyObject *resultobj = 0;
26812 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26813 bool arg2 ;
26814 void *argp1 = 0 ;
26815 int res1 = 0 ;
26816 bool val2 ;
26817 int ecode2 = 0 ;
26818 PyObject * obj0 = 0 ;
26819 PyObject * obj1 = 0 ;
26820 char * kwnames[] = {
26821 (char *) "self",(char *) "flag", NULL
26822 };
26823
26824 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26825 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26826 if (!SWIG_IsOK(res1)) {
26827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26828 }
26829 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26830 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26831 if (!SWIG_IsOK(ecode2)) {
26832 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26833 }
26834 arg2 = static_cast< bool >(val2);
26835 {
26836 PyThreadState* __tstate = wxPyBeginAllowThreads();
26837 (arg1)->EnablePrintToFile(arg2);
26838 wxPyEndAllowThreads(__tstate);
26839 if (PyErr_Occurred()) SWIG_fail;
26840 }
26841 resultobj = SWIG_Py_Void();
26842 return resultobj;
26843fail:
26844 return NULL;
26845}
26846
26847
26848SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26849 PyObject *resultobj = 0;
26850 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26851 bool arg2 ;
26852 void *argp1 = 0 ;
26853 int res1 = 0 ;
26854 bool val2 ;
26855 int ecode2 = 0 ;
26856 PyObject * obj0 = 0 ;
26857 PyObject * obj1 = 0 ;
26858 char * kwnames[] = {
26859 (char *) "self",(char *) "flag", NULL
26860 };
26861
26862 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26863 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26864 if (!SWIG_IsOK(res1)) {
26865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26866 }
26867 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26868 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26869 if (!SWIG_IsOK(ecode2)) {
26870 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26871 }
26872 arg2 = static_cast< bool >(val2);
26873 {
26874 PyThreadState* __tstate = wxPyBeginAllowThreads();
26875 (arg1)->EnableSelection(arg2);
26876 wxPyEndAllowThreads(__tstate);
26877 if (PyErr_Occurred()) SWIG_fail;
26878 }
26879 resultobj = SWIG_Py_Void();
26880 return resultobj;
26881fail:
26882 return NULL;
26883}
26884
26885
26886SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26887 PyObject *resultobj = 0;
26888 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26889 bool arg2 ;
26890 void *argp1 = 0 ;
26891 int res1 = 0 ;
26892 bool val2 ;
26893 int ecode2 = 0 ;
26894 PyObject * obj0 = 0 ;
26895 PyObject * obj1 = 0 ;
26896 char * kwnames[] = {
26897 (char *) "self",(char *) "flag", NULL
26898 };
26899
26900 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26902 if (!SWIG_IsOK(res1)) {
26903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26904 }
26905 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26906 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26907 if (!SWIG_IsOK(ecode2)) {
26908 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26909 }
26910 arg2 = static_cast< bool >(val2);
26911 {
26912 PyThreadState* __tstate = wxPyBeginAllowThreads();
26913 (arg1)->EnablePageNumbers(arg2);
26914 wxPyEndAllowThreads(__tstate);
26915 if (PyErr_Occurred()) SWIG_fail;
26916 }
26917 resultobj = SWIG_Py_Void();
26918 return resultobj;
26919fail:
26920 return NULL;
26921}
26922
26923
26924SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26925 PyObject *resultobj = 0;
26926 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26927 bool arg2 ;
26928 void *argp1 = 0 ;
26929 int res1 = 0 ;
26930 bool val2 ;
26931 int ecode2 = 0 ;
26932 PyObject * obj0 = 0 ;
26933 PyObject * obj1 = 0 ;
26934 char * kwnames[] = {
26935 (char *) "self",(char *) "flag", NULL
26936 };
26937
26938 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26939 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26940 if (!SWIG_IsOK(res1)) {
26941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26942 }
26943 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26944 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26945 if (!SWIG_IsOK(ecode2)) {
26946 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26947 }
26948 arg2 = static_cast< bool >(val2);
26949 {
26950 PyThreadState* __tstate = wxPyBeginAllowThreads();
26951 (arg1)->EnableHelp(arg2);
26952 wxPyEndAllowThreads(__tstate);
26953 if (PyErr_Occurred()) SWIG_fail;
26954 }
26955 resultobj = SWIG_Py_Void();
26956 return resultobj;
26957fail:
26958 return NULL;
d55e5bfc
RD
26959}
26960
26961
554f62e9
RD
26962SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26963 PyObject *resultobj = 0;
26964 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26965 bool result;
26966 void *argp1 = 0 ;
26967 int res1 = 0 ;
26968 PyObject *swig_obj[1] ;
26969
26970 if (!args) SWIG_fail;
26971 swig_obj[0] = args;
26972 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26973 if (!SWIG_IsOK(res1)) {
26974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26975 }
26976 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26977 {
26978 PyThreadState* __tstate = wxPyBeginAllowThreads();
26979 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26980 wxPyEndAllowThreads(__tstate);
26981 if (PyErr_Occurred()) SWIG_fail;
26982 }
26983 {
26984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26985 }
26986 return resultobj;
26987fail:
26988 return NULL;
d55e5bfc
RD
26989}
26990
26991
554f62e9
RD
26992SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26993 PyObject *resultobj = 0;
26994 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26995 bool result;
26996 void *argp1 = 0 ;
26997 int res1 = 0 ;
26998 PyObject *swig_obj[1] ;
26999
27000 if (!args) SWIG_fail;
27001 swig_obj[0] = args;
27002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27003 if (!SWIG_IsOK(res1)) {
27004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27005 }
27006 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27007 {
27008 PyThreadState* __tstate = wxPyBeginAllowThreads();
27009 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
27010 wxPyEndAllowThreads(__tstate);
27011 if (PyErr_Occurred()) SWIG_fail;
27012 }
27013 {
27014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27015 }
27016 return resultobj;
27017fail:
27018 return NULL;
d55e5bfc
RD
27019}
27020
27021
554f62e9
RD
27022SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27023 PyObject *resultobj = 0;
27024 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27025 bool result;
27026 void *argp1 = 0 ;
27027 int res1 = 0 ;
27028 PyObject *swig_obj[1] ;
27029
27030 if (!args) SWIG_fail;
27031 swig_obj[0] = args;
27032 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27033 if (!SWIG_IsOK(res1)) {
27034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27035 }
27036 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27037 {
27038 PyThreadState* __tstate = wxPyBeginAllowThreads();
27039 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
27040 wxPyEndAllowThreads(__tstate);
27041 if (PyErr_Occurred()) SWIG_fail;
27042 }
27043 {
27044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27045 }
27046 return resultobj;
27047fail:
27048 return NULL;
d55e5bfc
RD
27049}
27050
27051
554f62e9
RD
27052SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27053 PyObject *resultobj = 0;
27054 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27055 bool result;
27056 void *argp1 = 0 ;
27057 int res1 = 0 ;
27058 PyObject *swig_obj[1] ;
27059
27060 if (!args) SWIG_fail;
27061 swig_obj[0] = args;
27062 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27063 if (!SWIG_IsOK(res1)) {
27064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27065 }
27066 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27067 {
27068 PyThreadState* __tstate = wxPyBeginAllowThreads();
27069 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
27070 wxPyEndAllowThreads(__tstate);
27071 if (PyErr_Occurred()) SWIG_fail;
27072 }
27073 {
27074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27075 }
27076 return resultobj;
27077fail:
27078 return NULL;
d55e5bfc
RD
27079}
27080
27081
b39fe951 27082SWIGINTERN PyObject *_wrap_PrintDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
554f62e9
RD
27083 PyObject *resultobj = 0;
27084 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27085 bool result;
27086 void *argp1 = 0 ;
27087 int res1 = 0 ;
27088 PyObject *swig_obj[1] ;
27089
27090 if (!args) SWIG_fail;
27091 swig_obj[0] = args;
27092 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27093 if (!SWIG_IsOK(res1)) {
b39fe951 27094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
554f62e9
RD
27095 }
27096 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27097 {
27098 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 27099 result = (bool)((wxPrintDialogData const *)arg1)->IsOk();
554f62e9
RD
27100 wxPyEndAllowThreads(__tstate);
27101 if (PyErr_Occurred()) SWIG_fail;
27102 }
27103 {
27104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27105 }
27106 return resultobj;
27107fail:
27108 return NULL;
d55e5bfc
RD
27109}
27110
27111
554f62e9
RD
27112SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27113 PyObject *resultobj = 0;
27114 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27115 wxPrintData *result = 0 ;
27116 void *argp1 = 0 ;
27117 int res1 = 0 ;
27118 PyObject *swig_obj[1] ;
27119
27120 if (!args) SWIG_fail;
27121 swig_obj[0] = args;
27122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27123 if (!SWIG_IsOK(res1)) {
27124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27125 }
27126 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27127 {
27128 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 27129 {
554f62e9
RD
27130 wxPrintData &_result_ref = (arg1)->GetPrintData();
27131 result = (wxPrintData *) &_result_ref;
27132 }
27133 wxPyEndAllowThreads(__tstate);
27134 if (PyErr_Occurred()) SWIG_fail;
27135 }
27136 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27137 return resultobj;
27138fail:
27139 return NULL;
27140}
27141
27142
27143SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27144 PyObject *resultobj = 0;
27145 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27146 wxPrintData *arg2 = 0 ;
27147 void *argp1 = 0 ;
27148 int res1 = 0 ;
27149 void *argp2 = 0 ;
27150 int res2 = 0 ;
27151 PyObject * obj0 = 0 ;
27152 PyObject * obj1 = 0 ;
27153 char * kwnames[] = {
27154 (char *) "self",(char *) "printData", NULL
27155 };
27156
27157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
27158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27159 if (!SWIG_IsOK(res1)) {
27160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27161 }
27162 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27163 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
27164 if (!SWIG_IsOK(res2)) {
27165 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27166 }
27167 if (!argp2) {
27168 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27169 }
27170 arg2 = reinterpret_cast< wxPrintData * >(argp2);
27171 {
27172 PyThreadState* __tstate = wxPyBeginAllowThreads();
27173 (arg1)->SetPrintData((wxPrintData const &)*arg2);
27174 wxPyEndAllowThreads(__tstate);
27175 if (PyErr_Occurred()) SWIG_fail;
27176 }
27177 resultobj = SWIG_Py_Void();
27178 return resultobj;
27179fail:
27180 return NULL;
d55e5bfc
RD
27181}
27182
27183
554f62e9
RD
27184SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27185 PyObject *obj;
27186 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27187 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
27188 return SWIG_Py_Void();
d55e5bfc
RD
27189}
27190
554f62e9
RD
27191SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27192 return SWIG_Python_InitShadowInstance(args);
27193}
d55e5bfc 27194
554f62e9
RD
27195SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27196 PyObject *resultobj = 0;
27197 wxWindow *arg1 = (wxWindow *) 0 ;
27198 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
27199 wxPrintDialog *result = 0 ;
27200 void *argp1 = 0 ;
27201 int res1 = 0 ;
27202 void *argp2 = 0 ;
27203 int res2 = 0 ;
27204 PyObject * obj0 = 0 ;
27205 PyObject * obj1 = 0 ;
27206 char * kwnames[] = {
27207 (char *) "parent",(char *) "data", NULL
27208 };
27209
27210 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27211 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
27212 if (!SWIG_IsOK(res1)) {
27213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27214 }
27215 arg1 = reinterpret_cast< wxWindow * >(argp1);
27216 if (obj1) {
27217 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27218 if (!SWIG_IsOK(res2)) {
27219 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
d55e5bfc 27220 }
554f62e9
RD
27221 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
27222 }
27223 {
27224 if (!wxPyCheckForApp()) SWIG_fail;
27225 PyThreadState* __tstate = wxPyBeginAllowThreads();
27226 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
27227 wxPyEndAllowThreads(__tstate);
27228 if (PyErr_Occurred()) SWIG_fail;
27229 }
27230 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
27231 return resultobj;
27232fail:
27233 return NULL;
d55e5bfc
RD
27234}
27235
27236
f05326ba
RD
27237SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27238 PyObject *resultobj = 0;
27239 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27240 void *argp1 = 0 ;
27241 int res1 = 0 ;
27242 PyObject *swig_obj[1] ;
27243
27244 if (!args) SWIG_fail;
27245 swig_obj[0] = args;
27246 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
27247 if (!SWIG_IsOK(res1)) {
27248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27249 }
27250 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27251 {
27252 PyThreadState* __tstate = wxPyBeginAllowThreads();
27253 delete arg1;
27254
27255 wxPyEndAllowThreads(__tstate);
27256 if (PyErr_Occurred()) SWIG_fail;
27257 }
27258 resultobj = SWIG_Py_Void();
27259 return resultobj;
27260fail:
27261 return NULL;
27262}
27263
27264
554f62e9
RD
27265SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27266 PyObject *resultobj = 0;
27267 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27268 int result;
27269 void *argp1 = 0 ;
27270 int res1 = 0 ;
27271 PyObject *swig_obj[1] ;
27272
27273 if (!args) SWIG_fail;
27274 swig_obj[0] = args;
27275 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27276 if (!SWIG_IsOK(res1)) {
27277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27278 }
27279 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27280 {
27281 PyThreadState* __tstate = wxPyBeginAllowThreads();
27282 result = (int)(arg1)->ShowModal();
27283 wxPyEndAllowThreads(__tstate);
27284 if (PyErr_Occurred()) SWIG_fail;
27285 }
27286 resultobj = SWIG_From_int(static_cast< int >(result));
27287 return resultobj;
27288fail:
27289 return NULL;
d55e5bfc
RD
27290}
27291
27292
554f62e9
RD
27293SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27294 PyObject *resultobj = 0;
27295 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27296 wxPrintDialogData *result = 0 ;
27297 void *argp1 = 0 ;
27298 int res1 = 0 ;
27299 PyObject *swig_obj[1] ;
27300
27301 if (!args) SWIG_fail;
27302 swig_obj[0] = args;
27303 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27304 if (!SWIG_IsOK(res1)) {
27305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27306 }
27307 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27308 {
27309 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 27310 {
554f62e9
RD
27311 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27312 result = (wxPrintDialogData *) &_result_ref;
d55e5bfc 27313 }
554f62e9
RD
27314 wxPyEndAllowThreads(__tstate);
27315 if (PyErr_Occurred()) SWIG_fail;
27316 }
27317 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27318 return resultobj;
27319fail:
27320 return NULL;
27321}
27322
27323
27324SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27325 PyObject *resultobj = 0;
27326 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27327 wxPrintData *result = 0 ;
27328 void *argp1 = 0 ;
27329 int res1 = 0 ;
27330 PyObject *swig_obj[1] ;
27331
27332 if (!args) SWIG_fail;
27333 swig_obj[0] = args;
27334 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27335 if (!SWIG_IsOK(res1)) {
27336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27337 }
27338 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27339 {
27340 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 27341 {
554f62e9
RD
27342 wxPrintData &_result_ref = (arg1)->GetPrintData();
27343 result = (wxPrintData *) &_result_ref;
d55e5bfc 27344 }
554f62e9
RD
27345 wxPyEndAllowThreads(__tstate);
27346 if (PyErr_Occurred()) SWIG_fail;
27347 }
27348 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27349 return resultobj;
27350fail:
27351 return NULL;
d55e5bfc
RD
27352}
27353
27354
554f62e9
RD
27355SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27356 PyObject *resultobj = 0;
27357 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27358 wxDC *result = 0 ;
27359 void *argp1 = 0 ;
27360 int res1 = 0 ;
27361 PyObject *swig_obj[1] ;
27362
27363 if (!args) SWIG_fail;
27364 swig_obj[0] = args;
27365 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27366 if (!SWIG_IsOK(res1)) {
27367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27368 }
27369 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27370 {
27371 PyThreadState* __tstate = wxPyBeginAllowThreads();
27372 result = (wxDC *)(arg1)->GetPrintDC();
27373 wxPyEndAllowThreads(__tstate);
27374 if (PyErr_Occurred()) SWIG_fail;
27375 }
27376 {
27377 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27378 }
27379 return resultobj;
27380fail:
27381 return NULL;
d55e5bfc
RD
27382}
27383
27384
554f62e9
RD
27385SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27386 PyObject *obj;
27387 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27388 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27389 return SWIG_Py_Void();
d55e5bfc
RD
27390}
27391
554f62e9
RD
27392SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27393 return SWIG_Python_InitShadowInstance(args);
27394}
d55e5bfc 27395
554f62e9
RD
27396SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27397 PyObject *resultobj = 0;
27398 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27399 wxPrinter *result = 0 ;
27400 void *argp1 = 0 ;
27401 int res1 = 0 ;
27402 PyObject * obj0 = 0 ;
27403 char * kwnames[] = {
27404 (char *) "data", NULL
27405 };
27406
27407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27408 if (obj0) {
27409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27410 if (!SWIG_IsOK(res1)) {
27411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
396fb509 27412 }
554f62e9
RD
27413 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27414 }
27415 {
27416 if (!wxPyCheckForApp()) SWIG_fail;
27417 PyThreadState* __tstate = wxPyBeginAllowThreads();
27418 result = (wxPrinter *)new wxPrinter(arg1);
27419 wxPyEndAllowThreads(__tstate);
27420 if (PyErr_Occurred()) SWIG_fail;
27421 }
27422 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27423 return resultobj;
27424fail:
27425 return NULL;
d55e5bfc
RD
27426}
27427
27428
554f62e9
RD
27429SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27430 PyObject *resultobj = 0;
27431 wxPrinter *arg1 = (wxPrinter *) 0 ;
27432 void *argp1 = 0 ;
27433 int res1 = 0 ;
27434 PyObject *swig_obj[1] ;
27435
27436 if (!args) SWIG_fail;
27437 swig_obj[0] = args;
27438 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27439 if (!SWIG_IsOK(res1)) {
27440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27441 }
27442 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27443 {
27444 PyThreadState* __tstate = wxPyBeginAllowThreads();
27445 delete arg1;
d55e5bfc 27446
554f62e9
RD
27447 wxPyEndAllowThreads(__tstate);
27448 if (PyErr_Occurred()) SWIG_fail;
27449 }
27450 resultobj = SWIG_Py_Void();
27451 return resultobj;
27452fail:
27453 return NULL;
27454}
27455
27456
27457SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27458 PyObject *resultobj = 0;
27459 wxPrinter *arg1 = (wxPrinter *) 0 ;
27460 wxWindow *arg2 = (wxWindow *) 0 ;
27461 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27462 wxWindow *result = 0 ;
27463 void *argp1 = 0 ;
27464 int res1 = 0 ;
27465 void *argp2 = 0 ;
27466 int res2 = 0 ;
27467 void *argp3 = 0 ;
27468 int res3 = 0 ;
27469 PyObject * obj0 = 0 ;
27470 PyObject * obj1 = 0 ;
27471 PyObject * obj2 = 0 ;
27472 char * kwnames[] = {
27473 (char *) "self",(char *) "parent",(char *) "printout", NULL
27474 };
27475
27476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27478 if (!SWIG_IsOK(res1)) {
27479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27480 }
27481 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27482 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27483 if (!SWIG_IsOK(res2)) {
27484 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27485 }
27486 arg2 = reinterpret_cast< wxWindow * >(argp2);
27487 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27488 if (!SWIG_IsOK(res3)) {
27489 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27490 }
27491 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27492 {
27493 PyThreadState* __tstate = wxPyBeginAllowThreads();
27494 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27495 wxPyEndAllowThreads(__tstate);
27496 if (PyErr_Occurred()) SWIG_fail;
27497 }
27498 {
27499 resultobj = wxPyMake_wxObject(result, 0);
27500 }
27501 return resultobj;
27502fail:
27503 return NULL;
27504}
27505
27506
27507SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27508 PyObject *resultobj = 0;
27509 wxPrinter *arg1 = (wxPrinter *) 0 ;
27510 wxWindow *arg2 = (wxWindow *) 0 ;
27511 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27512 wxString *arg4 = 0 ;
27513 void *argp1 = 0 ;
27514 int res1 = 0 ;
27515 void *argp2 = 0 ;
27516 int res2 = 0 ;
27517 void *argp3 = 0 ;
27518 int res3 = 0 ;
27519 bool temp4 = false ;
27520 PyObject * obj0 = 0 ;
27521 PyObject * obj1 = 0 ;
27522 PyObject * obj2 = 0 ;
27523 PyObject * obj3 = 0 ;
27524 char * kwnames[] = {
27525 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27526 };
27527
27528 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27529 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27530 if (!SWIG_IsOK(res1)) {
27531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27532 }
27533 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27534 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27535 if (!SWIG_IsOK(res2)) {
27536 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27537 }
27538 arg2 = reinterpret_cast< wxWindow * >(argp2);
27539 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27540 if (!SWIG_IsOK(res3)) {
27541 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27542 }
27543 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27544 {
27545 arg4 = wxString_in_helper(obj3);
27546 if (arg4 == NULL) SWIG_fail;
27547 temp4 = true;
27548 }
27549 {
27550 PyThreadState* __tstate = wxPyBeginAllowThreads();
27551 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27552 wxPyEndAllowThreads(__tstate);
27553 if (PyErr_Occurred()) SWIG_fail;
27554 }
27555 resultobj = SWIG_Py_Void();
27556 {
27557 if (temp4)
27558 delete arg4;
27559 }
27560 return resultobj;
27561fail:
27562 {
27563 if (temp4)
27564 delete arg4;
27565 }
27566 return NULL;
27567}
27568
27569
27570SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27571 PyObject *resultobj = 0;
27572 wxPrinter *arg1 = (wxPrinter *) 0 ;
27573 wxWindow *arg2 = (wxWindow *) 0 ;
27574 bool result;
27575 void *argp1 = 0 ;
27576 int res1 = 0 ;
27577 void *argp2 = 0 ;
27578 int res2 = 0 ;
27579 PyObject * obj0 = 0 ;
27580 PyObject * obj1 = 0 ;
27581 char * kwnames[] = {
27582 (char *) "self",(char *) "parent", NULL
27583 };
27584
27585 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27587 if (!SWIG_IsOK(res1)) {
27588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27589 }
27590 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27591 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27592 if (!SWIG_IsOK(res2)) {
27593 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27594 }
27595 arg2 = reinterpret_cast< wxWindow * >(argp2);
27596 {
27597 PyThreadState* __tstate = wxPyBeginAllowThreads();
27598 result = (bool)(arg1)->Setup(arg2);
27599 wxPyEndAllowThreads(__tstate);
27600 if (PyErr_Occurred()) SWIG_fail;
27601 }
27602 {
27603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27604 }
27605 return resultobj;
27606fail:
27607 return NULL;
27608}
27609
27610
27611SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27612 PyObject *resultobj = 0;
27613 wxPrinter *arg1 = (wxPrinter *) 0 ;
27614 wxWindow *arg2 = (wxWindow *) 0 ;
27615 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27616 bool arg4 = (bool) true ;
27617 bool result;
27618 void *argp1 = 0 ;
27619 int res1 = 0 ;
27620 void *argp2 = 0 ;
27621 int res2 = 0 ;
27622 void *argp3 = 0 ;
27623 int res3 = 0 ;
27624 bool val4 ;
27625 int ecode4 = 0 ;
27626 PyObject * obj0 = 0 ;
27627 PyObject * obj1 = 0 ;
27628 PyObject * obj2 = 0 ;
27629 PyObject * obj3 = 0 ;
27630 char * kwnames[] = {
27631 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27632 };
27633
27634 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27635 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27636 if (!SWIG_IsOK(res1)) {
27637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27638 }
27639 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27640 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27641 if (!SWIG_IsOK(res2)) {
27642 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27643 }
27644 arg2 = reinterpret_cast< wxWindow * >(argp2);
27645 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27646 if (!SWIG_IsOK(res3)) {
27647 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27648 }
27649 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27650 if (obj3) {
27651 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27652 if (!SWIG_IsOK(ecode4)) {
27653 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27654 }
27655 arg4 = static_cast< bool >(val4);
27656 }
27657 {
27658 PyThreadState* __tstate = wxPyBeginAllowThreads();
27659 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27660 wxPyEndAllowThreads(__tstate);
27661 if (PyErr_Occurred()) SWIG_fail;
27662 }
27663 {
27664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27665 }
27666 return resultobj;
27667fail:
27668 return NULL;
27669}
27670
27671
27672SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27673 PyObject *resultobj = 0;
27674 wxPrinter *arg1 = (wxPrinter *) 0 ;
27675 wxWindow *arg2 = (wxWindow *) 0 ;
27676 wxDC *result = 0 ;
27677 void *argp1 = 0 ;
27678 int res1 = 0 ;
27679 void *argp2 = 0 ;
27680 int res2 = 0 ;
27681 PyObject * obj0 = 0 ;
27682 PyObject * obj1 = 0 ;
27683 char * kwnames[] = {
27684 (char *) "self",(char *) "parent", NULL
27685 };
27686
27687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27689 if (!SWIG_IsOK(res1)) {
27690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27691 }
27692 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27693 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27694 if (!SWIG_IsOK(res2)) {
27695 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27696 }
27697 arg2 = reinterpret_cast< wxWindow * >(argp2);
27698 {
27699 PyThreadState* __tstate = wxPyBeginAllowThreads();
27700 result = (wxDC *)(arg1)->PrintDialog(arg2);
27701 wxPyEndAllowThreads(__tstate);
27702 if (PyErr_Occurred()) SWIG_fail;
27703 }
27704 {
27705 resultobj = wxPyMake_wxObject(result, (bool)0);
27706 }
27707 return resultobj;
27708fail:
27709 return NULL;
d55e5bfc
RD
27710}
27711
27712
554f62e9
RD
27713SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27714 PyObject *resultobj = 0;
27715 wxPrinter *arg1 = (wxPrinter *) 0 ;
27716 wxPrintDialogData *result = 0 ;
27717 void *argp1 = 0 ;
27718 int res1 = 0 ;
27719 PyObject *swig_obj[1] ;
27720
27721 if (!args) SWIG_fail;
27722 swig_obj[0] = args;
27723 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27724 if (!SWIG_IsOK(res1)) {
27725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27726 }
27727 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27728 {
27729 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 27730 {
554f62e9
RD
27731 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27732 result = (wxPrintDialogData *) &_result_ref;
d55e5bfc 27733 }
554f62e9
RD
27734 wxPyEndAllowThreads(__tstate);
27735 if (PyErr_Occurred()) SWIG_fail;
27736 }
27737 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27738 return resultobj;
27739fail:
27740 return NULL;
d55e5bfc
RD
27741}
27742
27743
554f62e9
RD
27744SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27745 PyObject *resultobj = 0;
27746 wxPrinter *arg1 = (wxPrinter *) 0 ;
27747 bool result;
27748 void *argp1 = 0 ;
27749 int res1 = 0 ;
27750 PyObject *swig_obj[1] ;
27751
27752 if (!args) SWIG_fail;
27753 swig_obj[0] = args;
27754 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27755 if (!SWIG_IsOK(res1)) {
27756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27757 }
27758 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27759 {
27760 PyThreadState* __tstate = wxPyBeginAllowThreads();
27761 result = (bool)(arg1)->GetAbort();
27762 wxPyEndAllowThreads(__tstate);
27763 if (PyErr_Occurred()) SWIG_fail;
27764 }
27765 {
27766 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27767 }
27768 return resultobj;
27769fail:
27770 return NULL;
d55e5bfc
RD
27771}
27772
27773
554f62e9
RD
27774SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27775 PyObject *resultobj = 0;
27776 wxPrinterError result;
27777
27778 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27779 {
27780 PyThreadState* __tstate = wxPyBeginAllowThreads();
27781 result = (wxPrinterError)wxPrinter::GetLastError();
27782 wxPyEndAllowThreads(__tstate);
27783 if (PyErr_Occurred()) SWIG_fail;
27784 }
27785 resultobj = SWIG_From_int(static_cast< int >(result));
27786 return resultobj;
27787fail:
27788 return NULL;
d55e5bfc
RD
27789}
27790
27791
554f62e9
RD
27792SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27793 PyObject *obj;
27794 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27795 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27796 return SWIG_Py_Void();
d55e5bfc
RD
27797}
27798
554f62e9
RD
27799SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27800 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
27801}
27802
554f62e9
RD
27803SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27804 PyObject *resultobj = 0;
27805 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27806 wxString *arg1 = (wxString *) &arg1_defvalue ;
27807 wxPyPrintout *result = 0 ;
27808 bool temp1 = false ;
27809 PyObject * obj0 = 0 ;
27810 char * kwnames[] = {
27811 (char *) "title", NULL
27812 };
27813
27814 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27815 if (obj0) {
d55e5bfc 27816 {
554f62e9
RD
27817 arg1 = wxString_in_helper(obj0);
27818 if (arg1 == NULL) SWIG_fail;
27819 temp1 = true;
27820 }
27821 }
27822 {
27823 if (!wxPyCheckForApp()) SWIG_fail;
27824 PyThreadState* __tstate = wxPyBeginAllowThreads();
27825 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27826 wxPyEndAllowThreads(__tstate);
27827 if (PyErr_Occurred()) SWIG_fail;
27828 }
27829 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27830 {
27831 if (temp1)
27832 delete arg1;
27833 }
27834 return resultobj;
27835fail:
27836 {
27837 if (temp1)
27838 delete arg1;
27839 }
27840 return NULL;
d55e5bfc
RD
27841}
27842
27843
554f62e9
RD
27844SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27845 PyObject *resultobj = 0;
27846 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27847 void *argp1 = 0 ;
27848 int res1 = 0 ;
27849 PyObject *swig_obj[1] ;
27850
27851 if (!args) SWIG_fail;
27852 swig_obj[0] = args;
27853 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27854 if (!SWIG_IsOK(res1)) {
27855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27856 }
27857 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27858 {
27859 PyThreadState* __tstate = wxPyBeginAllowThreads();
27860 delete arg1;
d55e5bfc 27861
554f62e9
RD
27862 wxPyEndAllowThreads(__tstate);
27863 if (PyErr_Occurred()) SWIG_fail;
27864 }
27865 resultobj = SWIG_Py_Void();
27866 return resultobj;
27867fail:
27868 return NULL;
27869}
27870
27871
27872SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27873 PyObject *resultobj = 0;
27874 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27875 PyObject *arg2 = (PyObject *) 0 ;
27876 PyObject *arg3 = (PyObject *) 0 ;
27877 void *argp1 = 0 ;
27878 int res1 = 0 ;
27879 PyObject * obj0 = 0 ;
27880 PyObject * obj1 = 0 ;
27881 PyObject * obj2 = 0 ;
27882 char * kwnames[] = {
27883 (char *) "self",(char *) "self",(char *) "_class", NULL
27884 };
27885
27886 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27887 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27888 if (!SWIG_IsOK(res1)) {
27889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27890 }
27891 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27892 arg2 = obj1;
27893 arg3 = obj2;
27894 {
27895 PyThreadState* __tstate = wxPyBeginAllowThreads();
27896 (arg1)->_setCallbackInfo(arg2,arg3);
27897 wxPyEndAllowThreads(__tstate);
27898 if (PyErr_Occurred()) SWIG_fail;
27899 }
27900 resultobj = SWIG_Py_Void();
27901 return resultobj;
27902fail:
27903 return NULL;
d55e5bfc
RD
27904}
27905
27906
554f62e9
RD
27907SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27908 PyObject *resultobj = 0;
27909 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27910 wxString result;
27911 void *argp1 = 0 ;
27912 int res1 = 0 ;
27913 PyObject *swig_obj[1] ;
27914
27915 if (!args) SWIG_fail;
27916 swig_obj[0] = args;
27917 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27918 if (!SWIG_IsOK(res1)) {
27919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27920 }
27921 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27922 {
27923 PyThreadState* __tstate = wxPyBeginAllowThreads();
27924 result = ((wxPyPrintout const *)arg1)->GetTitle();
27925 wxPyEndAllowThreads(__tstate);
27926 if (PyErr_Occurred()) SWIG_fail;
27927 }
27928 {
27929#if wxUSE_UNICODE
27930 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27931#else
27932 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27933#endif
27934 }
27935 return resultobj;
27936fail:
27937 return NULL;
d55e5bfc
RD
27938}
27939
27940
554f62e9
RD
27941SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27942 PyObject *resultobj = 0;
27943 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27944 wxDC *result = 0 ;
27945 void *argp1 = 0 ;
27946 int res1 = 0 ;
27947 PyObject *swig_obj[1] ;
27948
27949 if (!args) SWIG_fail;
27950 swig_obj[0] = args;
27951 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27952 if (!SWIG_IsOK(res1)) {
27953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27954 }
27955 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27956 {
27957 PyThreadState* __tstate = wxPyBeginAllowThreads();
27958 result = (wxDC *)(arg1)->GetDC();
27959 wxPyEndAllowThreads(__tstate);
27960 if (PyErr_Occurred()) SWIG_fail;
27961 }
27962 {
27963 resultobj = wxPyMake_wxObject(result, (bool)0);
27964 }
27965 return resultobj;
27966fail:
27967 return NULL;
27968}
27969
27970
27971SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27972 PyObject *resultobj = 0;
27973 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27974 wxDC *arg2 = (wxDC *) 0 ;
27975 void *argp1 = 0 ;
27976 int res1 = 0 ;
27977 void *argp2 = 0 ;
27978 int res2 = 0 ;
27979 PyObject * obj0 = 0 ;
27980 PyObject * obj1 = 0 ;
27981 char * kwnames[] = {
27982 (char *) "self",(char *) "dc", NULL
27983 };
27984
27985 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27986 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27987 if (!SWIG_IsOK(res1)) {
27988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27989 }
27990 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27991 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27992 if (!SWIG_IsOK(res2)) {
27993 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27994 }
27995 arg2 = reinterpret_cast< wxDC * >(argp2);
27996 {
27997 PyThreadState* __tstate = wxPyBeginAllowThreads();
27998 (arg1)->SetDC(arg2);
27999 wxPyEndAllowThreads(__tstate);
28000 if (PyErr_Occurred()) SWIG_fail;
28001 }
28002 resultobj = SWIG_Py_Void();
28003 return resultobj;
28004fail:
28005 return NULL;
28006}
28007
28008
70d7cb34
RD
28009SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28010 PyObject *resultobj = 0;
28011 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28012 wxSize *arg2 = 0 ;
28013 void *argp1 = 0 ;
28014 int res1 = 0 ;
28015 wxSize temp2 ;
28016 PyObject * obj0 = 0 ;
28017 PyObject * obj1 = 0 ;
28018 char * kwnames[] = {
28019 (char *) "self",(char *) "imageSize", NULL
28020 };
28021
28022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPaper",kwnames,&obj0,&obj1)) SWIG_fail;
28023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28024 if (!SWIG_IsOK(res1)) {
28025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28026 }
28027 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28028 {
28029 arg2 = &temp2;
28030 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28031 }
28032 {
28033 PyThreadState* __tstate = wxPyBeginAllowThreads();
28034 (arg1)->FitThisSizeToPaper((wxSize const &)*arg2);
28035 wxPyEndAllowThreads(__tstate);
28036 if (PyErr_Occurred()) SWIG_fail;
28037 }
28038 resultobj = SWIG_Py_Void();
28039 return resultobj;
28040fail:
28041 return NULL;
28042}
28043
28044
28045SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28046 PyObject *resultobj = 0;
28047 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28048 wxSize *arg2 = 0 ;
28049 void *argp1 = 0 ;
28050 int res1 = 0 ;
28051 wxSize temp2 ;
28052 PyObject * obj0 = 0 ;
28053 PyObject * obj1 = 0 ;
28054 char * kwnames[] = {
28055 (char *) "self",(char *) "imageSize", NULL
28056 };
28057
28058 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPage",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_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28062 }
28063 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28064 {
28065 arg2 = &temp2;
28066 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28067 }
28068 {
28069 PyThreadState* __tstate = wxPyBeginAllowThreads();
28070 (arg1)->FitThisSizeToPage((wxSize const &)*arg2);
28071 wxPyEndAllowThreads(__tstate);
28072 if (PyErr_Occurred()) SWIG_fail;
28073 }
28074 resultobj = SWIG_Py_Void();
28075 return resultobj;
28076fail:
28077 return NULL;
28078}
28079
28080
28081SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28082 PyObject *resultobj = 0;
28083 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28084 wxSize *arg2 = 0 ;
28085 wxPageSetupDialogData *arg3 = 0 ;
28086 void *argp1 = 0 ;
28087 int res1 = 0 ;
28088 wxSize temp2 ;
28089 void *argp3 = 0 ;
28090 int res3 = 0 ;
28091 PyObject * obj0 = 0 ;
28092 PyObject * obj1 = 0 ;
28093 PyObject * obj2 = 0 ;
28094 char * kwnames[] = {
28095 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
28096 };
28097
28098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28099 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28100 if (!SWIG_IsOK(res1)) {
28101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28102 }
28103 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28104 {
28105 arg2 = &temp2;
28106 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28107 }
28108 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28109 if (!SWIG_IsOK(res3)) {
28110 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28111 }
28112 if (!argp3) {
28113 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28114 }
28115 arg3 = reinterpret_cast< wxPageSetupDialogData * >(argp3);
28116 {
28117 PyThreadState* __tstate = wxPyBeginAllowThreads();
28118 (arg1)->FitThisSizeToPageMargins((wxSize const &)*arg2,(wxPageSetupDialogData const &)*arg3);
28119 wxPyEndAllowThreads(__tstate);
28120 if (PyErr_Occurred()) SWIG_fail;
28121 }
28122 resultobj = SWIG_Py_Void();
28123 return resultobj;
28124fail:
28125 return NULL;
28126}
28127
28128
28129SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28130 PyObject *resultobj = 0;
28131 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28132 void *argp1 = 0 ;
28133 int res1 = 0 ;
28134 PyObject *swig_obj[1] ;
28135
28136 if (!args) SWIG_fail;
28137 swig_obj[0] = args;
28138 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28139 if (!SWIG_IsOK(res1)) {
28140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28141 }
28142 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28143 {
28144 PyThreadState* __tstate = wxPyBeginAllowThreads();
28145 (arg1)->MapScreenSizeToPaper();
28146 wxPyEndAllowThreads(__tstate);
28147 if (PyErr_Occurred()) SWIG_fail;
28148 }
28149 resultobj = SWIG_Py_Void();
28150 return resultobj;
28151fail:
28152 return NULL;
28153}
28154
28155
28156SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28157 PyObject *resultobj = 0;
28158 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28159 void *argp1 = 0 ;
28160 int res1 = 0 ;
28161 PyObject *swig_obj[1] ;
28162
28163 if (!args) SWIG_fail;
28164 swig_obj[0] = args;
28165 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28166 if (!SWIG_IsOK(res1)) {
28167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28168 }
28169 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28170 {
28171 PyThreadState* __tstate = wxPyBeginAllowThreads();
28172 (arg1)->MapScreenSizeToPage();
28173 wxPyEndAllowThreads(__tstate);
28174 if (PyErr_Occurred()) SWIG_fail;
28175 }
28176 resultobj = SWIG_Py_Void();
28177 return resultobj;
28178fail:
28179 return NULL;
28180}
28181
28182
28183SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28184 PyObject *resultobj = 0;
28185 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28186 wxPageSetupDialogData *arg2 = 0 ;
28187 void *argp1 = 0 ;
28188 int res1 = 0 ;
28189 void *argp2 = 0 ;
28190 int res2 = 0 ;
28191 PyObject * obj0 = 0 ;
28192 PyObject * obj1 = 0 ;
28193 char * kwnames[] = {
28194 (char *) "self",(char *) "pageSetupData", NULL
28195 };
28196
28197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames,&obj0,&obj1)) 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_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28201 }
28202 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28203 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28204 if (!SWIG_IsOK(res2)) {
28205 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28206 }
28207 if (!argp2) {
28208 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28209 }
28210 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28211 {
28212 PyThreadState* __tstate = wxPyBeginAllowThreads();
28213 (arg1)->MapScreenSizeToPageMargins((wxPageSetupDialogData const &)*arg2);
28214 wxPyEndAllowThreads(__tstate);
28215 if (PyErr_Occurred()) SWIG_fail;
28216 }
28217 resultobj = SWIG_Py_Void();
28218 return resultobj;
28219fail:
28220 return NULL;
28221}
28222
28223
28224SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToDevice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28225 PyObject *resultobj = 0;
28226 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28227 void *argp1 = 0 ;
28228 int res1 = 0 ;
28229 PyObject *swig_obj[1] ;
28230
28231 if (!args) SWIG_fail;
28232 swig_obj[0] = args;
28233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28234 if (!SWIG_IsOK(res1)) {
28235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28236 }
28237 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28238 {
28239 PyThreadState* __tstate = wxPyBeginAllowThreads();
28240 (arg1)->MapScreenSizeToDevice();
28241 wxPyEndAllowThreads(__tstate);
28242 if (PyErr_Occurred()) SWIG_fail;
28243 }
28244 resultobj = SWIG_Py_Void();
28245 return resultobj;
28246fail:
28247 return NULL;
28248}
28249
28250
28251SWIGINTERN PyObject *_wrap_Printout_GetLogicalPaperRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28252 PyObject *resultobj = 0;
28253 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28254 wxRect result;
28255 void *argp1 = 0 ;
28256 int res1 = 0 ;
28257 PyObject *swig_obj[1] ;
28258
28259 if (!args) SWIG_fail;
28260 swig_obj[0] = args;
28261 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28262 if (!SWIG_IsOK(res1)) {
28263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28264 }
28265 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28266 {
28267 PyThreadState* __tstate = wxPyBeginAllowThreads();
28268 result = ((wxPyPrintout const *)arg1)->GetLogicalPaperRect();
28269 wxPyEndAllowThreads(__tstate);
28270 if (PyErr_Occurred()) SWIG_fail;
28271 }
28272 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28273 return resultobj;
28274fail:
28275 return NULL;
28276}
28277
28278
28279SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28280 PyObject *resultobj = 0;
28281 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28282 wxRect result;
28283 void *argp1 = 0 ;
28284 int res1 = 0 ;
28285 PyObject *swig_obj[1] ;
28286
28287 if (!args) SWIG_fail;
28288 swig_obj[0] = args;
28289 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28290 if (!SWIG_IsOK(res1)) {
28291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28292 }
28293 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28294 {
28295 PyThreadState* __tstate = wxPyBeginAllowThreads();
28296 result = ((wxPyPrintout const *)arg1)->GetLogicalPageRect();
28297 wxPyEndAllowThreads(__tstate);
28298 if (PyErr_Occurred()) SWIG_fail;
28299 }
28300 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28301 return resultobj;
28302fail:
28303 return NULL;
28304}
28305
28306
28307SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageMarginsRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28308 PyObject *resultobj = 0;
28309 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28310 wxPageSetupDialogData *arg2 = 0 ;
28311 wxRect result;
28312 void *argp1 = 0 ;
28313 int res1 = 0 ;
28314 void *argp2 = 0 ;
28315 int res2 = 0 ;
28316 PyObject * obj0 = 0 ;
28317 PyObject * obj1 = 0 ;
28318 char * kwnames[] = {
28319 (char *) "self",(char *) "pageSetupData", NULL
28320 };
28321
28322 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames,&obj0,&obj1)) SWIG_fail;
28323 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28324 if (!SWIG_IsOK(res1)) {
28325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28326 }
28327 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28328 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28329 if (!SWIG_IsOK(res2)) {
28330 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28331 }
28332 if (!argp2) {
28333 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28334 }
28335 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28336 {
28337 PyThreadState* __tstate = wxPyBeginAllowThreads();
28338 result = ((wxPyPrintout const *)arg1)->GetLogicalPageMarginsRect((wxPageSetupDialogData const &)*arg2);
28339 wxPyEndAllowThreads(__tstate);
28340 if (PyErr_Occurred()) SWIG_fail;
28341 }
28342 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28343 return resultobj;
28344fail:
28345 return NULL;
28346}
28347
28348
28349SWIGINTERN PyObject *_wrap_Printout_SetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28350 PyObject *resultobj = 0;
28351 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28352 int arg2 ;
28353 int arg3 ;
28354 void *argp1 = 0 ;
28355 int res1 = 0 ;
28356 int val2 ;
28357 int ecode2 = 0 ;
28358 int val3 ;
28359 int ecode3 = 0 ;
28360 PyObject * obj0 = 0 ;
28361 PyObject * obj1 = 0 ;
28362 PyObject * obj2 = 0 ;
28363 char * kwnames[] = {
28364 (char *) "self",(char *) "x",(char *) "y", NULL
28365 };
28366
28367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28368 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28369 if (!SWIG_IsOK(res1)) {
28370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28371 }
28372 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28373 ecode2 = SWIG_AsVal_int(obj1, &val2);
28374 if (!SWIG_IsOK(ecode2)) {
28375 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28376 }
28377 arg2 = static_cast< int >(val2);
28378 ecode3 = SWIG_AsVal_int(obj2, &val3);
28379 if (!SWIG_IsOK(ecode3)) {
28380 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28381 }
28382 arg3 = static_cast< int >(val3);
28383 {
28384 PyThreadState* __tstate = wxPyBeginAllowThreads();
28385 (arg1)->SetLogicalOrigin(arg2,arg3);
28386 wxPyEndAllowThreads(__tstate);
28387 if (PyErr_Occurred()) SWIG_fail;
28388 }
28389 resultobj = SWIG_Py_Void();
28390 return resultobj;
28391fail:
28392 return NULL;
28393}
28394
28395
28396SWIGINTERN PyObject *_wrap_Printout_OffsetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28397 PyObject *resultobj = 0;
28398 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28399 int arg2 ;
28400 int arg3 ;
28401 void *argp1 = 0 ;
28402 int res1 = 0 ;
28403 int val2 ;
28404 int ecode2 = 0 ;
28405 int val3 ;
28406 int ecode3 = 0 ;
28407 PyObject * obj0 = 0 ;
28408 PyObject * obj1 = 0 ;
28409 PyObject * obj2 = 0 ;
28410 char * kwnames[] = {
28411 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28412 };
28413
28414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28415 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28416 if (!SWIG_IsOK(res1)) {
28417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28418 }
28419 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28420 ecode2 = SWIG_AsVal_int(obj1, &val2);
28421 if (!SWIG_IsOK(ecode2)) {
28422 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28423 }
28424 arg2 = static_cast< int >(val2);
28425 ecode3 = SWIG_AsVal_int(obj2, &val3);
28426 if (!SWIG_IsOK(ecode3)) {
28427 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28428 }
28429 arg3 = static_cast< int >(val3);
28430 {
28431 PyThreadState* __tstate = wxPyBeginAllowThreads();
28432 (arg1)->OffsetLogicalOrigin(arg2,arg3);
28433 wxPyEndAllowThreads(__tstate);
28434 if (PyErr_Occurred()) SWIG_fail;
28435 }
28436 resultobj = SWIG_Py_Void();
28437 return resultobj;
28438fail:
28439 return NULL;
28440}
28441
28442
554f62e9
RD
28443SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28444 PyObject *resultobj = 0;
28445 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28446 int arg2 ;
28447 int arg3 ;
28448 void *argp1 = 0 ;
28449 int res1 = 0 ;
28450 int val2 ;
28451 int ecode2 = 0 ;
28452 int val3 ;
28453 int ecode3 = 0 ;
28454 PyObject * obj0 = 0 ;
28455 PyObject * obj1 = 0 ;
28456 PyObject * obj2 = 0 ;
28457 char * kwnames[] = {
28458 (char *) "self",(char *) "w",(char *) "h", NULL
28459 };
28460
28461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28463 if (!SWIG_IsOK(res1)) {
28464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28465 }
28466 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28467 ecode2 = SWIG_AsVal_int(obj1, &val2);
28468 if (!SWIG_IsOK(ecode2)) {
28469 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28470 }
28471 arg2 = static_cast< int >(val2);
28472 ecode3 = SWIG_AsVal_int(obj2, &val3);
28473 if (!SWIG_IsOK(ecode3)) {
28474 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28475 }
28476 arg3 = static_cast< int >(val3);
28477 {
28478 PyThreadState* __tstate = wxPyBeginAllowThreads();
28479 (arg1)->SetPageSizePixels(arg2,arg3);
28480 wxPyEndAllowThreads(__tstate);
28481 if (PyErr_Occurred()) SWIG_fail;
28482 }
28483 resultobj = SWIG_Py_Void();
28484 return resultobj;
28485fail:
28486 return NULL;
28487}
28488
28489
28490SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28491 PyObject *resultobj = 0;
28492 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28493 int *arg2 = (int *) 0 ;
28494 int *arg3 = (int *) 0 ;
28495 void *argp1 = 0 ;
28496 int res1 = 0 ;
28497 int temp2 ;
28498 int res2 = SWIG_TMPOBJ ;
28499 int temp3 ;
28500 int res3 = SWIG_TMPOBJ ;
28501 PyObject *swig_obj[1] ;
28502
28503 arg2 = &temp2;
28504 arg3 = &temp3;
28505 if (!args) SWIG_fail;
28506 swig_obj[0] = args;
28507 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28508 if (!SWIG_IsOK(res1)) {
28509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28510 }
28511 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28512 {
28513 PyThreadState* __tstate = wxPyBeginAllowThreads();
28514 (arg1)->GetPageSizePixels(arg2,arg3);
28515 wxPyEndAllowThreads(__tstate);
28516 if (PyErr_Occurred()) SWIG_fail;
28517 }
28518 resultobj = SWIG_Py_Void();
28519 if (SWIG_IsTmpObj(res2)) {
28520 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28521 } else {
28522 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28523 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28524 }
28525 if (SWIG_IsTmpObj(res3)) {
28526 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28527 } else {
28528 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28529 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28530 }
28531 return resultobj;
28532fail:
28533 return NULL;
28534}
28535
28536
28537SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28538 PyObject *resultobj = 0;
28539 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28540 int arg2 ;
28541 int arg3 ;
28542 void *argp1 = 0 ;
28543 int res1 = 0 ;
28544 int val2 ;
28545 int ecode2 = 0 ;
28546 int val3 ;
28547 int ecode3 = 0 ;
28548 PyObject * obj0 = 0 ;
28549 PyObject * obj1 = 0 ;
28550 PyObject * obj2 = 0 ;
28551 char * kwnames[] = {
28552 (char *) "self",(char *) "w",(char *) "h", NULL
28553 };
28554
28555 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28556 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28557 if (!SWIG_IsOK(res1)) {
28558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28559 }
28560 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28561 ecode2 = SWIG_AsVal_int(obj1, &val2);
28562 if (!SWIG_IsOK(ecode2)) {
28563 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28564 }
28565 arg2 = static_cast< int >(val2);
28566 ecode3 = SWIG_AsVal_int(obj2, &val3);
28567 if (!SWIG_IsOK(ecode3)) {
28568 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28569 }
28570 arg3 = static_cast< int >(val3);
28571 {
28572 PyThreadState* __tstate = wxPyBeginAllowThreads();
28573 (arg1)->SetPageSizeMM(arg2,arg3);
28574 wxPyEndAllowThreads(__tstate);
28575 if (PyErr_Occurred()) SWIG_fail;
28576 }
28577 resultobj = SWIG_Py_Void();
28578 return resultobj;
28579fail:
28580 return NULL;
28581}
28582
28583
28584SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28585 PyObject *resultobj = 0;
28586 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28587 int *arg2 = (int *) 0 ;
28588 int *arg3 = (int *) 0 ;
28589 void *argp1 = 0 ;
28590 int res1 = 0 ;
28591 int temp2 ;
28592 int res2 = SWIG_TMPOBJ ;
28593 int temp3 ;
28594 int res3 = SWIG_TMPOBJ ;
28595 PyObject *swig_obj[1] ;
28596
28597 arg2 = &temp2;
28598 arg3 = &temp3;
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_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28604 }
28605 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28606 {
28607 PyThreadState* __tstate = wxPyBeginAllowThreads();
28608 (arg1)->GetPageSizeMM(arg2,arg3);
28609 wxPyEndAllowThreads(__tstate);
28610 if (PyErr_Occurred()) SWIG_fail;
28611 }
28612 resultobj = SWIG_Py_Void();
28613 if (SWIG_IsTmpObj(res2)) {
28614 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28615 } else {
28616 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28617 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28618 }
28619 if (SWIG_IsTmpObj(res3)) {
28620 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28621 } else {
28622 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28623 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28624 }
28625 return resultobj;
28626fail:
28627 return NULL;
28628}
28629
28630
28631SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28632 PyObject *resultobj = 0;
28633 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28634 int arg2 ;
28635 int arg3 ;
28636 void *argp1 = 0 ;
28637 int res1 = 0 ;
28638 int val2 ;
28639 int ecode2 = 0 ;
28640 int val3 ;
28641 int ecode3 = 0 ;
28642 PyObject * obj0 = 0 ;
28643 PyObject * obj1 = 0 ;
28644 PyObject * obj2 = 0 ;
28645 char * kwnames[] = {
28646 (char *) "self",(char *) "x",(char *) "y", NULL
28647 };
28648
28649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28651 if (!SWIG_IsOK(res1)) {
28652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28653 }
28654 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28655 ecode2 = SWIG_AsVal_int(obj1, &val2);
28656 if (!SWIG_IsOK(ecode2)) {
28657 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28658 }
28659 arg2 = static_cast< int >(val2);
28660 ecode3 = SWIG_AsVal_int(obj2, &val3);
28661 if (!SWIG_IsOK(ecode3)) {
28662 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28663 }
28664 arg3 = static_cast< int >(val3);
28665 {
28666 PyThreadState* __tstate = wxPyBeginAllowThreads();
28667 (arg1)->SetPPIScreen(arg2,arg3);
28668 wxPyEndAllowThreads(__tstate);
28669 if (PyErr_Occurred()) SWIG_fail;
28670 }
28671 resultobj = SWIG_Py_Void();
28672 return resultobj;
28673fail:
28674 return NULL;
28675}
28676
28677
28678SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28679 PyObject *resultobj = 0;
28680 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28681 int *arg2 = (int *) 0 ;
28682 int *arg3 = (int *) 0 ;
28683 void *argp1 = 0 ;
28684 int res1 = 0 ;
28685 int temp2 ;
28686 int res2 = SWIG_TMPOBJ ;
28687 int temp3 ;
28688 int res3 = SWIG_TMPOBJ ;
28689 PyObject *swig_obj[1] ;
28690
28691 arg2 = &temp2;
28692 arg3 = &temp3;
28693 if (!args) SWIG_fail;
28694 swig_obj[0] = args;
28695 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28696 if (!SWIG_IsOK(res1)) {
28697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28698 }
28699 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28700 {
28701 PyThreadState* __tstate = wxPyBeginAllowThreads();
28702 (arg1)->GetPPIScreen(arg2,arg3);
28703 wxPyEndAllowThreads(__tstate);
28704 if (PyErr_Occurred()) SWIG_fail;
28705 }
28706 resultobj = SWIG_Py_Void();
28707 if (SWIG_IsTmpObj(res2)) {
28708 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28709 } else {
28710 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28711 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28712 }
28713 if (SWIG_IsTmpObj(res3)) {
28714 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28715 } else {
28716 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28717 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28718 }
28719 return resultobj;
28720fail:
28721 return NULL;
28722}
28723
28724
28725SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28726 PyObject *resultobj = 0;
28727 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28728 int arg2 ;
28729 int arg3 ;
28730 void *argp1 = 0 ;
28731 int res1 = 0 ;
28732 int val2 ;
28733 int ecode2 = 0 ;
28734 int val3 ;
28735 int ecode3 = 0 ;
28736 PyObject * obj0 = 0 ;
28737 PyObject * obj1 = 0 ;
28738 PyObject * obj2 = 0 ;
28739 char * kwnames[] = {
28740 (char *) "self",(char *) "x",(char *) "y", NULL
28741 };
28742
28743 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28744 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28745 if (!SWIG_IsOK(res1)) {
28746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28747 }
28748 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28749 ecode2 = SWIG_AsVal_int(obj1, &val2);
28750 if (!SWIG_IsOK(ecode2)) {
28751 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28752 }
28753 arg2 = static_cast< int >(val2);
28754 ecode3 = SWIG_AsVal_int(obj2, &val3);
28755 if (!SWIG_IsOK(ecode3)) {
28756 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28757 }
28758 arg3 = static_cast< int >(val3);
28759 {
28760 PyThreadState* __tstate = wxPyBeginAllowThreads();
28761 (arg1)->SetPPIPrinter(arg2,arg3);
28762 wxPyEndAllowThreads(__tstate);
28763 if (PyErr_Occurred()) SWIG_fail;
28764 }
28765 resultobj = SWIG_Py_Void();
28766 return resultobj;
28767fail:
28768 return NULL;
28769}
28770
28771
28772SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28773 PyObject *resultobj = 0;
28774 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28775 int *arg2 = (int *) 0 ;
28776 int *arg3 = (int *) 0 ;
28777 void *argp1 = 0 ;
28778 int res1 = 0 ;
28779 int temp2 ;
28780 int res2 = SWIG_TMPOBJ ;
28781 int temp3 ;
28782 int res3 = SWIG_TMPOBJ ;
28783 PyObject *swig_obj[1] ;
28784
28785 arg2 = &temp2;
28786 arg3 = &temp3;
28787 if (!args) SWIG_fail;
28788 swig_obj[0] = args;
28789 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28790 if (!SWIG_IsOK(res1)) {
28791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28792 }
28793 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28794 {
28795 PyThreadState* __tstate = wxPyBeginAllowThreads();
28796 (arg1)->GetPPIPrinter(arg2,arg3);
28797 wxPyEndAllowThreads(__tstate);
28798 if (PyErr_Occurred()) SWIG_fail;
28799 }
28800 resultobj = SWIG_Py_Void();
28801 if (SWIG_IsTmpObj(res2)) {
28802 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28803 } else {
28804 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28805 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28806 }
28807 if (SWIG_IsTmpObj(res3)) {
28808 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28809 } else {
28810 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28811 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28812 }
28813 return resultobj;
28814fail:
28815 return NULL;
d55e5bfc
RD
28816}
28817
28818
70d7cb34
RD
28819SWIGINTERN PyObject *_wrap_Printout_SetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28820 PyObject *resultobj = 0;
28821 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28822 wxRect *arg2 = 0 ;
28823 void *argp1 = 0 ;
28824 int res1 = 0 ;
28825 wxRect temp2 ;
28826 PyObject * obj0 = 0 ;
28827 PyObject * obj1 = 0 ;
28828 char * kwnames[] = {
28829 (char *) "self",(char *) "paperRectPixels", NULL
28830 };
28831
28832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetPaperRectPixels",kwnames,&obj0,&obj1)) SWIG_fail;
28833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28834 if (!SWIG_IsOK(res1)) {
28835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28836 }
28837 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28838 {
28839 arg2 = &temp2;
28840 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
28841 }
28842 {
28843 PyThreadState* __tstate = wxPyBeginAllowThreads();
28844 (arg1)->SetPaperRectPixels((wxRect const &)*arg2);
28845 wxPyEndAllowThreads(__tstate);
28846 if (PyErr_Occurred()) SWIG_fail;
28847 }
28848 resultobj = SWIG_Py_Void();
28849 return resultobj;
28850fail:
28851 return NULL;
28852}
28853
28854
28855SWIGINTERN PyObject *_wrap_Printout_GetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28856 PyObject *resultobj = 0;
28857 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28858 wxRect result;
28859 void *argp1 = 0 ;
28860 int res1 = 0 ;
28861 PyObject *swig_obj[1] ;
28862
28863 if (!args) SWIG_fail;
28864 swig_obj[0] = args;
28865 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28866 if (!SWIG_IsOK(res1)) {
28867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28868 }
28869 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28870 {
28871 PyThreadState* __tstate = wxPyBeginAllowThreads();
28872 result = ((wxPyPrintout const *)arg1)->GetPaperRectPixels();
28873 wxPyEndAllowThreads(__tstate);
28874 if (PyErr_Occurred()) SWIG_fail;
28875 }
28876 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28877 return resultobj;
28878fail:
28879 return NULL;
28880}
28881
28882
554f62e9
RD
28883SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28884 PyObject *resultobj = 0;
28885 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28886 bool result;
28887 void *argp1 = 0 ;
28888 int res1 = 0 ;
28889 PyObject *swig_obj[1] ;
28890
28891 if (!args) SWIG_fail;
28892 swig_obj[0] = args;
28893 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28894 if (!SWIG_IsOK(res1)) {
28895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28896 }
28897 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28898 {
28899 PyThreadState* __tstate = wxPyBeginAllowThreads();
28900 result = (bool)(arg1)->IsPreview();
28901 wxPyEndAllowThreads(__tstate);
28902 if (PyErr_Occurred()) SWIG_fail;
28903 }
28904 {
28905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28906 }
28907 return resultobj;
28908fail:
28909 return NULL;
28910}
28911
28912
28913SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28914 PyObject *resultobj = 0;
28915 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28916 bool arg2 ;
28917 void *argp1 = 0 ;
28918 int res1 = 0 ;
28919 bool val2 ;
28920 int ecode2 = 0 ;
28921 PyObject * obj0 = 0 ;
28922 PyObject * obj1 = 0 ;
28923 char * kwnames[] = {
28924 (char *) "self",(char *) "p", NULL
28925 };
28926
28927 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
28928 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28929 if (!SWIG_IsOK(res1)) {
28930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28931 }
28932 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28933 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28934 if (!SWIG_IsOK(ecode2)) {
28935 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28936 }
28937 arg2 = static_cast< bool >(val2);
28938 {
28939 PyThreadState* __tstate = wxPyBeginAllowThreads();
28940 (arg1)->SetIsPreview(arg2);
28941 wxPyEndAllowThreads(__tstate);
28942 if (PyErr_Occurred()) SWIG_fail;
28943 }
28944 resultobj = SWIG_Py_Void();
28945 return resultobj;
28946fail:
28947 return NULL;
28948}
28949
28950
28951SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28952 PyObject *resultobj = 0;
28953 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28954 int arg2 ;
28955 int arg3 ;
28956 bool result;
28957 void *argp1 = 0 ;
28958 int res1 = 0 ;
28959 int val2 ;
28960 int ecode2 = 0 ;
28961 int val3 ;
28962 int ecode3 = 0 ;
28963 PyObject * obj0 = 0 ;
28964 PyObject * obj1 = 0 ;
28965 PyObject * obj2 = 0 ;
28966 char * kwnames[] = {
28967 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28968 };
28969
28970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28972 if (!SWIG_IsOK(res1)) {
28973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28974 }
28975 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28976 ecode2 = SWIG_AsVal_int(obj1, &val2);
28977 if (!SWIG_IsOK(ecode2)) {
28978 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28979 }
28980 arg2 = static_cast< int >(val2);
28981 ecode3 = SWIG_AsVal_int(obj2, &val3);
28982 if (!SWIG_IsOK(ecode3)) {
28983 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28984 }
28985 arg3 = static_cast< int >(val3);
28986 {
28987 PyThreadState* __tstate = wxPyBeginAllowThreads();
28988 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28989 wxPyEndAllowThreads(__tstate);
28990 if (PyErr_Occurred()) SWIG_fail;
28991 }
28992 {
28993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28994 }
28995 return resultobj;
28996fail:
28997 return NULL;
d55e5bfc
RD
28998}
28999
29000
554f62e9
RD
29001SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29002 PyObject *resultobj = 0;
29003 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29004 void *argp1 = 0 ;
29005 int res1 = 0 ;
29006 PyObject *swig_obj[1] ;
29007
29008 if (!args) SWIG_fail;
29009 swig_obj[0] = args;
29010 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29011 if (!SWIG_IsOK(res1)) {
29012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29013 }
29014 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29015 {
29016 PyThreadState* __tstate = wxPyBeginAllowThreads();
29017 (arg1)->OnEndDocument();
29018 wxPyEndAllowThreads(__tstate);
29019 if (PyErr_Occurred()) SWIG_fail;
29020 }
29021 resultobj = SWIG_Py_Void();
29022 return resultobj;
29023fail:
29024 return NULL;
caef1a4d
RD
29025}
29026
29027
554f62e9
RD
29028SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29029 PyObject *resultobj = 0;
29030 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29031 void *argp1 = 0 ;
29032 int res1 = 0 ;
29033 PyObject *swig_obj[1] ;
29034
29035 if (!args) SWIG_fail;
29036 swig_obj[0] = args;
29037 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29038 if (!SWIG_IsOK(res1)) {
29039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29040 }
29041 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29042 {
29043 PyThreadState* __tstate = wxPyBeginAllowThreads();
29044 (arg1)->OnBeginPrinting();
29045 wxPyEndAllowThreads(__tstate);
29046 if (PyErr_Occurred()) SWIG_fail;
29047 }
29048 resultobj = SWIG_Py_Void();
29049 return resultobj;
29050fail:
29051 return NULL;
60d5fcc1
RD
29052}
29053
29054
554f62e9
RD
29055SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29056 PyObject *resultobj = 0;
29057 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29058 void *argp1 = 0 ;
29059 int res1 = 0 ;
29060 PyObject *swig_obj[1] ;
29061
29062 if (!args) SWIG_fail;
29063 swig_obj[0] = args;
29064 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29065 if (!SWIG_IsOK(res1)) {
29066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29067 }
29068 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29069 {
29070 PyThreadState* __tstate = wxPyBeginAllowThreads();
29071 (arg1)->OnEndPrinting();
29072 wxPyEndAllowThreads(__tstate);
29073 if (PyErr_Occurred()) SWIG_fail;
29074 }
29075 resultobj = SWIG_Py_Void();
29076 return resultobj;
29077fail:
29078 return NULL;
d55e5bfc
RD
29079}
29080
29081
554f62e9
RD
29082SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29083 PyObject *resultobj = 0;
29084 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29085 void *argp1 = 0 ;
29086 int res1 = 0 ;
29087 PyObject *swig_obj[1] ;
29088
29089 if (!args) SWIG_fail;
29090 swig_obj[0] = args;
29091 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29092 if (!SWIG_IsOK(res1)) {
29093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29094 }
29095 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29096 {
29097 PyThreadState* __tstate = wxPyBeginAllowThreads();
29098 (arg1)->OnPreparePrinting();
29099 wxPyEndAllowThreads(__tstate);
29100 if (PyErr_Occurred()) SWIG_fail;
29101 }
29102 resultobj = SWIG_Py_Void();
29103 return resultobj;
29104fail:
29105 return NULL;
29106}
29107
29108
29109SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29110 PyObject *resultobj = 0;
29111 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29112 int arg2 ;
29113 bool result;
29114 void *argp1 = 0 ;
29115 int res1 = 0 ;
29116 int val2 ;
29117 int ecode2 = 0 ;
29118 PyObject * obj0 = 0 ;
29119 PyObject * obj1 = 0 ;
29120 char * kwnames[] = {
29121 (char *) "self",(char *) "page", NULL
29122 };
29123
29124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
29125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29126 if (!SWIG_IsOK(res1)) {
29127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29128 }
29129 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29130 ecode2 = SWIG_AsVal_int(obj1, &val2);
29131 if (!SWIG_IsOK(ecode2)) {
29132 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
29133 }
29134 arg2 = static_cast< int >(val2);
29135 {
29136 PyThreadState* __tstate = wxPyBeginAllowThreads();
29137 result = (bool)(arg1)->HasPage(arg2);
29138 wxPyEndAllowThreads(__tstate);
29139 if (PyErr_Occurred()) SWIG_fail;
29140 }
29141 {
29142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29143 }
29144 return resultobj;
29145fail:
29146 return NULL;
29147}
29148
29149
29150SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29151 PyObject *resultobj = 0;
29152 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29153 int *arg2 = (int *) 0 ;
29154 int *arg3 = (int *) 0 ;
29155 int *arg4 = (int *) 0 ;
29156 int *arg5 = (int *) 0 ;
29157 void *argp1 = 0 ;
29158 int res1 = 0 ;
29159 int temp2 ;
29160 int res2 = SWIG_TMPOBJ ;
29161 int temp3 ;
29162 int res3 = SWIG_TMPOBJ ;
29163 int temp4 ;
29164 int res4 = SWIG_TMPOBJ ;
29165 int temp5 ;
29166 int res5 = SWIG_TMPOBJ ;
29167 PyObject *swig_obj[1] ;
29168
29169 arg2 = &temp2;
29170 arg3 = &temp3;
29171 arg4 = &temp4;
29172 arg5 = &temp5;
29173 if (!args) SWIG_fail;
29174 swig_obj[0] = args;
29175 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29176 if (!SWIG_IsOK(res1)) {
29177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29178 }
29179 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29180 {
29181 PyThreadState* __tstate = wxPyBeginAllowThreads();
29182 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
29183 wxPyEndAllowThreads(__tstate);
29184 if (PyErr_Occurred()) SWIG_fail;
29185 }
29186 resultobj = SWIG_Py_Void();
29187 if (SWIG_IsTmpObj(res2)) {
29188 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
29189 } else {
29190 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29191 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
29192 }
29193 if (SWIG_IsTmpObj(res3)) {
29194 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
29195 } else {
29196 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29197 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
29198 }
29199 if (SWIG_IsTmpObj(res4)) {
29200 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
29201 } else {
29202 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29203 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
29204 }
29205 if (SWIG_IsTmpObj(res5)) {
29206 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
29207 } else {
29208 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29209 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
29210 }
29211 return resultobj;
29212fail:
29213 return NULL;
29214}
29215
29216
29217SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29218 PyObject *obj;
29219 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29220 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
29221 return SWIG_Py_Void();
29222}
29223
29224SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29225 return SWIG_Python_InitShadowInstance(args);
29226}
29227
29228SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29229 PyObject *resultobj = 0;
29230 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29231 wxWindow *arg2 = (wxWindow *) 0 ;
29232 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29233 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29234 wxSize const &arg4_defvalue = wxDefaultSize ;
29235 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29236 long arg5 = (long) 0 ;
29237 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
29238 wxString *arg6 = (wxString *) &arg6_defvalue ;
29239 wxPreviewCanvas *result = 0 ;
29240 void *argp1 = 0 ;
29241 int res1 = 0 ;
29242 void *argp2 = 0 ;
29243 int res2 = 0 ;
29244 wxPoint temp3 ;
29245 wxSize temp4 ;
29246 long val5 ;
29247 int ecode5 = 0 ;
29248 bool temp6 = false ;
29249 PyObject * obj0 = 0 ;
29250 PyObject * obj1 = 0 ;
29251 PyObject * obj2 = 0 ;
29252 PyObject * obj3 = 0 ;
29253 PyObject * obj4 = 0 ;
29254 PyObject * obj5 = 0 ;
29255 char * kwnames[] = {
29256 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29257 };
29258
29259 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
29260 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29261 if (!SWIG_IsOK(res1)) {
29262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29263 }
29264 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29265 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29266 if (!SWIG_IsOK(res2)) {
29267 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29268 }
29269 arg2 = reinterpret_cast< wxWindow * >(argp2);
29270 if (obj2) {
093d3ff1 29271 {
554f62e9
RD
29272 arg3 = &temp3;
29273 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 29274 }
554f62e9
RD
29275 }
29276 if (obj3) {
093d3ff1 29277 {
554f62e9
RD
29278 arg4 = &temp4;
29279 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 29280 }
554f62e9
RD
29281 }
29282 if (obj4) {
29283 ecode5 = SWIG_AsVal_long(obj4, &val5);
29284 if (!SWIG_IsOK(ecode5)) {
29285 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29286 }
29287 arg5 = static_cast< long >(val5);
29288 }
29289 if (obj5) {
093d3ff1 29290 {
554f62e9
RD
29291 arg6 = wxString_in_helper(obj5);
29292 if (arg6 == NULL) SWIG_fail;
29293 temp6 = true;
093d3ff1 29294 }
554f62e9
RD
29295 }
29296 {
29297 if (!wxPyCheckForApp()) SWIG_fail;
29298 PyThreadState* __tstate = wxPyBeginAllowThreads();
29299 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
29300 wxPyEndAllowThreads(__tstate);
29301 if (PyErr_Occurred()) SWIG_fail;
29302 }
29303 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
29304 {
29305 if (temp6)
29306 delete arg6;
29307 }
29308 return resultobj;
29309fail:
29310 {
29311 if (temp6)
29312 delete arg6;
29313 }
29314 return NULL;
29315}
29316
29317
29318SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29319 PyObject *obj;
29320 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29321 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
29322 return SWIG_Py_Void();
29323}
29324
29325SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29326 return SWIG_Python_InitShadowInstance(args);
29327}
29328
29329SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29330 PyObject *resultobj = 0;
29331 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29332 wxFrame *arg2 = (wxFrame *) 0 ;
29333 wxString *arg3 = 0 ;
29334 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29335 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29336 wxSize const &arg5_defvalue = wxDefaultSize ;
29337 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29338 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
29339 wxString const &arg7_defvalue = wxPyFrameNameStr ;
29340 wxString *arg7 = (wxString *) &arg7_defvalue ;
29341 wxPreviewFrame *result = 0 ;
29342 int res1 = 0 ;
29343 void *argp2 = 0 ;
29344 int res2 = 0 ;
29345 bool temp3 = false ;
29346 wxPoint temp4 ;
29347 wxSize temp5 ;
29348 long val6 ;
29349 int ecode6 = 0 ;
29350 bool temp7 = false ;
29351 PyObject * obj0 = 0 ;
29352 PyObject * obj1 = 0 ;
29353 PyObject * obj2 = 0 ;
29354 PyObject * obj3 = 0 ;
29355 PyObject * obj4 = 0 ;
29356 PyObject * obj5 = 0 ;
29357 PyObject * obj6 = 0 ;
29358 char * kwnames[] = {
29359 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29360 };
29361
29362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29363 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29364 if (!SWIG_IsOK(res1)) {
29365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29366 }
29367 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29368 if (!SWIG_IsOK(res2)) {
29369 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29370 }
29371 arg2 = reinterpret_cast< wxFrame * >(argp2);
29372 {
29373 arg3 = wxString_in_helper(obj2);
29374 if (arg3 == NULL) SWIG_fail;
29375 temp3 = true;
29376 }
29377 if (obj3) {
093d3ff1 29378 {
554f62e9
RD
29379 arg4 = &temp4;
29380 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 29381 }
554f62e9
RD
29382 }
29383 if (obj4) {
d55e5bfc 29384 {
554f62e9
RD
29385 arg5 = &temp5;
29386 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 29387 }
554f62e9
RD
29388 }
29389 if (obj5) {
29390 ecode6 = SWIG_AsVal_long(obj5, &val6);
29391 if (!SWIG_IsOK(ecode6)) {
29392 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29393 }
29394 arg6 = static_cast< long >(val6);
29395 }
29396 if (obj6) {
093d3ff1 29397 {
554f62e9
RD
29398 arg7 = wxString_in_helper(obj6);
29399 if (arg7 == NULL) SWIG_fail;
29400 temp7 = true;
093d3ff1 29401 }
554f62e9
RD
29402 }
29403 {
29404 if (!wxPyCheckForApp()) SWIG_fail;
29405 PyThreadState* __tstate = wxPyBeginAllowThreads();
29406 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29407 wxPyEndAllowThreads(__tstate);
29408 if (PyErr_Occurred()) SWIG_fail;
29409 }
29410 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
29411 {
29412 if (temp3)
29413 delete arg3;
29414 }
29415 {
29416 if (temp7)
29417 delete arg7;
29418 }
29419 return resultobj;
29420fail:
29421 {
29422 if (temp3)
29423 delete arg3;
29424 }
29425 {
29426 if (temp7)
29427 delete arg7;
29428 }
29429 return NULL;
d55e5bfc
RD
29430}
29431
29432
554f62e9
RD
29433SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29434 PyObject *resultobj = 0;
29435 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29436 void *argp1 = 0 ;
29437 int res1 = 0 ;
29438 PyObject *swig_obj[1] ;
29439
29440 if (!args) SWIG_fail;
29441 swig_obj[0] = args;
29442 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29443 if (!SWIG_IsOK(res1)) {
29444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29445 }
29446 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29447 {
29448 PyThreadState* __tstate = wxPyBeginAllowThreads();
29449 (arg1)->Initialize();
29450 wxPyEndAllowThreads(__tstate);
29451 if (PyErr_Occurred()) SWIG_fail;
29452 }
29453 resultobj = SWIG_Py_Void();
29454 return resultobj;
29455fail:
29456 return NULL;
d55e5bfc
RD
29457}
29458
29459
554f62e9
RD
29460SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29461 PyObject *resultobj = 0;
29462 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29463 void *argp1 = 0 ;
29464 int res1 = 0 ;
29465 PyObject *swig_obj[1] ;
29466
29467 if (!args) SWIG_fail;
29468 swig_obj[0] = args;
29469 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29470 if (!SWIG_IsOK(res1)) {
29471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29472 }
29473 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29474 {
29475 PyThreadState* __tstate = wxPyBeginAllowThreads();
29476 (arg1)->CreateControlBar();
29477 wxPyEndAllowThreads(__tstate);
29478 if (PyErr_Occurred()) SWIG_fail;
29479 }
29480 resultobj = SWIG_Py_Void();
29481 return resultobj;
29482fail:
29483 return NULL;
d55e5bfc
RD
29484}
29485
29486
554f62e9
RD
29487SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29488 PyObject *resultobj = 0;
29489 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29490 void *argp1 = 0 ;
29491 int res1 = 0 ;
29492 PyObject *swig_obj[1] ;
29493
29494 if (!args) SWIG_fail;
29495 swig_obj[0] = args;
29496 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29497 if (!SWIG_IsOK(res1)) {
29498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29499 }
29500 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29501 {
29502 PyThreadState* __tstate = wxPyBeginAllowThreads();
29503 (arg1)->CreateCanvas();
29504 wxPyEndAllowThreads(__tstate);
29505 if (PyErr_Occurred()) SWIG_fail;
29506 }
29507 resultobj = SWIG_Py_Void();
29508 return resultobj;
29509fail:
29510 return NULL;
d55e5bfc
RD
29511}
29512
29513
554f62e9
RD
29514SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29515 PyObject *resultobj = 0;
29516 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29517 wxPreviewControlBar *result = 0 ;
29518 void *argp1 = 0 ;
29519 int res1 = 0 ;
29520 PyObject *swig_obj[1] ;
29521
29522 if (!args) SWIG_fail;
29523 swig_obj[0] = args;
29524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29525 if (!SWIG_IsOK(res1)) {
29526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29527 }
29528 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29529 {
29530 PyThreadState* __tstate = wxPyBeginAllowThreads();
29531 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
29532 wxPyEndAllowThreads(__tstate);
29533 if (PyErr_Occurred()) SWIG_fail;
29534 }
29535 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29536 return resultobj;
29537fail:
29538 return NULL;
29539}
29540
29541
29542SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29543 PyObject *obj;
29544 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29545 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
29546 return SWIG_Py_Void();
29547}
29548
29549SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29550 return SWIG_Python_InitShadowInstance(args);
29551}
29552
29553SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29554 PyObject *resultobj = 0;
29555 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29556 long arg2 ;
29557 wxWindow *arg3 = (wxWindow *) 0 ;
29558 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29559 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29560 wxSize const &arg5_defvalue = wxDefaultSize ;
29561 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29562 long arg6 = (long) wxTAB_TRAVERSAL ;
29563 wxString const &arg7_defvalue = wxPyPanelNameStr ;
29564 wxString *arg7 = (wxString *) &arg7_defvalue ;
29565 wxPreviewControlBar *result = 0 ;
29566 void *argp1 = 0 ;
29567 int res1 = 0 ;
29568 long val2 ;
29569 int ecode2 = 0 ;
29570 void *argp3 = 0 ;
29571 int res3 = 0 ;
29572 wxPoint temp4 ;
29573 wxSize temp5 ;
29574 long val6 ;
29575 int ecode6 = 0 ;
29576 bool temp7 = false ;
29577 PyObject * obj0 = 0 ;
29578 PyObject * obj1 = 0 ;
29579 PyObject * obj2 = 0 ;
29580 PyObject * obj3 = 0 ;
29581 PyObject * obj4 = 0 ;
29582 PyObject * obj5 = 0 ;
29583 PyObject * obj6 = 0 ;
29584 char * kwnames[] = {
29585 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29586 };
29587
29588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29590 if (!SWIG_IsOK(res1)) {
29591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29592 }
29593 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29594 ecode2 = SWIG_AsVal_long(obj1, &val2);
29595 if (!SWIG_IsOK(ecode2)) {
29596 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29597 }
29598 arg2 = static_cast< long >(val2);
29599 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
29600 if (!SWIG_IsOK(res3)) {
29601 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29602 }
29603 arg3 = reinterpret_cast< wxWindow * >(argp3);
29604 if (obj3) {
d55e5bfc 29605 {
554f62e9
RD
29606 arg4 = &temp4;
29607 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29608 }
29609 }
29610 if (obj4) {
d55e5bfc 29611 {
554f62e9
RD
29612 arg5 = &temp5;
29613 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 29614 }
554f62e9
RD
29615 }
29616 if (obj5) {
29617 ecode6 = SWIG_AsVal_long(obj5, &val6);
29618 if (!SWIG_IsOK(ecode6)) {
29619 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29620 }
29621 arg6 = static_cast< long >(val6);
29622 }
29623 if (obj6) {
d55e5bfc 29624 {
554f62e9
RD
29625 arg7 = wxString_in_helper(obj6);
29626 if (arg7 == NULL) SWIG_fail;
29627 temp7 = true;
d55e5bfc 29628 }
554f62e9
RD
29629 }
29630 {
29631 if (!wxPyCheckForApp()) SWIG_fail;
29632 PyThreadState* __tstate = wxPyBeginAllowThreads();
29633 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29634 wxPyEndAllowThreads(__tstate);
29635 if (PyErr_Occurred()) SWIG_fail;
29636 }
29637 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
29638 {
29639 if (temp7)
29640 delete arg7;
29641 }
29642 return resultobj;
29643fail:
29644 {
29645 if (temp7)
29646 delete arg7;
29647 }
29648 return NULL;
d55e5bfc
RD
29649}
29650
29651
554f62e9
RD
29652SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29653 PyObject *resultobj = 0;
29654 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29655 int result;
29656 void *argp1 = 0 ;
29657 int res1 = 0 ;
29658 PyObject *swig_obj[1] ;
29659
29660 if (!args) SWIG_fail;
29661 swig_obj[0] = args;
29662 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29663 if (!SWIG_IsOK(res1)) {
29664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29665 }
29666 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29667 {
29668 PyThreadState* __tstate = wxPyBeginAllowThreads();
29669 result = (int)(arg1)->GetZoomControl();
29670 wxPyEndAllowThreads(__tstate);
29671 if (PyErr_Occurred()) SWIG_fail;
29672 }
29673 resultobj = SWIG_From_int(static_cast< int >(result));
29674 return resultobj;
29675fail:
29676 return NULL;
29677}
29678
29679
29680SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29681 PyObject *resultobj = 0;
29682 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29683 int arg2 ;
29684 void *argp1 = 0 ;
29685 int res1 = 0 ;
29686 int val2 ;
29687 int ecode2 = 0 ;
29688 PyObject * obj0 = 0 ;
29689 PyObject * obj1 = 0 ;
29690 char * kwnames[] = {
29691 (char *) "self",(char *) "zoom", NULL
29692 };
29693
29694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
29695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29696 if (!SWIG_IsOK(res1)) {
29697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29698 }
29699 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29700 ecode2 = SWIG_AsVal_int(obj1, &val2);
29701 if (!SWIG_IsOK(ecode2)) {
29702 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29703 }
29704 arg2 = static_cast< int >(val2);
29705 {
29706 PyThreadState* __tstate = wxPyBeginAllowThreads();
29707 (arg1)->SetZoomControl(arg2);
29708 wxPyEndAllowThreads(__tstate);
29709 if (PyErr_Occurred()) SWIG_fail;
29710 }
29711 resultobj = SWIG_Py_Void();
29712 return resultobj;
29713fail:
29714 return NULL;
d55e5bfc
RD
29715}
29716
29717
554f62e9
RD
29718SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29719 PyObject *resultobj = 0;
29720 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29721 wxPrintPreview *result = 0 ;
29722 void *argp1 = 0 ;
29723 int res1 = 0 ;
29724 PyObject *swig_obj[1] ;
29725
29726 if (!args) SWIG_fail;
29727 swig_obj[0] = args;
29728 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29729 if (!SWIG_IsOK(res1)) {
29730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29731 }
29732 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29733 {
29734 PyThreadState* __tstate = wxPyBeginAllowThreads();
29735 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
29736 wxPyEndAllowThreads(__tstate);
29737 if (PyErr_Occurred()) SWIG_fail;
29738 }
29739 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29740 return resultobj;
29741fail:
29742 return NULL;
d55e5bfc
RD
29743}
29744
29745
554f62e9
RD
29746SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29747 PyObject *resultobj = 0;
29748 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29749 void *argp1 = 0 ;
29750 int res1 = 0 ;
29751 PyObject *swig_obj[1] ;
29752
29753 if (!args) SWIG_fail;
29754 swig_obj[0] = args;
29755 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29756 if (!SWIG_IsOK(res1)) {
29757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29758 }
29759 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29760 {
29761 PyThreadState* __tstate = wxPyBeginAllowThreads();
29762 (arg1)->OnNext();
29763 wxPyEndAllowThreads(__tstate);
29764 if (PyErr_Occurred()) SWIG_fail;
29765 }
29766 resultobj = SWIG_Py_Void();
29767 return resultobj;
29768fail:
29769 return NULL;
d55e5bfc
RD
29770}
29771
29772
554f62e9
RD
29773SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29774 PyObject *resultobj = 0;
29775 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29776 void *argp1 = 0 ;
29777 int res1 = 0 ;
29778 PyObject *swig_obj[1] ;
29779
29780 if (!args) SWIG_fail;
29781 swig_obj[0] = args;
29782 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29783 if (!SWIG_IsOK(res1)) {
29784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29785 }
29786 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29787 {
29788 PyThreadState* __tstate = wxPyBeginAllowThreads();
29789 (arg1)->OnPrevious();
29790 wxPyEndAllowThreads(__tstate);
29791 if (PyErr_Occurred()) SWIG_fail;
29792 }
29793 resultobj = SWIG_Py_Void();
29794 return resultobj;
29795fail:
29796 return NULL;
d55e5bfc
RD
29797}
29798
29799
554f62e9
RD
29800SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29801 PyObject *resultobj = 0;
29802 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29803 void *argp1 = 0 ;
29804 int res1 = 0 ;
29805 PyObject *swig_obj[1] ;
29806
29807 if (!args) SWIG_fail;
29808 swig_obj[0] = args;
29809 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29810 if (!SWIG_IsOK(res1)) {
29811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29812 }
29813 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29814 {
29815 PyThreadState* __tstate = wxPyBeginAllowThreads();
29816 (arg1)->OnFirst();
29817 wxPyEndAllowThreads(__tstate);
29818 if (PyErr_Occurred()) SWIG_fail;
29819 }
29820 resultobj = SWIG_Py_Void();
29821 return resultobj;
29822fail:
29823 return NULL;
d55e5bfc
RD
29824}
29825
29826
554f62e9
RD
29827SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29828 PyObject *resultobj = 0;
29829 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29830 void *argp1 = 0 ;
29831 int res1 = 0 ;
29832 PyObject *swig_obj[1] ;
29833
29834 if (!args) SWIG_fail;
29835 swig_obj[0] = args;
29836 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29837 if (!SWIG_IsOK(res1)) {
29838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29839 }
29840 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29841 {
29842 PyThreadState* __tstate = wxPyBeginAllowThreads();
29843 (arg1)->OnLast();
29844 wxPyEndAllowThreads(__tstate);
29845 if (PyErr_Occurred()) SWIG_fail;
29846 }
29847 resultobj = SWIG_Py_Void();
29848 return resultobj;
29849fail:
29850 return NULL;
d55e5bfc
RD
29851}
29852
29853
554f62e9
RD
29854SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29855 PyObject *resultobj = 0;
29856 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29857 void *argp1 = 0 ;
29858 int res1 = 0 ;
29859 PyObject *swig_obj[1] ;
29860
29861 if (!args) SWIG_fail;
29862 swig_obj[0] = args;
29863 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29864 if (!SWIG_IsOK(res1)) {
29865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29866 }
29867 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29868 {
29869 PyThreadState* __tstate = wxPyBeginAllowThreads();
29870 (arg1)->OnGoto();
29871 wxPyEndAllowThreads(__tstate);
29872 if (PyErr_Occurred()) SWIG_fail;
29873 }
29874 resultobj = SWIG_Py_Void();
29875 return resultobj;
29876fail:
29877 return NULL;
d55e5bfc
RD
29878}
29879
29880
554f62e9
RD
29881SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29882 PyObject *obj;
29883 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29884 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
29885 return SWIG_Py_Void();
d55e5bfc
RD
29886}
29887
554f62e9
RD
29888SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29889 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
29890}
29891
554f62e9
RD
29892SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29893 PyObject *resultobj = 0;
29894 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29895 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29896 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29897 wxPrintPreview *result = 0 ;
29898 int res1 = 0 ;
29899 int res2 = 0 ;
29900 void *argp3 = 0 ;
29901 int res3 = 0 ;
29902
29903 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29904 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29905 if (!SWIG_IsOK(res1)) {
29906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29907 }
29908 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29909 if (!SWIG_IsOK(res2)) {
29910 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29911 }
29912 if (swig_obj[2]) {
29913 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29914 if (!SWIG_IsOK(res3)) {
29915 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29916 }
29917 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29918 }
29919 {
29920 if (!wxPyCheckForApp()) SWIG_fail;
29921 PyThreadState* __tstate = wxPyBeginAllowThreads();
29922 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29923 wxPyEndAllowThreads(__tstate);
29924 if (PyErr_Occurred()) SWIG_fail;
29925 }
29926 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29927 return resultobj;
29928fail:
29929 return NULL;
29930}
29931
29932
29933SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29934 PyObject *resultobj = 0;
29935 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29936 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29937 wxPrintData *arg3 = (wxPrintData *) 0 ;
29938 wxPrintPreview *result = 0 ;
29939 int res1 = 0 ;
29940 int res2 = 0 ;
29941 void *argp3 = 0 ;
29942 int res3 = 0 ;
29943
29944 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29945 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29946 if (!SWIG_IsOK(res1)) {
29947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29948 }
29949 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29950 if (!SWIG_IsOK(res2)) {
29951 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29952 }
29953 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29954 if (!SWIG_IsOK(res3)) {
29955 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29956 }
29957 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29958 {
29959 if (!wxPyCheckForApp()) SWIG_fail;
29960 PyThreadState* __tstate = wxPyBeginAllowThreads();
29961 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29962 wxPyEndAllowThreads(__tstate);
29963 if (PyErr_Occurred()) SWIG_fail;
29964 }
29965 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29966 return resultobj;
29967fail:
29968 return NULL;
d55e5bfc
RD
29969}
29970
29971
554f62e9
RD
29972SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
29973 int argc;
29974 PyObject *argv[4];
29975
29976 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
29977 --argc;
29978 if ((argc >= 2) && (argc <= 3)) {
29979 int _v = 0;
29980 if (argc > 2) {
29981 {
29982 void *vptr = 0;
29983 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29984 _v = SWIG_CheckState(res);
29985 }
29986 if (!_v) goto check_1;
d55e5bfc 29987 }
554f62e9
RD
29988 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29989 }
29990check_1:
29991
29992 if (argc == 3) {
29993 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29994 }
29995
29996fail:
29997 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29998 return NULL;
d55e5bfc
RD
29999}
30000
30001
554f62e9
RD
30002SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30003 PyObject *resultobj = 0;
30004 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30005 void *argp1 = 0 ;
30006 int res1 = 0 ;
30007 PyObject *swig_obj[1] ;
30008
30009 if (!args) SWIG_fail;
30010 swig_obj[0] = args;
30011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
30012 if (!SWIG_IsOK(res1)) {
30013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30014 }
30015 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30016 {
30017 PyThreadState* __tstate = wxPyBeginAllowThreads();
30018 delete arg1;
caef1a4d 30019
554f62e9
RD
30020 wxPyEndAllowThreads(__tstate);
30021 if (PyErr_Occurred()) SWIG_fail;
30022 }
30023 resultobj = SWIG_Py_Void();
30024 return resultobj;
30025fail:
30026 return NULL;
30027}
30028
30029
30030SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30031 PyObject *resultobj = 0;
30032 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30033 int arg2 ;
30034 bool result;
30035 void *argp1 = 0 ;
30036 int res1 = 0 ;
30037 int val2 ;
30038 int ecode2 = 0 ;
30039 PyObject * obj0 = 0 ;
30040 PyObject * obj1 = 0 ;
30041 char * kwnames[] = {
30042 (char *) "self",(char *) "pageNum", NULL
30043 };
30044
30045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
30046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30047 if (!SWIG_IsOK(res1)) {
30048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30049 }
30050 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30051 ecode2 = SWIG_AsVal_int(obj1, &val2);
30052 if (!SWIG_IsOK(ecode2)) {
30053 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
30054 }
30055 arg2 = static_cast< int >(val2);
30056 {
30057 PyThreadState* __tstate = wxPyBeginAllowThreads();
30058 result = (bool)(arg1)->SetCurrentPage(arg2);
30059 wxPyEndAllowThreads(__tstate);
30060 if (PyErr_Occurred()) SWIG_fail;
30061 }
30062 {
30063 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30064 }
30065 return resultobj;
30066fail:
30067 return NULL;
caef1a4d
RD
30068}
30069
30070
554f62e9
RD
30071SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30072 PyObject *resultobj = 0;
30073 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30074 int result;
30075 void *argp1 = 0 ;
30076 int res1 = 0 ;
30077 PyObject *swig_obj[1] ;
30078
30079 if (!args) SWIG_fail;
30080 swig_obj[0] = args;
30081 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30082 if (!SWIG_IsOK(res1)) {
30083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30084 }
30085 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30086 {
30087 PyThreadState* __tstate = wxPyBeginAllowThreads();
30088 result = (int)(arg1)->GetCurrentPage();
30089 wxPyEndAllowThreads(__tstate);
30090 if (PyErr_Occurred()) SWIG_fail;
30091 }
30092 resultobj = SWIG_From_int(static_cast< int >(result));
30093 return resultobj;
30094fail:
30095 return NULL;
30096}
30097
30098
30099SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30100 PyObject *resultobj = 0;
30101 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30102 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30103 void *argp1 = 0 ;
30104 int res1 = 0 ;
30105 int res2 = 0 ;
30106 PyObject * obj0 = 0 ;
30107 PyObject * obj1 = 0 ;
30108 char * kwnames[] = {
30109 (char *) "self",(char *) "printout", NULL
30110 };
30111
30112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
30113 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30114 if (!SWIG_IsOK(res1)) {
30115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30116 }
30117 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30118 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30119 if (!SWIG_IsOK(res2)) {
30120 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30121 }
30122 {
30123 PyThreadState* __tstate = wxPyBeginAllowThreads();
30124 (arg1)->SetPrintout(arg2);
30125 wxPyEndAllowThreads(__tstate);
30126 if (PyErr_Occurred()) SWIG_fail;
30127 }
30128 resultobj = SWIG_Py_Void();
30129 return resultobj;
30130fail:
30131 return NULL;
8d38bd1d
RD
30132}
30133
30134
554f62e9
RD
30135SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30136 PyObject *resultobj = 0;
30137 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30138 wxPyPrintout *result = 0 ;
30139 void *argp1 = 0 ;
30140 int res1 = 0 ;
30141 PyObject *swig_obj[1] ;
30142
30143 if (!args) SWIG_fail;
30144 swig_obj[0] = args;
30145 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30146 if (!SWIG_IsOK(res1)) {
30147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30148 }
30149 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30150 {
30151 PyThreadState* __tstate = wxPyBeginAllowThreads();
30152 result = (wxPyPrintout *)(arg1)->GetPrintout();
30153 wxPyEndAllowThreads(__tstate);
30154 if (PyErr_Occurred()) SWIG_fail;
30155 }
30156 {
30157 resultobj = wxPyMake_wxObject(result, 0);
30158 }
30159 return resultobj;
30160fail:
30161 return NULL;
d55e5bfc
RD
30162}
30163
30164
554f62e9
RD
30165SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30166 PyObject *resultobj = 0;
30167 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30168 wxPyPrintout *result = 0 ;
30169 void *argp1 = 0 ;
30170 int res1 = 0 ;
30171 PyObject *swig_obj[1] ;
30172
30173 if (!args) SWIG_fail;
30174 swig_obj[0] = args;
30175 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30176 if (!SWIG_IsOK(res1)) {
30177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30178 }
30179 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30180 {
30181 PyThreadState* __tstate = wxPyBeginAllowThreads();
30182 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
30183 wxPyEndAllowThreads(__tstate);
30184 if (PyErr_Occurred()) SWIG_fail;
30185 }
30186 {
30187 resultobj = wxPyMake_wxObject(result, 0);
30188 }
30189 return resultobj;
30190fail:
30191 return NULL;
30192}
30193
30194
30195SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30196 PyObject *resultobj = 0;
30197 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30198 wxFrame *arg2 = (wxFrame *) 0 ;
30199 void *argp1 = 0 ;
30200 int res1 = 0 ;
30201 void *argp2 = 0 ;
30202 int res2 = 0 ;
30203 PyObject * obj0 = 0 ;
30204 PyObject * obj1 = 0 ;
30205 char * kwnames[] = {
30206 (char *) "self",(char *) "frame", NULL
30207 };
30208
30209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
30210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30211 if (!SWIG_IsOK(res1)) {
30212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30213 }
30214 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30215 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30216 if (!SWIG_IsOK(res2)) {
30217 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30218 }
30219 arg2 = reinterpret_cast< wxFrame * >(argp2);
30220 {
30221 PyThreadState* __tstate = wxPyBeginAllowThreads();
30222 (arg1)->SetFrame(arg2);
30223 wxPyEndAllowThreads(__tstate);
30224 if (PyErr_Occurred()) SWIG_fail;
30225 }
30226 resultobj = SWIG_Py_Void();
30227 return resultobj;
30228fail:
30229 return NULL;
30230}
30231
30232
30233SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30234 PyObject *resultobj = 0;
30235 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30236 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30237 void *argp1 = 0 ;
30238 int res1 = 0 ;
30239 void *argp2 = 0 ;
30240 int res2 = 0 ;
30241 PyObject * obj0 = 0 ;
30242 PyObject * obj1 = 0 ;
30243 char * kwnames[] = {
30244 (char *) "self",(char *) "canvas", NULL
30245 };
30246
30247 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30248 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30249 if (!SWIG_IsOK(res1)) {
30250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30251 }
30252 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30253 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30254 if (!SWIG_IsOK(res2)) {
30255 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30256 }
30257 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30258 {
30259 PyThreadState* __tstate = wxPyBeginAllowThreads();
30260 (arg1)->SetCanvas(arg2);
30261 wxPyEndAllowThreads(__tstate);
30262 if (PyErr_Occurred()) SWIG_fail;
30263 }
30264 resultobj = SWIG_Py_Void();
30265 return resultobj;
30266fail:
30267 return NULL;
d55e5bfc
RD
30268}
30269
30270
554f62e9
RD
30271SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30272 PyObject *resultobj = 0;
30273 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30274 wxFrame *result = 0 ;
30275 void *argp1 = 0 ;
30276 int res1 = 0 ;
30277 PyObject *swig_obj[1] ;
30278
30279 if (!args) SWIG_fail;
30280 swig_obj[0] = args;
30281 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30282 if (!SWIG_IsOK(res1)) {
30283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30284 }
30285 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30286 {
30287 PyThreadState* __tstate = wxPyBeginAllowThreads();
30288 result = (wxFrame *)(arg1)->GetFrame();
30289 wxPyEndAllowThreads(__tstate);
30290 if (PyErr_Occurred()) SWIG_fail;
30291 }
30292 {
30293 resultobj = wxPyMake_wxObject(result, 0);
30294 }
30295 return resultobj;
30296fail:
30297 return NULL;
d55e5bfc
RD
30298}
30299
30300
554f62e9
RD
30301SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30302 PyObject *resultobj = 0;
30303 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30304 wxPreviewCanvas *result = 0 ;
30305 void *argp1 = 0 ;
30306 int res1 = 0 ;
30307 PyObject *swig_obj[1] ;
30308
30309 if (!args) SWIG_fail;
30310 swig_obj[0] = args;
30311 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30312 if (!SWIG_IsOK(res1)) {
30313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30314 }
30315 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30316 {
30317 PyThreadState* __tstate = wxPyBeginAllowThreads();
30318 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
30319 wxPyEndAllowThreads(__tstate);
30320 if (PyErr_Occurred()) SWIG_fail;
30321 }
30322 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30323 return resultobj;
30324fail:
30325 return NULL;
30326}
30327
30328
30329SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30330 PyObject *resultobj = 0;
30331 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30332 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30333 wxDC *arg3 = 0 ;
30334 bool result;
30335 void *argp1 = 0 ;
30336 int res1 = 0 ;
30337 void *argp2 = 0 ;
30338 int res2 = 0 ;
30339 void *argp3 = 0 ;
30340 int res3 = 0 ;
30341 PyObject * obj0 = 0 ;
30342 PyObject * obj1 = 0 ;
30343 PyObject * obj2 = 0 ;
30344 char * kwnames[] = {
30345 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30346 };
30347
30348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30349 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30350 if (!SWIG_IsOK(res1)) {
30351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30352 }
30353 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30354 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30355 if (!SWIG_IsOK(res2)) {
30356 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30357 }
30358 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30359 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30360 if (!SWIG_IsOK(res3)) {
30361 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30362 }
30363 if (!argp3) {
30364 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30365 }
30366 arg3 = reinterpret_cast< wxDC * >(argp3);
30367 {
30368 PyThreadState* __tstate = wxPyBeginAllowThreads();
30369 result = (bool)(arg1)->PaintPage(arg2,*arg3);
30370 wxPyEndAllowThreads(__tstate);
30371 if (PyErr_Occurred()) SWIG_fail;
30372 }
30373 {
30374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30375 }
30376 return resultobj;
30377fail:
30378 return NULL;
30379}
30380
30381
30382SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30383 PyObject *resultobj = 0;
30384 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30385 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30386 wxDC *arg3 = 0 ;
30387 bool result;
30388 void *argp1 = 0 ;
30389 int res1 = 0 ;
30390 void *argp2 = 0 ;
30391 int res2 = 0 ;
30392 void *argp3 = 0 ;
30393 int res3 = 0 ;
30394 PyObject * obj0 = 0 ;
30395 PyObject * obj1 = 0 ;
30396 PyObject * obj2 = 0 ;
30397 char * kwnames[] = {
30398 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30399 };
30400
30401 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30402 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30403 if (!SWIG_IsOK(res1)) {
30404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30405 }
30406 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30407 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30408 if (!SWIG_IsOK(res2)) {
30409 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30410 }
30411 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30412 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30413 if (!SWIG_IsOK(res3)) {
30414 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30415 }
30416 if (!argp3) {
30417 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30418 }
30419 arg3 = reinterpret_cast< wxDC * >(argp3);
30420 {
30421 PyThreadState* __tstate = wxPyBeginAllowThreads();
30422 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
30423 wxPyEndAllowThreads(__tstate);
30424 if (PyErr_Occurred()) SWIG_fail;
30425 }
30426 {
30427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30428 }
30429 return resultobj;
30430fail:
30431 return NULL;
30432}
30433
30434
30435SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30436 PyObject *resultobj = 0;
30437 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30438 int arg2 ;
30439 bool result;
30440 void *argp1 = 0 ;
30441 int res1 = 0 ;
30442 int val2 ;
30443 int ecode2 = 0 ;
30444 PyObject * obj0 = 0 ;
30445 PyObject * obj1 = 0 ;
30446 char * kwnames[] = {
30447 (char *) "self",(char *) "pageNum", NULL
30448 };
30449
30450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
30451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30452 if (!SWIG_IsOK(res1)) {
30453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30454 }
30455 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30456 ecode2 = SWIG_AsVal_int(obj1, &val2);
30457 if (!SWIG_IsOK(ecode2)) {
30458 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30459 }
30460 arg2 = static_cast< int >(val2);
30461 {
30462 PyThreadState* __tstate = wxPyBeginAllowThreads();
30463 result = (bool)(arg1)->RenderPage(arg2);
30464 wxPyEndAllowThreads(__tstate);
30465 if (PyErr_Occurred()) SWIG_fail;
30466 }
30467 {
30468 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30469 }
30470 return resultobj;
30471fail:
30472 return NULL;
30473}
30474
30475
30476SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30477 PyObject *resultobj = 0;
30478 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30479 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30480 void *argp1 = 0 ;
30481 int res1 = 0 ;
30482 void *argp2 = 0 ;
30483 int res2 = 0 ;
30484 PyObject * obj0 = 0 ;
30485 PyObject * obj1 = 0 ;
30486 char * kwnames[] = {
30487 (char *) "self",(char *) "canvas", NULL
30488 };
30489
30490 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
30491 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30492 if (!SWIG_IsOK(res1)) {
30493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30494 }
30495 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30496 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30497 if (!SWIG_IsOK(res2)) {
30498 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30499 }
30500 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30501 {
30502 PyThreadState* __tstate = wxPyBeginAllowThreads();
30503 (arg1)->AdjustScrollbars(arg2);
30504 wxPyEndAllowThreads(__tstate);
30505 if (PyErr_Occurred()) SWIG_fail;
30506 }
30507 resultobj = SWIG_Py_Void();
30508 return resultobj;
30509fail:
30510 return NULL;
caef1a4d
RD
30511}
30512
30513
554f62e9
RD
30514SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30515 PyObject *resultobj = 0;
30516 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30517 wxPrintDialogData *result = 0 ;
30518 void *argp1 = 0 ;
30519 int res1 = 0 ;
30520 PyObject *swig_obj[1] ;
30521
30522 if (!args) SWIG_fail;
30523 swig_obj[0] = args;
30524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30525 if (!SWIG_IsOK(res1)) {
30526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30527 }
30528 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30529 {
30530 PyThreadState* __tstate = wxPyBeginAllowThreads();
60d5fcc1 30531 {
554f62e9
RD
30532 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
30533 result = (wxPrintDialogData *) &_result_ref;
60d5fcc1 30534 }
554f62e9
RD
30535 wxPyEndAllowThreads(__tstate);
30536 if (PyErr_Occurred()) SWIG_fail;
30537 }
30538 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30539 return resultobj;
30540fail:
30541 return NULL;
30542}
30543
30544
30545SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30546 PyObject *resultobj = 0;
30547 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30548 int arg2 ;
30549 void *argp1 = 0 ;
30550 int res1 = 0 ;
30551 int val2 ;
30552 int ecode2 = 0 ;
30553 PyObject * obj0 = 0 ;
30554 PyObject * obj1 = 0 ;
30555 char * kwnames[] = {
30556 (char *) "self",(char *) "percent", NULL
30557 };
30558
30559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
30560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30561 if (!SWIG_IsOK(res1)) {
30562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30563 }
30564 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30565 ecode2 = SWIG_AsVal_int(obj1, &val2);
30566 if (!SWIG_IsOK(ecode2)) {
30567 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30568 }
30569 arg2 = static_cast< int >(val2);
30570 {
30571 PyThreadState* __tstate = wxPyBeginAllowThreads();
30572 (arg1)->SetZoom(arg2);
30573 wxPyEndAllowThreads(__tstate);
30574 if (PyErr_Occurred()) SWIG_fail;
30575 }
30576 resultobj = SWIG_Py_Void();
30577 return resultobj;
30578fail:
30579 return NULL;
60d5fcc1
RD
30580}
30581
30582
554f62e9
RD
30583SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30584 PyObject *resultobj = 0;
30585 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30586 int result;
30587 void *argp1 = 0 ;
30588 int res1 = 0 ;
30589 PyObject *swig_obj[1] ;
30590
30591 if (!args) SWIG_fail;
30592 swig_obj[0] = args;
30593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30594 if (!SWIG_IsOK(res1)) {
30595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30596 }
30597 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30598 {
30599 PyThreadState* __tstate = wxPyBeginAllowThreads();
30600 result = (int)(arg1)->GetZoom();
30601 wxPyEndAllowThreads(__tstate);
30602 if (PyErr_Occurred()) SWIG_fail;
30603 }
30604 resultobj = SWIG_From_int(static_cast< int >(result));
30605 return resultobj;
30606fail:
30607 return NULL;
d55e5bfc
RD
30608}
30609
30610
554f62e9
RD
30611SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30612 PyObject *resultobj = 0;
30613 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30614 int result;
30615 void *argp1 = 0 ;
30616 int res1 = 0 ;
30617 PyObject *swig_obj[1] ;
30618
30619 if (!args) SWIG_fail;
30620 swig_obj[0] = args;
30621 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30622 if (!SWIG_IsOK(res1)) {
30623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30624 }
30625 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30626 {
30627 PyThreadState* __tstate = wxPyBeginAllowThreads();
30628 result = (int)(arg1)->GetMaxPage();
30629 wxPyEndAllowThreads(__tstate);
30630 if (PyErr_Occurred()) SWIG_fail;
30631 }
30632 resultobj = SWIG_From_int(static_cast< int >(result));
30633 return resultobj;
30634fail:
30635 return NULL;
d55e5bfc
RD
30636}
30637
30638
554f62e9
RD
30639SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30640 PyObject *resultobj = 0;
30641 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30642 int result;
30643 void *argp1 = 0 ;
30644 int res1 = 0 ;
30645 PyObject *swig_obj[1] ;
30646
30647 if (!args) SWIG_fail;
30648 swig_obj[0] = args;
30649 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30650 if (!SWIG_IsOK(res1)) {
30651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30652 }
30653 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30654 {
30655 PyThreadState* __tstate = wxPyBeginAllowThreads();
30656 result = (int)(arg1)->GetMinPage();
30657 wxPyEndAllowThreads(__tstate);
30658 if (PyErr_Occurred()) SWIG_fail;
30659 }
30660 resultobj = SWIG_From_int(static_cast< int >(result));
30661 return resultobj;
30662fail:
30663 return NULL;
d55e5bfc
RD
30664}
30665
30666
b39fe951 30667SWIGINTERN PyObject *_wrap_PrintPreview_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
554f62e9
RD
30668 PyObject *resultobj = 0;
30669 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30670 bool result;
30671 void *argp1 = 0 ;
30672 int res1 = 0 ;
30673 PyObject *swig_obj[1] ;
30674
30675 if (!args) SWIG_fail;
30676 swig_obj[0] = args;
30677 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30678 if (!SWIG_IsOK(res1)) {
b39fe951 30679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
554f62e9
RD
30680 }
30681 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30682 {
30683 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 30684 result = (bool)(arg1)->IsOk();
554f62e9
RD
30685 wxPyEndAllowThreads(__tstate);
30686 if (PyErr_Occurred()) SWIG_fail;
30687 }
30688 {
30689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30690 }
30691 return resultobj;
30692fail:
30693 return NULL;
30694}
30695
30696
30697SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30698 PyObject *resultobj = 0;
30699 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30700 bool arg2 ;
30701 void *argp1 = 0 ;
30702 int res1 = 0 ;
30703 bool val2 ;
30704 int ecode2 = 0 ;
30705 PyObject * obj0 = 0 ;
30706 PyObject * obj1 = 0 ;
30707 char * kwnames[] = {
30708 (char *) "self",(char *) "ok", NULL
30709 };
30710
30711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
30712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30713 if (!SWIG_IsOK(res1)) {
30714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30715 }
30716 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30717 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30718 if (!SWIG_IsOK(ecode2)) {
30719 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30720 }
30721 arg2 = static_cast< bool >(val2);
30722 {
30723 PyThreadState* __tstate = wxPyBeginAllowThreads();
30724 (arg1)->SetOk(arg2);
30725 wxPyEndAllowThreads(__tstate);
30726 if (PyErr_Occurred()) SWIG_fail;
30727 }
30728 resultobj = SWIG_Py_Void();
30729 return resultobj;
30730fail:
30731 return NULL;
30732}
30733
30734
30735SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30736 PyObject *resultobj = 0;
30737 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30738 bool arg2 ;
30739 bool result;
30740 void *argp1 = 0 ;
30741 int res1 = 0 ;
30742 bool val2 ;
30743 int ecode2 = 0 ;
30744 PyObject * obj0 = 0 ;
30745 PyObject * obj1 = 0 ;
30746 char * kwnames[] = {
30747 (char *) "self",(char *) "interactive", NULL
30748 };
30749
30750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
30751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30752 if (!SWIG_IsOK(res1)) {
30753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30754 }
30755 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30756 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30757 if (!SWIG_IsOK(ecode2)) {
30758 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30759 }
30760 arg2 = static_cast< bool >(val2);
30761 {
30762 PyThreadState* __tstate = wxPyBeginAllowThreads();
30763 result = (bool)(arg1)->Print(arg2);
30764 wxPyEndAllowThreads(__tstate);
30765 if (PyErr_Occurred()) SWIG_fail;
30766 }
30767 {
30768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30769 }
30770 return resultobj;
30771fail:
30772 return NULL;
d55e5bfc
RD
30773}
30774
30775
554f62e9
RD
30776SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30777 PyObject *resultobj = 0;
30778 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30779 void *argp1 = 0 ;
30780 int res1 = 0 ;
30781 PyObject *swig_obj[1] ;
30782
30783 if (!args) SWIG_fail;
30784 swig_obj[0] = args;
30785 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30786 if (!SWIG_IsOK(res1)) {
30787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30788 }
30789 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30790 {
30791 PyThreadState* __tstate = wxPyBeginAllowThreads();
30792 (arg1)->DetermineScaling();
30793 wxPyEndAllowThreads(__tstate);
30794 if (PyErr_Occurred()) SWIG_fail;
30795 }
30796 resultobj = SWIG_Py_Void();
30797 return resultobj;
30798fail:
30799 return NULL;
d55e5bfc
RD
30800}
30801
30802
554f62e9
RD
30803SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30804 PyObject *obj;
30805 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30806 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
30807 return SWIG_Py_Void();
d55e5bfc
RD
30808}
30809
554f62e9
RD
30810SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30811 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
30812}
30813
554f62e9
RD
30814SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30815 PyObject *resultobj = 0;
30816 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30817 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30818 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30819 wxPyPrintPreview *result = 0 ;
30820 int res1 = 0 ;
30821 int res2 = 0 ;
30822 void *argp3 = 0 ;
30823 int res3 = 0 ;
30824
30825 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30826 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30827 if (!SWIG_IsOK(res1)) {
30828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30829 }
30830 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30831 if (!SWIG_IsOK(res2)) {
30832 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30833 }
30834 if (swig_obj[2]) {
30835 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30836 if (!SWIG_IsOK(res3)) {
30837 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
d55e5bfc 30838 }
554f62e9
RD
30839 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30840 }
30841 {
30842 if (!wxPyCheckForApp()) SWIG_fail;
30843 PyThreadState* __tstate = wxPyBeginAllowThreads();
30844 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30845 wxPyEndAllowThreads(__tstate);
30846 if (PyErr_Occurred()) SWIG_fail;
30847 }
30848 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30849 return resultobj;
30850fail:
30851 return NULL;
30852}
30853
30854
30855SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30856 PyObject *resultobj = 0;
30857 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30858 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30859 wxPrintData *arg3 = (wxPrintData *) 0 ;
30860 wxPyPrintPreview *result = 0 ;
30861 int res1 = 0 ;
30862 int res2 = 0 ;
30863 void *argp3 = 0 ;
30864 int res3 = 0 ;
30865
30866 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30867 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30868 if (!SWIG_IsOK(res1)) {
30869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30870 }
30871 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30872 if (!SWIG_IsOK(res2)) {
30873 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30874 }
30875 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30876 if (!SWIG_IsOK(res3)) {
30877 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30878 }
30879 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30880 {
30881 if (!wxPyCheckForApp()) SWIG_fail;
30882 PyThreadState* __tstate = wxPyBeginAllowThreads();
30883 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30884 wxPyEndAllowThreads(__tstate);
30885 if (PyErr_Occurred()) SWIG_fail;
30886 }
30887 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30888 return resultobj;
30889fail:
30890 return NULL;
d55e5bfc
RD
30891}
30892
30893
554f62e9
RD
30894SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
30895 int argc;
30896 PyObject *argv[4];
30897
30898 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
30899 --argc;
30900 if ((argc >= 2) && (argc <= 3)) {
30901 int _v = 0;
30902 if (argc > 2) {
30903 {
30904 void *vptr = 0;
30905 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30906 _v = SWIG_CheckState(res);
30907 }
30908 if (!_v) goto check_1;
d55e5bfc 30909 }
554f62e9
RD
30910 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
30911 }
30912check_1:
30913
30914 if (argc == 3) {
30915 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
30916 }
30917
30918fail:
30919 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
30920 return NULL;
30921}
30922
30923
30924SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30925 PyObject *resultobj = 0;
30926 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
30927 PyObject *arg2 = (PyObject *) 0 ;
30928 PyObject *arg3 = (PyObject *) 0 ;
30929 void *argp1 = 0 ;
30930 int res1 = 0 ;
30931 PyObject * obj0 = 0 ;
30932 PyObject * obj1 = 0 ;
30933 PyObject * obj2 = 0 ;
30934 char * kwnames[] = {
30935 (char *) "self",(char *) "self",(char *) "_class", NULL
30936 };
30937
30938 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30939 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
30940 if (!SWIG_IsOK(res1)) {
30941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30942 }
30943 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
30944 arg2 = obj1;
30945 arg3 = obj2;
30946 {
30947 PyThreadState* __tstate = wxPyBeginAllowThreads();
30948 (arg1)->_setCallbackInfo(arg2,arg3);
30949 wxPyEndAllowThreads(__tstate);
30950 if (PyErr_Occurred()) SWIG_fail;
30951 }
30952 resultobj = SWIG_Py_Void();
30953 return resultobj;
30954fail:
30955 return NULL;
30956}
30957
30958
30959SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30960 PyObject *obj;
30961 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30962 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
30963 return SWIG_Py_Void();
30964}
30965
30966SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30967 return SWIG_Python_InitShadowInstance(args);
30968}
30969
30970SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30971 PyObject *resultobj = 0;
30972 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30973 wxFrame *arg2 = (wxFrame *) 0 ;
30974 wxString *arg3 = 0 ;
30975 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30976 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30977 wxSize const &arg5_defvalue = wxDefaultSize ;
30978 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30979 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
30980 wxString const &arg7_defvalue = wxPyFrameNameStr ;
30981 wxString *arg7 = (wxString *) &arg7_defvalue ;
30982 wxPyPreviewFrame *result = 0 ;
30983 void *argp1 = 0 ;
30984 int res1 = 0 ;
30985 void *argp2 = 0 ;
30986 int res2 = 0 ;
30987 bool temp3 = false ;
30988 wxPoint temp4 ;
30989 wxSize temp5 ;
30990 long val6 ;
30991 int ecode6 = 0 ;
30992 bool temp7 = false ;
30993 PyObject * obj0 = 0 ;
30994 PyObject * obj1 = 0 ;
30995 PyObject * obj2 = 0 ;
30996 PyObject * obj3 = 0 ;
30997 PyObject * obj4 = 0 ;
30998 PyObject * obj5 = 0 ;
30999 PyObject * obj6 = 0 ;
31000 char * kwnames[] = {
31001 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31002 };
31003
31004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31006 if (!SWIG_IsOK(res1)) {
31007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31008 }
31009 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31010 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
31011 if (!SWIG_IsOK(res2)) {
31012 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31013 }
31014 arg2 = reinterpret_cast< wxFrame * >(argp2);
31015 {
31016 arg3 = wxString_in_helper(obj2);
31017 if (arg3 == NULL) SWIG_fail;
31018 temp3 = true;
31019 }
31020 if (obj3) {
d55e5bfc 31021 {
554f62e9
RD
31022 arg4 = &temp4;
31023 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 31024 }
554f62e9
RD
31025 }
31026 if (obj4) {
d55e5bfc 31027 {
554f62e9
RD
31028 arg5 = &temp5;
31029 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 31030 }
554f62e9
RD
31031 }
31032 if (obj5) {
31033 ecode6 = SWIG_AsVal_long(obj5, &val6);
31034 if (!SWIG_IsOK(ecode6)) {
31035 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
31036 }
31037 arg6 = static_cast< long >(val6);
31038 }
31039 if (obj6) {
d55e5bfc 31040 {
554f62e9
RD
31041 arg7 = wxString_in_helper(obj6);
31042 if (arg7 == NULL) SWIG_fail;
31043 temp7 = true;
d55e5bfc 31044 }
554f62e9
RD
31045 }
31046 {
31047 if (!wxPyCheckForApp()) SWIG_fail;
31048 PyThreadState* __tstate = wxPyBeginAllowThreads();
31049 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31050 wxPyEndAllowThreads(__tstate);
31051 if (PyErr_Occurred()) SWIG_fail;
31052 }
31053 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
31054 {
31055 if (temp3)
31056 delete arg3;
31057 }
31058 {
31059 if (temp7)
31060 delete arg7;
31061 }
31062 return resultobj;
31063fail:
31064 {
31065 if (temp3)
31066 delete arg3;
31067 }
31068 {
31069 if (temp7)
31070 delete arg7;
31071 }
31072 return NULL;
31073}
31074
31075
31076SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31077 PyObject *resultobj = 0;
31078 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31079 PyObject *arg2 = (PyObject *) 0 ;
31080 PyObject *arg3 = (PyObject *) 0 ;
31081 void *argp1 = 0 ;
31082 int res1 = 0 ;
31083 PyObject * obj0 = 0 ;
31084 PyObject * obj1 = 0 ;
31085 PyObject * obj2 = 0 ;
31086 char * kwnames[] = {
31087 (char *) "self",(char *) "self",(char *) "_class", NULL
31088 };
31089
31090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31092 if (!SWIG_IsOK(res1)) {
31093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31094 }
31095 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31096 arg2 = obj1;
31097 arg3 = obj2;
31098 {
31099 PyThreadState* __tstate = wxPyBeginAllowThreads();
31100 (arg1)->_setCallbackInfo(arg2,arg3);
31101 wxPyEndAllowThreads(__tstate);
31102 if (PyErr_Occurred()) SWIG_fail;
31103 }
31104 resultobj = SWIG_Py_Void();
31105 return resultobj;
31106fail:
31107 return NULL;
31108}
31109
31110
31111SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31112 PyObject *resultobj = 0;
31113 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31114 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
31115 void *argp1 = 0 ;
31116 int res1 = 0 ;
31117 void *argp2 = 0 ;
31118 int res2 = 0 ;
31119 PyObject * obj0 = 0 ;
31120 PyObject * obj1 = 0 ;
31121 char * kwnames[] = {
31122 (char *) "self",(char *) "canvas", NULL
31123 };
31124
31125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
31126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31127 if (!SWIG_IsOK(res1)) {
31128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31129 }
31130 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31131 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
31132 if (!SWIG_IsOK(res2)) {
31133 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
31134 }
31135 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
31136 {
31137 PyThreadState* __tstate = wxPyBeginAllowThreads();
31138 (arg1)->SetPreviewCanvas(arg2);
31139 wxPyEndAllowThreads(__tstate);
31140 if (PyErr_Occurred()) SWIG_fail;
31141 }
31142 resultobj = SWIG_Py_Void();
31143 return resultobj;
31144fail:
31145 return NULL;
31146}
31147
31148
31149SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31150 PyObject *resultobj = 0;
31151 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31152 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
31153 void *argp1 = 0 ;
31154 int res1 = 0 ;
31155 void *argp2 = 0 ;
31156 int res2 = 0 ;
31157 PyObject * obj0 = 0 ;
31158 PyObject * obj1 = 0 ;
31159 char * kwnames[] = {
31160 (char *) "self",(char *) "bar", NULL
31161 };
31162
31163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
31164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31165 if (!SWIG_IsOK(res1)) {
31166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31167 }
31168 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31169 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
31170 if (!SWIG_IsOK(res2)) {
31171 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31172 }
31173 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
31174 {
31175 PyThreadState* __tstate = wxPyBeginAllowThreads();
31176 (arg1)->SetControlBar(arg2);
31177 wxPyEndAllowThreads(__tstate);
31178 if (PyErr_Occurred()) SWIG_fail;
31179 }
31180 resultobj = SWIG_Py_Void();
31181 return resultobj;
31182fail:
31183 return NULL;
d55e5bfc
RD
31184}
31185
31186
554f62e9
RD
31187SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31188 PyObject *resultobj = 0;
31189 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31190 void *argp1 = 0 ;
31191 int res1 = 0 ;
31192 PyObject *swig_obj[1] ;
31193
31194 if (!args) SWIG_fail;
31195 swig_obj[0] = args;
31196 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31197 if (!SWIG_IsOK(res1)) {
31198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31199 }
31200 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31201 {
31202 PyThreadState* __tstate = wxPyBeginAllowThreads();
31203 (arg1)->Initialize();
31204 wxPyEndAllowThreads(__tstate);
31205 if (PyErr_Occurred()) SWIG_fail;
31206 }
31207 resultobj = SWIG_Py_Void();
31208 return resultobj;
31209fail:
31210 return NULL;
d55e5bfc
RD
31211}
31212
31213
554f62e9
RD
31214SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31215 PyObject *resultobj = 0;
31216 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31217 void *argp1 = 0 ;
31218 int res1 = 0 ;
31219 PyObject *swig_obj[1] ;
31220
31221 if (!args) SWIG_fail;
31222 swig_obj[0] = args;
31223 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31224 if (!SWIG_IsOK(res1)) {
31225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31226 }
31227 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31228 {
31229 PyThreadState* __tstate = wxPyBeginAllowThreads();
31230 (arg1)->CreateCanvas();
31231 wxPyEndAllowThreads(__tstate);
31232 if (PyErr_Occurred()) SWIG_fail;
31233 }
31234 resultobj = SWIG_Py_Void();
31235 return resultobj;
31236fail:
31237 return NULL;
caef1a4d
RD
31238}
31239
31240
554f62e9
RD
31241SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31242 PyObject *resultobj = 0;
31243 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31244 void *argp1 = 0 ;
31245 int res1 = 0 ;
31246 PyObject *swig_obj[1] ;
31247
31248 if (!args) SWIG_fail;
31249 swig_obj[0] = args;
31250 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31251 if (!SWIG_IsOK(res1)) {
31252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31253 }
31254 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31255 {
31256 PyThreadState* __tstate = wxPyBeginAllowThreads();
31257 (arg1)->CreateControlBar();
31258 wxPyEndAllowThreads(__tstate);
31259 if (PyErr_Occurred()) SWIG_fail;
31260 }
31261 resultobj = SWIG_Py_Void();
31262 return resultobj;
31263fail:
31264 return NULL;
31265}
31266
31267
31268SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31269 PyObject *obj;
31270 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31271 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
31272 return SWIG_Py_Void();
31273}
31274
31275SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31276 return SWIG_Python_InitShadowInstance(args);
31277}
31278
31279SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31280 PyObject *resultobj = 0;
31281 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31282 long arg2 ;
31283 wxWindow *arg3 = (wxWindow *) 0 ;
31284 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31285 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31286 wxSize const &arg5_defvalue = wxDefaultSize ;
31287 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31288 long arg6 = (long) 0 ;
31289 wxString const &arg7_defvalue = wxPyPanelNameStr ;
31290 wxString *arg7 = (wxString *) &arg7_defvalue ;
31291 wxPyPreviewControlBar *result = 0 ;
31292 void *argp1 = 0 ;
31293 int res1 = 0 ;
31294 long val2 ;
31295 int ecode2 = 0 ;
31296 void *argp3 = 0 ;
31297 int res3 = 0 ;
31298 wxPoint temp4 ;
31299 wxSize temp5 ;
31300 long val6 ;
31301 int ecode6 = 0 ;
31302 bool temp7 = false ;
31303 PyObject * obj0 = 0 ;
31304 PyObject * obj1 = 0 ;
31305 PyObject * obj2 = 0 ;
31306 PyObject * obj3 = 0 ;
31307 PyObject * obj4 = 0 ;
31308 PyObject * obj5 = 0 ;
31309 PyObject * obj6 = 0 ;
31310 char * kwnames[] = {
31311 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31312 };
31313
31314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31315 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31316 if (!SWIG_IsOK(res1)) {
31317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31318 }
31319 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31320 ecode2 = SWIG_AsVal_long(obj1, &val2);
31321 if (!SWIG_IsOK(ecode2)) {
31322 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31323 }
31324 arg2 = static_cast< long >(val2);
31325 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
31326 if (!SWIG_IsOK(res3)) {
31327 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31328 }
31329 arg3 = reinterpret_cast< wxWindow * >(argp3);
31330 if (obj3) {
8d38bd1d 31331 {
554f62e9
RD
31332 arg4 = &temp4;
31333 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 31334 }
554f62e9
RD
31335 }
31336 if (obj4) {
d55e5bfc 31337 {
554f62e9
RD
31338 arg5 = &temp5;
31339 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 31340 }
554f62e9
RD
31341 }
31342 if (obj5) {
31343 ecode6 = SWIG_AsVal_long(obj5, &val6);
31344 if (!SWIG_IsOK(ecode6)) {
31345 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31346 }
31347 arg6 = static_cast< long >(val6);
31348 }
31349 if (obj6) {
d55e5bfc 31350 {
554f62e9
RD
31351 arg7 = wxString_in_helper(obj6);
31352 if (arg7 == NULL) SWIG_fail;
31353 temp7 = true;
d55e5bfc 31354 }
554f62e9
RD
31355 }
31356 {
31357 if (!wxPyCheckForApp()) SWIG_fail;
31358 PyThreadState* __tstate = wxPyBeginAllowThreads();
31359 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31360 wxPyEndAllowThreads(__tstate);
31361 if (PyErr_Occurred()) SWIG_fail;
31362 }
31363 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
31364 {
31365 if (temp7)
31366 delete arg7;
31367 }
31368 return resultobj;
31369fail:
31370 {
31371 if (temp7)
31372 delete arg7;
31373 }
31374 return NULL;
31375}
31376
31377
31378SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31379 PyObject *resultobj = 0;
31380 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31381 PyObject *arg2 = (PyObject *) 0 ;
31382 PyObject *arg3 = (PyObject *) 0 ;
31383 void *argp1 = 0 ;
31384 int res1 = 0 ;
31385 PyObject * obj0 = 0 ;
31386 PyObject * obj1 = 0 ;
31387 PyObject * obj2 = 0 ;
31388 char * kwnames[] = {
31389 (char *) "self",(char *) "self",(char *) "_class", NULL
31390 };
31391
31392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31394 if (!SWIG_IsOK(res1)) {
31395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31396 }
31397 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31398 arg2 = obj1;
31399 arg3 = obj2;
31400 {
31401 PyThreadState* __tstate = wxPyBeginAllowThreads();
31402 (arg1)->_setCallbackInfo(arg2,arg3);
31403 wxPyEndAllowThreads(__tstate);
31404 if (PyErr_Occurred()) SWIG_fail;
31405 }
31406 resultobj = SWIG_Py_Void();
31407 return resultobj;
31408fail:
31409 return NULL;
31410}
31411
31412
31413SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31414 PyObject *resultobj = 0;
31415 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31416 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
31417 void *argp1 = 0 ;
31418 int res1 = 0 ;
31419 void *argp2 = 0 ;
31420 int res2 = 0 ;
31421 PyObject * obj0 = 0 ;
31422 PyObject * obj1 = 0 ;
31423 char * kwnames[] = {
31424 (char *) "self",(char *) "preview", NULL
31425 };
31426
31427 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
31428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31429 if (!SWIG_IsOK(res1)) {
31430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31431 }
31432 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31433 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31434 if (!SWIG_IsOK(res2)) {
31435 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31436 }
31437 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
31438 {
31439 PyThreadState* __tstate = wxPyBeginAllowThreads();
31440 (arg1)->SetPrintPreview(arg2);
31441 wxPyEndAllowThreads(__tstate);
31442 if (PyErr_Occurred()) SWIG_fail;
31443 }
31444 resultobj = SWIG_Py_Void();
31445 return resultobj;
31446fail:
31447 return NULL;
d55e5bfc
RD
31448}
31449
31450
554f62e9
RD
31451SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31452 PyObject *resultobj = 0;
31453 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31454 void *argp1 = 0 ;
31455 int res1 = 0 ;
31456 PyObject *swig_obj[1] ;
31457
31458 if (!args) SWIG_fail;
31459 swig_obj[0] = args;
31460 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31461 if (!SWIG_IsOK(res1)) {
31462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31463 }
31464 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31465 {
31466 PyThreadState* __tstate = wxPyBeginAllowThreads();
31467 (arg1)->CreateButtons();
31468 wxPyEndAllowThreads(__tstate);
31469 if (PyErr_Occurred()) SWIG_fail;
31470 }
31471 resultobj = SWIG_Py_Void();
31472 return resultobj;
31473fail:
31474 return NULL;
31475}
31476
31477
31478SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31479 PyObject *resultobj = 0;
31480 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31481 int arg2 ;
31482 void *argp1 = 0 ;
31483 int res1 = 0 ;
31484 int val2 ;
31485 int ecode2 = 0 ;
31486 PyObject * obj0 = 0 ;
31487 PyObject * obj1 = 0 ;
31488 char * kwnames[] = {
31489 (char *) "self",(char *) "zoom", NULL
31490 };
31491
31492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
31493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31494 if (!SWIG_IsOK(res1)) {
31495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31496 }
31497 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31498 ecode2 = SWIG_AsVal_int(obj1, &val2);
31499 if (!SWIG_IsOK(ecode2)) {
31500 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31501 }
31502 arg2 = static_cast< int >(val2);
31503 {
31504 PyThreadState* __tstate = wxPyBeginAllowThreads();
31505 (arg1)->SetZoomControl(arg2);
31506 wxPyEndAllowThreads(__tstate);
31507 if (PyErr_Occurred()) SWIG_fail;
31508 }
31509 resultobj = SWIG_Py_Void();
31510 return resultobj;
31511fail:
31512 return NULL;
caef1a4d
RD
31513}
31514
31515
554f62e9
RD
31516SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31517 PyObject *obj;
31518 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31519 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
31520 return SWIG_Py_Void();
60d5fcc1
RD
31521}
31522
554f62e9
RD
31523SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31524 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
31525}
31526
d55e5bfc 31527static PyMethodDef SwigMethods[] = {
093d3ff1 31528 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31529 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
093d3ff1 31530 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31531 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
093d3ff1
RD
31532 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31533 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
554f62e9 31534 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
093d3ff1 31535 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31536 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
093d3ff1
RD
31537 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31538 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31539 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
31540 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31541 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31542 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31543 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
093d3ff1 31544 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31545 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
093d3ff1 31546 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31547 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
31548 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
093d3ff1
RD
31549 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
31550 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
554f62e9 31551 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
093d3ff1
RD
31552 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
31553 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31554 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
093d3ff1 31555 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31556 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
093d3ff1
RD
31557 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
31558 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31559 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
554f62e9 31560 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 31561 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31562 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
093d3ff1 31563 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31564 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
f460c29d 31565 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
554f62e9
RD
31566 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
31567 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
093d3ff1
RD
31568 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31569 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
31570 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31571 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
093d3ff1 31572 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31573 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
70d7cb34 31574 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31575 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
31576 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31577 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
093d3ff1 31578 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31579 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
b1fcee84 31580 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
1eeb270e
RD
31581 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
31582 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31583 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31584 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
093d3ff1
RD
31585 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
31586 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31587 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
093d3ff1 31588 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31589 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
093d3ff1 31590 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31591 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
093d3ff1
RD
31592 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31593 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31594 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
093d3ff1
RD
31595 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31596 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31597 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31598 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31599 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31600 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31601 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
093d3ff1 31602 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31603 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
093d3ff1
RD
31604 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31605 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31606 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
31607 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31608 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
554f62e9 31609 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
093d3ff1 31610 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31611 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
093d3ff1
RD
31612 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31613 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31614 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
b1fcee84 31615 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31616 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
b1fcee84 31617 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31618 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
093d3ff1 31619 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
b39fe951
RD
31620 { (char *)"Dialog__CreateButtonSizer", (PyCFunction) _wrap_Dialog__CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31621 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction) _wrap_Dialog_CreateSeparatedButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
62d32a5f 31622 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31623 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
31624 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
093d3ff1
RD
31625 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
31626 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31627 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
554f62e9 31628 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31629 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31630 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
093d3ff1
RD
31631 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31632 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
554f62e9 31633 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31634 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31635 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31636 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
093d3ff1 31637 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
554f62e9 31638 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 31639 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31640 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
31641 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
31642 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
093d3ff1 31643 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
554f62e9 31644 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
093d3ff1 31645 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31646 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
093d3ff1
RD
31647 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31648 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31649 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
093d3ff1
RD
31650 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31651 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31652 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31653 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31654 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31655 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
31656 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
31657 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31658 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
31659 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
093d3ff1
RD
31660 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31661 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
554f62e9 31662 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
093d3ff1 31663 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31664 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
093d3ff1 31665 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31666 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
31667 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
093d3ff1 31668 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31669 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
093d3ff1
RD
31670 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
31671 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
31672 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
31673 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
31674 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31675 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
31676 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
093d3ff1
RD
31677 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
31678 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31679 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
31680 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
093d3ff1 31681 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31682 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
093d3ff1 31683 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31684 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
093d3ff1 31685 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31686 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
093d3ff1 31687 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31688 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
093d3ff1 31689 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31690 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
093d3ff1
RD
31691 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31692 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
554f62e9 31693 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31694 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31695 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31696 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
31697 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
31698 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
31699 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
093d3ff1 31700 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
554f62e9 31701 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
093d3ff1 31702 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31703 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
093d3ff1
RD
31704 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31705 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31706 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31707 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31708 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31709 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
31710 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31711 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
093d3ff1 31712 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31713 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
093d3ff1
RD
31714 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31715 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31716 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
31717 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
093d3ff1
RD
31718 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31719 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31720 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
31721 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
093d3ff1 31722 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31723 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
093d3ff1 31724 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
554f62e9 31725 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31726 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31727 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31728 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
093d3ff1 31729 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31730 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
093d3ff1 31731 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31732 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
093d3ff1 31733 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
554f62e9 31734 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31735 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31736 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31737 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
093d3ff1 31738 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31739 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
093d3ff1 31740 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31741 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
093d3ff1 31742 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31743 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
093d3ff1 31744 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31745 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
093d3ff1 31746 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
554f62e9 31747 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31748 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31749 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31750 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
093d3ff1 31751 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31752 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
093d3ff1 31753 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
554f62e9 31754 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
093d3ff1 31755 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31756 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
093d3ff1 31757 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31758 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
31759 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
093d3ff1
RD
31760 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31761 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
31762 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31763 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
554f62e9
RD
31764 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
31765 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
31766 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
093d3ff1
RD
31767 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31768 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31769 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31770 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
554f62e9 31771 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
093d3ff1 31772 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31773 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
093d3ff1
RD
31774 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31775 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
31776 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
554f62e9 31777 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 31778 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31779 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
093d3ff1
RD
31780 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31781 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31782 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
093d3ff1 31783 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
554f62e9 31784 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31785 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31786 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31787 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
093d3ff1 31788 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
554f62e9 31789 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 31790 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31791 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
093d3ff1
RD
31792 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31793 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31794 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
31795 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31796 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
31797 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
31798 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
31799 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31800 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
31801 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
31802 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
31803 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
70b7a5fe 31804 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31805 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
31806 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
31807 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
31808 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31809 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
554f62e9 31810 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 31811 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31812 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
093d3ff1
RD
31813 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31814 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31815 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
31816 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
31817 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
093d3ff1
RD
31818 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
31819 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31820 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
31821 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
093d3ff1 31822 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31823 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
31824 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
093d3ff1 31825 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31826 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
093d3ff1
RD
31827 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31828 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
31829 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
31830 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31831 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
31832 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
093d3ff1
RD
31833 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31834 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
31835 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
1c71765a
RD
31836 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
31837 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31838 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
554f62e9 31839 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
093d3ff1 31840 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31841 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
093d3ff1
RD
31842 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31843 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31844 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31845 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
e9d6f3a4 31846 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31847 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
554f62e9
RD
31848 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
31849 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
31850 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
093d3ff1 31851 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31852 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
31853 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
31854 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
093d3ff1 31855 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31856 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
093d3ff1
RD
31857 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31858 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
554f62e9 31859 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31860 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31861 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
554f62e9
RD
31862 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
31863 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
31864 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
31865 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
31866 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
093d3ff1
RD
31867 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31868 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
31869 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31870 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31871 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
554f62e9 31872 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
093d3ff1 31873 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31874 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
093d3ff1 31875 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31876 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
7449af73 31877 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31878 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31879 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
31880 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
093d3ff1
RD
31881 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31882 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31883 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31884 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31885 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31886 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31887 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31888 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
31889 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31890 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31891 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31892 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
31893 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
31894 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
31895 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
31896 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
554f62e9
RD
31897 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
31898 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
31899 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
093d3ff1 31900 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31901 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31902 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31903 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31904 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
093d3ff1 31905 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31906 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31907 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31908 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
31909 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
093d3ff1
RD
31910 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31911 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31912 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31913 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31914 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
093d3ff1
RD
31915 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
31916 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31917 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31918 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31919 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31920 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
27e45892
RD
31921 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31922 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
31923 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
31924 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
554f62e9
RD
31925 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
31926 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
093d3ff1 31927 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31928 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
31929 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
31930 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
31931 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
31932 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
31933 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
093d3ff1
RD
31934 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
31935 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
31936 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31937 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
31938 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
31939 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31940 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
554f62e9 31941 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
093d3ff1 31942 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31943 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
093d3ff1 31944 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31945 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
7449af73 31946 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31947 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31948 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31949 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31950 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31951 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
6b449b19 31952 { (char *)"ProgressDialog_Pulse", (PyCFunction) _wrap_ProgressDialog_Pulse, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31953 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
093d3ff1 31954 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31955 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31956 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31957 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
31958 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
31959 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
31960 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
093d3ff1
RD
31961 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31962 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31963 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31964 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
554f62e9 31965 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
093d3ff1 31966 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31967 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
31968 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
31969 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
31970 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
093d3ff1
RD
31971 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31972 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31973 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31974 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
554f62e9 31975 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
093d3ff1 31976 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31977 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
093d3ff1 31978 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31979 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
093d3ff1
RD
31980 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
31981 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31982 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31983 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31984 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
093d3ff1 31985 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31986 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
31987 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
31988 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
31989 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
31990 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
31991 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
554f62e9 31992 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction)_wrap_MDIParentFrame_GetWindowMenu, METH_O, NULL},
093d3ff1 31993 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31994 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
31995 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
554f62e9 31996 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
093d3ff1 31997 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31998 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
093d3ff1 31999 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32000 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
093d3ff1 32001 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
554f62e9 32002 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
093d3ff1 32003 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32004 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
093d3ff1
RD
32005 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32006 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
554f62e9 32007 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 32008 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32009 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
093d3ff1 32010 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
60d5fcc1 32011 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70
RD
32012 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32013 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32014 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32015 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32016 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
32017 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
32018 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
32019 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
32020 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
32021 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
32022 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
093d3ff1 32023 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
554f62e9 32024 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 32025 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32026 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
093d3ff1 32027 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
60d5fcc1 32028 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70
RD
32029 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32030 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32031 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32032 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32033 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
32034 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
32035 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
32036 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
32037 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
32038 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
32039 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
093d3ff1 32040 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
554f62e9 32041 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
093d3ff1 32042 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32043 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
093d3ff1 32044 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
60d5fcc1 32045 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70
RD
32046 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32047 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32048 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32049 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32050 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
32051 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
32052 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
32053 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
32054 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
32055 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
32056 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
093d3ff1 32057 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
554f62e9 32058 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 32059 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
554f62e9
RD
32060 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
32061 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
32062 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
32063 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
b39fe951 32064 { (char *)"PrintData_IsOk", (PyCFunction)_wrap_PrintData_IsOk, METH_O, NULL},
554f62e9
RD
32065 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
32066 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
32067 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
32068 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
32069 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
32070 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
32071 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
32072 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
8f514ab4 32073 { (char *)"PrintData_GetMedia", (PyCFunction)_wrap_PrintData_GetMedia, METH_O, NULL},
093d3ff1
RD
32074 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
32075 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
32076 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32077 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
32078 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32079 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
32080 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
32081 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
32082 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
32083 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
32084 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
8f514ab4 32085 { (char *)"PrintData_SetMedia", (PyCFunction) _wrap_PrintData_SetMedia, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32086 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
093d3ff1 32087 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32088 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
b9d6a5f3 32089 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 32090 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
554f62e9 32091 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
093d3ff1 32092 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
554f62e9 32093 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
093d3ff1
RD
32094 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32095 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32096 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32097 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
32098 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32099 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
32100 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
32101 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
32102 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
32103 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
32104 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
32105 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
32106 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
32107 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
32108 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
32109 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
32110 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
32111 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
32112 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
b39fe951 32113 { (char *)"PageSetupDialogData_IsOk", (PyCFunction)_wrap_PageSetupDialogData_IsOk, METH_O, NULL},
093d3ff1
RD
32114 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32115 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32116 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
32117 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
32118 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
32119 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
32120 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
32121 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
32122 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32123 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
32124 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
093d3ff1 32125 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
554f62e9 32126 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
093d3ff1 32127 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
f05326ba 32128 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
554f62e9
RD
32129 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
32130 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
32131 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
093d3ff1 32132 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
554f62e9 32133 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 32134 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
554f62e9
RD
32135 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
32136 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
32137 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
32138 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
32139 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
32140 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
32141 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
32142 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
32143 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
32144 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
093d3ff1
RD
32145 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
32146 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
32147 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
32148 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
32149 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
32150 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
32151 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32152 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
32153 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
32154 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
32155 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32156 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
32157 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32158 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
32159 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
32160 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
32161 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
b39fe951 32162 { (char *)"PrintDialogData_IsOk", (PyCFunction)_wrap_PrintDialogData_IsOk, METH_O, NULL},
554f62e9 32163 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
093d3ff1
RD
32164 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
32165 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
554f62e9 32166 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
093d3ff1 32167 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
f05326ba 32168 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
554f62e9
RD
32169 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
32170 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
32171 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
32172 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
093d3ff1 32173 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
554f62e9 32174 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 32175 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32176 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
093d3ff1
RD
32177 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32178 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
32179 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
32180 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
32181 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32182 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
32183 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
32184 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
093d3ff1 32185 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
554f62e9 32186 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
093d3ff1 32187 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32188 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
093d3ff1 32189 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32190 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
32191 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
093d3ff1 32192 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
70d7cb34
RD
32193 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction) _wrap_Printout_FitThisSizeToPaper, METH_VARARGS | METH_KEYWORDS, NULL},
32194 { (char *)"Printout_FitThisSizeToPage", (PyCFunction) _wrap_Printout_FitThisSizeToPage, METH_VARARGS | METH_KEYWORDS, NULL},
32195 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction) _wrap_Printout_FitThisSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32196 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction)_wrap_Printout_MapScreenSizeToPaper, METH_O, NULL},
32197 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction)_wrap_Printout_MapScreenSizeToPage, METH_O, NULL},
32198 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction) _wrap_Printout_MapScreenSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32199 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction)_wrap_Printout_MapScreenSizeToDevice, METH_O, NULL},
32200 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction)_wrap_Printout_GetLogicalPaperRect, METH_O, NULL},
32201 { (char *)"Printout_GetLogicalPageRect", (PyCFunction)_wrap_Printout_GetLogicalPageRect, METH_O, NULL},
32202 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction) _wrap_Printout_GetLogicalPageMarginsRect, METH_VARARGS | METH_KEYWORDS, NULL},
32203 { (char *)"Printout_SetLogicalOrigin", (PyCFunction) _wrap_Printout_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
32204 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction) _wrap_Printout_OffsetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 32205 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32206 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
093d3ff1 32207 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32208 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
093d3ff1 32209 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32210 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
093d3ff1 32211 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32212 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
70d7cb34
RD
32213 { (char *)"Printout_SetPaperRectPixels", (PyCFunction) _wrap_Printout_SetPaperRectPixels, METH_VARARGS | METH_KEYWORDS, NULL},
32214 { (char *)"Printout_GetPaperRectPixels", (PyCFunction)_wrap_Printout_GetPaperRectPixels, METH_O, NULL},
554f62e9 32215 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
093d3ff1 32216 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70 32217 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32218 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
32219 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
32220 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
32221 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
b06b3e70 32222 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32223 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
093d3ff1 32224 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
554f62e9 32225 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
32226 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32227 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
554f62e9 32228 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
093d3ff1 32229 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32230 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
32231 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
32232 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
32233 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
093d3ff1 32234 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
554f62e9 32235 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
093d3ff1 32236 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32237 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
093d3ff1 32238 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32239 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
32240 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
32241 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
32242 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
32243 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
32244 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
093d3ff1 32245 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
554f62e9 32246 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
093d3ff1 32247 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
554f62e9 32248 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
093d3ff1 32249 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32250 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
093d3ff1 32251 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32252 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
32253 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
093d3ff1
RD
32254 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32255 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32256 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
32257 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
093d3ff1
RD
32258 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
32259 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
32260 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
32261 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32262 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
093d3ff1 32263 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32264 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
32265 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
32266 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
b39fe951 32267 { (char *)"PrintPreview_IsOk", (PyCFunction)_wrap_PrintPreview_IsOk, METH_O, NULL},
093d3ff1
RD
32268 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
32269 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32270 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
093d3ff1 32271 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
554f62e9 32272 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
32273 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
32274 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 32275 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
554f62e9 32276 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
32277 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32278 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32279 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32280 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32281 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
32282 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
32283 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
093d3ff1 32284 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
554f62e9 32285 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
32286 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32287 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32288 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32289 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
b06b3e70 32290 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 32291 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
554f62e9 32292 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
c32bde28 32293 { NULL, NULL, 0, NULL }
d55e5bfc
RD
32294};
32295
32296
32297/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32298
32299static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
32300 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32301}
32302static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32303 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32304}
32305static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32306 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32307}
32308static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32309 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32310}
32311static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32312 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32313}
32314static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32315 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32316}
32317static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32318 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32319}
32320static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
32321 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32322}
32323static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32324 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32325}
32326static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32327 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32328}
32329static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
32330 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
32331}
d55e5bfc
RD
32332static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32333 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32334}
0f83f5da
RD
32335static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
32336 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
32337}
2131d850
RD
32338static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32339 return (void *)((wxEvent *) ((wxPyEvent *) x));
32340}
d55e5bfc
RD
32341static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
32342 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
32343}
32344static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32345 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32346}
32347static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32348 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32349}
32350static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32351 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32352}
32353static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32354 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32355}
32356static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32357 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32358}
32359static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32360 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32361}
32362static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32363 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32364}
32365static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32366 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32367}
53aa7709
RD
32368static void *_p_wxDateEventTo_p_wxEvent(void *x) {
32369 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
32370}
d55e5bfc
RD
32371static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32372 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32373}
32374static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32375 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32376}
0f83f5da
RD
32377static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
32378 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
32379}
d55e5bfc
RD
32380static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32381 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32382}
32383static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32384 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32385}
32386static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32387 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32388}
32389static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32390 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32391}
32392static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32393 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32394}
32395static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32396 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32397}
32398static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32399 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32400}
32401static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32402 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32403}
32404static void *_p_wxSashEventTo_p_wxEvent(void *x) {
32405 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
32406}
32407static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
32408 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32409}
32410static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32411 return (void *)((wxEvent *) ((wxShowEvent *) x));
32412}
32413static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32414 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32415}
32416static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32417 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32418}
32419static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32420 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32421}
32422static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32423 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32424}
32425static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32426 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32427}
32428static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32429 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32430}
32431static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
32432 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
32433}
32434static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
32435 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
32436}
c1cb24a4
RD
32437static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
32438 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32439}
d55e5bfc
RD
32440static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
32441 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32442}
32443static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
32444 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32445}
32446static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
32447 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32448}
32449static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32450 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32451}
32452static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32453 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32454}
32455static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32456 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32457}
32458static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32459 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32460}
c1cb24a4
RD
32461static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
32462 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32463}
d55e5bfc
RD
32464static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
32465 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32466}
32467static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
32468 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32469}
32470static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
32471 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32472}
32473static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
32474 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32475}
27e45892
RD
32476static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
32477 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32478}
d55e5bfc
RD
32479static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
32480 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32481}
32482static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
32483 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32484}
32485static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
32486 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32487}
32488static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
32489 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
32490}
32491static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
32492 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
32493}
32494static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
32495 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32496}
32497static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
32498 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32499}
32500static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
32501 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32502}
32503static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
32504 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
32505}
32506static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
32507 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32508}
32509static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
32510 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
32511}
32512static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
32513 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
32514}
32515static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
32516 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
32517}
32518static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32519 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32520}
32521static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
32522 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32523}
32524static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
32525 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
32526}
32527static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
32528 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
32529}
32530static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
32531 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32532}
32533static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32534 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32535}
32536static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
32537 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32538}
32539static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
32540 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32541}
32542static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
32543 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32544}
32545static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32546 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32547}
32548static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32549 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32550}
32551static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
32552 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
32553}
32554static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
32555 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32556}
32557static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
32558 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32559}
32560static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
32561 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32562}
32563static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
32564 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32565}
32566static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
32567 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32568}
5e483524
RD
32569static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
32570 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
32571}
32572static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
32573 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32574}
d55e5bfc
RD
32575static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
32576 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32577}
32578static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
32579 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32580}
32581static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
32582 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32583}
c1cb24a4
RD
32584static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
32585 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32586}
d55e5bfc
RD
32587static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
32588 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32589}
32590static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
32591 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
32592}
32593static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
32594 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
32595}
32596static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
32597 return (void *)((wxFrame *) ((wxProgressDialog *) x));
32598}
32599static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
32600 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
32601}
32602static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
32603 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32604}
32605static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
32606 return (void *)((wxFrame *) ((wxMiniFrame *) x));
32607}
32608static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
32609 return (void *)((wxFrame *) ((wxSplashScreen *) x));
32610}
32611static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
32612 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
32613}
32614static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32615 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32616}
32617static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
32618 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32619}
32620static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
32621 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32622}
32623static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
32624 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32625}
d55e5bfc
RD
32626static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32627 return (void *)((wxObject *) ((wxSizerItem *) x));
32628}
0f83f5da
RD
32629static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32630 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32631}
d55e5bfc
RD
32632static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32633 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32634}
32635static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32636 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32637}
32638static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32639 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32640}
32641static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32642 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32643}
32644static void *_p_wxSizerTo_p_wxObject(void *x) {
32645 return (void *)((wxObject *) ((wxSizer *) x));
32646}
32647static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32648 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32649}
32650static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32651 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32652}
32653static void *_p_wxPyPanelTo_p_wxObject(void *x) {
32654 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32655}
32656static void *_p_wxEventTo_p_wxObject(void *x) {
32657 return (void *)((wxObject *) ((wxEvent *) x));
32658}
32659static void *_p_wxFontDataTo_p_wxObject(void *x) {
32660 return (void *)((wxObject *) ((wxFontData *) x));
32661}
32662static void *_p_wxPrintDataTo_p_wxObject(void *x) {
32663 return (void *)((wxObject *) ((wxPrintData *) x));
32664}
32665static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32666 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32667}
32668static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32669 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32670}
32671static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32672 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32673}
32674static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
32675 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
32676}
5e483524
RD
32677static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
32678 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
32679}
32680static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
32681 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
32682}
2131d850
RD
32683static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
32684 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
32685}
d55e5bfc
RD
32686static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32687 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32688}
32689static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32690 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32691}
32692static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32693 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32694}
32695static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32696 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32697}
32698static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32699 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32700}
32701static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32702 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32703}
32704static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
32705 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32706}
32707static void *_p_wxControlTo_p_wxObject(void *x) {
32708 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32709}
32710static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32711 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32712}
32713static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
32714 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32715}
32716static void *_p_wxFSFileTo_p_wxObject(void *x) {
32717 return (void *)((wxObject *) ((wxFSFile *) x));
32718}
32719static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
32720 return (void *)((wxObject *) ((wxFindReplaceData *) x));
32721}
32722static void *_p_wxPySizerTo_p_wxObject(void *x) {
32723 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32724}
32725static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
32726 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32727}
32728static void *_p_wxColourDataTo_p_wxObject(void *x) {
32729 return (void *)((wxObject *) ((wxColourData *) x));
32730}
32731static void *_p_wxPyEventTo_p_wxObject(void *x) {
32732 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32733}
32734static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32735 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32736}
32737static void *_p_wxPyWindowTo_p_wxObject(void *x) {
32738 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
32739}
32740static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
32741 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32742}
32743static void *_p_wxFileDialogTo_p_wxObject(void *x) {
32744 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32745}
32746static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
32747 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32748}
32749static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
32750 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32751}
32752static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
32753 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32754}
c1cb24a4
RD
32755static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
32756 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32757}
27e45892
RD
32758static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
32759 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32760}
d55e5bfc
RD
32761static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
32762 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32763}
32764static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
32765 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32766}
32767static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
32768 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32769}
32770static void *_p_wxShowEventTo_p_wxObject(void *x) {
32771 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32772}
32773static void *_p_wxPrinterTo_p_wxObject(void *x) {
32774 return (void *)((wxObject *) ((wxPrinter *) x));
32775}
32776static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32777 return (void *)((wxObject *) ((wxMenuItem *) x));
32778}
53aa7709
RD
32779static void *_p_wxDateEventTo_p_wxObject(void *x) {
32780 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
32781}
d55e5bfc
RD
32782static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32783 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32784}
32785static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32786 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32787}
32788static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32789 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32790}
32791static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32792 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32793}
32794static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32795 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32796}
32797static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32798 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32799}
32800static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32801 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32802}
32803static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32804 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32805}
d55e5bfc
RD
32806static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32807 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32808}
32809static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32810 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32811}
32812static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32813 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32814}
32815static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32816 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32817}
32818static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32819 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32820}
32821static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32822 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32823}
32824static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32825 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32826}
32827static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32828 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32829}
32830static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32831 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32832}
9d7dfdff
RD
32833static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
32834 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
32835}
d55e5bfc
RD
32836static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32837 return (void *)((wxObject *) ((wxImageHandler *) x));
32838}
9d7dfdff
RD
32839static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32840 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32841}
d55e5bfc
RD
32842static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32843 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32844}
580080c5
RD
32845static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
32846 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
32847}
d55e5bfc
RD
32848static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32849 return (void *)((wxObject *) ((wxEvtHandler *) x));
32850}
0f83f5da
RD
32851static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
32852 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
32853}
d55e5bfc
RD
32854static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
32855 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
32856}
32857static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
32858 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32859}
32860static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
32861 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32862}
32863static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32864 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32865}
580080c5
RD
32866static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
32867 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
32868}
d55e5bfc
RD
32869static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
32870 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32871}
32872static void *_p_wxImageTo_p_wxObject(void *x) {
32873 return (void *)((wxObject *) ((wxImage *) x));
32874}
32875static void *_p_wxFrameTo_p_wxObject(void *x) {
32876 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32877}
32878static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
32879 return (void *)((wxObject *) ((wxPyPrintout *) x));
32880}
32881static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32882 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32883}
32884static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
32885 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
32886}
32887static void *_p_wxStatusBarTo_p_wxObject(void *x) {
32888 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
32889}
32890static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
32891 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32892}
32893static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32894 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32895}
32896static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32897 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32898}
32899static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32900 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32901}
32902static void *_p_wxWindowTo_p_wxObject(void *x) {
32903 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32904}
32905static void *_p_wxMenuTo_p_wxObject(void *x) {
32906 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32907}
32908static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32909 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32910}
32911static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
32912 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32913}
32914static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
32915 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
32916}
32917static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
32918 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
32919}
32920static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
32921 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
32922}
32923static void *_p_wxSashWindowTo_p_wxObject(void *x) {
32924 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
32925}
32926static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
32927 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32928}
32929static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
32930 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
32931}
32932static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
32933 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32934}
32935static void *_p_wxTipWindowTo_p_wxObject(void *x) {
32936 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32937}
32938static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
32939 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32940}
32941static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
32942 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
32943}
32944static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
32945 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32946}
32947static void *_p_wxSashEventTo_p_wxObject(void *x) {
32948 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
32949}
32950static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
32951 return (void *)((wxObject *) ((wxPrintPreview *) x));
32952}
32953static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
32954 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
32955}
32956static void *_p_wxPanelTo_p_wxObject(void *x) {
32957 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
32958}
32959static void *_p_wxDialogTo_p_wxObject(void *x) {
32960 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32961}
32962static void *_p_wxColourDialogTo_p_wxObject(void *x) {
32963 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32964}
32965static void *_p_wxDirDialogTo_p_wxObject(void *x) {
32966 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32967}
32968static void *_p_wxFontDialogTo_p_wxObject(void *x) {
32969 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32970}
32971static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
8ac8dba0 32972 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d55e5bfc
RD
32973}
32974static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
c1cb24a4 32975 return (void *)((wxObject *) ((wxPrintDialog *) x));
d55e5bfc
RD
32976}
32977static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32978 return (void *)((wxObject *) ((wxFileSystem *) x));
32979}
32980static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32981 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32982}
32983static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32984 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32985}
32986static void *_p_wxPyAppTo_p_wxObject(void *x) {
32987 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32988}
32989static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32990 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32991}
32992static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32993 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32994}
32995static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32996 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32997}
32998static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32999 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
33000}
33001static void *_p_wxCommandEventTo_p_wxObject(void *x) {
33002 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
33003}
33004static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
33005 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
33006}
33007static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
33008 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33009}
33010static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
33011 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
33012}
33013static void *_p_wxFocusEventTo_p_wxObject(void *x) {
33014 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
33015}
33016static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
33017 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
33018}
33019static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
33020 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
33021}
33022static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
33023 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
33024}
33025static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
33026 return (void *)((wxObject *) ((wxPrintDialogData *) x));
33027}
33028static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
33029 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
33030}
33031static void *_p_wxValidatorTo_p_wxObject(void *x) {
33032 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
33033}
33034static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
33035 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33036}
33037static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
33038 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
33039}
33040static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
33041 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33042}
33043static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
33044 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33045}
33046static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
33047 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33048}
33049static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
33050 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
33051}
33052static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
33053 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
33054}
33055static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
33056 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
33057}
33058static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
33059 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
33060}
33061static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
33062 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
33063}
33064static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
33065 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
33066}
33067static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
33068 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
33069}
d55e5bfc
RD
33070static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
33071 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
33072}
33073static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
33074 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
33075}
33076static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
33077 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
33078}
d55e5bfc
RD
33079static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
33080 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
33081}
27e45892
RD
33082static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
33083 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
33084}
c1cb24a4
RD
33085static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
33086 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33087}
d55e5bfc
RD
33088static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
33089 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
33090}
33091static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
33092 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
33093}
33094static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
33095 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
33096}
33097static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
33098 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
33099}
27e45892
RD
33100static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
33101 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
33102}
c1cb24a4
RD
33103static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
33104 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
33105}
d55e5bfc
RD
33106static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
33107 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
33108}
33109static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
33110 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33111}
33112static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
33113 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33114}
33115static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
33116 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33117}
33118static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
33119 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
33120}
33121static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
33122 return (void *)((wxWindow *) ((wxMenuBar *) x));
33123}
33124static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
33125 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33126}
33127static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
33128 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33129}
33130static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
33131 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33132}
27e45892
RD
33133static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
33134 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
33135}
c1cb24a4
RD
33136static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
33137 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33138}
d55e5bfc
RD
33139static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
33140 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33141}
33142static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
33143 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33144}
33145static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
33146 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33147}
33148static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
33149 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33150}
33151static void *_p_wxPanelTo_p_wxWindow(void *x) {
33152 return (void *)((wxWindow *) ((wxPanel *) x));
33153}
33154static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
33155 return (void *)((wxWindow *) ((wxStatusBar *) x));
33156}
d55e5bfc
RD
33157static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
33158 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
33159}
33160static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
33161 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33162}
33163static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
33164 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33165}
33166static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
33167 return (void *)((wxWindow *) ((wxPopupWindow *) x));
33168}
33169static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
33170 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
33171}
33172static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
33173 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
33174}
33175static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
33176 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
33177}
33178static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
33179 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
33180}
33181static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
33182 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
33183}
33184static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
33185 return (void *)((wxWindow *) ((wxSashWindow *) x));
33186}
c1cb24a4
RD
33187static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
33188 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
33189}
d55e5bfc
RD
33190static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
33191 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33192}
33193static void *_p_wxControlTo_p_wxWindow(void *x) {
33194 return (void *)((wxWindow *) ((wxControl *) x));
33195}
33196static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
33197 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33198}
33199static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
33200 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33201}
33202static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
33203 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33204}
33205static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
33206 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
33207}
33208static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
33209 return (void *)((wxWindow *) ((wxPyWindow *) x));
33210}
33211static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
33212 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33213}
33214static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
33215 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33216}
33217static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
33218 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33219}
33220static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
33221 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
33222}
33223static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
33224 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33225}
33226static void *_p_wxFrameTo_p_wxWindow(void *x) {
33227 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
33228}
33229static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
33230 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33231}
33232static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
33233 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33234}
33235static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
33236 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33237}
33238static void *_p_wxDialogTo_p_wxWindow(void *x) {
33239 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
33240}
d55e5bfc
RD
33241static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
33242 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33243}
33244static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
33245 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33246}
33247static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
33248 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
33249}
33250static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
33251 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
33252}
33253static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
33254 return (void *)((wxDialog *) ((wxColourDialog *) x));
33255}
33256static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
33257 return (void *)((wxDialog *) ((wxDirDialog *) x));
33258}
33259static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
33260 return (void *)((wxDialog *) ((wxFontDialog *) x));
33261}
d55e5bfc
RD
33262static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
33263 return (void *)((wxDialog *) ((wxFileDialog *) x));
33264}
33265static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
33266 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
33267}
33268static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
33269 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
33270}
33271static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
33272 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
33273}
c1cb24a4
RD
33274static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
33275 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33276}
27e45892
RD
33277static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
33278 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
33279}
d55e5bfc
RD
33280static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
33281 return (void *)((wxDialog *) ((wxMessageDialog *) x));
33282}
33283static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
33284 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
33285}
33286static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
33287 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
33288}
33289static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
33290 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
33291}
33292static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
33293 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33294}
33295static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
33296 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33297}
33298static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
33299 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33300}
33301static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
33302 return (void *)((wxPanel *) ((wxPyPanel *) x));
33303}
33304static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
33305 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
33306}
33307static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
33308 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
33309}
33310static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
33311 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33312}
33313static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
33314 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
33315}
33316static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
33317 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
33318}
33319static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
33320 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
33321}
53aa7709
RD
33322static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
33323 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
33324}
d55e5bfc
RD
33325static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
33326 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
33327}
2131d850
RD
33328static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
33329 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
33330}
d55e5bfc
RD
33331static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
33332 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
33333}
33334static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
33335 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33336}
33337static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
33338 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
33339}
33340static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
33341 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
33342}
33343static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
33344 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
33345}
33346static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
33347 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
33348}
33349static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
33350 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
33351}
33352static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
33353 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33354}
f460c29d 33355static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
554f62e9
RD
33356static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
33357static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
33358static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
33359static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33360static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33361static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33362static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33363static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33364static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33365static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33366static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33367static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33368static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
2131d850
RD
33369static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33370static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
554f62e9 33371static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
2131d850
RD
33372static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33373static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33374static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
554f62e9
RD
33375static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33376static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33377static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
554f62e9
RD
33378static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33379static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33380static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33381static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33382static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33383static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33384static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33385static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33386static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33387static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33388static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33389static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
0f83f5da 33390static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
554f62e9
RD
33391static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33392static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33393static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33394static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33395static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33396static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33397static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33398static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33399static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33400static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33401static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33402static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33403static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33404static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33405static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33406static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33407static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33408static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33409static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33410static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
33411static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33412static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
33413static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
33414static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33415static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33416static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33417static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33418static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33419static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33420static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33421static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33422static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33423static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
e9d6f3a4 33424static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
554f62e9
RD
33425static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33426static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33427static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33428static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33429static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33430static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33431static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33432static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33433static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33434static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33435static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33436static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
27e45892 33437static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
554f62e9
RD
33438static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33439static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
554f62e9 33440static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
0f83f5da 33441static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
554f62e9
RD
33442static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33443static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33444static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33445static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
33446static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33447static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33448static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33449static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
33450static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
33451static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
554f62e9
RD
33452static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33453static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33454static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33455static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33456static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33457static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33458static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33459static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33460static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
27e45892 33461static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
2131d850 33462static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
554f62e9
RD
33463static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33464static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
580080c5 33465static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
554f62e9
RD
33466static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33467static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
33468static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33469static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33470static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33471static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33472static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33473static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33474static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33475static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33476static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33477static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33478static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33479static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33480static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33481static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33482static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33483static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33484static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33485static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33486static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33487static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33488static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33489static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33490static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33491static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33492static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33493static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33494static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33495static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33496static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33497static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33498static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33499static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33500static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33501static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33502static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33503static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33504static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33505static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33506static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33507static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33508static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33509static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33510static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33511static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33512static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33513static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33514static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33515static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33516static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33517static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33518static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33519static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33520static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
7449af73
RD
33521
33522static swig_type_info *swig_type_initial[] = {
f460c29d 33523 &_swigt__p_bool,
7449af73
RD
33524 &_swigt__p_char,
33525 &_swigt__p_form_ops_t,
33526 &_swigt__p_int,
33527 &_swigt__p_unsigned_char,
33528 &_swigt__p_unsigned_int,
33529 &_swigt__p_unsigned_long,
33530 &_swigt__p_wxANIHandler,
33531 &_swigt__p_wxAcceleratorTable,
33532 &_swigt__p_wxActivateEvent,
33533 &_swigt__p_wxArrayInt,
33534 &_swigt__p_wxBMPHandler,
33535 &_swigt__p_wxBitmap,
33536 &_swigt__p_wxBoxSizer,
33537 &_swigt__p_wxCURHandler,
33538 &_swigt__p_wxCalculateLayoutEvent,
33539 &_swigt__p_wxChildFocusEvent,
2131d850 33540 &_swigt__p_wxClipboardTextEvent,
7449af73
RD
33541 &_swigt__p_wxCloseEvent,
33542 &_swigt__p_wxColour,
33543 &_swigt__p_wxColourData,
33544 &_swigt__p_wxColourDialog,
33545 &_swigt__p_wxCommandEvent,
33546 &_swigt__p_wxContextMenuEvent,
33547 &_swigt__p_wxControl,
33548 &_swigt__p_wxControlWithItems,
33549 &_swigt__p_wxDC,
33550 &_swigt__p_wxDateEvent,
33551 &_swigt__p_wxDialog,
33552 &_swigt__p_wxDirDialog,
33553 &_swigt__p_wxDisplayChangedEvent,
33554 &_swigt__p_wxDropFilesEvent,
33555 &_swigt__p_wxDuplexMode,
33556 &_swigt__p_wxEraseEvent,
33557 &_swigt__p_wxEvent,
33558 &_swigt__p_wxEvtHandler,
33559 &_swigt__p_wxFSFile,
33560 &_swigt__p_wxFileDialog,
33561 &_swigt__p_wxFileSystem,
33562 &_swigt__p_wxFindDialogEvent,
33563 &_swigt__p_wxFindReplaceData,
33564 &_swigt__p_wxFindReplaceDialog,
33565 &_swigt__p_wxFlexGridSizer,
33566 &_swigt__p_wxFocusEvent,
33567 &_swigt__p_wxFont,
33568 &_swigt__p_wxFontData,
33569 &_swigt__p_wxFontDialog,
33570 &_swigt__p_wxFrame,
33571 &_swigt__p_wxGBSizerItem,
33572 &_swigt__p_wxGIFHandler,
33573 &_swigt__p_wxGridBagSizer,
33574 &_swigt__p_wxGridSizer,
e9d6f3a4 33575 &_swigt__p_wxHtmlLinkInfo,
7449af73
RD
33576 &_swigt__p_wxICOHandler,
33577 &_swigt__p_wxIcon,
33578 &_swigt__p_wxIconBundle,
33579 &_swigt__p_wxIconizeEvent,
33580 &_swigt__p_wxIdleEvent,
33581 &_swigt__p_wxImage,
33582 &_swigt__p_wxImageHandler,
33583 &_swigt__p_wxIndividualLayoutConstraint,
33584 &_swigt__p_wxInitDialogEvent,
33585 &_swigt__p_wxJPEGHandler,
33586 &_swigt__p_wxKeyEvent,
33587 &_swigt__p_wxLayoutAlgorithm,
33588 &_swigt__p_wxLayoutConstraints,
33589 &_swigt__p_wxMDIChildFrame,
33590 &_swigt__p_wxMDIClientWindow,
33591 &_swigt__p_wxMDIParentFrame,
33592 &_swigt__p_wxMaximizeEvent,
33593 &_swigt__p_wxMenu,
33594 &_swigt__p_wxMenuBar,
33595 &_swigt__p_wxMenuEvent,
33596 &_swigt__p_wxMenuItem,
33597 &_swigt__p_wxMessageDialog,
33598 &_swigt__p_wxMiniFrame,
33599 &_swigt__p_wxMouseCaptureChangedEvent,
0f83f5da 33600 &_swigt__p_wxMouseCaptureLostEvent,
7449af73
RD
33601 &_swigt__p_wxMouseEvent,
33602 &_swigt__p_wxMoveEvent,
33603 &_swigt__p_wxMultiChoiceDialog,
33604 &_swigt__p_wxNavigationKeyEvent,
33605 &_swigt__p_wxNcPaintEvent,
33606 &_swigt__p_wxNotifyEvent,
27e45892 33607 &_swigt__p_wxNumberEntryDialog,
7449af73
RD
33608 &_swigt__p_wxObject,
33609 &_swigt__p_wxPCXHandler,
33610 &_swigt__p_wxPNGHandler,
33611 &_swigt__p_wxPNMHandler,
33612 &_swigt__p_wxPageSetupDialog,
33613 &_swigt__p_wxPageSetupDialogData,
33614 &_swigt__p_wxPaintEvent,
33615 &_swigt__p_wxPaletteChangedEvent,
33616 &_swigt__p_wxPanel,
33617 &_swigt__p_wxPaperSize,
33618 &_swigt__p_wxPasswordEntryDialog,
33619 &_swigt__p_wxPoint,
33620 &_swigt__p_wxPopupWindow,
33621 &_swigt__p_wxPreviewCanvas,
33622 &_swigt__p_wxPreviewControlBar,
33623 &_swigt__p_wxPreviewFrame,
33624 &_swigt__p_wxPrintData,
33625 &_swigt__p_wxPrintDialog,
33626 &_swigt__p_wxPrintDialogData,
33627 &_swigt__p_wxPrintPreview,
33628 &_swigt__p_wxPrinter,
33629 &_swigt__p_wxProgressDialog,
33630 &_swigt__p_wxPyApp,
33631 &_swigt__p_wxPyCommandEvent,
33632 &_swigt__p_wxPyEvent,
33633 &_swigt__p_wxPyHtmlListBox,
33634 &_swigt__p_wxPyImageHandler,
33635 &_swigt__p_wxPyPanel,
33636 &_swigt__p_wxPyPopupTransientWindow,
33637 &_swigt__p_wxPyPreviewControlBar,
33638 &_swigt__p_wxPyPreviewFrame,
33639 &_swigt__p_wxPyPrintPreview,
33640 &_swigt__p_wxPyPrintout,
33641 &_swigt__p_wxPyScrolledWindow,
33642 &_swigt__p_wxPySizer,
33643 &_swigt__p_wxPyTaskBarIcon,
33644 &_swigt__p_wxPyVListBox,
33645 &_swigt__p_wxPyVScrolledWindow,
33646 &_swigt__p_wxPyValidator,
33647 &_swigt__p_wxPyWindow,
33648 &_swigt__p_wxQueryLayoutInfoEvent,
33649 &_swigt__p_wxQueryNewPaletteEvent,
33650 &_swigt__p_wxRect,
33651 &_swigt__p_wxRegion,
33652 &_swigt__p_wxSashEvent,
33653 &_swigt__p_wxSashLayoutWindow,
33654 &_swigt__p_wxSashWindow,
33655 &_swigt__p_wxScrollEvent,
33656 &_swigt__p_wxScrollWinEvent,
33657 &_swigt__p_wxScrolledWindow,
33658 &_swigt__p_wxSetCursorEvent,
33659 &_swigt__p_wxShowEvent,
33660 &_swigt__p_wxSingleChoiceDialog,
33661 &_swigt__p_wxSize,
33662 &_swigt__p_wxSizeEvent,
33663 &_swigt__p_wxSizer,
33664 &_swigt__p_wxSizerItem,
33665 &_swigt__p_wxSplashScreen,
33666 &_swigt__p_wxSplashScreenWindow,
33667 &_swigt__p_wxSplitterEvent,
33668 &_swigt__p_wxSplitterWindow,
33669 &_swigt__p_wxStaticBoxSizer,
33670 &_swigt__p_wxStatusBar,
33671 &_swigt__p_wxStdDialogButtonSizer,
33672 &_swigt__p_wxString,
33673 &_swigt__p_wxSysColourChangedEvent,
580080c5 33674 &_swigt__p_wxTGAHandler,
7449af73
RD
33675 &_swigt__p_wxTIFFHandler,
33676 &_swigt__p_wxTaskBarIcon,
33677 &_swigt__p_wxTaskBarIconEvent,
33678 &_swigt__p_wxTextEntryDialog,
33679 &_swigt__p_wxTipWindow,
33680 &_swigt__p_wxToolBar,
33681 &_swigt__p_wxTopLevelWindow,
33682 &_swigt__p_wxUpdateUIEvent,
33683 &_swigt__p_wxValidator,
33684 &_swigt__p_wxVisualAttributes,
33685 &_swigt__p_wxWindow,
33686 &_swigt__p_wxWindowCreateEvent,
33687 &_swigt__p_wxWindowDestroyEvent,
33688 &_swigt__p_wxXPMHandler,
7449af73
RD
33689};
33690
f460c29d 33691static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
33692static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
33693static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
33694static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
33695static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
33696static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
33697static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
33698static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
33699static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
33700static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
33701static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
33702static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
33703static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
2131d850
RD
33704static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
33705static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
7449af73 33706static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850
RD
33707static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
33708static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33709static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
33710static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
33711static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
33712static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 33713static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
7449af73 33714static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
27e45892 33715static 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}};
7449af73
RD
33716static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
33717static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
33718static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33719static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
33720static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
33721static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
33722static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
33723static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33724static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
0f83f5da 33725static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
33726static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
33727static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
33728static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33729static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33730static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
33731static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33732static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
33733static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33734static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33735static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33736static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33737static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33738static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33739static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
33740static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33741static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
33742static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33743static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
0f83f5da 33744static 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}};
7449af73
RD
33745static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
33746static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
33747static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
33748static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
33749static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
27e45892 33750static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
7449af73
RD
33751static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
33752static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
33753static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33754static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
33755static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
33756static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
33757static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
33758static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
33759static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxFrame, 0, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxFrame, 0, 0},{0, 0, 0, 0}};
e9d6f3a4 33760static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
33761static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
33762static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
33763static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
33764static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
33765static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
33766static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
33767static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
33768static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
33769static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
33770static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
33771static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33772static 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 33773static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
7449af73 33774static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
7449af73 33775static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
0f83f5da 33776static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
33777static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
33778static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33779static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33780static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
33781static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
33782static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33783static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33784static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
33785static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
33786static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
33787static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
33788static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
33789static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
33790static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
33791static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
33792static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
33793static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
33794static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
33795static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
27e45892 33796static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
2131d850 33797static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
33798static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
33799static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
580080c5 33800static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
33801static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
33802static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
580080c5 33803static 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_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_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}};
7449af73
RD
33804static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
33805static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
33806static 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}};
33807static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
33808static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33809static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
33810static swig_cast_info _swigc__p_wxPopupWindow[] = { {&_swigt__p_wxPopupWindow, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxPopupWindow, 0, 0},{0, 0, 0, 0}};
33811static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
33812static 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}};
33813static 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}};
33814static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
33815static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
33816static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
33817static 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}};
33818static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
33819static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
33820static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
33821static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
33822static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxPyPopupTransientWindow, 0, 0},{0, 0, 0, 0}};
33823static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
33824static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
33825static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
33826static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
33827static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
33828static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33829static 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}};
33830static 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}};
33831static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
33832static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
33833static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
33834static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
33835static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
33836static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
33837static 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}};
33838static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
33839static 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}};
33840static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33841static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
33842static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
33843static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
33844static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
33845static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
33846static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
33847static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
33848static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
33849static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33850static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
33851static 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}};
33852static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
33853static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
27e45892 33854static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
7449af73 33855static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
27e45892 33856static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
7449af73
RD
33857
33858static swig_cast_info *swig_cast_initial[] = {
f460c29d 33859 _swigc__p_bool,
7449af73
RD
33860 _swigc__p_char,
33861 _swigc__p_form_ops_t,
33862 _swigc__p_int,
33863 _swigc__p_unsigned_char,
33864 _swigc__p_unsigned_int,
33865 _swigc__p_unsigned_long,
33866 _swigc__p_wxANIHandler,
33867 _swigc__p_wxAcceleratorTable,
33868 _swigc__p_wxActivateEvent,
33869 _swigc__p_wxArrayInt,
33870 _swigc__p_wxBMPHandler,
33871 _swigc__p_wxBitmap,
33872 _swigc__p_wxBoxSizer,
33873 _swigc__p_wxCURHandler,
33874 _swigc__p_wxCalculateLayoutEvent,
33875 _swigc__p_wxChildFocusEvent,
2131d850 33876 _swigc__p_wxClipboardTextEvent,
7449af73
RD
33877 _swigc__p_wxCloseEvent,
33878 _swigc__p_wxColour,
33879 _swigc__p_wxColourData,
33880 _swigc__p_wxColourDialog,
33881 _swigc__p_wxCommandEvent,
33882 _swigc__p_wxContextMenuEvent,
33883 _swigc__p_wxControl,
33884 _swigc__p_wxControlWithItems,
33885 _swigc__p_wxDC,
33886 _swigc__p_wxDateEvent,
33887 _swigc__p_wxDialog,
33888 _swigc__p_wxDirDialog,
33889 _swigc__p_wxDisplayChangedEvent,
33890 _swigc__p_wxDropFilesEvent,
33891 _swigc__p_wxDuplexMode,
33892 _swigc__p_wxEraseEvent,
33893 _swigc__p_wxEvent,
33894 _swigc__p_wxEvtHandler,
33895 _swigc__p_wxFSFile,
33896 _swigc__p_wxFileDialog,
33897 _swigc__p_wxFileSystem,
33898 _swigc__p_wxFindDialogEvent,
33899 _swigc__p_wxFindReplaceData,
33900 _swigc__p_wxFindReplaceDialog,
33901 _swigc__p_wxFlexGridSizer,
33902 _swigc__p_wxFocusEvent,
33903 _swigc__p_wxFont,
33904 _swigc__p_wxFontData,
33905 _swigc__p_wxFontDialog,
33906 _swigc__p_wxFrame,
33907 _swigc__p_wxGBSizerItem,
33908 _swigc__p_wxGIFHandler,
33909 _swigc__p_wxGridBagSizer,
33910 _swigc__p_wxGridSizer,
e9d6f3a4 33911 _swigc__p_wxHtmlLinkInfo,
7449af73
RD
33912 _swigc__p_wxICOHandler,
33913 _swigc__p_wxIcon,
33914 _swigc__p_wxIconBundle,
33915 _swigc__p_wxIconizeEvent,
33916 _swigc__p_wxIdleEvent,
33917 _swigc__p_wxImage,
33918 _swigc__p_wxImageHandler,
33919 _swigc__p_wxIndividualLayoutConstraint,
33920 _swigc__p_wxInitDialogEvent,
33921 _swigc__p_wxJPEGHandler,
33922 _swigc__p_wxKeyEvent,
33923 _swigc__p_wxLayoutAlgorithm,
33924 _swigc__p_wxLayoutConstraints,
33925 _swigc__p_wxMDIChildFrame,
33926 _swigc__p_wxMDIClientWindow,
33927 _swigc__p_wxMDIParentFrame,
33928 _swigc__p_wxMaximizeEvent,
33929 _swigc__p_wxMenu,
33930 _swigc__p_wxMenuBar,
33931 _swigc__p_wxMenuEvent,
33932 _swigc__p_wxMenuItem,
33933 _swigc__p_wxMessageDialog,
33934 _swigc__p_wxMiniFrame,
33935 _swigc__p_wxMouseCaptureChangedEvent,
0f83f5da 33936 _swigc__p_wxMouseCaptureLostEvent,
7449af73
RD
33937 _swigc__p_wxMouseEvent,
33938 _swigc__p_wxMoveEvent,
33939 _swigc__p_wxMultiChoiceDialog,
33940 _swigc__p_wxNavigationKeyEvent,
33941 _swigc__p_wxNcPaintEvent,
33942 _swigc__p_wxNotifyEvent,
27e45892 33943 _swigc__p_wxNumberEntryDialog,
7449af73
RD
33944 _swigc__p_wxObject,
33945 _swigc__p_wxPCXHandler,
33946 _swigc__p_wxPNGHandler,
33947 _swigc__p_wxPNMHandler,
33948 _swigc__p_wxPageSetupDialog,
33949 _swigc__p_wxPageSetupDialogData,
33950 _swigc__p_wxPaintEvent,
33951 _swigc__p_wxPaletteChangedEvent,
33952 _swigc__p_wxPanel,
33953 _swigc__p_wxPaperSize,
33954 _swigc__p_wxPasswordEntryDialog,
33955 _swigc__p_wxPoint,
33956 _swigc__p_wxPopupWindow,
33957 _swigc__p_wxPreviewCanvas,
33958 _swigc__p_wxPreviewControlBar,
33959 _swigc__p_wxPreviewFrame,
33960 _swigc__p_wxPrintData,
33961 _swigc__p_wxPrintDialog,
33962 _swigc__p_wxPrintDialogData,
33963 _swigc__p_wxPrintPreview,
33964 _swigc__p_wxPrinter,
33965 _swigc__p_wxProgressDialog,
33966 _swigc__p_wxPyApp,
33967 _swigc__p_wxPyCommandEvent,
33968 _swigc__p_wxPyEvent,
33969 _swigc__p_wxPyHtmlListBox,
33970 _swigc__p_wxPyImageHandler,
33971 _swigc__p_wxPyPanel,
33972 _swigc__p_wxPyPopupTransientWindow,
33973 _swigc__p_wxPyPreviewControlBar,
33974 _swigc__p_wxPyPreviewFrame,
33975 _swigc__p_wxPyPrintPreview,
33976 _swigc__p_wxPyPrintout,
33977 _swigc__p_wxPyScrolledWindow,
33978 _swigc__p_wxPySizer,
33979 _swigc__p_wxPyTaskBarIcon,
33980 _swigc__p_wxPyVListBox,
33981 _swigc__p_wxPyVScrolledWindow,
33982 _swigc__p_wxPyValidator,
33983 _swigc__p_wxPyWindow,
33984 _swigc__p_wxQueryLayoutInfoEvent,
33985 _swigc__p_wxQueryNewPaletteEvent,
33986 _swigc__p_wxRect,
33987 _swigc__p_wxRegion,
33988 _swigc__p_wxSashEvent,
33989 _swigc__p_wxSashLayoutWindow,
33990 _swigc__p_wxSashWindow,
33991 _swigc__p_wxScrollEvent,
33992 _swigc__p_wxScrollWinEvent,
33993 _swigc__p_wxScrolledWindow,
33994 _swigc__p_wxSetCursorEvent,
33995 _swigc__p_wxShowEvent,
33996 _swigc__p_wxSingleChoiceDialog,
33997 _swigc__p_wxSize,
554f62e9
RD
33998 _swigc__p_wxSizeEvent,
33999 _swigc__p_wxSizer,
34000 _swigc__p_wxSizerItem,
34001 _swigc__p_wxSplashScreen,
34002 _swigc__p_wxSplashScreenWindow,
34003 _swigc__p_wxSplitterEvent,
34004 _swigc__p_wxSplitterWindow,
34005 _swigc__p_wxStaticBoxSizer,
34006 _swigc__p_wxStatusBar,
34007 _swigc__p_wxStdDialogButtonSizer,
34008 _swigc__p_wxString,
34009 _swigc__p_wxSysColourChangedEvent,
580080c5 34010 _swigc__p_wxTGAHandler,
554f62e9
RD
34011 _swigc__p_wxTIFFHandler,
34012 _swigc__p_wxTaskBarIcon,
34013 _swigc__p_wxTaskBarIconEvent,
34014 _swigc__p_wxTextEntryDialog,
34015 _swigc__p_wxTipWindow,
34016 _swigc__p_wxToolBar,
34017 _swigc__p_wxTopLevelWindow,
34018 _swigc__p_wxUpdateUIEvent,
34019 _swigc__p_wxValidator,
34020 _swigc__p_wxVisualAttributes,
34021 _swigc__p_wxWindow,
34022 _swigc__p_wxWindowCreateEvent,
34023 _swigc__p_wxWindowDestroyEvent,
34024 _swigc__p_wxXPMHandler,
34025};
34026
34027
34028/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34029
34030static swig_const_info swig_const_table[] = {
34031{0, 0, 0, 0.0, 0, 0}};
34032
093d3ff1
RD
34033#ifdef __cplusplus
34034}
34035#endif
554f62e9
RD
34036/* -----------------------------------------------------------------------------
34037 * Type initialization:
34038 * This problem is tough by the requirement that no dynamic
34039 * memory is used. Also, since swig_type_info structures store pointers to
34040 * swig_cast_info structures and swig_cast_info structures store pointers back
34041 * to swig_type_info structures, we need some lookup code at initialization.
34042 * The idea is that swig generates all the structures that are needed.
34043 * The runtime then collects these partially filled structures.
34044 * The SWIG_InitializeModule function takes these initial arrays out of
34045 * swig_module, and does all the lookup, filling in the swig_module.types
34046 * array with the correct data and linking the correct swig_cast_info
34047 * structures together.
34048 *
34049 * The generated swig_type_info structures are assigned staticly to an initial
34050 * array. We just loop though that array, and handle each type individually.
34051 * First we lookup if this type has been already loaded, and if so, use the
34052 * loaded structure instead of the generated one. Then we have to fill in the
34053 * cast linked list. The cast data is initially stored in something like a
34054 * two-dimensional array. Each row corresponds to a type (there are the same
34055 * number of rows as there are in the swig_type_initial array). Each entry in
34056 * a column is one of the swig_cast_info structures for that type.
34057 * The cast_initial array is actually an array of arrays, because each row has
34058 * a variable number of columns. So to actually build the cast linked list,
34059 * we find the array of casts associated with the type, and loop through it
34060 * adding the casts to the list. The one last trick we need to do is making
34061 * sure the type pointer in the swig_cast_info struct is correct.
34062 *
34063 * First off, we lookup the cast->type name to see if it is already loaded.
34064 * There are three cases to handle:
34065 * 1) If the cast->type has already been loaded AND the type we are adding
34066 * casting info to has not been loaded (it is in this module), THEN we
34067 * replace the cast->type pointer with the type pointer that has already
34068 * been loaded.
34069 * 2) If BOTH types (the one we are adding casting info to, and the
34070 * cast->type) are loaded, THEN the cast info has already been loaded by
34071 * the previous module so we just ignore it.
34072 * 3) Finally, if cast->type has not already been loaded, then we add that
34073 * swig_cast_info to the linked list (because the cast->type) pointer will
34074 * be correct.
34075 * ----------------------------------------------------------------------------- */
093d3ff1 34076
093d3ff1 34077#ifdef __cplusplus
554f62e9
RD
34078extern "C" {
34079#if 0
34080} /* c-mode */
34081#endif
34082#endif
34083
34084#if 0
34085#define SWIGRUNTIME_DEBUG
34086#endif
34087
34088SWIGRUNTIME void
34089SWIG_InitializeModule(void *clientdata) {
34090 size_t i;
34091 swig_module_info *module_head;
34092 static int init_run = 0;
34093
34094 clientdata = clientdata;
34095
34096 if (init_run) return;
34097 init_run = 1;
34098
34099 /* Initialize the swig_module */
34100 swig_module.type_initial = swig_type_initial;
34101 swig_module.cast_initial = swig_cast_initial;
34102
34103 /* Try and load any already created modules */
34104 module_head = SWIG_GetModule(clientdata);
34105 if (module_head) {
34106 swig_module.next = module_head->next;
34107 module_head->next = &swig_module;
34108 } else {
34109 /* This is the first module loaded */
34110 swig_module.next = &swig_module;
34111 SWIG_SetModule(clientdata, &swig_module);
34112 }
34113
34114 /* Now work on filling in swig_module.types */
34115#ifdef SWIGRUNTIME_DEBUG
34116 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
34117#endif
34118 for (i = 0; i < swig_module.size; ++i) {
34119 swig_type_info *type = 0;
34120 swig_type_info *ret;
34121 swig_cast_info *cast;
d55e5bfc 34122
554f62e9
RD
34123#ifdef SWIGRUNTIME_DEBUG
34124 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
34125#endif
d55e5bfc 34126
554f62e9
RD
34127 /* if there is another module already loaded */
34128 if (swig_module.next != &swig_module) {
34129 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
093d3ff1 34130 }
554f62e9
RD
34131 if (type) {
34132 /* Overwrite clientdata field */
34133#ifdef SWIGRUNTIME_DEBUG
34134 printf("SWIG_InitializeModule: found type %s\n", type->name);
34135#endif
34136 if (swig_module.type_initial[i]->clientdata) {
34137 type->clientdata = swig_module.type_initial[i]->clientdata;
34138#ifdef SWIGRUNTIME_DEBUG
34139 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
34140#endif
34141 }
34142 } else {
34143 type = swig_module.type_initial[i];
093d3ff1 34144 }
554f62e9
RD
34145
34146 /* Insert casting types */
34147 cast = swig_module.cast_initial[i];
34148 while (cast->type) {
34149 /* Don't need to add information already in the list */
34150 ret = 0;
34151#ifdef SWIGRUNTIME_DEBUG
34152 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
34153#endif
34154 if (swig_module.next != &swig_module) {
34155 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
34156#ifdef SWIGRUNTIME_DEBUG
34157 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
34158#endif
34159 }
34160 if (ret) {
34161 if (type == swig_module.type_initial[i]) {
34162#ifdef SWIGRUNTIME_DEBUG
34163 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
34164#endif
34165 cast->type = ret;
34166 ret = 0;
34167 } else {
34168 /* Check for casting already in the list */
34169 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
34170#ifdef SWIGRUNTIME_DEBUG
34171 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
34172#endif
34173 if (!ocast) ret = 0;
34174 }
34175 }
34176
34177 if (!ret) {
34178#ifdef SWIGRUNTIME_DEBUG
34179 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
34180#endif
34181 if (type->cast) {
34182 type->cast->prev = cast;
34183 cast->next = type->cast;
34184 }
34185 type->cast = cast;
34186 }
34187 cast++;
093d3ff1 34188 }
554f62e9
RD
34189 /* Set entry in modules->types array equal to the type */
34190 swig_module.types[i] = type;
34191 }
34192 swig_module.types[i] = 0;
34193
34194#ifdef SWIGRUNTIME_DEBUG
34195 printf("**** SWIG_InitializeModule: Cast List ******\n");
34196 for (i = 0; i < swig_module.size; ++i) {
34197 int j = 0;
34198 swig_cast_info *cast = swig_module.cast_initial[i];
34199 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
34200 while (cast->type) {
34201 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
34202 cast++;
34203 ++j;
34204 }
34205 printf("---- Total casts: %d\n",j);
34206 }
34207 printf("**** SWIG_InitializeModule: Cast List ******\n");
34208#endif
34209}
34210
34211/* This function will propagate the clientdata field of type to
34212* any new swig_type_info structures that have been added into the list
34213* of equivalent types. It is like calling
34214* SWIG_TypeClientData(type, clientdata) a second time.
34215*/
34216SWIGRUNTIME void
34217SWIG_PropagateClientData(void) {
34218 size_t i;
34219 swig_cast_info *equiv;
34220 static int init_run = 0;
34221
34222 if (init_run) return;
34223 init_run = 1;
34224
34225 for (i = 0; i < swig_module.size; i++) {
34226 if (swig_module.types[i]->clientdata) {
34227 equiv = swig_module.types[i]->cast;
34228 while (equiv) {
34229 if (!equiv->converter) {
34230 if (equiv->type && !equiv->type->clientdata)
34231 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
34232 }
34233 equiv = equiv->next;
34234 }
093d3ff1 34235 }
554f62e9
RD
34236 }
34237}
34238
34239#ifdef __cplusplus
34240#if 0
34241{
34242 /* c-mode */
34243#endif
34244}
34245#endif
34246
34247
34248
34249#ifdef __cplusplus
34250extern "C" {
34251#endif
34252
34253 /* Python-specific SWIG API */
34254#define SWIG_newvarlink() SWIG_Python_newvarlink()
34255#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34256#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34257
34258 /* -----------------------------------------------------------------------------
34259 * global variable support code.
34260 * ----------------------------------------------------------------------------- */
34261
34262 typedef struct swig_globalvar {
34263 char *name; /* Name of global variable */
34264 PyObject *(*get_attr)(void); /* Return the current value */
34265 int (*set_attr)(PyObject *); /* Set the value */
34266 struct swig_globalvar *next;
34267 } swig_globalvar;
34268
34269 typedef struct swig_varlinkobject {
34270 PyObject_HEAD
34271 swig_globalvar *vars;
34272 } swig_varlinkobject;
34273
34274 SWIGINTERN PyObject *
34275 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
34276 return PyString_FromString("<Swig global variables>");
34277 }
34278
34279 SWIGINTERN PyObject *
34280 swig_varlink_str(swig_varlinkobject *v) {
34281 PyObject *str = PyString_FromString("(");
34282 swig_globalvar *var;
34283 for (var = v->vars; var; var=var->next) {
34284 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
34285 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
34286 }
34287 PyString_ConcatAndDel(&str,PyString_FromString(")"));
34288 return str;
34289 }
34290
34291 SWIGINTERN int
34292 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
34293 PyObject *str = swig_varlink_str(v);
34294 fprintf(fp,"Swig global variables ");
34295 fprintf(fp,"%s\n", PyString_AsString(str));
34296 Py_DECREF(str);
34297 return 0;
34298 }
34299
34300 SWIGINTERN void
34301 swig_varlink_dealloc(swig_varlinkobject *v) {
34302 swig_globalvar *var = v->vars;
34303 while (var) {
34304 swig_globalvar *n = var->next;
34305 free(var->name);
34306 free(var);
34307 var = n;
093d3ff1 34308 }
554f62e9
RD
34309 }
34310
34311 SWIGINTERN PyObject *
34312 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
34313 PyObject *res = NULL;
34314 swig_globalvar *var = v->vars;
34315 while (var) {
34316 if (strcmp(var->name,n) == 0) {
34317 res = (*var->get_attr)();
34318 break;
34319 }
34320 var = var->next;
093d3ff1 34321 }
554f62e9
RD
34322 if (res == NULL && !PyErr_Occurred()) {
34323 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
093d3ff1 34324 }
554f62e9
RD
34325 return res;
34326 }
34327
34328 SWIGINTERN int
34329 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
34330 int res = 1;
34331 swig_globalvar *var = v->vars;
34332 while (var) {
34333 if (strcmp(var->name,n) == 0) {
34334 res = (*var->set_attr)(p);
34335 break;
34336 }
34337 var = var->next;
093d3ff1 34338 }
554f62e9
RD
34339 if (res == 1 && !PyErr_Occurred()) {
34340 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
093d3ff1 34341 }
554f62e9
RD
34342 return res;
34343 }
34344
34345 SWIGINTERN PyTypeObject*
34346 swig_varlink_type(void) {
34347 static char varlink__doc__[] = "Swig var link object";
34348 static PyTypeObject varlink_type;
34349 static int type_init = 0;
34350 if (!type_init) {
34351 const PyTypeObject tmp
34352 = {
34353 PyObject_HEAD_INIT(NULL)
34354 0, /* Number of items in variable part (ob_size) */
34355 (char *)"swigvarlink", /* Type name (tp_name) */
34356 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
34357 0, /* Itemsize (tp_itemsize) */
34358 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
34359 (printfunc) swig_varlink_print, /* Print (tp_print) */
34360 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
34361 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
34362 0, /* tp_compare */
34363 (reprfunc) swig_varlink_repr, /* tp_repr */
34364 0, /* tp_as_number */
34365 0, /* tp_as_sequence */
34366 0, /* tp_as_mapping */
34367 0, /* tp_hash */
34368 0, /* tp_call */
34369 (reprfunc)swig_varlink_str, /* tp_str */
34370 0, /* tp_getattro */
34371 0, /* tp_setattro */
34372 0, /* tp_as_buffer */
34373 0, /* tp_flags */
34374 varlink__doc__, /* tp_doc */
34375 0, /* tp_traverse */
34376 0, /* tp_clear */
34377 0, /* tp_richcompare */
34378 0, /* tp_weaklistoffset */
34379#if PY_VERSION_HEX >= 0x02020000
34380 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34381#endif
34382#if PY_VERSION_HEX >= 0x02030000
34383 0, /* tp_del */
34384#endif
34385#ifdef COUNT_ALLOCS
34386 0,0,0,0 /* tp_alloc -> tp_next */
34387#endif
34388 };
34389 varlink_type = tmp;
34390 varlink_type.ob_type = &PyType_Type;
34391 type_init = 1;
093d3ff1 34392 }
554f62e9
RD
34393 return &varlink_type;
34394 }
34395
34396 /* Create a variable linking object for use later */
34397 SWIGINTERN PyObject *
34398 SWIG_Python_newvarlink(void) {
34399 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
34400 if (result) {
34401 result->vars = 0;
34402 }
34403 return ((PyObject*) result);
34404 }
34405
34406 SWIGINTERN void
34407 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
34408 swig_varlinkobject *v = (swig_varlinkobject *) p;
34409 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
34410 if (gv) {
34411 size_t size = strlen(name)+1;
34412 gv->name = (char *)malloc(size);
34413 if (gv->name) {
34414 strncpy(gv->name,name,size);
34415 gv->get_attr = get_attr;
34416 gv->set_attr = set_attr;
34417 gv->next = v->vars;
34418 }
093d3ff1 34419 }
554f62e9
RD
34420 v->vars = gv;
34421 }
34422
34423 SWIGINTERN PyObject *
34424 SWIG_globals() {
34425 static PyObject *_SWIG_globals = 0;
34426 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
34427 return _SWIG_globals;
34428 }
34429
34430 /* -----------------------------------------------------------------------------
34431 * constants/methods manipulation
34432 * ----------------------------------------------------------------------------- */
34433
34434 /* Install Constants */
34435 SWIGINTERN void
34436 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
34437 PyObject *obj = 0;
34438 size_t i;
34439 for (i = 0; constants[i].type; ++i) {
34440 switch(constants[i].type) {
34441 case SWIG_PY_POINTER:
34442 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
34443 break;
34444 case SWIG_PY_BINARY:
34445 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
34446 break;
34447 default:
34448 obj = 0;
34449 break;
34450 }
34451 if (obj) {
34452 PyDict_SetItemString(d, constants[i].name, obj);
34453 Py_DECREF(obj);
34454 }
093d3ff1 34455 }
554f62e9
RD
34456 }
34457
34458 /* -----------------------------------------------------------------------------*/
34459 /* Fix SwigMethods to carry the callback ptrs when needed */
34460 /* -----------------------------------------------------------------------------*/
34461
34462 SWIGINTERN void
34463 SWIG_Python_FixMethods(PyMethodDef *methods,
34464 swig_const_info *const_table,
34465 swig_type_info **types,
34466 swig_type_info **types_initial) {
34467 size_t i;
34468 for (i = 0; methods[i].ml_name; ++i) {
453fb36b 34469 const char *c = methods[i].ml_doc;
554f62e9
RD
34470 if (c && (c = strstr(c, "swig_ptr: "))) {
34471 int j;
34472 swig_const_info *ci = 0;
453fb36b 34473 const char *name = c + 10;
554f62e9
RD
34474 for (j = 0; const_table[j].type; ++j) {
34475 if (strncmp(const_table[j].name, name,
34476 strlen(const_table[j].name)) == 0) {
34477 ci = &(const_table[j]);
34478 break;
34479 }
34480 }
34481 if (ci) {
34482 size_t shift = (ci->ptype) - types;
34483 swig_type_info *ty = types_initial[shift];
34484 size_t ldoc = (c - methods[i].ml_doc);
34485 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
34486 char *ndoc = (char*)malloc(ldoc + lptr + 10);
34487 if (ndoc) {
34488 char *buff = ndoc;
34489 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
34490 if (ptr) {
34491 strncpy(buff, methods[i].ml_doc, ldoc);
34492 buff += ldoc;
34493 strncpy(buff, "swig_ptr: ", 10);
34494 buff += 10;
34495 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
34496 methods[i].ml_doc = ndoc;
34497 }
34498 }
34499 }
34500 }
093d3ff1 34501 }
554f62e9
RD
34502 }
34503
34504#ifdef __cplusplus
34505}
34506#endif
34507
34508/* -----------------------------------------------------------------------------*
34509 * Partial Init method
34510 * -----------------------------------------------------------------------------*/
34511
34512#ifdef __cplusplus
34513extern "C"
34514#endif
34515SWIGEXPORT void SWIG_init(void) {
34516 PyObject *m, *d;
34517
34518 /* Fix SwigMethods to carry the callback ptrs when needed */
34519 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
34520
34521 m = Py_InitModule((char *) SWIG_name, SwigMethods);
34522 d = PyModule_GetDict(m);
34523
34524 SWIG_InitializeModule(0);
34525 SWIG_InstallConstants(d,swig_const_table);
34526
34527
34528 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
34529 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
34530 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
34531 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
34532 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
34533 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
34534 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
34535 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
34536 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
34537 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
34538 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
34539 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
34540 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
34541 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
34542 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
34543 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
34544 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
34545 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
34546 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
34547 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
34548 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
34549 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
34550 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
34551 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
34552 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
34553 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
34554 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
34555 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
34556 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
fc46b7f3 34557 SWIG_Python_SetConstant(d, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP)));
554f62e9
RD
34558 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
34559 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
34560 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
34561 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
fc46b7f3
RD
34562 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
34563 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
554f62e9
RD
34564 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
34565 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
34566 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
34567 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
34568 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
34569 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
34570 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
34571 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
34572 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
34573 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
5eb8189c 34574 SWIG_Python_SetConstant(d, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE)));
554f62e9
RD
34575 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
34576 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
34577 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
34578 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
34579 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
34580 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
34581 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
34582 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
34583 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
34584 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
34585 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
34586 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
34587 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
34588 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
34589 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
34590 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
34591 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
34592 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
34593 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
34594 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
34595 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
34596 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
34597 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
34598 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
34599 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
34600 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
34601 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
34602 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
34603 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
34604 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
34605 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
34606 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
34607 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
34608 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
34609 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
34610 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
34611 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
34612 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
34613 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
34614 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
34615 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
34616 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
34617 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
34618 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
34619 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
34620 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
34621 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
34622 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
34623 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
34624 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
34625 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
34626 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
34627 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
34628 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
34629 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
34630 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
34631 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
34632 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
34633 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
34634
34635 // Map renamed classes back to their common name for OOR
34636 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34637 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34638 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34639
34640 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
34641 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
34642 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
34643 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
34644 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
34645 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
34646 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
34647 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
34648 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
34649 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
34650 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
34651 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
34652 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
704eda0c
RD
34653 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
34654 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
34655 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
34656 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
34657 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
34658 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
34659 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
34660 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
34661 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
b02396e8 34662 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
704eda0c
RD
34663 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
34664 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
34665 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
34666 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
34667 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
34668 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
1eeb270e 34669 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
704eda0c 34670 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
554f62e9
RD
34671 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
34672 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
34673 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
0d2c9713
RD
34674 SWIG_Python_SetConstant(d, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE)));
34675 SWIG_Python_SetConstant(d, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL)));
34676 SWIG_Python_SetConstant(d, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT)));
34677 SWIG_Python_SetConstant(d, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME)));
34678 SWIG_Python_SetConstant(d, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME)));
34679 SWIG_Python_SetConstant(d, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME)));
34680 SWIG_Python_SetConstant(d, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH)));
34681 SWIG_Python_SetConstant(d, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP)));
554f62e9
RD
34682 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
34683 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
34684 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
34685 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
34686 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
34687 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
34688 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
34689 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
34690 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
34691 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
34692 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
34693 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
34694 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34695 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34696 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34697 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34698 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34699 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34700 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34701 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34702 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34703 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
34704 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
34705 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
34706 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
34707 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
34708 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
34709 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
34710 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
34711 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
34712 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
34713 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
34714 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
34715 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
34716 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
34717 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
34718 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
34719 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
34720 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
34721 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
34722 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
34723 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
34724 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
34725 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
34726 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
34727 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
34728 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
34729 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
34730 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
34731 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
34732 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
34733 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
34734 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
34735 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
34736 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
34737 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
34738 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
34739 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
34740 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
34741 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
34742 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
34743 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
34744
34745 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
34746
d55e5bfc
RD
34747}
34748