]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_windows_wrap.cpp
Added wx.BitmapFromBuffer and wx.BitmapFromBufferRGBA factory functions.
[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]
2617#define SWIGTYPE_p_wxTIFFHandler swig_types[151]
2618#define SWIGTYPE_p_wxTaskBarIcon swig_types[152]
2619#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[153]
2620#define SWIGTYPE_p_wxTextEntryDialog swig_types[154]
2621#define SWIGTYPE_p_wxTipWindow swig_types[155]
2622#define SWIGTYPE_p_wxToolBar swig_types[156]
2623#define SWIGTYPE_p_wxTopLevelWindow swig_types[157]
2624#define SWIGTYPE_p_wxUpdateUIEvent swig_types[158]
2625#define SWIGTYPE_p_wxValidator swig_types[159]
2626#define SWIGTYPE_p_wxVisualAttributes swig_types[160]
2627#define SWIGTYPE_p_wxWindow swig_types[161]
2628#define SWIGTYPE_p_wxWindowCreateEvent swig_types[162]
2629#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[163]
2630#define SWIGTYPE_p_wxXPMHandler swig_types[164]
2631static swig_type_info *swig_types[166];
2632static swig_module_info swig_module = {swig_types, 165, 0, 0, 0, 0};
7449af73
RD
2633#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2634#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
093d3ff1
RD
2635
2636/* -------- TYPES TABLE (END) -------- */
2637
554f62e9
RD
2638#if (PY_VERSION_HEX <= 0x02000000)
2639# if !defined(SWIG_PYTHON_CLASSIC)
2640# error "This python version requires to use swig with the '-classic' option"
2641# endif
2642#endif
2643#if (PY_VERSION_HEX <= 0x02020000)
2644# error "This python version requires to use swig with the '-nomodern' option"
2645#endif
2646#if (PY_VERSION_HEX <= 0x02020000)
2647# error "This python version requires to use swig with the '-nomodernargs' option"
2648#endif
2649#ifndef METH_O
2650# error "This python version requires to use swig with the '-nofastunpack' option"
2651#endif
093d3ff1
RD
2652
2653/*-----------------------------------------------
2654 @(target):= _windows_.so
2655 ------------------------------------------------*/
2656#define SWIG_init init_windows_
2657
2658#define SWIG_name "_windows_"
2659
554f62e9 2660#define SWIGVERSION 0x010329
093d3ff1 2661
093d3ff1 2662
554f62e9
RD
2663#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2664#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
093d3ff1
RD
2665
2666
554f62e9 2667#include <stdexcept>
093d3ff1
RD
2668
2669
554f62e9
RD
2670namespace swig {
2671 class PyObject_ptr {
2672 protected:
2673 PyObject *_obj;
093d3ff1 2674
554f62e9
RD
2675 public:
2676 PyObject_ptr() :_obj(0)
2677 {
2678 }
093d3ff1 2679
554f62e9
RD
2680 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2681 {
2682 Py_XINCREF(_obj);
093d3ff1 2683 }
554f62e9
RD
2684
2685 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2686 {
2687 if (initial_ref) Py_XINCREF(_obj);
093d3ff1 2688 }
554f62e9
RD
2689
2690 PyObject_ptr & operator=(const PyObject_ptr& item)
2691 {
2692 Py_XINCREF(item._obj);
2693 Py_XDECREF(_obj);
2694 _obj = item._obj;
2695 return *this;
2696 }
2697
2698 ~PyObject_ptr()
2699 {
2700 Py_XDECREF(_obj);
2701 }
2702
2703 operator PyObject *() const
2704 {
2705 return _obj;
2706 }
2707
2708 PyObject *operator->() const
2709 {
2710 return _obj;
2711 }
2712 };
093d3ff1
RD
2713}
2714
2715
554f62e9
RD
2716namespace swig {
2717 struct PyObject_var : PyObject_ptr {
2718 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2719
2720 PyObject_var & operator = (PyObject* obj)
2721 {
2722 Py_XDECREF(_obj);
2723 _obj = obj;
2724 return *this;
093d3ff1 2725 }
554f62e9 2726 };
093d3ff1 2727}
093d3ff1
RD
2728
2729
554f62e9
RD
2730#include "wx/wxPython/wxPython.h"
2731#include "wx/wxPython/pyclasses.h"
2732
093d3ff1 2733
554f62e9
RD
2734 static const wxString wxPyEmptyString(wxEmptyString);
2735 static const wxString wxPyPanelNameStr(wxPanelNameStr);
093d3ff1 2736
093d3ff1 2737
554f62e9
RD
2738
2739#include <limits.h>
2740#ifndef LLONG_MIN
2741# define LLONG_MIN LONG_LONG_MIN
2742#endif
2743#ifndef LLONG_MAX
2744# define LLONG_MAX LONG_LONG_MAX
2745#endif
2746#ifndef ULLONG_MAX
2747# define ULLONG_MAX ULONG_LONG_MAX
2748#endif
2749
2750
2751SWIGINTERN int
2752SWIG_AsVal_long (PyObject* obj, long* val)
093d3ff1 2753{
554f62e9
RD
2754 if (PyNumber_Check(obj)) {
2755 if (val) *val = PyInt_AsLong(obj);
2756 return SWIG_OK;
2757 }
2758 return SWIG_TypeError;
093d3ff1
RD
2759}
2760
554f62e9
RD
2761
2762SWIGINTERN int
2763SWIG_AsVal_int (PyObject * obj, int *val)
093d3ff1 2764{
554f62e9
RD
2765 long v;
2766 int res = SWIG_AsVal_long (obj, &v);
2767 if (SWIG_IsOK(res)) {
2768 if ((v < INT_MIN || v > INT_MAX)) {
2769 return SWIG_OverflowError;
2770 } else {
2771 if (val) *val = static_cast< int >(v);
2772 }
2773 }
2774 return res;
093d3ff1
RD
2775}
2776
2777
2778SWIGINTERN int
554f62e9 2779SWIG_AsVal_bool (PyObject *obj, bool *val)
093d3ff1
RD
2780{
2781 if (obj == Py_True) {
2782 if (val) *val = true;
554f62e9
RD
2783 return SWIG_OK;
2784 } else if (obj == Py_False) {
093d3ff1 2785 if (val) *val = false;
554f62e9 2786 return SWIG_OK;
093d3ff1 2787 } else {
554f62e9
RD
2788 long v = 0;
2789 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2790 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2791 return res;
093d3ff1 2792 }
093d3ff1
RD
2793}
2794
2795
554f62e9 2796 #define SWIG_From_long PyInt_FromLong
093d3ff1
RD
2797
2798
554f62e9
RD
2799SWIGINTERNINLINE PyObject *
2800SWIG_From_int (int value)
2801{
2802 return SWIG_From_long (value);
2803}
093d3ff1
RD
2804
2805
2806SWIGINTERN int
554f62e9 2807SWIG_AsVal_double (PyObject *obj, double* val)
093d3ff1
RD
2808{
2809 if (PyNumber_Check(obj)) {
2810 if (val) *val = PyFloat_AsDouble(obj);
554f62e9 2811 return SWIG_OK;
093d3ff1 2812 }
554f62e9 2813 return SWIG_TypeError;
093d3ff1
RD
2814}
2815
2816
554f62e9 2817 #define SWIG_From_double PyFloat_FromDouble
093d3ff1
RD
2818
2819 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2820 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2821 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2822 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
554f62e9
RD
2823SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2824SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
093d3ff1 2825
10044bf1
RD
2826SWIGINTERN int
2827SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2828{
2829 long v = 0;
2830 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2831 return SWIG_TypeError;
2832 }
2833 else if (val)
2834 *val = (unsigned long)v;
2835 return SWIG_OK;
2836}
2837
2838
2839SWIGINTERN int
2840SWIG_AsVal_unsigned_SS_char (PyObject * obj, unsigned char *val)
2841{
2842 unsigned long v;
2843 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2844 if (SWIG_IsOK(res)) {
2845 if ((v > UCHAR_MAX)) {
2846 return SWIG_OverflowError;
2847 } else {
2848 if (val) *val = static_cast< unsigned char >(v);
2849 }
2850 }
2851 return res;
2852}
2853
2854
093d3ff1 2855
554f62e9 2856SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
093d3ff1
RD
2857 wxRect r;
2858 self->GetFieldRect(i, r);
2859 return r;
2860 }
2861 static const wxString wxPySplitterNameStr(wxT("splitter"));
2862 static const wxString wxPySashNameStr(wxT("sashWindow"));
2863 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2864
2865#include <wx/popupwin.h>
2866
2867
2868class wxPyPopupTransientWindow : public wxPopupTransientWindow
2869{
2870public:
2871 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2872 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2873 : wxPopupTransientWindow(parent, style) {}
2874
2875 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2876 DEC_PYCALLBACK__(OnDismiss);
2877 DEC_PYCALLBACK_BOOL_(CanDismiss);
2878 PYPRIVATE;
2879};
2880
2881
2882IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2883IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2884IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2885
2886
2887#include <wx/tipwin.h>
2888
554f62e9 2889SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
093d3ff1
RD
2890 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2891 }
2892
2893#include <wx/tipwin.h>
2894
2895
2896#include <wx/vscroll.h>
2897
2898
2899class wxPyVScrolledWindow : public wxVScrolledWindow
2900{
7449af73 2901 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
093d3ff1
RD
2902public:
2903 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2904
2905 wxPyVScrolledWindow(wxWindow *parent,
2906 wxWindowID id = wxID_ANY,
2907 const wxPoint& pos = wxDefaultPosition,
2908 const wxSize& size = wxDefaultSize,
2909 long style = 0,
2910 const wxString& name = wxPyPanelNameStr)
2911 : wxVScrolledWindow(parent, id, pos, size, style, name)
2912 {}
2913
2914 // Overridable virtuals
2915
2916 // this function must be overridden in the derived class and it should
2917 // return the height of the given line in pixels
2918 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2919
2920
2921 // this function doesn't have to be overridden but it may be useful to do
2922 // it if calculating the lines heights is a relatively expensive operation
2923 // as it gives the user code a possibility to calculate several of them at
2924 // once
2925 //
2926 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2927 // shouldn't rely on the latter being called for all lines in the interval
2928 // specified here. It is also possible that OnGetLineHeight() will be
2929 // called for the lines outside of this interval, so this is really just a
2930 // hint, not a promise.
2931 //
2932 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2933 // usual
2934 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2935
2936
2937 // when the number of lines changes, we try to estimate the total height
2938 // of all lines which is a rather expensive operation in terms of lines
2939 // access, so if the user code may estimate the average height
2940 // better/faster than we do, it should override this function to implement
2941 // its own logic
2942 //
2943 // this function should return the best guess for the total height it may
2944 // make
2945 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2946
2947
2948 // Also expose some other interesting protected methods
2949
2950
2951 // find the index of the line we need to show at the top of the window such
2952 // that the last (fully or partially) visible line is the given one
2953 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2954 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2955
2956 // get the total height of the lines between lineMin (inclusive) and
2957 // lineMax (exclusive)
2958 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2959 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
d55e5bfc 2960
f460c29d
RD
2961 // update the thumb size shown by the scrollbar
2962 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2963
2964 // remove the scrollbar completely because we don't need it
2965 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
d55e5bfc
RD
2966
2967 PYPRIVATE;
2968};
2969
2970IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2971
2972IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2973IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2974IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2975
2976
7449af73 2977SWIGINTERNINLINE int
554f62e9 2978SWIG_AsVal_size_t (PyObject * obj, size_t *val)
c32bde28 2979{
554f62e9
RD
2980 unsigned long v;
2981 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2982 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2983 return res;
d55e5bfc
RD
2984}
2985
2986
7449af73 2987SWIGINTERNINLINE PyObject*
554f62e9 2988SWIG_From_unsigned_SS_long (unsigned long value)
d55e5bfc
RD
2989{
2990 return (value > LONG_MAX) ?
554f62e9
RD
2991 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2992}
2993
2994
2995SWIGINTERNINLINE PyObject *
2996SWIG_From_size_t (size_t value)
2997{
2998 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
d55e5bfc
RD
2999}
3000
3001
3002#include <wx/vlbox.h>
3003
3004 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
3005
3006class wxPyVListBox : public wxVListBox
3007{
7449af73 3008 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
d55e5bfc
RD
3009public:
3010 wxPyVListBox() : wxVListBox() {}
3011
3012 wxPyVListBox(wxWindow *parent,
3013 wxWindowID id = wxID_ANY,
3014 const wxPoint& pos = wxDefaultPosition,
3015 const wxSize& size = wxDefaultSize,
3016 long style = 0,
3017 const wxString& name = wxPyVListBoxNameStr)
3018 : wxVListBox(parent, id, pos, size, style, name)
3019 {}
3020
3021 // Overridable virtuals
3022
3023 // the derived class must implement this function to actually draw the item
3024 // with the given index on the provided DC
3025 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3026 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3027
3028
3029 // the derived class must implement this method to return the height of the
3030 // specified item
3031 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3032 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3033
3034
3035 // this method may be used to draw separators between the lines; note that
3036 // the rectangle may be modified, typically to deflate it a bit before
3037 // passing to OnDrawItem()
3038 //
3039 // the base class version doesn't do anything
3040 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1c71765a 3041 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
d55e5bfc
RD
3042
3043
3044 // this method is used to draw the items background and, maybe, a border
3045 // around it
3046 //
3047 // the base class version implements a reasonable default behaviour which
3048 // consists in drawing the selected item with the standard background
3049 // colour and drawing a border around the item if it is either selected or
3050 // current
3051 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3052 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3053
3054
3055 PYPRIVATE;
3056};
3057
3058IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3059
3060IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3061IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
1c71765a 3062IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
d55e5bfc
RD
3063IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3064
3065
554f62e9 3066SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
09c21d3b
RD
3067 unsigned long cookie = 0;
3068 int selected = self->GetFirstSelected(cookie);
5a446332 3069 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
3070 PyObject* tup = PyTuple_New(2);
3071 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3072 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3073 wxPyEndBlockThreads(blocked);
3074 return tup;
3075 }
554f62e9 3076SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
09c21d3b 3077 int selected = self->GetNextSelected(cookie);
5a446332 3078 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
3079 PyObject* tup = PyTuple_New(2);
3080 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3081 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3082 wxPyEndBlockThreads(blocked);
3083 return tup;
3084 }
d55e5bfc
RD
3085
3086#include <wx/htmllbox.h>
3087
3088
3089class wxPyHtmlListBox : public wxHtmlListBox
3090{
7449af73 3091 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
d55e5bfc
RD
3092public:
3093 wxPyHtmlListBox() : wxHtmlListBox() {}
3094
3095 wxPyHtmlListBox(wxWindow *parent,
3096 wxWindowID id = wxID_ANY,
3097 const wxPoint& pos = wxDefaultPosition,
3098 const wxSize& size = wxDefaultSize,
3099 long style = 0,
3100 const wxString& name = wxPyVListBoxNameStr)
3101 : wxHtmlListBox(parent, id, pos, size, style, name)
3102 {}
3103
3104 // Overridable virtuals
3105
3106 // this method must be implemented in the derived class and should return
3107 // the body (i.e. without <html>) of the HTML for the given item
3108 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3109
3110 // this function may be overridden to decorate HTML returned by OnGetItem()
3111 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3112
1c71765a
RD
3113 // These are from wxVListBox
3114 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3115 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3116
d55e5bfc
RD
3117// TODO:
3118// // this method allows to customize the selection appearance: it may be used
3119// // to specify the colour of the text which normally has the given colour
3120// // colFg when it is inside the selection
3121// //
3122// // by default, the original colour is not used at all and all text has the
3123// // same (default for this system) colour inside selection
3124// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3125
3126// // this is the same as GetSelectedTextColour() but allows to customize the
3127// // background colour -- this is even more rarely used as you can change it
3128// // globally using SetSelectionBackground()
3129// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3130
e9d6f3a4
RD
3131
3132 // This method may be overriden to handle clicking on a link in
3133 // the listbox. By default, clicking links is ignored.
3134 virtual void OnLinkClicked(size_t n,
3135 const wxHtmlLinkInfo& link);
d55e5bfc
RD
3136
3137 PYPRIVATE;
3138};
3139
3140
3141IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3142
3143IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3144IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
1c71765a
RD
3145IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3146IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
d55e5bfc
RD
3147
3148
e9d6f3a4
RD
3149void wxPyHtmlListBox::OnLinkClicked(size_t n,
3150 const wxHtmlLinkInfo& link) {
3151 bool found;
3152 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3153 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3154 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3155 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3156 Py_DECREF(obj);
3157 }
3158 wxPyEndBlockThreads(blocked);
3159 if (! found)
3160 wxPyHtmlListBox::OnLinkClicked(n, link);
3161}
3162
3163
d55e5bfc
RD
3164
3165
3166
ae8162c8
RD
3167#ifndef wxHAS_TASK_BAR_ICON
3168// implement dummy classes for platforms that don't have it
d55e5bfc
RD
3169
3170class wxTaskBarIcon : public wxEvtHandler
3171{
3172public:
3173 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3174};
09c21d3b 3175
d55e5bfc
RD
3176
3177class wxTaskBarIconEvent : public wxEvent
3178{
3179public:
3180 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3181 { wxPyRaiseNotImplemented(); }
3182 virtual wxEvent* Clone() const { return NULL; }
ae8162c8
RD
3183 bool IsOk() const { return false; }
3184 bool IsIconInstalled() const { return false; }
3185 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3186 bool RemoveIcon() { return false; }
3187 bool PopupMenu(wxMenu *menu) { return false; }
d55e5bfc
RD
3188};
3189
3190enum {
3191 wxEVT_TASKBAR_MOVE = 0,
3192 wxEVT_TASKBAR_LEFT_DOWN = 0,
3193 wxEVT_TASKBAR_LEFT_UP = 0,
3194 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3195 wxEVT_TASKBAR_RIGHT_UP = 0,
3196 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3197 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3198};
09c21d3b
RD
3199
3200
3201#else
5e483524
RD
3202// Otherwise make a class that can virtualize CreatePopupMenu
3203class wxPyTaskBarIcon : public wxTaskBarIcon
3204{
7449af73 3205 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
5e483524
RD
3206public:
3207 wxPyTaskBarIcon() : wxTaskBarIcon()
3208 {}
3209
3210 wxMenu* CreatePopupMenu() {
3211 wxMenu *rval = NULL;
3212 bool found;
5a446332 3213 wxPyBlock_t blocked = wxPyBeginBlockThreads();
5e483524
RD
3214 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3215 PyObject* ro;
3216 wxMenu* ptr;
3217 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3218 if (ro) {
3219 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3220 rval = ptr;
3221 Py_DECREF(ro);
3222 }
3223 }
3224 wxPyEndBlockThreads(blocked);
3225 if (! found)
3226 rval = wxTaskBarIcon::CreatePopupMenu();
3227 return rval;
3228 }
3229
3230 PYPRIVATE;
3231};
3232
3233IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
09c21d3b 3234
d55e5bfc
RD
3235#endif
3236
554f62e9 3237SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
d55e5bfc 3238 self->RemoveIcon();
5e483524 3239 delete self;
d55e5bfc
RD
3240 }
3241 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3242 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3243 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3244 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3245 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3246 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
b02396e8
RD
3247
3248// for compatibility only
3249#define wxHIDE_READONLY 0
3250
554f62e9 3251SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
d55e5bfc
RD
3252 wxArrayString arr;
3253 self->GetFilenames(arr);
3254 return wxArrayString2PyList_helper(arr);
3255 }
554f62e9 3256SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
d55e5bfc
RD
3257 wxArrayString arr;
3258 self->GetPaths(arr);
3259 return wxArrayString2PyList_helper(arr);
3260 }
554f62e9 3261SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
d55e5bfc
RD
3262 return wxArrayInt2PyList_helper(self->GetSelections());
3263 }
554f62e9 3264SWIGINTERN 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
3265 return new wxSingleChoiceDialog(parent, message, caption,
3266 choices, choices_array, NULL, style, pos);
3267 }
c1cb24a4 3268 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
d55e5bfc 3269
f460c29d
RD
3270SWIGINTERNINLINE PyObject*
3271 SWIG_From_bool (bool value)
3272{
3273 return PyBool_FromLong(value ? 1 : 0);
3274}
3275
3276
d55e5bfc
RD
3277#include <wx/mdi.h>
3278
3279 // C++ version of Python aware wxWindow
3280class wxPyWindow : public wxWindow
3281{
3282 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3283public:
3284 wxPyWindow() : wxWindow() {}
3285 wxPyWindow(wxWindow* parent, const wxWindowID id,
3286 const wxPoint& pos = wxDefaultPosition,
3287 const wxSize& size = wxDefaultSize,
3288 long style = 0,
3289 const wxString& name = wxPyPanelNameStr)
3290 : wxWindow(parent, id, pos, size, style, name) {}
3291
caef1a4d 3292 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
d55e5bfc 3293
60d5fcc1
RD
3294 bool DoEraseBackground(wxDC* dc) {
3295#ifdef __WXMSW__
3296 return wxWindow::DoEraseBackground(dc->GetHDC());
3297#else
3298 dc->SetBackground(wxBrush(GetBackgroundColour()));
3299 dc->Clear();
3300 return true;
3301#endif
3302 }
3303
d55e5bfc
RD
3304 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3305 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3306 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3307 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3308
3309 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3310 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3311 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3312
3313 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3314 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3315
3316 DEC_PYCALLBACK__(InitDialog);
3317 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3318 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3319 DEC_PYCALLBACK_BOOL_(Validate);
3320
3321 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3322 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3323 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3324
3325 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3326 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3327
caef1a4d 3328 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
caef1a4d 3329 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3330
51b83b37
RD
3331 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3332
8d38bd1d
RD
3333 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3334
d55e5bfc
RD
3335 PYPRIVATE;
3336};
3337
3338IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3339
3340IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3341IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3342IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3343IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3344
3345IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3346IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3347IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3348
3349IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3350IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3351
3352IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3353IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3354IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3355IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3356
3357IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3358IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3359IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3360
3361IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3362IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3363
caef1a4d 3364IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
caef1a4d 3365IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
51b83b37
RD
3366
3367IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
d55e5bfc 3368
8d38bd1d
RD
3369IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3370
d55e5bfc
RD
3371 // C++ version of Python aware wxPanel
3372class wxPyPanel : public wxPanel
3373{
3374 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3375public:
3376 wxPyPanel() : wxPanel() {}
3377 wxPyPanel(wxWindow* parent, const wxWindowID id,
3378 const wxPoint& pos = wxDefaultPosition,
3379 const wxSize& size = wxDefaultSize,
3380 long style = 0,
3381 const wxString& name = wxPyPanelNameStr)
3382 : wxPanel(parent, id, pos, size, style, name) {}
3383
caef1a4d 3384 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
60d5fcc1
RD
3385 bool DoEraseBackground(wxDC* dc) {
3386#ifdef __WXMSW__
3387 return wxWindow::DoEraseBackground(dc->GetHDC());
3388#else
3389 dc->SetBackground(wxBrush(GetBackgroundColour()));
3390 dc->Clear();
3391 return true;
3392#endif
3393 }
caef1a4d 3394
d55e5bfc
RD
3395
3396 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3397 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3398 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3399 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3400
3401 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3402 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3403 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3404
3405 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3406 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3407
3408 DEC_PYCALLBACK__(InitDialog);
3409 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3410 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3411 DEC_PYCALLBACK_BOOL_(Validate);
3412
3413 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3414 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3415 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3416
3417 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3418 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3419
caef1a4d 3420 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
caef1a4d 3421 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3422
51b83b37
RD
3423 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3424
8d38bd1d
RD
3425 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3426
d55e5bfc
RD
3427 PYPRIVATE;
3428};
3429
3430IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3431
3432IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3433IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3434IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3435IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3436
3437IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3438IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3439IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3440
3441IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3442IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3443
3444IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3445IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3446IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3447IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3448
3449IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3450IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3451IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3452
3453IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3454IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3455
caef1a4d 3456IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
caef1a4d 3457IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
d55e5bfc 3458
51b83b37
RD
3459IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3460
8d38bd1d
RD
3461IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3462
d55e5bfc
RD
3463 // C++ version of Python aware wxScrolledWindow
3464class wxPyScrolledWindow : public wxScrolledWindow
3465{
3466 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3467public:
3468 wxPyScrolledWindow() : wxScrolledWindow() {}
3469 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3470 const wxPoint& pos = wxDefaultPosition,
3471 const wxSize& size = wxDefaultSize,
3472 long style = 0,
3473 const wxString& name = wxPyPanelNameStr)
3474 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3475
caef1a4d 3476 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
60d5fcc1
RD
3477 bool DoEraseBackground(wxDC* dc) {
3478#ifdef __WXMSW__
3479 return wxWindow::DoEraseBackground(dc->GetHDC());
3480#else
3481 dc->SetBackground(wxBrush(GetBackgroundColour()));
3482 dc->Clear();
3483 return true;
3484#endif
3485 }
d55e5bfc
RD
3486
3487 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3488 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3489 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3490 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3491
3492 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3493 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3494 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3495
3496 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3497 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3498
3499 DEC_PYCALLBACK__(InitDialog);
3500 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3501 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3502 DEC_PYCALLBACK_BOOL_(Validate);
3503
3504 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3505 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3506 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3507
3508 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3509 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3510
caef1a4d 3511 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
caef1a4d 3512 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3513
51b83b37
RD
3514 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3515
8d38bd1d
RD
3516 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3517
d55e5bfc
RD
3518 PYPRIVATE;
3519};
3520
3521IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3522
3523IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3524IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3525IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3526IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3527
3528IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3529IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3530IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3531
3532IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3533IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3534
3535IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3536IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3537IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3538IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3539
3540IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3541IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3542IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3543
3544IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3545IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3546
caef1a4d 3547IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
caef1a4d
RD
3548IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3549
51b83b37 3550IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
d55e5bfc 3551
8d38bd1d
RD
3552IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3553
d55e5bfc
RD
3554
3555#include "wx/wxPython/printfw.h"
3556
3557
3558 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3559 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
554f62e9 3560SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
b9d6a5f3 3561 PyObject* data;
5a446332 3562 wxPyBlock_t blocked = wxPyBeginBlockThreads();
b9d6a5f3
RD
3563 data = PyString_FromStringAndSize(self->GetPrivData(),
3564 self->GetPrivDataLen());
3565 wxPyEndBlockThreads(blocked);
3566 return data;
3567 }
554f62e9 3568SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
b9d6a5f3
RD
3569 if (! PyString_Check(data)) {
3570 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3571 "Expected string object"));
3572 return /* NULL */ ;
3573 }
3574
5a446332 3575 wxPyBlock_t blocked = wxPyBeginBlockThreads();
b9d6a5f3
RD
3576 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3577 wxPyEndBlockThreads(blocked);
3578 }
d55e5bfc
RD
3579
3580
c1cb24a4 3581IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
d55e5bfc
RD
3582
3583// Since this one would be tough and ugly to do with the Macros...
3584void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
ae8162c8 3585 bool hadErr = false;
d55e5bfc
RD
3586 bool found;
3587
5a446332 3588 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
3589 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3590 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3591 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3592 PyObject* val;
3593
3594 val = PyTuple_GetItem(result, 0);
3595 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
ae8162c8 3596 else hadErr = true;
d55e5bfc
RD
3597
3598 val = PyTuple_GetItem(result, 1);
3599 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
ae8162c8 3600 else hadErr = true;
d55e5bfc
RD
3601
3602 val = PyTuple_GetItem(result, 2);
3603 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
ae8162c8 3604 else hadErr = true;
d55e5bfc
RD
3605
3606 val = PyTuple_GetItem(result, 3);
3607 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
ae8162c8 3608 else hadErr = true;
d55e5bfc
RD
3609 }
3610 else
ae8162c8 3611 hadErr = true;
d55e5bfc
RD
3612
3613 if (hadErr) {
3614 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3615 PyErr_Print();
3616 }
3617 Py_DECREF(result);
3618 }
3619 wxPyEndBlockThreads(blocked);
3620 if (! found)
3621 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3622}
3623
d55e5bfc
RD
3624
3625
3626IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3627IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3628IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3629IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3630IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3631IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3632IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3633
3634
3635
3636
3637
ae8162c8 3638#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
b06b3e70 3639 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
d55e5bfc
RD
3640
3641
ae8162c8
RD
3642#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3643 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3644 bool rval=false; \
3645 bool found; \
7449af73 3646 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
ae8162c8
RD
3647 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3648 PyObject* win = wxPyMake_wxObject(a,false); \
3649 PyObject* dc = wxPyMake_wxObject(&b,false); \
3650 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3651 Py_DECREF(win); \
3652 Py_DECREF(dc); \
3653 } \
3654 wxPyEndBlockThreads(blocked); \
3655 if (! found) \
3656 rval = PCLASS::CBNAME(a, b); \
3657 return rval; \
b06b3e70 3658 }
d55e5bfc
RD
3659
3660
3661
3662
3663class wxPyPrintPreview : public wxPrintPreview
3664{
3665 DECLARE_CLASS(wxPyPrintPreview)
3666public:
3667 wxPyPrintPreview(wxPyPrintout* printout,
3668 wxPyPrintout* printoutForPrinting,
3669 wxPrintDialogData* data=NULL)
3670 : wxPrintPreview(printout, printoutForPrinting, data)
3671 {}
3672 wxPyPrintPreview(wxPyPrintout* printout,
3673 wxPyPrintout* printoutForPrinting,
7449af73 3674 wxPrintData* data)
d55e5bfc
RD
3675 : wxPrintPreview(printout, printoutForPrinting, data)
3676 {}
3677
3678 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3679 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3680 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3681 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3682 DEC_PYCALLBACK_VOID_INT(SetZoom);
3683 DEC_PYCALLBACK_BOOL_BOOL(Print);
3684 DEC_PYCALLBACK_VOID_(DetermineScaling);
3685
3686 PYPRIVATE;
3687};
3688
3689// Stupid renamed classes... Fix this in 2.5...
3690#if defined(__WXMSW__)
3691IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3692#elif defined(__WXMAC__)
3693IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3694#else
3695IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3696#endif
3697
3698IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3699IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3700IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3701IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3702IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3703IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3704IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3705
3706
3707class wxPyPreviewFrame : public wxPreviewFrame
3708{
7449af73 3709 DECLARE_CLASS(wxPyPreviewFrame)
d55e5bfc
RD
3710public:
3711 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3712 const wxString& title,
3713 const wxPoint& pos = wxDefaultPosition,
3714 const wxSize& size = wxDefaultSize,
3715 long style = wxDEFAULT_FRAME_STYLE,
3716 const wxString& name = wxPyFrameNameStr)
3717 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3718 {}
3719
3720 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3721 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3722
3723 DEC_PYCALLBACK_VOID_(Initialize);
3724 DEC_PYCALLBACK_VOID_(CreateCanvas);
3725 DEC_PYCALLBACK_VOID_(CreateControlBar);
3726
3727 PYPRIVATE;
3728};
3729
3730IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3731
3732IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3733IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3734IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3735
3736
3737class wxPyPreviewControlBar : public wxPreviewControlBar
3738{
7449af73 3739 DECLARE_CLASS(wxPyPreviewControlBar)
d55e5bfc
RD
3740public:
3741 wxPyPreviewControlBar(wxPrintPreview *preview,
3742 long buttons,
3743 wxWindow *parent,
3744 const wxPoint& pos = wxDefaultPosition,
3745 const wxSize& size = wxDefaultSize,
3746 long style = 0,
3747 const wxString& name = wxPyPanelNameStr)
3748 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3749 {}
3750
3751 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3752
3753 DEC_PYCALLBACK_VOID_(CreateButtons);
3754 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3755
3756 PYPRIVATE;
3757};
3758
3759IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3760IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3761IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3762
3763#ifdef __cplusplus
3764extern "C" {
3765#endif
554f62e9
RD
3766SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3767 PyObject *resultobj = 0;
3768 wxWindow *arg1 = (wxWindow *) 0 ;
3769 int arg2 = (int) (int)-1 ;
3770 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3771 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3772 wxSize const &arg4_defvalue = wxDefaultSize ;
3773 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3774 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3775 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3776 wxString *arg6 = (wxString *) &arg6_defvalue ;
3777 wxPanel *result = 0 ;
3778 void *argp1 = 0 ;
3779 int res1 = 0 ;
3780 int val2 ;
3781 int ecode2 = 0 ;
3782 wxPoint temp3 ;
3783 wxSize temp4 ;
3784 long val5 ;
3785 int ecode5 = 0 ;
3786 bool temp6 = false ;
3787 PyObject * obj0 = 0 ;
3788 PyObject * obj1 = 0 ;
3789 PyObject * obj2 = 0 ;
3790 PyObject * obj3 = 0 ;
3791 PyObject * obj4 = 0 ;
3792 PyObject * obj5 = 0 ;
3793 char * kwnames[] = {
3794 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3795 };
3796
3797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3799 if (!SWIG_IsOK(res1)) {
3800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3801 }
3802 arg1 = reinterpret_cast< wxWindow * >(argp1);
3803 if (obj1) {
3804 ecode2 = SWIG_AsVal_int(obj1, &val2);
3805 if (!SWIG_IsOK(ecode2)) {
3806 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3807 }
3808 arg2 = static_cast< int >(val2);
3809 }
3810 if (obj2) {
d55e5bfc 3811 {
554f62e9
RD
3812 arg3 = &temp3;
3813 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 3814 }
554f62e9
RD
3815 }
3816 if (obj3) {
d55e5bfc 3817 {
554f62e9
RD
3818 arg4 = &temp4;
3819 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3820 }
554f62e9
RD
3821 }
3822 if (obj4) {
3823 ecode5 = SWIG_AsVal_long(obj4, &val5);
3824 if (!SWIG_IsOK(ecode5)) {
3825 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3826 }
3827 arg5 = static_cast< long >(val5);
3828 }
3829 if (obj5) {
d55e5bfc 3830 {
554f62e9
RD
3831 arg6 = wxString_in_helper(obj5);
3832 if (arg6 == NULL) SWIG_fail;
3833 temp6 = true;
3834 }
3835 }
3836 {
3837 if (!wxPyCheckForApp()) SWIG_fail;
3838 PyThreadState* __tstate = wxPyBeginAllowThreads();
3839 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3840 wxPyEndAllowThreads(__tstate);
3841 if (PyErr_Occurred()) SWIG_fail;
3842 }
3843 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3844 {
3845 if (temp6)
3846 delete arg6;
3847 }
3848 return resultobj;
3849fail:
3850 {
3851 if (temp6)
3852 delete arg6;
3853 }
3854 return NULL;
d55e5bfc
RD
3855}
3856
3857
554f62e9
RD
3858SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3859 PyObject *resultobj = 0;
3860 wxPanel *result = 0 ;
3861
3862 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3863 {
3864 if (!wxPyCheckForApp()) SWIG_fail;
3865 PyThreadState* __tstate = wxPyBeginAllowThreads();
3866 result = (wxPanel *)new wxPanel();
3867 wxPyEndAllowThreads(__tstate);
3868 if (PyErr_Occurred()) SWIG_fail;
3869 }
3870 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3871 return resultobj;
3872fail:
3873 return NULL;
3874}
3875
3876
3877SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3878 PyObject *resultobj = 0;
3879 wxPanel *arg1 = (wxPanel *) 0 ;
3880 wxWindow *arg2 = (wxWindow *) 0 ;
3881 int arg3 = (int) (int)-1 ;
3882 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3883 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3884 wxSize const &arg5_defvalue = wxDefaultSize ;
3885 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3886 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3887 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3888 wxString *arg7 = (wxString *) &arg7_defvalue ;
3889 bool result;
3890 void *argp1 = 0 ;
3891 int res1 = 0 ;
3892 void *argp2 = 0 ;
3893 int res2 = 0 ;
3894 int val3 ;
3895 int ecode3 = 0 ;
3896 wxPoint temp4 ;
3897 wxSize temp5 ;
3898 long val6 ;
3899 int ecode6 = 0 ;
3900 bool temp7 = false ;
3901 PyObject * obj0 = 0 ;
3902 PyObject * obj1 = 0 ;
3903 PyObject * obj2 = 0 ;
3904 PyObject * obj3 = 0 ;
3905 PyObject * obj4 = 0 ;
3906 PyObject * obj5 = 0 ;
3907 PyObject * obj6 = 0 ;
3908 char * kwnames[] = {
3909 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3910 };
3911
3912 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3913 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3914 if (!SWIG_IsOK(res1)) {
3915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3916 }
3917 arg1 = reinterpret_cast< wxPanel * >(argp1);
3918 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3919 if (!SWIG_IsOK(res2)) {
3920 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3921 }
3922 arg2 = reinterpret_cast< wxWindow * >(argp2);
3923 if (obj2) {
3924 ecode3 = SWIG_AsVal_int(obj2, &val3);
3925 if (!SWIG_IsOK(ecode3)) {
3926 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3927 }
3928 arg3 = static_cast< int >(val3);
3929 }
3930 if (obj3) {
d55e5bfc 3931 {
554f62e9
RD
3932 arg4 = &temp4;
3933 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3934 }
554f62e9
RD
3935 }
3936 if (obj4) {
d55e5bfc 3937 {
554f62e9
RD
3938 arg5 = &temp5;
3939 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3940 }
554f62e9
RD
3941 }
3942 if (obj5) {
3943 ecode6 = SWIG_AsVal_long(obj5, &val6);
3944 if (!SWIG_IsOK(ecode6)) {
3945 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3946 }
3947 arg6 = static_cast< long >(val6);
3948 }
3949 if (obj6) {
d55e5bfc 3950 {
554f62e9
RD
3951 arg7 = wxString_in_helper(obj6);
3952 if (arg7 == NULL) SWIG_fail;
3953 temp7 = true;
d55e5bfc 3954 }
554f62e9
RD
3955 }
3956 {
3957 PyThreadState* __tstate = wxPyBeginAllowThreads();
3958 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3959 wxPyEndAllowThreads(__tstate);
3960 if (PyErr_Occurred()) SWIG_fail;
3961 }
3962 {
3963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3964 }
3965 {
3966 if (temp7)
3967 delete arg7;
3968 }
3969 return resultobj;
3970fail:
3971 {
3972 if (temp7)
3973 delete arg7;
3974 }
3975 return NULL;
b519803b
RD
3976}
3977
3978
554f62e9
RD
3979SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3980 PyObject *resultobj = 0;
3981 wxPanel *arg1 = (wxPanel *) 0 ;
3982 void *argp1 = 0 ;
3983 int res1 = 0 ;
3984 PyObject *swig_obj[1] ;
3985
3986 if (!args) SWIG_fail;
3987 swig_obj[0] = args;
3988 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3989 if (!SWIG_IsOK(res1)) {
3990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3991 }
3992 arg1 = reinterpret_cast< wxPanel * >(argp1);
3993 {
3994 PyThreadState* __tstate = wxPyBeginAllowThreads();
3995 (arg1)->SetFocusIgnoringChildren();
3996 wxPyEndAllowThreads(__tstate);
3997 if (PyErr_Occurred()) SWIG_fail;
3998 }
3999 resultobj = SWIG_Py_Void();
4000 return resultobj;
4001fail:
4002 return NULL;
4003}
4004
4005
4006SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4007 PyObject *resultobj = 0;
4008 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4009 SwigValueWrapper<wxVisualAttributes > result;
4010 int val1 ;
4011 int ecode1 = 0 ;
4012 PyObject * obj0 = 0 ;
4013 char * kwnames[] = {
4014 (char *) "variant", NULL
4015 };
4016
4017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4018 if (obj0) {
4019 ecode1 = SWIG_AsVal_int(obj0, &val1);
4020 if (!SWIG_IsOK(ecode1)) {
4021 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4022 }
4023 arg1 = static_cast< wxWindowVariant >(val1);
4024 }
4025 {
4026 if (!wxPyCheckForApp()) SWIG_fail;
4027 PyThreadState* __tstate = wxPyBeginAllowThreads();
4028 result = wxPanel::GetClassDefaultAttributes(arg1);
4029 wxPyEndAllowThreads(__tstate);
4030 if (PyErr_Occurred()) SWIG_fail;
4031 }
4032 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4033 return resultobj;
4034fail:
4035 return NULL;
4036}
4037
4038
4039SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4040 PyObject *obj;
4041 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4042 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4043 return SWIG_Py_Void();
4044}
4045
4046SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4047 return SWIG_Python_InitShadowInstance(args);
4048}
4049
4050SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4051 PyObject *resultobj = 0;
4052 wxWindow *arg1 = (wxWindow *) 0 ;
4053 int arg2 = (int) (int)-1 ;
4054 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4055 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4056 wxSize const &arg4_defvalue = wxDefaultSize ;
4057 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4058 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4059 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4060 wxString *arg6 = (wxString *) &arg6_defvalue ;
4061 wxScrolledWindow *result = 0 ;
4062 void *argp1 = 0 ;
4063 int res1 = 0 ;
4064 int val2 ;
4065 int ecode2 = 0 ;
4066 wxPoint temp3 ;
4067 wxSize temp4 ;
4068 long val5 ;
4069 int ecode5 = 0 ;
4070 bool temp6 = false ;
4071 PyObject * obj0 = 0 ;
4072 PyObject * obj1 = 0 ;
4073 PyObject * obj2 = 0 ;
4074 PyObject * obj3 = 0 ;
4075 PyObject * obj4 = 0 ;
4076 PyObject * obj5 = 0 ;
4077 char * kwnames[] = {
4078 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4079 };
4080
4081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4083 if (!SWIG_IsOK(res1)) {
4084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4085 }
4086 arg1 = reinterpret_cast< wxWindow * >(argp1);
4087 if (obj1) {
4088 ecode2 = SWIG_AsVal_int(obj1, &val2);
4089 if (!SWIG_IsOK(ecode2)) {
4090 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4091 }
4092 arg2 = static_cast< int >(val2);
4093 }
4094 if (obj2) {
b519803b 4095 {
554f62e9
RD
4096 arg3 = &temp3;
4097 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
f20a2e1f 4098 }
554f62e9
RD
4099 }
4100 if (obj3) {
f20a2e1f 4101 {
554f62e9
RD
4102 arg4 = &temp4;
4103 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
f20a2e1f 4104 }
554f62e9
RD
4105 }
4106 if (obj4) {
4107 ecode5 = SWIG_AsVal_long(obj4, &val5);
4108 if (!SWIG_IsOK(ecode5)) {
4109 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4110 }
4111 arg5 = static_cast< long >(val5);
4112 }
4113 if (obj5) {
f20a2e1f 4114 {
554f62e9
RD
4115 arg6 = wxString_in_helper(obj5);
4116 if (arg6 == NULL) SWIG_fail;
4117 temp6 = true;
f20a2e1f 4118 }
554f62e9
RD
4119 }
4120 {
4121 if (!wxPyCheckForApp()) SWIG_fail;
4122 PyThreadState* __tstate = wxPyBeginAllowThreads();
4123 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4124 wxPyEndAllowThreads(__tstate);
4125 if (PyErr_Occurred()) SWIG_fail;
4126 }
4127 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4128 {
4129 if (temp6)
4130 delete arg6;
4131 }
4132 return resultobj;
4133fail:
4134 {
4135 if (temp6)
4136 delete arg6;
4137 }
4138 return NULL;
f20a2e1f
RD
4139}
4140
4141
554f62e9
RD
4142SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4143 PyObject *resultobj = 0;
4144 wxScrolledWindow *result = 0 ;
4145
4146 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4147 {
4148 if (!wxPyCheckForApp()) SWIG_fail;
4149 PyThreadState* __tstate = wxPyBeginAllowThreads();
4150 result = (wxScrolledWindow *)new wxScrolledWindow();
4151 wxPyEndAllowThreads(__tstate);
4152 if (PyErr_Occurred()) SWIG_fail;
4153 }
4154 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4155 return resultobj;
4156fail:
4157 return NULL;
4158}
4159
4160
4161SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4162 PyObject *resultobj = 0;
4163 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4164 wxWindow *arg2 = (wxWindow *) 0 ;
4165 int arg3 = (int) (int)-1 ;
4166 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4167 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4168 wxSize const &arg5_defvalue = wxDefaultSize ;
4169 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4170 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4171 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4172 wxString *arg7 = (wxString *) &arg7_defvalue ;
4173 bool result;
4174 void *argp1 = 0 ;
4175 int res1 = 0 ;
4176 void *argp2 = 0 ;
4177 int res2 = 0 ;
4178 int val3 ;
4179 int ecode3 = 0 ;
4180 wxPoint temp4 ;
4181 wxSize temp5 ;
4182 long val6 ;
4183 int ecode6 = 0 ;
4184 bool temp7 = false ;
4185 PyObject * obj0 = 0 ;
4186 PyObject * obj1 = 0 ;
4187 PyObject * obj2 = 0 ;
4188 PyObject * obj3 = 0 ;
4189 PyObject * obj4 = 0 ;
4190 PyObject * obj5 = 0 ;
4191 PyObject * obj6 = 0 ;
4192 char * kwnames[] = {
4193 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4194 };
4195
4196 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4197 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4198 if (!SWIG_IsOK(res1)) {
4199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4200 }
4201 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4202 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4203 if (!SWIG_IsOK(res2)) {
4204 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4205 }
4206 arg2 = reinterpret_cast< wxWindow * >(argp2);
4207 if (obj2) {
4208 ecode3 = SWIG_AsVal_int(obj2, &val3);
4209 if (!SWIG_IsOK(ecode3)) {
4210 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4211 }
4212 arg3 = static_cast< int >(val3);
4213 }
4214 if (obj3) {
d55e5bfc 4215 {
554f62e9
RD
4216 arg4 = &temp4;
4217 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4218 }
4219 }
4220 if (obj4) {
d55e5bfc 4221 {
554f62e9
RD
4222 arg5 = &temp5;
4223 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 4224 }
554f62e9
RD
4225 }
4226 if (obj5) {
4227 ecode6 = SWIG_AsVal_long(obj5, &val6);
4228 if (!SWIG_IsOK(ecode6)) {
4229 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4230 }
4231 arg6 = static_cast< long >(val6);
4232 }
4233 if (obj6) {
d55e5bfc 4234 {
554f62e9
RD
4235 arg7 = wxString_in_helper(obj6);
4236 if (arg7 == NULL) SWIG_fail;
4237 temp7 = true;
d55e5bfc 4238 }
554f62e9
RD
4239 }
4240 {
4241 PyThreadState* __tstate = wxPyBeginAllowThreads();
4242 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4243 wxPyEndAllowThreads(__tstate);
4244 if (PyErr_Occurred()) SWIG_fail;
4245 }
4246 {
4247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4248 }
4249 {
4250 if (temp7)
4251 delete arg7;
4252 }
4253 return resultobj;
4254fail:
4255 {
4256 if (temp7)
4257 delete arg7;
4258 }
4259 return NULL;
4260}
4261
4262
4263SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4264 PyObject *resultobj = 0;
4265 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4266 int arg2 ;
4267 int arg3 ;
4268 int arg4 ;
4269 int arg5 ;
4270 int arg6 = (int) 0 ;
4271 int arg7 = (int) 0 ;
4272 bool arg8 = (bool) false ;
4273 void *argp1 = 0 ;
4274 int res1 = 0 ;
4275 int val2 ;
4276 int ecode2 = 0 ;
4277 int val3 ;
4278 int ecode3 = 0 ;
4279 int val4 ;
4280 int ecode4 = 0 ;
4281 int val5 ;
4282 int ecode5 = 0 ;
4283 int val6 ;
4284 int ecode6 = 0 ;
4285 int val7 ;
4286 int ecode7 = 0 ;
4287 bool val8 ;
4288 int ecode8 = 0 ;
4289 PyObject * obj0 = 0 ;
4290 PyObject * obj1 = 0 ;
4291 PyObject * obj2 = 0 ;
4292 PyObject * obj3 = 0 ;
4293 PyObject * obj4 = 0 ;
4294 PyObject * obj5 = 0 ;
4295 PyObject * obj6 = 0 ;
4296 PyObject * obj7 = 0 ;
4297 char * kwnames[] = {
4298 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4299 };
4300
4301 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4302 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4303 if (!SWIG_IsOK(res1)) {
4304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4305 }
4306 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4307 ecode2 = SWIG_AsVal_int(obj1, &val2);
4308 if (!SWIG_IsOK(ecode2)) {
4309 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4310 }
4311 arg2 = static_cast< int >(val2);
4312 ecode3 = SWIG_AsVal_int(obj2, &val3);
4313 if (!SWIG_IsOK(ecode3)) {
4314 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4315 }
4316 arg3 = static_cast< int >(val3);
4317 ecode4 = SWIG_AsVal_int(obj3, &val4);
4318 if (!SWIG_IsOK(ecode4)) {
4319 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4320 }
4321 arg4 = static_cast< int >(val4);
4322 ecode5 = SWIG_AsVal_int(obj4, &val5);
4323 if (!SWIG_IsOK(ecode5)) {
4324 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4325 }
4326 arg5 = static_cast< int >(val5);
4327 if (obj5) {
4328 ecode6 = SWIG_AsVal_int(obj5, &val6);
4329 if (!SWIG_IsOK(ecode6)) {
4330 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4331 }
4332 arg6 = static_cast< int >(val6);
4333 }
4334 if (obj6) {
4335 ecode7 = SWIG_AsVal_int(obj6, &val7);
4336 if (!SWIG_IsOK(ecode7)) {
4337 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4338 }
4339 arg7 = static_cast< int >(val7);
4340 }
4341 if (obj7) {
4342 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4343 if (!SWIG_IsOK(ecode8)) {
4344 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4345 }
4346 arg8 = static_cast< bool >(val8);
4347 }
4348 {
4349 PyThreadState* __tstate = wxPyBeginAllowThreads();
4350 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4351 wxPyEndAllowThreads(__tstate);
4352 if (PyErr_Occurred()) SWIG_fail;
4353 }
4354 resultobj = SWIG_Py_Void();
4355 return resultobj;
4356fail:
4357 return NULL;
4358}
4359
4360
4361SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4362 PyObject *resultobj = 0;
4363 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4364 int arg2 ;
4365 int arg3 ;
4366 void *argp1 = 0 ;
4367 int res1 = 0 ;
4368 int val2 ;
4369 int ecode2 = 0 ;
4370 int val3 ;
4371 int ecode3 = 0 ;
4372 PyObject * obj0 = 0 ;
4373 PyObject * obj1 = 0 ;
4374 PyObject * obj2 = 0 ;
4375 char * kwnames[] = {
4376 (char *) "self",(char *) "x",(char *) "y", NULL
4377 };
4378
4379 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4380 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4381 if (!SWIG_IsOK(res1)) {
4382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4383 }
4384 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4385 ecode2 = SWIG_AsVal_int(obj1, &val2);
4386 if (!SWIG_IsOK(ecode2)) {
4387 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4388 }
4389 arg2 = static_cast< int >(val2);
4390 ecode3 = SWIG_AsVal_int(obj2, &val3);
4391 if (!SWIG_IsOK(ecode3)) {
4392 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4393 }
4394 arg3 = static_cast< int >(val3);
4395 {
4396 PyThreadState* __tstate = wxPyBeginAllowThreads();
4397 (arg1)->Scroll(arg2,arg3);
4398 wxPyEndAllowThreads(__tstate);
4399 if (PyErr_Occurred()) SWIG_fail;
4400 }
4401 resultobj = SWIG_Py_Void();
4402 return resultobj;
4403fail:
4404 return NULL;
4405}
4406
4407
4408SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4409 PyObject *resultobj = 0;
4410 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4411 int arg2 ;
4412 int result;
4413 void *argp1 = 0 ;
4414 int res1 = 0 ;
4415 int val2 ;
4416 int ecode2 = 0 ;
4417 PyObject * obj0 = 0 ;
4418 PyObject * obj1 = 0 ;
4419 char * kwnames[] = {
4420 (char *) "self",(char *) "orient", NULL
4421 };
4422
4423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4425 if (!SWIG_IsOK(res1)) {
4426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4427 }
4428 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4429 ecode2 = SWIG_AsVal_int(obj1, &val2);
4430 if (!SWIG_IsOK(ecode2)) {
4431 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4432 }
4433 arg2 = static_cast< int >(val2);
4434 {
4435 PyThreadState* __tstate = wxPyBeginAllowThreads();
4436 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4437 wxPyEndAllowThreads(__tstate);
4438 if (PyErr_Occurred()) SWIG_fail;
4439 }
4440 resultobj = SWIG_From_int(static_cast< int >(result));
4441 return resultobj;
4442fail:
4443 return NULL;
4444}
4445
4446
4447SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4448 PyObject *resultobj = 0;
4449 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4450 int arg2 ;
4451 int arg3 ;
4452 void *argp1 = 0 ;
4453 int res1 = 0 ;
4454 int val2 ;
4455 int ecode2 = 0 ;
4456 int val3 ;
4457 int ecode3 = 0 ;
4458 PyObject * obj0 = 0 ;
4459 PyObject * obj1 = 0 ;
4460 PyObject * obj2 = 0 ;
4461 char * kwnames[] = {
4462 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4463 };
4464
4465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4467 if (!SWIG_IsOK(res1)) {
4468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4469 }
4470 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4471 ecode2 = SWIG_AsVal_int(obj1, &val2);
4472 if (!SWIG_IsOK(ecode2)) {
4473 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4474 }
4475 arg2 = static_cast< int >(val2);
4476 ecode3 = SWIG_AsVal_int(obj2, &val3);
4477 if (!SWIG_IsOK(ecode3)) {
4478 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4479 }
4480 arg3 = static_cast< int >(val3);
4481 {
4482 PyThreadState* __tstate = wxPyBeginAllowThreads();
4483 (arg1)->SetScrollPageSize(arg2,arg3);
4484 wxPyEndAllowThreads(__tstate);
4485 if (PyErr_Occurred()) SWIG_fail;
4486 }
4487 resultobj = SWIG_Py_Void();
4488 return resultobj;
4489fail:
4490 return NULL;
4491}
4492
4493
4494SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4495 PyObject *resultobj = 0;
4496 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4497 int arg2 ;
4498 int arg3 ;
4499 void *argp1 = 0 ;
4500 int res1 = 0 ;
4501 int val2 ;
4502 int ecode2 = 0 ;
4503 int val3 ;
4504 int ecode3 = 0 ;
4505 PyObject * obj0 = 0 ;
4506 PyObject * obj1 = 0 ;
4507 PyObject * obj2 = 0 ;
4508 char * kwnames[] = {
4509 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4510 };
4511
4512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4514 if (!SWIG_IsOK(res1)) {
4515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4516 }
4517 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4518 ecode2 = SWIG_AsVal_int(obj1, &val2);
4519 if (!SWIG_IsOK(ecode2)) {
4520 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4521 }
4522 arg2 = static_cast< int >(val2);
4523 ecode3 = SWIG_AsVal_int(obj2, &val3);
4524 if (!SWIG_IsOK(ecode3)) {
4525 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4526 }
4527 arg3 = static_cast< int >(val3);
4528 {
4529 PyThreadState* __tstate = wxPyBeginAllowThreads();
4530 (arg1)->SetScrollRate(arg2,arg3);
4531 wxPyEndAllowThreads(__tstate);
4532 if (PyErr_Occurred()) SWIG_fail;
4533 }
4534 resultobj = SWIG_Py_Void();
4535 return resultobj;
4536fail:
4537 return NULL;
4538}
4539
4540
4541SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4542 PyObject *resultobj = 0;
4543 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4544 int *arg2 = (int *) 0 ;
4545 int *arg3 = (int *) 0 ;
4546 void *argp1 = 0 ;
4547 int res1 = 0 ;
4548 int temp2 ;
4549 int res2 = SWIG_TMPOBJ ;
4550 int temp3 ;
4551 int res3 = SWIG_TMPOBJ ;
4552 PyObject *swig_obj[1] ;
4553
4554 arg2 = &temp2;
4555 arg3 = &temp3;
4556 if (!args) SWIG_fail;
4557 swig_obj[0] = args;
4558 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4559 if (!SWIG_IsOK(res1)) {
4560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4561 }
4562 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4563 {
4564 PyThreadState* __tstate = wxPyBeginAllowThreads();
4565 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4566 wxPyEndAllowThreads(__tstate);
4567 if (PyErr_Occurred()) SWIG_fail;
4568 }
4569 resultobj = SWIG_Py_Void();
4570 if (SWIG_IsTmpObj(res2)) {
4571 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4572 } else {
4573 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4574 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4575 }
4576 if (SWIG_IsTmpObj(res3)) {
4577 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4578 } else {
4579 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4580 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4581 }
4582 return resultobj;
4583fail:
4584 return NULL;
4585}
4586
4587
4588SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4589 PyObject *resultobj = 0;
4590 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4591 bool arg2 ;
4592 bool arg3 ;
4593 void *argp1 = 0 ;
4594 int res1 = 0 ;
4595 bool val2 ;
4596 int ecode2 = 0 ;
4597 bool val3 ;
4598 int ecode3 = 0 ;
4599 PyObject * obj0 = 0 ;
4600 PyObject * obj1 = 0 ;
4601 PyObject * obj2 = 0 ;
4602 char * kwnames[] = {
4603 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4604 };
4605
4606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4608 if (!SWIG_IsOK(res1)) {
4609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4610 }
4611 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4612 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4613 if (!SWIG_IsOK(ecode2)) {
4614 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4615 }
4616 arg2 = static_cast< bool >(val2);
4617 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4618 if (!SWIG_IsOK(ecode3)) {
4619 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4620 }
4621 arg3 = static_cast< bool >(val3);
4622 {
4623 PyThreadState* __tstate = wxPyBeginAllowThreads();
4624 (arg1)->EnableScrolling(arg2,arg3);
4625 wxPyEndAllowThreads(__tstate);
4626 if (PyErr_Occurred()) SWIG_fail;
4627 }
4628 resultobj = SWIG_Py_Void();
4629 return resultobj;
4630fail:
4631 return NULL;
4632}
4633
4634
4635SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4636 PyObject *resultobj = 0;
4637 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4638 int *arg2 = (int *) 0 ;
4639 int *arg3 = (int *) 0 ;
4640 void *argp1 = 0 ;
4641 int res1 = 0 ;
4642 int temp2 ;
4643 int res2 = SWIG_TMPOBJ ;
4644 int temp3 ;
4645 int res3 = SWIG_TMPOBJ ;
4646 PyObject *swig_obj[1] ;
4647
4648 arg2 = &temp2;
4649 arg3 = &temp3;
4650 if (!args) SWIG_fail;
4651 swig_obj[0] = args;
4652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4653 if (!SWIG_IsOK(res1)) {
4654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4655 }
4656 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4657 {
4658 PyThreadState* __tstate = wxPyBeginAllowThreads();
4659 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4660 wxPyEndAllowThreads(__tstate);
4661 if (PyErr_Occurred()) SWIG_fail;
4662 }
4663 resultobj = SWIG_Py_Void();
4664 if (SWIG_IsTmpObj(res2)) {
4665 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4666 } else {
4667 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4668 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4669 }
4670 if (SWIG_IsTmpObj(res3)) {
4671 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4672 } else {
4673 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4674 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4675 }
4676 return resultobj;
4677fail:
4678 return NULL;
4679}
4680
4681
4682SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4683 PyObject *resultobj = 0;
4684 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4685 double arg2 ;
4686 double arg3 ;
4687 void *argp1 = 0 ;
4688 int res1 = 0 ;
4689 double val2 ;
4690 int ecode2 = 0 ;
4691 double val3 ;
4692 int ecode3 = 0 ;
4693 PyObject * obj0 = 0 ;
4694 PyObject * obj1 = 0 ;
4695 PyObject * obj2 = 0 ;
4696 char * kwnames[] = {
4697 (char *) "self",(char *) "xs",(char *) "ys", NULL
4698 };
4699
4700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4702 if (!SWIG_IsOK(res1)) {
4703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4704 }
4705 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4706 ecode2 = SWIG_AsVal_double(obj1, &val2);
4707 if (!SWIG_IsOK(ecode2)) {
4708 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4709 }
4710 arg2 = static_cast< double >(val2);
4711 ecode3 = SWIG_AsVal_double(obj2, &val3);
4712 if (!SWIG_IsOK(ecode3)) {
4713 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4714 }
4715 arg3 = static_cast< double >(val3);
4716 {
4717 PyThreadState* __tstate = wxPyBeginAllowThreads();
4718 (arg1)->SetScale(arg2,arg3);
4719 wxPyEndAllowThreads(__tstate);
4720 if (PyErr_Occurred()) SWIG_fail;
4721 }
4722 resultobj = SWIG_Py_Void();
4723 return resultobj;
4724fail:
4725 return NULL;
d55e5bfc
RD
4726}
4727
4728
554f62e9
RD
4729SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4730 PyObject *resultobj = 0;
4731 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4732 double result;
4733 void *argp1 = 0 ;
4734 int res1 = 0 ;
4735 PyObject *swig_obj[1] ;
4736
4737 if (!args) SWIG_fail;
4738 swig_obj[0] = args;
4739 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4740 if (!SWIG_IsOK(res1)) {
4741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4742 }
4743 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4744 {
4745 PyThreadState* __tstate = wxPyBeginAllowThreads();
4746 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4747 wxPyEndAllowThreads(__tstate);
4748 if (PyErr_Occurred()) SWIG_fail;
4749 }
4750 resultobj = SWIG_From_double(static_cast< double >(result));
4751 return resultobj;
4752fail:
4753 return NULL;
d55e5bfc
RD
4754}
4755
4756
554f62e9
RD
4757SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4758 PyObject *resultobj = 0;
4759 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4760 double result;
4761 void *argp1 = 0 ;
4762 int res1 = 0 ;
4763 PyObject *swig_obj[1] ;
4764
4765 if (!args) SWIG_fail;
4766 swig_obj[0] = args;
4767 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4768 if (!SWIG_IsOK(res1)) {
4769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4770 }
4771 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4772 {
4773 PyThreadState* __tstate = wxPyBeginAllowThreads();
4774 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4775 wxPyEndAllowThreads(__tstate);
4776 if (PyErr_Occurred()) SWIG_fail;
4777 }
4778 resultobj = SWIG_From_double(static_cast< double >(result));
4779 return resultobj;
4780fail:
4781 return NULL;
d55e5bfc
RD
4782}
4783
4784
554f62e9
RD
4785SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4786 PyObject *resultobj = 0;
4787 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4788 wxPoint *arg2 = 0 ;
4789 wxPoint result;
4790 void *argp1 = 0 ;
4791 int res1 = 0 ;
4792 wxPoint temp2 ;
4793
4794 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4796 if (!SWIG_IsOK(res1)) {
4797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4798 }
4799 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4800 {
4801 arg2 = &temp2;
4802 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4803 }
4804 {
4805 PyThreadState* __tstate = wxPyBeginAllowThreads();
4806 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4807 wxPyEndAllowThreads(__tstate);
4808 if (PyErr_Occurred()) SWIG_fail;
4809 }
4810 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4811 return resultobj;
4812fail:
4813 return NULL;
4814}
4815
4816
4817SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4818 PyObject *resultobj = 0;
4819 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4820 int arg2 ;
4821 int arg3 ;
4822 int *arg4 = (int *) 0 ;
4823 int *arg5 = (int *) 0 ;
4824 void *argp1 = 0 ;
4825 int res1 = 0 ;
4826 int val2 ;
4827 int ecode2 = 0 ;
4828 int val3 ;
4829 int ecode3 = 0 ;
4830 int temp4 ;
4831 int res4 = SWIG_TMPOBJ ;
4832 int temp5 ;
4833 int res5 = SWIG_TMPOBJ ;
4834
4835 arg4 = &temp4;
4836 arg5 = &temp5;
4837 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4838 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4839 if (!SWIG_IsOK(res1)) {
4840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4841 }
4842 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4843 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4844 if (!SWIG_IsOK(ecode2)) {
4845 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4846 }
4847 arg2 = static_cast< int >(val2);
4848 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4849 if (!SWIG_IsOK(ecode3)) {
4850 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4851 }
4852 arg3 = static_cast< int >(val3);
4853 {
4854 PyThreadState* __tstate = wxPyBeginAllowThreads();
4855 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4856 wxPyEndAllowThreads(__tstate);
4857 if (PyErr_Occurred()) SWIG_fail;
4858 }
4859 resultobj = SWIG_Py_Void();
4860 if (SWIG_IsTmpObj(res4)) {
4861 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4862 } else {
4863 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4864 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4865 }
4866 if (SWIG_IsTmpObj(res5)) {
4867 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4868 } else {
4869 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4870 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4871 }
4872 return resultobj;
4873fail:
4874 return NULL;
d55e5bfc
RD
4875}
4876
4877
554f62e9
RD
4878SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4879 int argc;
4880 PyObject *argv[4];
4881
4882 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4883 --argc;
4884 if (argc == 2) {
4885 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4886 }
4887 if (argc == 3) {
4888 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4889 }
4890
4891fail:
4892 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4893 return NULL;
d55e5bfc
RD
4894}
4895
4896
554f62e9
RD
4897SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4898 PyObject *resultobj = 0;
4899 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4900 wxPoint *arg2 = 0 ;
4901 wxPoint result;
4902 void *argp1 = 0 ;
4903 int res1 = 0 ;
4904 wxPoint temp2 ;
4905
4906 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4907 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4908 if (!SWIG_IsOK(res1)) {
4909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4910 }
4911 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4912 {
4913 arg2 = &temp2;
4914 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4915 }
4916 {
4917 PyThreadState* __tstate = wxPyBeginAllowThreads();
4918 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4919 wxPyEndAllowThreads(__tstate);
4920 if (PyErr_Occurred()) SWIG_fail;
4921 }
4922 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4923 return resultobj;
4924fail:
4925 return NULL;
4926}
4927
4928
4929SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4930 PyObject *resultobj = 0;
4931 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4932 int arg2 ;
4933 int arg3 ;
4934 int *arg4 = (int *) 0 ;
4935 int *arg5 = (int *) 0 ;
4936 void *argp1 = 0 ;
4937 int res1 = 0 ;
4938 int val2 ;
4939 int ecode2 = 0 ;
4940 int val3 ;
4941 int ecode3 = 0 ;
4942 int temp4 ;
4943 int res4 = SWIG_TMPOBJ ;
4944 int temp5 ;
4945 int res5 = SWIG_TMPOBJ ;
4946
4947 arg4 = &temp4;
4948 arg5 = &temp5;
4949 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4950 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4951 if (!SWIG_IsOK(res1)) {
4952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4953 }
4954 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4955 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4956 if (!SWIG_IsOK(ecode2)) {
4957 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4958 }
4959 arg2 = static_cast< int >(val2);
4960 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4961 if (!SWIG_IsOK(ecode3)) {
4962 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4963 }
4964 arg3 = static_cast< int >(val3);
4965 {
4966 PyThreadState* __tstate = wxPyBeginAllowThreads();
4967 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4968 wxPyEndAllowThreads(__tstate);
4969 if (PyErr_Occurred()) SWIG_fail;
4970 }
4971 resultobj = SWIG_Py_Void();
4972 if (SWIG_IsTmpObj(res4)) {
4973 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4974 } else {
4975 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4976 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4977 }
4978 if (SWIG_IsTmpObj(res5)) {
4979 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4980 } else {
4981 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4982 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4983 }
4984 return resultobj;
4985fail:
4986 return NULL;
d55e5bfc
RD
4987}
4988
4989
554f62e9
RD
4990SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4991 int argc;
4992 PyObject *argv[4];
4993
4994 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4995 --argc;
4996 if (argc == 2) {
4997 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4998 }
4999 if (argc == 3) {
5000 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
5001 }
5002
5003fail:
5004 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
5005 return NULL;
d55e5bfc
RD
5006}
5007
5008
554f62e9
RD
5009SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5010 PyObject *resultobj = 0;
5011 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5012 void *argp1 = 0 ;
5013 int res1 = 0 ;
5014 PyObject *swig_obj[1] ;
5015
5016 if (!args) SWIG_fail;
5017 swig_obj[0] = args;
5018 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5019 if (!SWIG_IsOK(res1)) {
5020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5021 }
5022 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5023 {
5024 PyThreadState* __tstate = wxPyBeginAllowThreads();
5025 (arg1)->AdjustScrollbars();
5026 wxPyEndAllowThreads(__tstate);
5027 if (PyErr_Occurred()) SWIG_fail;
5028 }
5029 resultobj = SWIG_Py_Void();
5030 return resultobj;
5031fail:
5032 return NULL;
5033}
5034
5035
5036SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5037 PyObject *resultobj = 0;
5038 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5039 wxScrollWinEvent *arg2 = 0 ;
5040 int result;
5041 void *argp1 = 0 ;
5042 int res1 = 0 ;
5043 void *argp2 = 0 ;
5044 int res2 = 0 ;
5045 PyObject * obj0 = 0 ;
5046 PyObject * obj1 = 0 ;
5047 char * kwnames[] = {
5048 (char *) "self",(char *) "event", NULL
5049 };
5050
5051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5053 if (!SWIG_IsOK(res1)) {
5054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5055 }
5056 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5057 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5058 if (!SWIG_IsOK(res2)) {
5059 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5060 }
5061 if (!argp2) {
5062 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5063 }
5064 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5065 {
5066 PyThreadState* __tstate = wxPyBeginAllowThreads();
5067 result = (int)(arg1)->CalcScrollInc(*arg2);
5068 wxPyEndAllowThreads(__tstate);
5069 if (PyErr_Occurred()) SWIG_fail;
5070 }
5071 resultobj = SWIG_From_int(static_cast< int >(result));
5072 return resultobj;
5073fail:
5074 return NULL;
5075}
5076
5077
5078SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5079 PyObject *resultobj = 0;
5080 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5081 wxWindow *arg2 = (wxWindow *) 0 ;
5082 void *argp1 = 0 ;
5083 int res1 = 0 ;
5084 void *argp2 = 0 ;
5085 int res2 = 0 ;
5086 PyObject * obj0 = 0 ;
5087 PyObject * obj1 = 0 ;
5088 char * kwnames[] = {
5089 (char *) "self",(char *) "target", NULL
5090 };
5091
5092 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5093 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5094 if (!SWIG_IsOK(res1)) {
5095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5096 }
5097 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5098 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5099 if (!SWIG_IsOK(res2)) {
5100 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5101 }
5102 arg2 = reinterpret_cast< wxWindow * >(argp2);
5103 {
5104 PyThreadState* __tstate = wxPyBeginAllowThreads();
5105 (arg1)->SetTargetWindow(arg2);
5106 wxPyEndAllowThreads(__tstate);
5107 if (PyErr_Occurred()) SWIG_fail;
5108 }
5109 resultobj = SWIG_Py_Void();
5110 return resultobj;
5111fail:
5112 return NULL;
d55e5bfc
RD
5113}
5114
5115
554f62e9
RD
5116SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5117 PyObject *resultobj = 0;
5118 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5119 wxWindow *result = 0 ;
5120 void *argp1 = 0 ;
5121 int res1 = 0 ;
5122 PyObject *swig_obj[1] ;
5123
5124 if (!args) SWIG_fail;
5125 swig_obj[0] = args;
5126 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5127 if (!SWIG_IsOK(res1)) {
5128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5129 }
5130 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5131 {
5132 PyThreadState* __tstate = wxPyBeginAllowThreads();
5133 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5134 wxPyEndAllowThreads(__tstate);
5135 if (PyErr_Occurred()) SWIG_fail;
5136 }
5137 {
5138 resultobj = wxPyMake_wxObject(result, 0);
5139 }
5140 return resultobj;
5141fail:
5142 return NULL;
5143}
5144
5145
5146SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5147 PyObject *resultobj = 0;
5148 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5149 wxRect *arg2 = 0 ;
5150 void *argp1 = 0 ;
5151 int res1 = 0 ;
5152 wxRect temp2 ;
5153 PyObject * obj0 = 0 ;
5154 PyObject * obj1 = 0 ;
5155 char * kwnames[] = {
5156 (char *) "self",(char *) "rect", NULL
5157 };
5158
5159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5161 if (!SWIG_IsOK(res1)) {
5162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5163 }
5164 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5165 {
5166 arg2 = &temp2;
5167 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5168 }
5169 {
5170 PyThreadState* __tstate = wxPyBeginAllowThreads();
5171 (arg1)->SetTargetRect((wxRect const &)*arg2);
5172 wxPyEndAllowThreads(__tstate);
5173 if (PyErr_Occurred()) SWIG_fail;
5174 }
5175 resultobj = SWIG_Py_Void();
5176 return resultobj;
5177fail:
5178 return NULL;
d55e5bfc
RD
5179}
5180
5181
554f62e9
RD
5182SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5183 PyObject *resultobj = 0;
5184 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5185 wxRect result;
5186 void *argp1 = 0 ;
5187 int res1 = 0 ;
5188 PyObject *swig_obj[1] ;
5189
5190 if (!args) SWIG_fail;
5191 swig_obj[0] = args;
5192 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5193 if (!SWIG_IsOK(res1)) {
5194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5195 }
5196 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5197 {
5198 PyThreadState* __tstate = wxPyBeginAllowThreads();
5199 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5200 wxPyEndAllowThreads(__tstate);
5201 if (PyErr_Occurred()) SWIG_fail;
5202 }
5203 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5204 return resultobj;
5205fail:
5206 return NULL;
5207}
5208
5209
5210SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5211 PyObject *resultobj = 0;
5212 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5213 wxDC *arg2 = 0 ;
5214 void *argp1 = 0 ;
5215 int res1 = 0 ;
5216 void *argp2 = 0 ;
5217 int res2 = 0 ;
5218 PyObject * obj0 = 0 ;
5219 PyObject * obj1 = 0 ;
5220 char * kwnames[] = {
5221 (char *) "self",(char *) "dc", NULL
5222 };
5223
5224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5226 if (!SWIG_IsOK(res1)) {
5227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5228 }
5229 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5230 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5231 if (!SWIG_IsOK(res2)) {
5232 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5233 }
5234 if (!argp2) {
5235 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5236 }
5237 arg2 = reinterpret_cast< wxDC * >(argp2);
5238 {
5239 PyThreadState* __tstate = wxPyBeginAllowThreads();
5240 (arg1)->DoPrepareDC(*arg2);
5241 wxPyEndAllowThreads(__tstate);
5242 if (PyErr_Occurred()) SWIG_fail;
5243 }
5244 resultobj = SWIG_Py_Void();
5245 return resultobj;
5246fail:
5247 return NULL;
5248}
5249
5250
5251SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5252 PyObject *resultobj = 0;
5253 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5254 SwigValueWrapper<wxVisualAttributes > result;
5255 int val1 ;
5256 int ecode1 = 0 ;
5257 PyObject * obj0 = 0 ;
5258 char * kwnames[] = {
5259 (char *) "variant", NULL
5260 };
5261
5262 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5263 if (obj0) {
5264 ecode1 = SWIG_AsVal_int(obj0, &val1);
5265 if (!SWIG_IsOK(ecode1)) {
5266 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5267 }
5268 arg1 = static_cast< wxWindowVariant >(val1);
5269 }
5270 {
5271 if (!wxPyCheckForApp()) SWIG_fail;
5272 PyThreadState* __tstate = wxPyBeginAllowThreads();
5273 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5274 wxPyEndAllowThreads(__tstate);
5275 if (PyErr_Occurred()) SWIG_fail;
5276 }
5277 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5278 return resultobj;
5279fail:
5280 return NULL;
d55e5bfc
RD
5281}
5282
5283
554f62e9
RD
5284SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5285 PyObject *obj;
5286 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5287 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5288 return SWIG_Py_Void();
d55e5bfc
RD
5289}
5290
554f62e9
RD
5291SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5292 return SWIG_Python_InitShadowInstance(args);
5293}
d55e5bfc 5294
554f62e9
RD
5295SWIGINTERN int FrameNameStr_set(PyObject *) {
5296 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5297 return 1;
d55e5bfc
RD
5298}
5299
5300
554f62e9
RD
5301SWIGINTERN PyObject *FrameNameStr_get(void) {
5302 PyObject *pyobj = 0;
5303
5304 {
5305#if wxUSE_UNICODE
5306 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5307#else
5308 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5309#endif
5310 }
5311 return pyobj;
d55e5bfc
RD
5312}
5313
5314
554f62e9
RD
5315SWIGINTERN int DialogNameStr_set(PyObject *) {
5316 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5317 return 1;
d55e5bfc
RD
5318}
5319
5320
554f62e9
RD
5321SWIGINTERN PyObject *DialogNameStr_get(void) {
5322 PyObject *pyobj = 0;
5323
5324 {
5325#if wxUSE_UNICODE
5326 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5327#else
5328 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5329#endif
5330 }
5331 return pyobj;
d55e5bfc
RD
5332}
5333
5334
554f62e9
RD
5335SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5336 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5337 return 1;
d55e5bfc
RD
5338}
5339
5340
554f62e9
RD
5341SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5342 PyObject *pyobj = 0;
5343
5344 {
5345#if wxUSE_UNICODE
5346 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5347#else
5348 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5349#endif
5350 }
5351 return pyobj;
d55e5bfc
RD
5352}
5353
5354
554f62e9
RD
5355SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5356 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5357 return 1;
d55e5bfc
RD
5358}
5359
5360
554f62e9
RD
5361SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5362 PyObject *pyobj = 0;
5363
5364 {
5365#if wxUSE_UNICODE
5366 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5367#else
5368 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5369#endif
5370 }
5371 return pyobj;
5372}
5373
5374
5375SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5376 PyObject *resultobj = 0;
5377 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5378 bool arg2 = (bool) true ;
5379 void *argp1 = 0 ;
5380 int res1 = 0 ;
5381 bool val2 ;
5382 int ecode2 = 0 ;
5383 PyObject * obj0 = 0 ;
5384 PyObject * obj1 = 0 ;
5385 char * kwnames[] = {
5386 (char *) "self",(char *) "maximize", NULL
5387 };
5388
5389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5390 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5391 if (!SWIG_IsOK(res1)) {
5392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5393 }
5394 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5395 if (obj1) {
5396 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5397 if (!SWIG_IsOK(ecode2)) {
5398 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5399 }
5400 arg2 = static_cast< bool >(val2);
5401 }
5402 {
5403 PyThreadState* __tstate = wxPyBeginAllowThreads();
5404 (arg1)->Maximize(arg2);
5405 wxPyEndAllowThreads(__tstate);
5406 if (PyErr_Occurred()) SWIG_fail;
5407 }
5408 resultobj = SWIG_Py_Void();
5409 return resultobj;
5410fail:
5411 return NULL;
d55e5bfc
RD
5412}
5413
5414
554f62e9
RD
5415SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5416 PyObject *resultobj = 0;
5417 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5418 void *argp1 = 0 ;
5419 int res1 = 0 ;
5420 PyObject *swig_obj[1] ;
5421
5422 if (!args) SWIG_fail;
5423 swig_obj[0] = args;
5424 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5425 if (!SWIG_IsOK(res1)) {
5426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5427 }
5428 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5429 {
5430 PyThreadState* __tstate = wxPyBeginAllowThreads();
5431 (arg1)->Restore();
5432 wxPyEndAllowThreads(__tstate);
5433 if (PyErr_Occurred()) SWIG_fail;
5434 }
5435 resultobj = SWIG_Py_Void();
5436 return resultobj;
5437fail:
5438 return NULL;
5439}
5440
5441
5442SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5443 PyObject *resultobj = 0;
5444 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5445 bool arg2 = (bool) true ;
5446 void *argp1 = 0 ;
5447 int res1 = 0 ;
5448 bool val2 ;
5449 int ecode2 = 0 ;
5450 PyObject * obj0 = 0 ;
5451 PyObject * obj1 = 0 ;
5452 char * kwnames[] = {
5453 (char *) "self",(char *) "iconize", NULL
5454 };
5455
5456 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5457 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5458 if (!SWIG_IsOK(res1)) {
5459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5460 }
5461 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5462 if (obj1) {
5463 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5464 if (!SWIG_IsOK(ecode2)) {
5465 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5466 }
5467 arg2 = static_cast< bool >(val2);
5468 }
5469 {
5470 PyThreadState* __tstate = wxPyBeginAllowThreads();
5471 (arg1)->Iconize(arg2);
5472 wxPyEndAllowThreads(__tstate);
5473 if (PyErr_Occurred()) SWIG_fail;
5474 }
5475 resultobj = SWIG_Py_Void();
5476 return resultobj;
5477fail:
5478 return NULL;
d55e5bfc
RD
5479}
5480
5481
554f62e9
RD
5482SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5483 PyObject *resultobj = 0;
5484 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5485 bool result;
5486 void *argp1 = 0 ;
5487 int res1 = 0 ;
5488 PyObject *swig_obj[1] ;
5489
5490 if (!args) SWIG_fail;
5491 swig_obj[0] = args;
5492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5493 if (!SWIG_IsOK(res1)) {
5494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5495 }
5496 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5497 {
5498 PyThreadState* __tstate = wxPyBeginAllowThreads();
5499 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5500 wxPyEndAllowThreads(__tstate);
5501 if (PyErr_Occurred()) SWIG_fail;
5502 }
5503 {
5504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5505 }
5506 return resultobj;
5507fail:
5508 return NULL;
d55e5bfc
RD
5509}
5510
5511
f460c29d
RD
5512SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5513 PyObject *resultobj = 0;
5514 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5515 bool result;
5516 void *argp1 = 0 ;
5517 int res1 = 0 ;
5518 PyObject *swig_obj[1] ;
5519
5520 if (!args) SWIG_fail;
5521 swig_obj[0] = args;
5522 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5523 if (!SWIG_IsOK(res1)) {
5524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5525 }
5526 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5527 {
5528 PyThreadState* __tstate = wxPyBeginAllowThreads();
5529 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5530 wxPyEndAllowThreads(__tstate);
5531 if (PyErr_Occurred()) SWIG_fail;
5532 }
5533 {
5534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5535 }
5536 return resultobj;
5537fail:
5538 return NULL;
5539}
5540
5541
554f62e9
RD
5542SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5543 PyObject *resultobj = 0;
5544 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5545 bool result;
5546 void *argp1 = 0 ;
5547 int res1 = 0 ;
5548 PyObject *swig_obj[1] ;
5549
5550 if (!args) SWIG_fail;
5551 swig_obj[0] = args;
5552 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5553 if (!SWIG_IsOK(res1)) {
5554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5555 }
5556 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5557 {
5558 PyThreadState* __tstate = wxPyBeginAllowThreads();
5559 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5560 wxPyEndAllowThreads(__tstate);
5561 if (PyErr_Occurred()) SWIG_fail;
5562 }
5563 {
5564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5565 }
5566 return resultobj;
5567fail:
5568 return NULL;
d55e5bfc
RD
5569}
5570
5571
554f62e9
RD
5572SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5573 PyObject *resultobj = 0;
5574 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5575 wxIcon result;
5576 void *argp1 = 0 ;
5577 int res1 = 0 ;
5578 PyObject *swig_obj[1] ;
5579
5580 if (!args) SWIG_fail;
5581 swig_obj[0] = args;
5582 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5583 if (!SWIG_IsOK(res1)) {
5584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5585 }
5586 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5587 {
5588 PyThreadState* __tstate = wxPyBeginAllowThreads();
5589 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5590 wxPyEndAllowThreads(__tstate);
5591 if (PyErr_Occurred()) SWIG_fail;
5592 }
5593 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5594 return resultobj;
5595fail:
5596 return NULL;
5597}
5598
5599
5600SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5601 PyObject *resultobj = 0;
5602 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5603 wxIcon *arg2 = 0 ;
5604 void *argp1 = 0 ;
5605 int res1 = 0 ;
5606 void *argp2 = 0 ;
5607 int res2 = 0 ;
5608 PyObject * obj0 = 0 ;
5609 PyObject * obj1 = 0 ;
5610 char * kwnames[] = {
5611 (char *) "self",(char *) "icon", NULL
5612 };
5613
5614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5616 if (!SWIG_IsOK(res1)) {
5617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5618 }
5619 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5620 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5621 if (!SWIG_IsOK(res2)) {
5622 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5623 }
5624 if (!argp2) {
5625 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5626 }
5627 arg2 = reinterpret_cast< wxIcon * >(argp2);
5628 {
5629 PyThreadState* __tstate = wxPyBeginAllowThreads();
5630 (arg1)->SetIcon((wxIcon const &)*arg2);
5631 wxPyEndAllowThreads(__tstate);
5632 if (PyErr_Occurred()) SWIG_fail;
5633 }
5634 resultobj = SWIG_Py_Void();
5635 return resultobj;
5636fail:
5637 return NULL;
5638}
5639
5640
5641SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5642 PyObject *resultobj = 0;
5643 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5644 wxIconBundle *arg2 = 0 ;
5645 void *argp1 = 0 ;
5646 int res1 = 0 ;
5647 void *argp2 = 0 ;
5648 int res2 = 0 ;
5649 PyObject * obj0 = 0 ;
5650 PyObject * obj1 = 0 ;
5651 char * kwnames[] = {
5652 (char *) "self",(char *) "icons", NULL
5653 };
5654
5655 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5656 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5657 if (!SWIG_IsOK(res1)) {
5658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5659 }
5660 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5661 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5662 if (!SWIG_IsOK(res2)) {
5663 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5664 }
5665 if (!argp2) {
5666 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5667 }
5668 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5669 {
5670 PyThreadState* __tstate = wxPyBeginAllowThreads();
5671 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5672 wxPyEndAllowThreads(__tstate);
5673 if (PyErr_Occurred()) SWIG_fail;
5674 }
5675 resultobj = SWIG_Py_Void();
5676 return resultobj;
5677fail:
5678 return NULL;
5679}
5680
5681
5682SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5683 PyObject *resultobj = 0;
5684 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5685 bool arg2 ;
5686 long arg3 = (long) wxFULLSCREEN_ALL ;
5687 bool result;
5688 void *argp1 = 0 ;
5689 int res1 = 0 ;
5690 bool val2 ;
5691 int ecode2 = 0 ;
5692 long val3 ;
5693 int ecode3 = 0 ;
5694 PyObject * obj0 = 0 ;
5695 PyObject * obj1 = 0 ;
5696 PyObject * obj2 = 0 ;
5697 char * kwnames[] = {
5698 (char *) "self",(char *) "show",(char *) "style", NULL
5699 };
5700
5701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5703 if (!SWIG_IsOK(res1)) {
5704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5705 }
5706 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5707 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5708 if (!SWIG_IsOK(ecode2)) {
5709 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5710 }
5711 arg2 = static_cast< bool >(val2);
5712 if (obj2) {
5713 ecode3 = SWIG_AsVal_long(obj2, &val3);
5714 if (!SWIG_IsOK(ecode3)) {
5715 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5716 }
5717 arg3 = static_cast< long >(val3);
5718 }
5719 {
5720 PyThreadState* __tstate = wxPyBeginAllowThreads();
5721 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5722 wxPyEndAllowThreads(__tstate);
5723 if (PyErr_Occurred()) SWIG_fail;
5724 }
5725 {
5726 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5727 }
5728 return resultobj;
5729fail:
5730 return NULL;
d55e5bfc
RD
5731}
5732
5733
554f62e9
RD
5734SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5735 PyObject *resultobj = 0;
5736 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5737 bool result;
5738 void *argp1 = 0 ;
5739 int res1 = 0 ;
5740 PyObject *swig_obj[1] ;
5741
5742 if (!args) SWIG_fail;
5743 swig_obj[0] = args;
5744 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5745 if (!SWIG_IsOK(res1)) {
5746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5747 }
5748 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5749 {
5750 PyThreadState* __tstate = wxPyBeginAllowThreads();
5751 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5752 wxPyEndAllowThreads(__tstate);
5753 if (PyErr_Occurred()) SWIG_fail;
5754 }
5755 {
5756 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5757 }
5758 return resultobj;
5759fail:
5760 return NULL;
5761}
5762
5763
5764SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5765 PyObject *resultobj = 0;
5766 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5767 wxString *arg2 = 0 ;
5768 void *argp1 = 0 ;
5769 int res1 = 0 ;
5770 bool temp2 = false ;
5771 PyObject * obj0 = 0 ;
5772 PyObject * obj1 = 0 ;
5773 char * kwnames[] = {
5774 (char *) "self",(char *) "title", NULL
5775 };
5776
5777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5779 if (!SWIG_IsOK(res1)) {
5780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5781 }
5782 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5783 {
5784 arg2 = wxString_in_helper(obj1);
5785 if (arg2 == NULL) SWIG_fail;
5786 temp2 = true;
5787 }
5788 {
5789 PyThreadState* __tstate = wxPyBeginAllowThreads();
5790 (arg1)->SetTitle((wxString const &)*arg2);
5791 wxPyEndAllowThreads(__tstate);
5792 if (PyErr_Occurred()) SWIG_fail;
5793 }
5794 resultobj = SWIG_Py_Void();
5795 {
5796 if (temp2)
5797 delete arg2;
5798 }
5799 return resultobj;
5800fail:
5801 {
5802 if (temp2)
5803 delete arg2;
5804 }
5805 return NULL;
d55e5bfc
RD
5806}
5807
5808
554f62e9
RD
5809SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5810 PyObject *resultobj = 0;
5811 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5812 wxString result;
5813 void *argp1 = 0 ;
5814 int res1 = 0 ;
5815 PyObject *swig_obj[1] ;
5816
5817 if (!args) SWIG_fail;
5818 swig_obj[0] = args;
5819 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5820 if (!SWIG_IsOK(res1)) {
5821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5822 }
5823 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5824 {
5825 PyThreadState* __tstate = wxPyBeginAllowThreads();
5826 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5827 wxPyEndAllowThreads(__tstate);
5828 if (PyErr_Occurred()) SWIG_fail;
5829 }
5830 {
5831#if wxUSE_UNICODE
5832 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5833#else
5834 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5835#endif
5836 }
5837 return resultobj;
5838fail:
5839 return NULL;
5840}
5841
5842
5843SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5844 PyObject *resultobj = 0;
5845 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5846 wxRegion *arg2 = 0 ;
5847 bool result;
5848 void *argp1 = 0 ;
5849 int res1 = 0 ;
5850 void *argp2 = 0 ;
5851 int res2 = 0 ;
5852 PyObject * obj0 = 0 ;
5853 PyObject * obj1 = 0 ;
5854 char * kwnames[] = {
5855 (char *) "self",(char *) "region", NULL
5856 };
5857
5858 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5860 if (!SWIG_IsOK(res1)) {
5861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5862 }
5863 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5864 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5865 if (!SWIG_IsOK(res2)) {
5866 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5867 }
5868 if (!argp2) {
5869 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5870 }
5871 arg2 = reinterpret_cast< wxRegion * >(argp2);
5872 {
5873 PyThreadState* __tstate = wxPyBeginAllowThreads();
5874 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5875 wxPyEndAllowThreads(__tstate);
5876 if (PyErr_Occurred()) SWIG_fail;
5877 }
5878 {
5879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5880 }
5881 return resultobj;
5882fail:
5883 return NULL;
5884}
5885
5886
5887SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5888 PyObject *resultobj = 0;
5889 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5890 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5891 void *argp1 = 0 ;
5892 int res1 = 0 ;
5893 int val2 ;
5894 int ecode2 = 0 ;
5895 PyObject * obj0 = 0 ;
5896 PyObject * obj1 = 0 ;
5897 char * kwnames[] = {
5898 (char *) "self",(char *) "flags", NULL
5899 };
5900
5901 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5902 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5903 if (!SWIG_IsOK(res1)) {
5904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5905 }
5906 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5907 if (obj1) {
5908 ecode2 = SWIG_AsVal_int(obj1, &val2);
5909 if (!SWIG_IsOK(ecode2)) {
5910 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5911 }
5912 arg2 = static_cast< int >(val2);
5913 }
5914 {
5915 PyThreadState* __tstate = wxPyBeginAllowThreads();
5916 (arg1)->RequestUserAttention(arg2);
5917 wxPyEndAllowThreads(__tstate);
5918 if (PyErr_Occurred()) SWIG_fail;
5919 }
5920 resultobj = SWIG_Py_Void();
5921 return resultobj;
5922fail:
5923 return NULL;
d55e5bfc
RD
5924}
5925
5926
554f62e9
RD
5927SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5928 PyObject *resultobj = 0;
5929 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5930 bool result;
5931 void *argp1 = 0 ;
5932 int res1 = 0 ;
5933 PyObject *swig_obj[1] ;
5934
5935 if (!args) SWIG_fail;
5936 swig_obj[0] = args;
5937 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5938 if (!SWIG_IsOK(res1)) {
5939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5940 }
5941 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5942 {
5943 PyThreadState* __tstate = wxPyBeginAllowThreads();
5944 result = (bool)(arg1)->IsActive();
5945 wxPyEndAllowThreads(__tstate);
5946 if (PyErr_Occurred()) SWIG_fail;
5947 }
5948 {
5949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5950 }
5951 return resultobj;
5952fail:
5953 return NULL;
5954}
5955
5956
5957SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5958 PyObject *resultobj = 0;
5959 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5960 bool arg2 ;
5961 void *argp1 = 0 ;
5962 int res1 = 0 ;
5963 bool val2 ;
5964 int ecode2 = 0 ;
5965 PyObject * obj0 = 0 ;
5966 PyObject * obj1 = 0 ;
5967 char * kwnames[] = {
5968 (char *) "self",(char *) "on", NULL
5969 };
5970
5971 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5972 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5973 if (!SWIG_IsOK(res1)) {
5974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5975 }
5976 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5977 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5978 if (!SWIG_IsOK(ecode2)) {
5979 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5980 }
5981 arg2 = static_cast< bool >(val2);
5982 {
5983 PyThreadState* __tstate = wxPyBeginAllowThreads();
5984 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5985 wxPyEndAllowThreads(__tstate);
5986 if (PyErr_Occurred()) SWIG_fail;
5987 }
5988 resultobj = SWIG_Py_Void();
5989 return resultobj;
5990fail:
5991 return NULL;
d55e5bfc
RD
5992}
5993
5994
554f62e9
RD
5995SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5996 PyObject *resultobj = 0;
5997 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5998 bool result;
5999 void *argp1 = 0 ;
6000 int res1 = 0 ;
6001 PyObject *swig_obj[1] ;
6002
6003 if (!args) SWIG_fail;
6004 swig_obj[0] = args;
6005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6006 if (!SWIG_IsOK(res1)) {
6007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6008 }
6009 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6010 {
6011 PyThreadState* __tstate = wxPyBeginAllowThreads();
6012 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
6013 wxPyEndAllowThreads(__tstate);
6014 if (PyErr_Occurred()) SWIG_fail;
6015 }
6016 {
6017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6018 }
6019 return resultobj;
6020fail:
6021 return NULL;
6022}
6023
6024
6025SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6026 PyObject *resultobj = 0;
6027 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6028 int arg2 = (int) wxBOTH ;
6029 void *argp1 = 0 ;
6030 int res1 = 0 ;
6031 int val2 ;
6032 int ecode2 = 0 ;
6033 PyObject * obj0 = 0 ;
6034 PyObject * obj1 = 0 ;
6035 char * kwnames[] = {
6036 (char *) "self",(char *) "dir", NULL
6037 };
6038
6039 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6040 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6041 if (!SWIG_IsOK(res1)) {
6042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6043 }
6044 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6045 if (obj1) {
6046 ecode2 = SWIG_AsVal_int(obj1, &val2);
6047 if (!SWIG_IsOK(ecode2)) {
6048 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6049 }
6050 arg2 = static_cast< int >(val2);
6051 }
6052 {
6053 PyThreadState* __tstate = wxPyBeginAllowThreads();
6054 (arg1)->CenterOnScreen(arg2);
6055 wxPyEndAllowThreads(__tstate);
6056 if (PyErr_Occurred()) SWIG_fail;
6057 }
6058 resultobj = SWIG_Py_Void();
6059 return resultobj;
6060fail:
6061 return NULL;
6062}
6063
6064
10044bf1
RD
6065SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6066 PyObject *resultobj = 0;
6067 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6068 bool arg2 = (bool) true ;
6069 bool result;
6070 void *argp1 = 0 ;
6071 int res1 = 0 ;
6072 bool val2 ;
6073 int ecode2 = 0 ;
6074 PyObject * obj0 = 0 ;
6075 PyObject * obj1 = 0 ;
6076 char * kwnames[] = {
6077 (char *) "self",(char *) "enable", NULL
6078 };
6079
6080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
6081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6082 if (!SWIG_IsOK(res1)) {
6083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6084 }
6085 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6086 if (obj1) {
6087 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6088 if (!SWIG_IsOK(ecode2)) {
6089 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
6090 }
6091 arg2 = static_cast< bool >(val2);
6092 }
6093 {
6094 PyThreadState* __tstate = wxPyBeginAllowThreads();
6095 result = (bool)(arg1)->EnableCloseButton(arg2);
6096 wxPyEndAllowThreads(__tstate);
6097 if (PyErr_Occurred()) SWIG_fail;
6098 }
6099 {
6100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6101 }
6102 return resultobj;
6103fail:
6104 return NULL;
6105}
6106
6107
6108SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTransparent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6109 PyObject *resultobj = 0;
6110 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6111 byte arg2 ;
6112 bool result;
6113 void *argp1 = 0 ;
6114 int res1 = 0 ;
6115 unsigned char val2 ;
6116 int ecode2 = 0 ;
6117 PyObject * obj0 = 0 ;
6118 PyObject * obj1 = 0 ;
6119 char * kwnames[] = {
6120 (char *) "self",(char *) "alpha", NULL
6121 };
6122
6123 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTransparent",kwnames,&obj0,&obj1)) SWIG_fail;
6124 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6125 if (!SWIG_IsOK(res1)) {
6126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6127 }
6128 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6129 ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2);
6130 if (!SWIG_IsOK(ecode2)) {
6131 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "2"" of type '" "byte""'");
6132 }
6133 arg2 = static_cast< byte >(val2);
6134 {
6135 PyThreadState* __tstate = wxPyBeginAllowThreads();
6136 result = (bool)(arg1)->SetTransparent(arg2);
6137 wxPyEndAllowThreads(__tstate);
6138 if (PyErr_Occurred()) SWIG_fail;
6139 }
6140 {
6141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6142 }
6143 return resultobj;
6144fail:
6145 return NULL;
6146}
6147
6148
6149SWIGINTERN PyObject *_wrap_TopLevelWindow_CanSetTransparent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6150 PyObject *resultobj = 0;
6151 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6152 bool result;
6153 void *argp1 = 0 ;
6154 int res1 = 0 ;
6155 PyObject *swig_obj[1] ;
6156
6157 if (!args) SWIG_fail;
6158 swig_obj[0] = args;
6159 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6160 if (!SWIG_IsOK(res1)) {
6161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CanSetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6162 }
6163 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6164 {
6165 PyThreadState* __tstate = wxPyBeginAllowThreads();
6166 result = (bool)(arg1)->CanSetTransparent();
6167 wxPyEndAllowThreads(__tstate);
6168 if (PyErr_Occurred()) SWIG_fail;
6169 }
6170 {
6171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6172 }
6173 return resultobj;
6174fail:
6175 return NULL;
6176}
6177
6178
1eeb270e
RD
6179SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6180 PyObject *resultobj = 0;
6181 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6182 wxWindow *result = 0 ;
6183 void *argp1 = 0 ;
6184 int res1 = 0 ;
6185 PyObject *swig_obj[1] ;
6186
6187 if (!args) SWIG_fail;
6188 swig_obj[0] = args;
6189 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6190 if (!SWIG_IsOK(res1)) {
6191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6192 }
6193 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6194 {
6195 PyThreadState* __tstate = wxPyBeginAllowThreads();
6196 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6197 wxPyEndAllowThreads(__tstate);
6198 if (PyErr_Occurred()) SWIG_fail;
6199 }
6200 {
6201 resultobj = wxPyMake_wxObject(result, 0);
6202 }
6203 return resultobj;
6204fail:
6205 return NULL;
6206}
6207
6208
6209SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6210 PyObject *resultobj = 0;
6211 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6212 wxWindow *arg2 = (wxWindow *) 0 ;
6213 wxWindow *result = 0 ;
6214 void *argp1 = 0 ;
6215 int res1 = 0 ;
6216 void *argp2 = 0 ;
6217 int res2 = 0 ;
6218 PyObject * obj0 = 0 ;
6219 PyObject * obj1 = 0 ;
6220 char * kwnames[] = {
6221 (char *) "self",(char *) "child", NULL
6222 };
6223
6224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6226 if (!SWIG_IsOK(res1)) {
6227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6228 }
6229 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6230 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6231 if (!SWIG_IsOK(res2)) {
6232 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6233 }
6234 arg2 = reinterpret_cast< wxWindow * >(argp2);
6235 {
6236 PyThreadState* __tstate = wxPyBeginAllowThreads();
6237 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6238 wxPyEndAllowThreads(__tstate);
6239 if (PyErr_Occurred()) SWIG_fail;
6240 }
6241 {
6242 resultobj = wxPyMake_wxObject(result, 0);
6243 }
6244 return resultobj;
6245fail:
6246 return NULL;
6247}
6248
6249
6250SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6251 PyObject *resultobj = 0;
6252 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6253 wxWindow *arg2 = (wxWindow *) 0 ;
6254 void *argp1 = 0 ;
6255 int res1 = 0 ;
6256 void *argp2 = 0 ;
6257 int res2 = 0 ;
6258 PyObject * obj0 = 0 ;
6259 PyObject * obj1 = 0 ;
6260 char * kwnames[] = {
6261 (char *) "self",(char *) "win", NULL
6262 };
6263
6264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6266 if (!SWIG_IsOK(res1)) {
6267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6268 }
6269 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6270 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6271 if (!SWIG_IsOK(res2)) {
6272 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6273 }
6274 arg2 = reinterpret_cast< wxWindow * >(argp2);
6275 {
6276 PyThreadState* __tstate = wxPyBeginAllowThreads();
6277 (arg1)->SetTmpDefaultItem(arg2);
6278 wxPyEndAllowThreads(__tstate);
6279 if (PyErr_Occurred()) SWIG_fail;
6280 }
6281 resultobj = SWIG_Py_Void();
6282 return resultobj;
6283fail:
6284 return NULL;
6285}
6286
6287
6288SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6289 PyObject *resultobj = 0;
6290 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6291 wxWindow *result = 0 ;
6292 void *argp1 = 0 ;
6293 int res1 = 0 ;
6294 PyObject *swig_obj[1] ;
6295
6296 if (!args) SWIG_fail;
6297 swig_obj[0] = args;
6298 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6299 if (!SWIG_IsOK(res1)) {
6300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6301 }
6302 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6303 {
6304 PyThreadState* __tstate = wxPyBeginAllowThreads();
6305 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6306 wxPyEndAllowThreads(__tstate);
6307 if (PyErr_Occurred()) SWIG_fail;
6308 }
6309 {
6310 resultobj = wxPyMake_wxObject(result, 0);
6311 }
6312 return resultobj;
6313fail:
6314 return NULL;
6315}
6316
6317
554f62e9
RD
6318SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6319 PyObject *obj;
6320 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6321 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6322 return SWIG_Py_Void();
6323}
6324
6325SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6326 PyObject *resultobj = 0;
6327 wxWindow *arg1 = (wxWindow *) 0 ;
6328 int arg2 = (int) (int)-1 ;
6329 wxString const &arg3_defvalue = wxPyEmptyString ;
6330 wxString *arg3 = (wxString *) &arg3_defvalue ;
6331 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6332 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6333 wxSize const &arg5_defvalue = wxDefaultSize ;
6334 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6335 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6336 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6337 wxString *arg7 = (wxString *) &arg7_defvalue ;
6338 wxFrame *result = 0 ;
6339 void *argp1 = 0 ;
6340 int res1 = 0 ;
6341 int val2 ;
6342 int ecode2 = 0 ;
6343 bool temp3 = false ;
6344 wxPoint temp4 ;
6345 wxSize temp5 ;
6346 long val6 ;
6347 int ecode6 = 0 ;
6348 bool temp7 = false ;
6349 PyObject * obj0 = 0 ;
6350 PyObject * obj1 = 0 ;
6351 PyObject * obj2 = 0 ;
6352 PyObject * obj3 = 0 ;
6353 PyObject * obj4 = 0 ;
6354 PyObject * obj5 = 0 ;
6355 PyObject * obj6 = 0 ;
6356 char * kwnames[] = {
6357 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6358 };
6359
6360 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6361 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6362 if (!SWIG_IsOK(res1)) {
6363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6364 }
6365 arg1 = reinterpret_cast< wxWindow * >(argp1);
6366 if (obj1) {
6367 ecode2 = SWIG_AsVal_int(obj1, &val2);
6368 if (!SWIG_IsOK(ecode2)) {
6369 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6370 }
6371 arg2 = static_cast< int >(val2);
6372 }
6373 if (obj2) {
093d3ff1 6374 {
554f62e9
RD
6375 arg3 = wxString_in_helper(obj2);
6376 if (arg3 == NULL) SWIG_fail;
6377 temp3 = true;
f5b96ee1 6378 }
554f62e9
RD
6379 }
6380 if (obj3) {
f5b96ee1 6381 {
554f62e9
RD
6382 arg4 = &temp4;
6383 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
f20a2e1f 6384 }
554f62e9
RD
6385 }
6386 if (obj4) {
f20a2e1f 6387 {
554f62e9
RD
6388 arg5 = &temp5;
6389 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
f20a2e1f 6390 }
554f62e9
RD
6391 }
6392 if (obj5) {
6393 ecode6 = SWIG_AsVal_long(obj5, &val6);
6394 if (!SWIG_IsOK(ecode6)) {
6395 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6396 }
6397 arg6 = static_cast< long >(val6);
6398 }
6399 if (obj6) {
f20a2e1f 6400 {
554f62e9
RD
6401 arg7 = wxString_in_helper(obj6);
6402 if (arg7 == NULL) SWIG_fail;
6403 temp7 = true;
f20a2e1f 6404 }
554f62e9
RD
6405 }
6406 {
6407 if (!wxPyCheckForApp()) SWIG_fail;
6408 PyThreadState* __tstate = wxPyBeginAllowThreads();
6409 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6410 wxPyEndAllowThreads(__tstate);
6411 if (PyErr_Occurred()) SWIG_fail;
6412 }
6413 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6414 {
6415 if (temp3)
6416 delete arg3;
6417 }
6418 {
6419 if (temp7)
6420 delete arg7;
6421 }
6422 return resultobj;
6423fail:
6424 {
6425 if (temp3)
6426 delete arg3;
6427 }
6428 {
6429 if (temp7)
6430 delete arg7;
6431 }
6432 return NULL;
d55e5bfc
RD
6433}
6434
6435
554f62e9
RD
6436SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6437 PyObject *resultobj = 0;
6438 wxFrame *result = 0 ;
6439
6440 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6441 {
6442 if (!wxPyCheckForApp()) SWIG_fail;
6443 PyThreadState* __tstate = wxPyBeginAllowThreads();
6444 result = (wxFrame *)new wxFrame();
6445 wxPyEndAllowThreads(__tstate);
6446 if (PyErr_Occurred()) SWIG_fail;
6447 }
6448 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6449 return resultobj;
6450fail:
6451 return NULL;
6452}
6453
6454
6455SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6456 PyObject *resultobj = 0;
6457 wxFrame *arg1 = (wxFrame *) 0 ;
6458 wxWindow *arg2 = (wxWindow *) 0 ;
6459 int arg3 = (int) (int)-1 ;
6460 wxString const &arg4_defvalue = wxPyEmptyString ;
6461 wxString *arg4 = (wxString *) &arg4_defvalue ;
6462 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6463 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6464 wxSize const &arg6_defvalue = wxDefaultSize ;
6465 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6466 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6467 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6468 wxString *arg8 = (wxString *) &arg8_defvalue ;
6469 bool result;
6470 void *argp1 = 0 ;
6471 int res1 = 0 ;
6472 void *argp2 = 0 ;
6473 int res2 = 0 ;
6474 int val3 ;
6475 int ecode3 = 0 ;
6476 bool temp4 = false ;
6477 wxPoint temp5 ;
6478 wxSize temp6 ;
6479 long val7 ;
6480 int ecode7 = 0 ;
6481 bool temp8 = false ;
6482 PyObject * obj0 = 0 ;
6483 PyObject * obj1 = 0 ;
6484 PyObject * obj2 = 0 ;
6485 PyObject * obj3 = 0 ;
6486 PyObject * obj4 = 0 ;
6487 PyObject * obj5 = 0 ;
6488 PyObject * obj6 = 0 ;
6489 PyObject * obj7 = 0 ;
6490 char * kwnames[] = {
6491 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6492 };
6493
6494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6496 if (!SWIG_IsOK(res1)) {
6497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6498 }
6499 arg1 = reinterpret_cast< wxFrame * >(argp1);
6500 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6501 if (!SWIG_IsOK(res2)) {
6502 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6503 }
6504 arg2 = reinterpret_cast< wxWindow * >(argp2);
6505 if (obj2) {
6506 ecode3 = SWIG_AsVal_int(obj2, &val3);
6507 if (!SWIG_IsOK(ecode3)) {
6508 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6509 }
6510 arg3 = static_cast< int >(val3);
6511 }
6512 if (obj3) {
d55e5bfc 6513 {
554f62e9
RD
6514 arg4 = wxString_in_helper(obj3);
6515 if (arg4 == NULL) SWIG_fail;
6516 temp4 = true;
d55e5bfc 6517 }
554f62e9
RD
6518 }
6519 if (obj4) {
d55e5bfc 6520 {
554f62e9
RD
6521 arg5 = &temp5;
6522 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 6523 }
554f62e9
RD
6524 }
6525 if (obj5) {
d55e5bfc 6526 {
554f62e9
RD
6527 arg6 = &temp6;
6528 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 6529 }
554f62e9
RD
6530 }
6531 if (obj6) {
6532 ecode7 = SWIG_AsVal_long(obj6, &val7);
6533 if (!SWIG_IsOK(ecode7)) {
6534 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6535 }
6536 arg7 = static_cast< long >(val7);
6537 }
6538 if (obj7) {
6539 {
6540 arg8 = wxString_in_helper(obj7);
6541 if (arg8 == NULL) SWIG_fail;
6542 temp8 = true;
6543 }
6544 }
6545 {
6546 PyThreadState* __tstate = wxPyBeginAllowThreads();
6547 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6548 wxPyEndAllowThreads(__tstate);
6549 if (PyErr_Occurred()) SWIG_fail;
6550 }
6551 {
6552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6553 }
6554 {
6555 if (temp4)
6556 delete arg4;
6557 }
6558 {
6559 if (temp8)
6560 delete arg8;
6561 }
6562 return resultobj;
6563fail:
6564 {
6565 if (temp4)
6566 delete arg4;
6567 }
6568 {
6569 if (temp8)
6570 delete arg8;
6571 }
6572 return NULL;
d55e5bfc
RD
6573}
6574
6575
554f62e9
RD
6576SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6577 PyObject *resultobj = 0;
6578 wxFrame *arg1 = (wxFrame *) 0 ;
6579 void *argp1 = 0 ;
6580 int res1 = 0 ;
6581 PyObject *swig_obj[1] ;
6582
6583 if (!args) SWIG_fail;
6584 swig_obj[0] = args;
6585 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6586 if (!SWIG_IsOK(res1)) {
6587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6588 }
6589 arg1 = reinterpret_cast< wxFrame * >(argp1);
6590 {
6591 PyThreadState* __tstate = wxPyBeginAllowThreads();
6592 (arg1)->SendSizeEvent();
6593 wxPyEndAllowThreads(__tstate);
6594 if (PyErr_Occurred()) SWIG_fail;
6595 }
6596 resultobj = SWIG_Py_Void();
6597 return resultobj;
6598fail:
6599 return NULL;
6600}
6601
6602
6603SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6604 PyObject *resultobj = 0;
6605 wxFrame *arg1 = (wxFrame *) 0 ;
6606 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6607 void *argp1 = 0 ;
6608 int res1 = 0 ;
6609 void *argp2 = 0 ;
6610 int res2 = 0 ;
6611 PyObject * obj0 = 0 ;
6612 PyObject * obj1 = 0 ;
6613 char * kwnames[] = {
6614 (char *) "self",(char *) "menubar", NULL
6615 };
6616
6617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6619 if (!SWIG_IsOK(res1)) {
6620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6621 }
6622 arg1 = reinterpret_cast< wxFrame * >(argp1);
6623 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6624 if (!SWIG_IsOK(res2)) {
6625 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6626 }
6627 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6628 {
6629 PyThreadState* __tstate = wxPyBeginAllowThreads();
6630 (arg1)->SetMenuBar(arg2);
6631 wxPyEndAllowThreads(__tstate);
6632 if (PyErr_Occurred()) SWIG_fail;
6633 }
6634 resultobj = SWIG_Py_Void();
6635 return resultobj;
6636fail:
6637 return NULL;
d55e5bfc
RD
6638}
6639
6640
554f62e9
RD
6641SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6642 PyObject *resultobj = 0;
6643 wxFrame *arg1 = (wxFrame *) 0 ;
6644 wxMenuBar *result = 0 ;
6645 void *argp1 = 0 ;
6646 int res1 = 0 ;
6647 PyObject *swig_obj[1] ;
6648
6649 if (!args) SWIG_fail;
6650 swig_obj[0] = args;
6651 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6652 if (!SWIG_IsOK(res1)) {
6653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6654 }
6655 arg1 = reinterpret_cast< wxFrame * >(argp1);
6656 {
6657 PyThreadState* __tstate = wxPyBeginAllowThreads();
6658 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6659 wxPyEndAllowThreads(__tstate);
6660 if (PyErr_Occurred()) SWIG_fail;
6661 }
6662 {
6663 resultobj = wxPyMake_wxObject(result, 0);
6664 }
6665 return resultobj;
6666fail:
6667 return NULL;
6668}
6669
6670
6671SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6672 PyObject *resultobj = 0;
6673 wxFrame *arg1 = (wxFrame *) 0 ;
6674 int arg2 ;
6675 bool result;
6676 void *argp1 = 0 ;
6677 int res1 = 0 ;
6678 int val2 ;
6679 int ecode2 = 0 ;
6680 PyObject * obj0 = 0 ;
6681 PyObject * obj1 = 0 ;
6682 char * kwnames[] = {
6683 (char *) "self",(char *) "winid", NULL
6684 };
6685
6686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6688 if (!SWIG_IsOK(res1)) {
6689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6690 }
6691 arg1 = reinterpret_cast< wxFrame * >(argp1);
6692 ecode2 = SWIG_AsVal_int(obj1, &val2);
6693 if (!SWIG_IsOK(ecode2)) {
6694 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6695 }
6696 arg2 = static_cast< int >(val2);
6697 {
6698 PyThreadState* __tstate = wxPyBeginAllowThreads();
6699 result = (bool)(arg1)->ProcessCommand(arg2);
6700 wxPyEndAllowThreads(__tstate);
6701 if (PyErr_Occurred()) SWIG_fail;
6702 }
6703 {
6704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6705 }
6706 return resultobj;
6707fail:
6708 return NULL;
6709}
6710
6711
6712SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6713 PyObject *resultobj = 0;
6714 wxFrame *arg1 = (wxFrame *) 0 ;
6715 int arg2 = (int) 1 ;
6716 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6717 int arg4 = (int) 0 ;
6718 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6719 wxString *arg5 = (wxString *) &arg5_defvalue ;
6720 wxStatusBar *result = 0 ;
6721 void *argp1 = 0 ;
6722 int res1 = 0 ;
6723 int val2 ;
6724 int ecode2 = 0 ;
6725 long val3 ;
6726 int ecode3 = 0 ;
6727 int val4 ;
6728 int ecode4 = 0 ;
6729 bool temp5 = false ;
6730 PyObject * obj0 = 0 ;
6731 PyObject * obj1 = 0 ;
6732 PyObject * obj2 = 0 ;
6733 PyObject * obj3 = 0 ;
6734 PyObject * obj4 = 0 ;
6735 char * kwnames[] = {
6736 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6737 };
6738
6739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6741 if (!SWIG_IsOK(res1)) {
6742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6743 }
6744 arg1 = reinterpret_cast< wxFrame * >(argp1);
6745 if (obj1) {
6746 ecode2 = SWIG_AsVal_int(obj1, &val2);
6747 if (!SWIG_IsOK(ecode2)) {
6748 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6749 }
6750 arg2 = static_cast< int >(val2);
6751 }
6752 if (obj2) {
6753 ecode3 = SWIG_AsVal_long(obj2, &val3);
6754 if (!SWIG_IsOK(ecode3)) {
6755 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6756 }
6757 arg3 = static_cast< long >(val3);
6758 }
6759 if (obj3) {
6760 ecode4 = SWIG_AsVal_int(obj3, &val4);
6761 if (!SWIG_IsOK(ecode4)) {
6762 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6763 }
6764 arg4 = static_cast< int >(val4);
6765 }
6766 if (obj4) {
d55e5bfc 6767 {
554f62e9
RD
6768 arg5 = wxString_in_helper(obj4);
6769 if (arg5 == NULL) SWIG_fail;
6770 temp5 = true;
6771 }
6772 }
6773 {
6774 PyThreadState* __tstate = wxPyBeginAllowThreads();
6775 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6776 wxPyEndAllowThreads(__tstate);
6777 if (PyErr_Occurred()) SWIG_fail;
6778 }
6779 {
6780 resultobj = wxPyMake_wxObject(result, (bool)0);
6781 }
6782 {
6783 if (temp5)
6784 delete arg5;
6785 }
6786 return resultobj;
6787fail:
6788 {
6789 if (temp5)
6790 delete arg5;
6791 }
6792 return NULL;
d55e5bfc
RD
6793}
6794
6795
554f62e9
RD
6796SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6797 PyObject *resultobj = 0;
6798 wxFrame *arg1 = (wxFrame *) 0 ;
6799 wxStatusBar *result = 0 ;
6800 void *argp1 = 0 ;
6801 int res1 = 0 ;
6802 PyObject *swig_obj[1] ;
6803
6804 if (!args) SWIG_fail;
6805 swig_obj[0] = args;
6806 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6807 if (!SWIG_IsOK(res1)) {
6808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6809 }
6810 arg1 = reinterpret_cast< wxFrame * >(argp1);
6811 {
6812 PyThreadState* __tstate = wxPyBeginAllowThreads();
6813 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6814 wxPyEndAllowThreads(__tstate);
6815 if (PyErr_Occurred()) SWIG_fail;
6816 }
6817 {
6818 resultobj = wxPyMake_wxObject(result, (bool)0);
6819 }
6820 return resultobj;
6821fail:
6822 return NULL;
6823}
6824
6825
6826SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6827 PyObject *resultobj = 0;
6828 wxFrame *arg1 = (wxFrame *) 0 ;
6829 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6830 void *argp1 = 0 ;
6831 int res1 = 0 ;
6832 void *argp2 = 0 ;
6833 int res2 = 0 ;
6834 PyObject * obj0 = 0 ;
6835 PyObject * obj1 = 0 ;
6836 char * kwnames[] = {
6837 (char *) "self",(char *) "statBar", NULL
6838 };
6839
6840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6842 if (!SWIG_IsOK(res1)) {
6843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6844 }
6845 arg1 = reinterpret_cast< wxFrame * >(argp1);
6846 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6847 if (!SWIG_IsOK(res2)) {
6848 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6849 }
6850 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6851 {
6852 PyThreadState* __tstate = wxPyBeginAllowThreads();
6853 (arg1)->SetStatusBar(arg2);
6854 wxPyEndAllowThreads(__tstate);
6855 if (PyErr_Occurred()) SWIG_fail;
6856 }
6857 resultobj = SWIG_Py_Void();
6858 return resultobj;
6859fail:
6860 return NULL;
6861}
6862
6863
6864SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6865 PyObject *resultobj = 0;
6866 wxFrame *arg1 = (wxFrame *) 0 ;
6867 wxString *arg2 = 0 ;
6868 int arg3 = (int) 0 ;
6869 void *argp1 = 0 ;
6870 int res1 = 0 ;
6871 bool temp2 = false ;
6872 int val3 ;
6873 int ecode3 = 0 ;
6874 PyObject * obj0 = 0 ;
6875 PyObject * obj1 = 0 ;
6876 PyObject * obj2 = 0 ;
6877 char * kwnames[] = {
6878 (char *) "self",(char *) "text",(char *) "number", NULL
6879 };
6880
6881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6883 if (!SWIG_IsOK(res1)) {
6884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6885 }
6886 arg1 = reinterpret_cast< wxFrame * >(argp1);
6887 {
6888 arg2 = wxString_in_helper(obj1);
6889 if (arg2 == NULL) SWIG_fail;
6890 temp2 = true;
6891 }
6892 if (obj2) {
6893 ecode3 = SWIG_AsVal_int(obj2, &val3);
6894 if (!SWIG_IsOK(ecode3)) {
6895 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6896 }
6897 arg3 = static_cast< int >(val3);
6898 }
6899 {
6900 PyThreadState* __tstate = wxPyBeginAllowThreads();
6901 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6902 wxPyEndAllowThreads(__tstate);
6903 if (PyErr_Occurred()) SWIG_fail;
6904 }
6905 resultobj = SWIG_Py_Void();
6906 {
6907 if (temp2)
6908 delete arg2;
6909 }
6910 return resultobj;
6911fail:
6912 {
6913 if (temp2)
6914 delete arg2;
6915 }
6916 return NULL;
d55e5bfc
RD
6917}
6918
6919
554f62e9
RD
6920SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6921 PyObject *resultobj = 0;
6922 wxFrame *arg1 = (wxFrame *) 0 ;
6923 int arg2 ;
6924 int *arg3 = (int *) 0 ;
6925 void *argp1 = 0 ;
6926 int res1 = 0 ;
6927 PyObject * obj0 = 0 ;
6928 PyObject * obj1 = 0 ;
6929 char * kwnames[] = {
6930 (char *) "self",(char *) "widths", NULL
6931 };
6932
6933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6935 if (!SWIG_IsOK(res1)) {
6936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6937 }
6938 arg1 = reinterpret_cast< wxFrame * >(argp1);
6939 {
6940 arg2 = PyList_Size(obj1);
6941 arg3 = int_LIST_helper(obj1);
6942 if (arg3 == NULL) SWIG_fail;
6943 }
6944 {
6945 PyThreadState* __tstate = wxPyBeginAllowThreads();
6946 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6947 wxPyEndAllowThreads(__tstate);
6948 if (PyErr_Occurred()) SWIG_fail;
6949 }
6950 resultobj = SWIG_Py_Void();
6951 {
6952 if (arg3) delete [] arg3;
6953 }
6954 return resultobj;
6955fail:
6956 {
6957 if (arg3) delete [] arg3;
6958 }
6959 return NULL;
6960}
6961
6962
6963SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6964 PyObject *resultobj = 0;
6965 wxFrame *arg1 = (wxFrame *) 0 ;
6966 wxString *arg2 = 0 ;
6967 int arg3 = (int) 0 ;
6968 void *argp1 = 0 ;
6969 int res1 = 0 ;
6970 bool temp2 = false ;
6971 int val3 ;
6972 int ecode3 = 0 ;
6973 PyObject * obj0 = 0 ;
6974 PyObject * obj1 = 0 ;
6975 PyObject * obj2 = 0 ;
6976 char * kwnames[] = {
6977 (char *) "self",(char *) "text",(char *) "number", NULL
6978 };
6979
6980 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6981 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6982 if (!SWIG_IsOK(res1)) {
6983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6984 }
6985 arg1 = reinterpret_cast< wxFrame * >(argp1);
6986 {
6987 arg2 = wxString_in_helper(obj1);
6988 if (arg2 == NULL) SWIG_fail;
6989 temp2 = true;
6990 }
6991 if (obj2) {
6992 ecode3 = SWIG_AsVal_int(obj2, &val3);
6993 if (!SWIG_IsOK(ecode3)) {
6994 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6995 }
6996 arg3 = static_cast< int >(val3);
6997 }
6998 {
6999 PyThreadState* __tstate = wxPyBeginAllowThreads();
7000 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
7001 wxPyEndAllowThreads(__tstate);
7002 if (PyErr_Occurred()) SWIG_fail;
7003 }
7004 resultobj = SWIG_Py_Void();
7005 {
7006 if (temp2)
7007 delete arg2;
7008 }
7009 return resultobj;
7010fail:
7011 {
7012 if (temp2)
7013 delete arg2;
7014 }
7015 return NULL;
7016}
7017
7018
7019SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7020 PyObject *resultobj = 0;
7021 wxFrame *arg1 = (wxFrame *) 0 ;
7022 int arg2 = (int) 0 ;
7023 void *argp1 = 0 ;
7024 int res1 = 0 ;
7025 int val2 ;
7026 int ecode2 = 0 ;
7027 PyObject * obj0 = 0 ;
7028 PyObject * obj1 = 0 ;
7029 char * kwnames[] = {
7030 (char *) "self",(char *) "number", NULL
7031 };
7032
7033 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
7034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7035 if (!SWIG_IsOK(res1)) {
7036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
7037 }
7038 arg1 = reinterpret_cast< wxFrame * >(argp1);
7039 if (obj1) {
7040 ecode2 = SWIG_AsVal_int(obj1, &val2);
7041 if (!SWIG_IsOK(ecode2)) {
7042 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
7043 }
7044 arg2 = static_cast< int >(val2);
7045 }
7046 {
7047 PyThreadState* __tstate = wxPyBeginAllowThreads();
7048 (arg1)->PopStatusText(arg2);
7049 wxPyEndAllowThreads(__tstate);
7050 if (PyErr_Occurred()) SWIG_fail;
7051 }
7052 resultobj = SWIG_Py_Void();
7053 return resultobj;
7054fail:
7055 return NULL;
7056}
7057
7058
7059SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7060 PyObject *resultobj = 0;
7061 wxFrame *arg1 = (wxFrame *) 0 ;
7062 int arg2 ;
7063 void *argp1 = 0 ;
7064 int res1 = 0 ;
7065 int val2 ;
7066 int ecode2 = 0 ;
7067 PyObject * obj0 = 0 ;
7068 PyObject * obj1 = 0 ;
7069 char * kwnames[] = {
7070 (char *) "self",(char *) "n", NULL
7071 };
7072
7073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
7074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7075 if (!SWIG_IsOK(res1)) {
7076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
7077 }
7078 arg1 = reinterpret_cast< wxFrame * >(argp1);
7079 ecode2 = SWIG_AsVal_int(obj1, &val2);
7080 if (!SWIG_IsOK(ecode2)) {
7081 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
7082 }
7083 arg2 = static_cast< int >(val2);
7084 {
7085 PyThreadState* __tstate = wxPyBeginAllowThreads();
7086 (arg1)->SetStatusBarPane(arg2);
7087 wxPyEndAllowThreads(__tstate);
7088 if (PyErr_Occurred()) SWIG_fail;
7089 }
7090 resultobj = SWIG_Py_Void();
7091 return resultobj;
7092fail:
7093 return NULL;
d55e5bfc
RD
7094}
7095
7096
554f62e9
RD
7097SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7098 PyObject *resultobj = 0;
7099 wxFrame *arg1 = (wxFrame *) 0 ;
7100 int result;
7101 void *argp1 = 0 ;
7102 int res1 = 0 ;
7103 PyObject *swig_obj[1] ;
7104
7105 if (!args) SWIG_fail;
7106 swig_obj[0] = args;
7107 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7108 if (!SWIG_IsOK(res1)) {
7109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7110 }
7111 arg1 = reinterpret_cast< wxFrame * >(argp1);
7112 {
7113 PyThreadState* __tstate = wxPyBeginAllowThreads();
7114 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
7115 wxPyEndAllowThreads(__tstate);
7116 if (PyErr_Occurred()) SWIG_fail;
7117 }
7118 resultobj = SWIG_From_int(static_cast< int >(result));
7119 return resultobj;
7120fail:
7121 return NULL;
7122}
7123
7124
7125SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7126 PyObject *resultobj = 0;
7127 wxFrame *arg1 = (wxFrame *) 0 ;
7128 long arg2 = (long) -1 ;
7129 int arg3 = (int) -1 ;
7130 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
7131 wxString *arg4 = (wxString *) &arg4_defvalue ;
7132 wxToolBar *result = 0 ;
7133 void *argp1 = 0 ;
7134 int res1 = 0 ;
7135 long val2 ;
7136 int ecode2 = 0 ;
7137 int val3 ;
7138 int ecode3 = 0 ;
7139 bool temp4 = false ;
7140 PyObject * obj0 = 0 ;
7141 PyObject * obj1 = 0 ;
7142 PyObject * obj2 = 0 ;
7143 PyObject * obj3 = 0 ;
7144 char * kwnames[] = {
7145 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7146 };
7147
7148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7150 if (!SWIG_IsOK(res1)) {
7151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7152 }
7153 arg1 = reinterpret_cast< wxFrame * >(argp1);
7154 if (obj1) {
7155 ecode2 = SWIG_AsVal_long(obj1, &val2);
7156 if (!SWIG_IsOK(ecode2)) {
7157 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7158 }
7159 arg2 = static_cast< long >(val2);
7160 }
7161 if (obj2) {
7162 ecode3 = SWIG_AsVal_int(obj2, &val3);
7163 if (!SWIG_IsOK(ecode3)) {
7164 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7165 }
7166 arg3 = static_cast< int >(val3);
7167 }
7168 if (obj3) {
d55e5bfc 7169 {
554f62e9
RD
7170 arg4 = wxString_in_helper(obj3);
7171 if (arg4 == NULL) SWIG_fail;
7172 temp4 = true;
d55e5bfc 7173 }
554f62e9
RD
7174 }
7175 {
7176 PyThreadState* __tstate = wxPyBeginAllowThreads();
7177 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7178 wxPyEndAllowThreads(__tstate);
7179 if (PyErr_Occurred()) SWIG_fail;
7180 }
7181 {
7182 resultobj = wxPyMake_wxObject(result, (bool)0);
7183 }
7184 {
7185 if (temp4)
7186 delete arg4;
7187 }
7188 return resultobj;
7189fail:
7190 {
7191 if (temp4)
7192 delete arg4;
7193 }
7194 return NULL;
d55e5bfc
RD
7195}
7196
7197
554f62e9
RD
7198SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7199 PyObject *resultobj = 0;
7200 wxFrame *arg1 = (wxFrame *) 0 ;
7201 wxToolBar *result = 0 ;
7202 void *argp1 = 0 ;
7203 int res1 = 0 ;
7204 PyObject *swig_obj[1] ;
7205
7206 if (!args) SWIG_fail;
7207 swig_obj[0] = args;
7208 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7209 if (!SWIG_IsOK(res1)) {
7210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7211 }
7212 arg1 = reinterpret_cast< wxFrame * >(argp1);
7213 {
7214 PyThreadState* __tstate = wxPyBeginAllowThreads();
7215 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7216 wxPyEndAllowThreads(__tstate);
7217 if (PyErr_Occurred()) SWIG_fail;
7218 }
7219 {
7220 resultobj = wxPyMake_wxObject(result, (bool)0);
7221 }
7222 return resultobj;
7223fail:
7224 return NULL;
7225}
7226
7227
7228SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7229 PyObject *resultobj = 0;
7230 wxFrame *arg1 = (wxFrame *) 0 ;
7231 wxToolBar *arg2 = (wxToolBar *) 0 ;
7232 void *argp1 = 0 ;
7233 int res1 = 0 ;
7234 void *argp2 = 0 ;
7235 int res2 = 0 ;
7236 PyObject * obj0 = 0 ;
7237 PyObject * obj1 = 0 ;
7238 char * kwnames[] = {
7239 (char *) "self",(char *) "toolbar", NULL
7240 };
7241
7242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7244 if (!SWIG_IsOK(res1)) {
7245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7246 }
7247 arg1 = reinterpret_cast< wxFrame * >(argp1);
7248 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7249 if (!SWIG_IsOK(res2)) {
7250 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7251 }
7252 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7253 {
7254 PyThreadState* __tstate = wxPyBeginAllowThreads();
7255 (arg1)->SetToolBar(arg2);
7256 wxPyEndAllowThreads(__tstate);
7257 if (PyErr_Occurred()) SWIG_fail;
7258 }
7259 resultobj = SWIG_Py_Void();
7260 return resultobj;
7261fail:
7262 return NULL;
7263}
7264
7265
7266SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7267 PyObject *resultobj = 0;
7268 wxFrame *arg1 = (wxFrame *) 0 ;
7269 wxString *arg2 = 0 ;
7270 bool arg3 ;
7271 void *argp1 = 0 ;
7272 int res1 = 0 ;
7273 bool temp2 = false ;
7274 bool val3 ;
7275 int ecode3 = 0 ;
7276 PyObject * obj0 = 0 ;
7277 PyObject * obj1 = 0 ;
7278 PyObject * obj2 = 0 ;
7279 char * kwnames[] = {
7280 (char *) "self",(char *) "text",(char *) "show", NULL
7281 };
7282
7283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7285 if (!SWIG_IsOK(res1)) {
7286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7287 }
7288 arg1 = reinterpret_cast< wxFrame * >(argp1);
7289 {
7290 arg2 = wxString_in_helper(obj1);
7291 if (arg2 == NULL) SWIG_fail;
7292 temp2 = true;
7293 }
7294 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7295 if (!SWIG_IsOK(ecode3)) {
7296 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7297 }
7298 arg3 = static_cast< bool >(val3);
7299 {
7300 PyThreadState* __tstate = wxPyBeginAllowThreads();
7301 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7302 wxPyEndAllowThreads(__tstate);
7303 if (PyErr_Occurred()) SWIG_fail;
7304 }
7305 resultobj = SWIG_Py_Void();
7306 {
7307 if (temp2)
7308 delete arg2;
7309 }
7310 return resultobj;
7311fail:
7312 {
7313 if (temp2)
7314 delete arg2;
7315 }
7316 return NULL;
7317}
7318
7319
7320SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7321 PyObject *resultobj = 0;
7322 wxFrame *arg1 = (wxFrame *) 0 ;
7323 wxMenu *arg2 = (wxMenu *) NULL ;
7324 void *argp1 = 0 ;
7325 int res1 = 0 ;
7326 void *argp2 = 0 ;
7327 int res2 = 0 ;
7328 PyObject * obj0 = 0 ;
7329 PyObject * obj1 = 0 ;
7330 char * kwnames[] = {
7331 (char *) "self",(char *) "menu", NULL
7332 };
7333
7334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7335 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7336 if (!SWIG_IsOK(res1)) {
7337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7338 }
7339 arg1 = reinterpret_cast< wxFrame * >(argp1);
7340 if (obj1) {
7341 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7342 if (!SWIG_IsOK(res2)) {
7343 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
d55e5bfc 7344 }
554f62e9
RD
7345 arg2 = reinterpret_cast< wxMenu * >(argp2);
7346 }
7347 {
7348 PyThreadState* __tstate = wxPyBeginAllowThreads();
7349 (arg1)->DoMenuUpdates(arg2);
7350 wxPyEndAllowThreads(__tstate);
7351 if (PyErr_Occurred()) SWIG_fail;
7352 }
7353 resultobj = SWIG_Py_Void();
7354 return resultobj;
7355fail:
7356 return NULL;
7357}
7358
7359
7360SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7361 PyObject *resultobj = 0;
7362 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7363 SwigValueWrapper<wxVisualAttributes > result;
7364 int val1 ;
7365 int ecode1 = 0 ;
7366 PyObject * obj0 = 0 ;
7367 char * kwnames[] = {
7368 (char *) "variant", NULL
7369 };
7370
7371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7372 if (obj0) {
7373 ecode1 = SWIG_AsVal_int(obj0, &val1);
7374 if (!SWIG_IsOK(ecode1)) {
7375 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7376 }
7377 arg1 = static_cast< wxWindowVariant >(val1);
7378 }
7379 {
7380 if (!wxPyCheckForApp()) SWIG_fail;
7381 PyThreadState* __tstate = wxPyBeginAllowThreads();
7382 result = wxFrame::GetClassDefaultAttributes(arg1);
7383 wxPyEndAllowThreads(__tstate);
7384 if (PyErr_Occurred()) SWIG_fail;
7385 }
7386 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7387 return resultobj;
7388fail:
7389 return NULL;
7390}
7391
7392
7393SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7394 PyObject *obj;
7395 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7396 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7397 return SWIG_Py_Void();
7398}
7399
7400SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7401 return SWIG_Python_InitShadowInstance(args);
7402}
7403
7404SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7405 PyObject *resultobj = 0;
7406 wxWindow *arg1 = (wxWindow *) 0 ;
7407 int arg2 = (int) (int)-1 ;
7408 wxString const &arg3_defvalue = wxPyEmptyString ;
7409 wxString *arg3 = (wxString *) &arg3_defvalue ;
7410 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7411 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7412 wxSize const &arg5_defvalue = wxDefaultSize ;
7413 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7414 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7415 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7416 wxString *arg7 = (wxString *) &arg7_defvalue ;
7417 wxDialog *result = 0 ;
7418 void *argp1 = 0 ;
7419 int res1 = 0 ;
7420 int val2 ;
7421 int ecode2 = 0 ;
7422 bool temp3 = false ;
7423 wxPoint temp4 ;
7424 wxSize temp5 ;
7425 long val6 ;
7426 int ecode6 = 0 ;
7427 bool temp7 = false ;
7428 PyObject * obj0 = 0 ;
7429 PyObject * obj1 = 0 ;
7430 PyObject * obj2 = 0 ;
7431 PyObject * obj3 = 0 ;
7432 PyObject * obj4 = 0 ;
7433 PyObject * obj5 = 0 ;
7434 PyObject * obj6 = 0 ;
7435 char * kwnames[] = {
7436 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7437 };
7438
7439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7441 if (!SWIG_IsOK(res1)) {
7442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7443 }
7444 arg1 = reinterpret_cast< wxWindow * >(argp1);
7445 if (obj1) {
7446 ecode2 = SWIG_AsVal_int(obj1, &val2);
7447 if (!SWIG_IsOK(ecode2)) {
7448 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7449 }
7450 arg2 = static_cast< int >(val2);
7451 }
7452 if (obj2) {
d55e5bfc 7453 {
554f62e9
RD
7454 arg3 = wxString_in_helper(obj2);
7455 if (arg3 == NULL) SWIG_fail;
7456 temp3 = true;
d55e5bfc 7457 }
554f62e9
RD
7458 }
7459 if (obj3) {
d55e5bfc 7460 {
554f62e9
RD
7461 arg4 = &temp4;
7462 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 7463 }
554f62e9
RD
7464 }
7465 if (obj4) {
d55e5bfc 7466 {
554f62e9
RD
7467 arg5 = &temp5;
7468 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7469 }
554f62e9
RD
7470 }
7471 if (obj5) {
7472 ecode6 = SWIG_AsVal_long(obj5, &val6);
7473 if (!SWIG_IsOK(ecode6)) {
7474 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7475 }
7476 arg6 = static_cast< long >(val6);
7477 }
7478 if (obj6) {
093d3ff1 7479 {
554f62e9
RD
7480 arg7 = wxString_in_helper(obj6);
7481 if (arg7 == NULL) SWIG_fail;
7482 temp7 = true;
d55e5bfc 7483 }
554f62e9
RD
7484 }
7485 {
7486 if (!wxPyCheckForApp()) SWIG_fail;
7487 PyThreadState* __tstate = wxPyBeginAllowThreads();
7488 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7489 wxPyEndAllowThreads(__tstate);
7490 if (PyErr_Occurred()) SWIG_fail;
7491 }
7492 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7493 {
7494 if (temp3)
7495 delete arg3;
7496 }
7497 {
7498 if (temp7)
7499 delete arg7;
7500 }
7501 return resultobj;
7502fail:
7503 {
7504 if (temp3)
7505 delete arg3;
7506 }
7507 {
7508 if (temp7)
7509 delete arg7;
7510 }
7511 return NULL;
d55e5bfc
RD
7512}
7513
7514
554f62e9
RD
7515SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7516 PyObject *resultobj = 0;
7517 wxDialog *result = 0 ;
7518
7519 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7520 {
7521 if (!wxPyCheckForApp()) SWIG_fail;
7522 PyThreadState* __tstate = wxPyBeginAllowThreads();
7523 result = (wxDialog *)new wxDialog();
7524 wxPyEndAllowThreads(__tstate);
7525 if (PyErr_Occurred()) SWIG_fail;
7526 }
7527 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7528 return resultobj;
7529fail:
7530 return NULL;
7531}
7532
7533
7534SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7535 PyObject *resultobj = 0;
7536 wxDialog *arg1 = (wxDialog *) 0 ;
7537 wxWindow *arg2 = (wxWindow *) 0 ;
7538 int arg3 = (int) (int)-1 ;
7539 wxString const &arg4_defvalue = wxPyEmptyString ;
7540 wxString *arg4 = (wxString *) &arg4_defvalue ;
7541 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7542 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7543 wxSize const &arg6_defvalue = wxDefaultSize ;
7544 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7545 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7546 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7547 wxString *arg8 = (wxString *) &arg8_defvalue ;
7548 bool result;
7549 void *argp1 = 0 ;
7550 int res1 = 0 ;
7551 void *argp2 = 0 ;
7552 int res2 = 0 ;
7553 int val3 ;
7554 int ecode3 = 0 ;
7555 bool temp4 = false ;
7556 wxPoint temp5 ;
7557 wxSize temp6 ;
7558 long val7 ;
7559 int ecode7 = 0 ;
7560 bool temp8 = false ;
7561 PyObject * obj0 = 0 ;
7562 PyObject * obj1 = 0 ;
7563 PyObject * obj2 = 0 ;
7564 PyObject * obj3 = 0 ;
7565 PyObject * obj4 = 0 ;
7566 PyObject * obj5 = 0 ;
7567 PyObject * obj6 = 0 ;
7568 PyObject * obj7 = 0 ;
7569 char * kwnames[] = {
7570 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7571 };
7572
7573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7575 if (!SWIG_IsOK(res1)) {
7576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7577 }
7578 arg1 = reinterpret_cast< wxDialog * >(argp1);
7579 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7580 if (!SWIG_IsOK(res2)) {
7581 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7582 }
7583 arg2 = reinterpret_cast< wxWindow * >(argp2);
7584 if (obj2) {
7585 ecode3 = SWIG_AsVal_int(obj2, &val3);
7586 if (!SWIG_IsOK(ecode3)) {
7587 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7588 }
7589 arg3 = static_cast< int >(val3);
7590 }
7591 if (obj3) {
093d3ff1 7592 {
554f62e9
RD
7593 arg4 = wxString_in_helper(obj3);
7594 if (arg4 == NULL) SWIG_fail;
7595 temp4 = true;
d55e5bfc 7596 }
554f62e9
RD
7597 }
7598 if (obj4) {
d55e5bfc 7599 {
554f62e9
RD
7600 arg5 = &temp5;
7601 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7602 }
554f62e9
RD
7603 }
7604 if (obj5) {
d55e5bfc 7605 {
554f62e9
RD
7606 arg6 = &temp6;
7607 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 7608 }
554f62e9
RD
7609 }
7610 if (obj6) {
7611 ecode7 = SWIG_AsVal_long(obj6, &val7);
7612 if (!SWIG_IsOK(ecode7)) {
7613 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7614 }
7615 arg7 = static_cast< long >(val7);
7616 }
7617 if (obj7) {
d55e5bfc 7618 {
554f62e9
RD
7619 arg8 = wxString_in_helper(obj7);
7620 if (arg8 == NULL) SWIG_fail;
7621 temp8 = true;
d55e5bfc 7622 }
554f62e9
RD
7623 }
7624 {
7625 PyThreadState* __tstate = wxPyBeginAllowThreads();
7626 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7627 wxPyEndAllowThreads(__tstate);
7628 if (PyErr_Occurred()) SWIG_fail;
7629 }
7630 {
7631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7632 }
7633 {
7634 if (temp4)
7635 delete arg4;
7636 }
7637 {
7638 if (temp8)
7639 delete arg8;
7640 }
7641 return resultobj;
7642fail:
7643 {
7644 if (temp4)
7645 delete arg4;
7646 }
7647 {
7648 if (temp8)
7649 delete arg8;
7650 }
7651 return NULL;
7652}
7653
7654
7655SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7656 PyObject *resultobj = 0;
7657 wxDialog *arg1 = (wxDialog *) 0 ;
7658 int arg2 ;
7659 void *argp1 = 0 ;
7660 int res1 = 0 ;
7661 int val2 ;
7662 int ecode2 = 0 ;
7663 PyObject * obj0 = 0 ;
7664 PyObject * obj1 = 0 ;
7665 char * kwnames[] = {
7666 (char *) "self",(char *) "returnCode", NULL
7667 };
7668
7669 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7670 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7671 if (!SWIG_IsOK(res1)) {
7672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7673 }
7674 arg1 = reinterpret_cast< wxDialog * >(argp1);
7675 ecode2 = SWIG_AsVal_int(obj1, &val2);
7676 if (!SWIG_IsOK(ecode2)) {
7677 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7678 }
7679 arg2 = static_cast< int >(val2);
7680 {
7681 PyThreadState* __tstate = wxPyBeginAllowThreads();
7682 (arg1)->SetReturnCode(arg2);
7683 wxPyEndAllowThreads(__tstate);
7684 if (PyErr_Occurred()) SWIG_fail;
7685 }
7686 resultobj = SWIG_Py_Void();
7687 return resultobj;
7688fail:
7689 return NULL;
d55e5bfc
RD
7690}
7691
7692
554f62e9
RD
7693SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7694 PyObject *resultobj = 0;
7695 wxDialog *arg1 = (wxDialog *) 0 ;
7696 int result;
7697 void *argp1 = 0 ;
7698 int res1 = 0 ;
7699 PyObject *swig_obj[1] ;
7700
7701 if (!args) SWIG_fail;
7702 swig_obj[0] = args;
7703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7704 if (!SWIG_IsOK(res1)) {
7705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7706 }
7707 arg1 = reinterpret_cast< wxDialog * >(argp1);
7708 {
7709 PyThreadState* __tstate = wxPyBeginAllowThreads();
7710 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7711 wxPyEndAllowThreads(__tstate);
7712 if (PyErr_Occurred()) SWIG_fail;
7713 }
7714 resultobj = SWIG_From_int(static_cast< int >(result));
7715 return resultobj;
7716fail:
7717 return NULL;
7718}
7719
7720
7721SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7722 PyObject *resultobj = 0;
7723 wxDialog *arg1 = (wxDialog *) 0 ;
7724 int arg2 ;
7725 void *argp1 = 0 ;
7726 int res1 = 0 ;
7727 int val2 ;
7728 int ecode2 = 0 ;
7729 PyObject * obj0 = 0 ;
7730 PyObject * obj1 = 0 ;
7731 char * kwnames[] = {
7732 (char *) "self",(char *) "affirmativeId", NULL
7733 };
7734
7735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7737 if (!SWIG_IsOK(res1)) {
7738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7739 }
7740 arg1 = reinterpret_cast< wxDialog * >(argp1);
7741 ecode2 = SWIG_AsVal_int(obj1, &val2);
7742 if (!SWIG_IsOK(ecode2)) {
7743 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7744 }
7745 arg2 = static_cast< int >(val2);
7746 {
7747 PyThreadState* __tstate = wxPyBeginAllowThreads();
7748 (arg1)->SetAffirmativeId(arg2);
7749 wxPyEndAllowThreads(__tstate);
7750 if (PyErr_Occurred()) SWIG_fail;
7751 }
7752 resultobj = SWIG_Py_Void();
7753 return resultobj;
7754fail:
7755 return NULL;
d55e5bfc
RD
7756}
7757
7758
554f62e9
RD
7759SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7760 PyObject *resultobj = 0;
7761 wxDialog *arg1 = (wxDialog *) 0 ;
7762 int result;
7763 void *argp1 = 0 ;
7764 int res1 = 0 ;
7765 PyObject *swig_obj[1] ;
7766
7767 if (!args) SWIG_fail;
7768 swig_obj[0] = args;
7769 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7770 if (!SWIG_IsOK(res1)) {
7771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7772 }
7773 arg1 = reinterpret_cast< wxDialog * >(argp1);
7774 {
7775 PyThreadState* __tstate = wxPyBeginAllowThreads();
7776 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7777 wxPyEndAllowThreads(__tstate);
7778 if (PyErr_Occurred()) SWIG_fail;
7779 }
7780 resultobj = SWIG_From_int(static_cast< int >(result));
7781 return resultobj;
7782fail:
7783 return NULL;
7784}
7785
7786
7787SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7788 PyObject *resultobj = 0;
7789 wxDialog *arg1 = (wxDialog *) 0 ;
7790 int arg2 ;
7791 void *argp1 = 0 ;
7792 int res1 = 0 ;
7793 int val2 ;
7794 int ecode2 = 0 ;
7795 PyObject * obj0 = 0 ;
7796 PyObject * obj1 = 0 ;
7797 char * kwnames[] = {
7798 (char *) "self",(char *) "escapeId", NULL
7799 };
7800
7801 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7802 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7803 if (!SWIG_IsOK(res1)) {
7804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7805 }
7806 arg1 = reinterpret_cast< wxDialog * >(argp1);
7807 ecode2 = SWIG_AsVal_int(obj1, &val2);
7808 if (!SWIG_IsOK(ecode2)) {
7809 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7810 }
7811 arg2 = static_cast< int >(val2);
7812 {
7813 PyThreadState* __tstate = wxPyBeginAllowThreads();
7814 (arg1)->SetEscapeId(arg2);
7815 wxPyEndAllowThreads(__tstate);
7816 if (PyErr_Occurred()) SWIG_fail;
7817 }
7818 resultobj = SWIG_Py_Void();
7819 return resultobj;
7820fail:
7821 return NULL;
d55e5bfc
RD
7822}
7823
7824
554f62e9
RD
7825SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7826 PyObject *resultobj = 0;
7827 wxDialog *arg1 = (wxDialog *) 0 ;
7828 int result;
7829 void *argp1 = 0 ;
7830 int res1 = 0 ;
7831 PyObject *swig_obj[1] ;
7832
7833 if (!args) SWIG_fail;
7834 swig_obj[0] = args;
7835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7836 if (!SWIG_IsOK(res1)) {
7837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7838 }
7839 arg1 = reinterpret_cast< wxDialog * >(argp1);
7840 {
7841 PyThreadState* __tstate = wxPyBeginAllowThreads();
7842 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7843 wxPyEndAllowThreads(__tstate);
7844 if (PyErr_Occurred()) SWIG_fail;
7845 }
7846 resultobj = SWIG_From_int(static_cast< int >(result));
7847 return resultobj;
7848fail:
7849 return NULL;
7850}
7851
7852
7853SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7854 PyObject *resultobj = 0;
7855 wxDialog *arg1 = (wxDialog *) 0 ;
7856 wxString *arg2 = 0 ;
7857 wxSizer *result = 0 ;
7858 void *argp1 = 0 ;
7859 int res1 = 0 ;
7860 bool temp2 = false ;
7861 PyObject * obj0 = 0 ;
7862 PyObject * obj1 = 0 ;
7863 char * kwnames[] = {
7864 (char *) "self",(char *) "message", NULL
7865 };
7866
7867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7869 if (!SWIG_IsOK(res1)) {
7870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7871 }
7872 arg1 = reinterpret_cast< wxDialog * >(argp1);
7873 {
7874 arg2 = wxString_in_helper(obj1);
7875 if (arg2 == NULL) SWIG_fail;
7876 temp2 = true;
7877 }
7878 {
7879 PyThreadState* __tstate = wxPyBeginAllowThreads();
7880 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7881 wxPyEndAllowThreads(__tstate);
7882 if (PyErr_Occurred()) SWIG_fail;
7883 }
7884 {
7885 resultobj = wxPyMake_wxObject(result, (bool)0);
7886 }
7887 {
7888 if (temp2)
7889 delete arg2;
7890 }
7891 return resultobj;
7892fail:
7893 {
7894 if (temp2)
7895 delete arg2;
7896 }
7897 return NULL;
7898}
7899
7900
7901SWIGINTERN PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7902 PyObject *resultobj = 0;
7903 wxDialog *arg1 = (wxDialog *) 0 ;
7904 long arg2 ;
7905 bool arg3 = (bool) false ;
7906 int arg4 = (int) 0 ;
7907 wxSizer *result = 0 ;
7908 void *argp1 = 0 ;
7909 int res1 = 0 ;
7910 long val2 ;
7911 int ecode2 = 0 ;
7912 bool val3 ;
7913 int ecode3 = 0 ;
7914 int val4 ;
7915 int ecode4 = 0 ;
7916 PyObject * obj0 = 0 ;
7917 PyObject * obj1 = 0 ;
7918 PyObject * obj2 = 0 ;
7919 PyObject * obj3 = 0 ;
7920 char * kwnames[] = {
7921 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7922 };
7923
7924 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7925 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7926 if (!SWIG_IsOK(res1)) {
7927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7928 }
7929 arg1 = reinterpret_cast< wxDialog * >(argp1);
7930 ecode2 = SWIG_AsVal_long(obj1, &val2);
7931 if (!SWIG_IsOK(ecode2)) {
7932 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7933 }
7934 arg2 = static_cast< long >(val2);
7935 if (obj2) {
7936 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7937 if (!SWIG_IsOK(ecode3)) {
7938 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7939 }
7940 arg3 = static_cast< bool >(val3);
7941 }
7942 if (obj3) {
7943 ecode4 = SWIG_AsVal_int(obj3, &val4);
7944 if (!SWIG_IsOK(ecode4)) {
7945 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7946 }
7947 arg4 = static_cast< int >(val4);
7948 }
7949 {
7950 PyThreadState* __tstate = wxPyBeginAllowThreads();
7951 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
7952 wxPyEndAllowThreads(__tstate);
7953 if (PyErr_Occurred()) SWIG_fail;
7954 }
7955 {
7956 resultobj = wxPyMake_wxObject(result, (bool)0);
7957 }
7958 return resultobj;
7959fail:
7960 return NULL;
7961}
7962
7963
7964SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7965 PyObject *resultobj = 0;
7966 wxDialog *arg1 = (wxDialog *) 0 ;
7967 long arg2 ;
7968 wxStdDialogButtonSizer *result = 0 ;
7969 void *argp1 = 0 ;
7970 int res1 = 0 ;
7971 long val2 ;
7972 int ecode2 = 0 ;
7973 PyObject * obj0 = 0 ;
7974 PyObject * obj1 = 0 ;
7975 char * kwnames[] = {
7976 (char *) "self",(char *) "flags", NULL
7977 };
7978
7979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7981 if (!SWIG_IsOK(res1)) {
7982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7983 }
7984 arg1 = reinterpret_cast< wxDialog * >(argp1);
7985 ecode2 = SWIG_AsVal_long(obj1, &val2);
7986 if (!SWIG_IsOK(ecode2)) {
7987 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7988 }
7989 arg2 = static_cast< long >(val2);
7990 {
7991 PyThreadState* __tstate = wxPyBeginAllowThreads();
7992 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7993 wxPyEndAllowThreads(__tstate);
7994 if (PyErr_Occurred()) SWIG_fail;
7995 }
7996 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7997 return resultobj;
7998fail:
7999 return NULL;
d55e5bfc
RD
8000}
8001
8002
554f62e9
RD
8003SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8004 PyObject *resultobj = 0;
8005 wxDialog *arg1 = (wxDialog *) 0 ;
8006 bool result;
8007 void *argp1 = 0 ;
8008 int res1 = 0 ;
8009 PyObject *swig_obj[1] ;
8010
8011 if (!args) SWIG_fail;
8012 swig_obj[0] = args;
8013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8014 if (!SWIG_IsOK(res1)) {
8015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
8016 }
8017 arg1 = reinterpret_cast< wxDialog * >(argp1);
8018 {
8019 PyThreadState* __tstate = wxPyBeginAllowThreads();
8020 result = (bool)((wxDialog const *)arg1)->IsModal();
8021 wxPyEndAllowThreads(__tstate);
8022 if (PyErr_Occurred()) SWIG_fail;
8023 }
8024 {
8025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8026 }
8027 return resultobj;
8028fail:
8029 return NULL;
c32bde28
RD
8030}
8031
8032
554f62e9
RD
8033SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8034 PyObject *resultobj = 0;
8035 wxDialog *arg1 = (wxDialog *) 0 ;
8036 int result;
8037 void *argp1 = 0 ;
8038 int res1 = 0 ;
8039 PyObject *swig_obj[1] ;
8040
8041 if (!args) SWIG_fail;
8042 swig_obj[0] = args;
8043 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8044 if (!SWIG_IsOK(res1)) {
8045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8046 }
8047 arg1 = reinterpret_cast< wxDialog * >(argp1);
8048 {
8049 PyThreadState* __tstate = wxPyBeginAllowThreads();
8050 result = (int)(arg1)->ShowModal();
8051 wxPyEndAllowThreads(__tstate);
8052 if (PyErr_Occurred()) SWIG_fail;
8053 }
8054 resultobj = SWIG_From_int(static_cast< int >(result));
8055 return resultobj;
8056fail:
8057 return NULL;
8058}
8059
8060
8061SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8062 PyObject *resultobj = 0;
8063 wxDialog *arg1 = (wxDialog *) 0 ;
8064 int arg2 ;
8065 void *argp1 = 0 ;
8066 int res1 = 0 ;
8067 int val2 ;
8068 int ecode2 = 0 ;
8069 PyObject * obj0 = 0 ;
8070 PyObject * obj1 = 0 ;
8071 char * kwnames[] = {
8072 (char *) "self",(char *) "retCode", NULL
8073 };
8074
8075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
8076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8077 if (!SWIG_IsOK(res1)) {
8078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8079 }
8080 arg1 = reinterpret_cast< wxDialog * >(argp1);
8081 ecode2 = SWIG_AsVal_int(obj1, &val2);
8082 if (!SWIG_IsOK(ecode2)) {
8083 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8084 }
8085 arg2 = static_cast< int >(val2);
8086 {
8087 PyThreadState* __tstate = wxPyBeginAllowThreads();
8088 (arg1)->EndModal(arg2);
8089 wxPyEndAllowThreads(__tstate);
8090 if (PyErr_Occurred()) SWIG_fail;
8091 }
8092 resultobj = SWIG_Py_Void();
8093 return resultobj;
8094fail:
8095 return NULL;
8096}
8097
8098
8099SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8100 PyObject *resultobj = 0;
8101 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8102 SwigValueWrapper<wxVisualAttributes > result;
8103 int val1 ;
8104 int ecode1 = 0 ;
8105 PyObject * obj0 = 0 ;
8106 char * kwnames[] = {
8107 (char *) "variant", NULL
8108 };
8109
8110 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8111 if (obj0) {
8112 ecode1 = SWIG_AsVal_int(obj0, &val1);
8113 if (!SWIG_IsOK(ecode1)) {
8114 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8115 }
8116 arg1 = static_cast< wxWindowVariant >(val1);
8117 }
8118 {
8119 if (!wxPyCheckForApp()) SWIG_fail;
8120 PyThreadState* __tstate = wxPyBeginAllowThreads();
8121 result = wxDialog::GetClassDefaultAttributes(arg1);
8122 wxPyEndAllowThreads(__tstate);
8123 if (PyErr_Occurred()) SWIG_fail;
8124 }
8125 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8126 return resultobj;
8127fail:
8128 return NULL;
8129}
8130
8131
8132SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8133 PyObject *obj;
8134 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8135 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8136 return SWIG_Py_Void();
8137}
8138
8139SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8140 return SWIG_Python_InitShadowInstance(args);
8141}
8142
8143SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8144 PyObject *resultobj = 0;
8145 wxWindow *arg1 = (wxWindow *) 0 ;
8146 int arg2 = (int) (int)-1 ;
8147 wxString const &arg3_defvalue = wxPyEmptyString ;
8148 wxString *arg3 = (wxString *) &arg3_defvalue ;
8149 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8150 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8151 wxSize const &arg5_defvalue = wxDefaultSize ;
8152 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8153 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
8154 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8155 wxString *arg7 = (wxString *) &arg7_defvalue ;
8156 wxMiniFrame *result = 0 ;
8157 void *argp1 = 0 ;
8158 int res1 = 0 ;
8159 int val2 ;
8160 int ecode2 = 0 ;
8161 bool temp3 = false ;
8162 wxPoint temp4 ;
8163 wxSize temp5 ;
8164 long val6 ;
8165 int ecode6 = 0 ;
8166 bool temp7 = false ;
8167 PyObject * obj0 = 0 ;
8168 PyObject * obj1 = 0 ;
8169 PyObject * obj2 = 0 ;
8170 PyObject * obj3 = 0 ;
8171 PyObject * obj4 = 0 ;
8172 PyObject * obj5 = 0 ;
8173 PyObject * obj6 = 0 ;
8174 char * kwnames[] = {
8175 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8176 };
8177
8178 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8179 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8180 if (!SWIG_IsOK(res1)) {
8181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8182 }
8183 arg1 = reinterpret_cast< wxWindow * >(argp1);
8184 if (obj1) {
8185 ecode2 = SWIG_AsVal_int(obj1, &val2);
8186 if (!SWIG_IsOK(ecode2)) {
8187 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8188 }
8189 arg2 = static_cast< int >(val2);
8190 }
8191 if (obj2) {
5e483524 8192 {
554f62e9
RD
8193 arg3 = wxString_in_helper(obj2);
8194 if (arg3 == NULL) SWIG_fail;
8195 temp3 = true;
5e483524 8196 }
554f62e9
RD
8197 }
8198 if (obj3) {
093d3ff1 8199 {
554f62e9
RD
8200 arg4 = &temp4;
8201 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 8202 }
554f62e9
RD
8203 }
8204 if (obj4) {
84f85550 8205 {
554f62e9
RD
8206 arg5 = &temp5;
8207 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
84f85550 8208 }
554f62e9
RD
8209 }
8210 if (obj5) {
8211 ecode6 = SWIG_AsVal_long(obj5, &val6);
8212 if (!SWIG_IsOK(ecode6)) {
8213 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8214 }
8215 arg6 = static_cast< long >(val6);
8216 }
8217 if (obj6) {
84f85550 8218 {
554f62e9
RD
8219 arg7 = wxString_in_helper(obj6);
8220 if (arg7 == NULL) SWIG_fail;
8221 temp7 = true;
84f85550 8222 }
554f62e9
RD
8223 }
8224 {
8225 if (!wxPyCheckForApp()) SWIG_fail;
8226 PyThreadState* __tstate = wxPyBeginAllowThreads();
8227 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8228 wxPyEndAllowThreads(__tstate);
8229 if (PyErr_Occurred()) SWIG_fail;
8230 }
8231 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8232 {
8233 if (temp3)
8234 delete arg3;
8235 }
8236 {
8237 if (temp7)
8238 delete arg7;
8239 }
8240 return resultobj;
8241fail:
8242 {
8243 if (temp3)
8244 delete arg3;
8245 }
8246 {
8247 if (temp7)
8248 delete arg7;
8249 }
8250 return NULL;
84f85550
RD
8251}
8252
8253
554f62e9
RD
8254SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8255 PyObject *resultobj = 0;
8256 wxMiniFrame *result = 0 ;
8257
8258 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8259 {
8260 if (!wxPyCheckForApp()) SWIG_fail;
8261 PyThreadState* __tstate = wxPyBeginAllowThreads();
8262 result = (wxMiniFrame *)new wxMiniFrame();
8263 wxPyEndAllowThreads(__tstate);
8264 if (PyErr_Occurred()) SWIG_fail;
8265 }
8266 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8267 return resultobj;
8268fail:
8269 return NULL;
8270}
8271
8272
8273SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8274 PyObject *resultobj = 0;
8275 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8276 wxWindow *arg2 = (wxWindow *) 0 ;
8277 int arg3 = (int) (int)-1 ;
8278 wxString const &arg4_defvalue = wxPyEmptyString ;
8279 wxString *arg4 = (wxString *) &arg4_defvalue ;
8280 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8281 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8282 wxSize const &arg6_defvalue = wxDefaultSize ;
8283 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8284 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
8285 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8286 wxString *arg8 = (wxString *) &arg8_defvalue ;
8287 bool result;
8288 void *argp1 = 0 ;
8289 int res1 = 0 ;
8290 void *argp2 = 0 ;
8291 int res2 = 0 ;
8292 int val3 ;
8293 int ecode3 = 0 ;
8294 bool temp4 = false ;
8295 wxPoint temp5 ;
8296 wxSize temp6 ;
8297 long val7 ;
8298 int ecode7 = 0 ;
8299 bool temp8 = false ;
8300 PyObject * obj0 = 0 ;
8301 PyObject * obj1 = 0 ;
8302 PyObject * obj2 = 0 ;
8303 PyObject * obj3 = 0 ;
8304 PyObject * obj4 = 0 ;
8305 PyObject * obj5 = 0 ;
8306 PyObject * obj6 = 0 ;
8307 PyObject * obj7 = 0 ;
8308 char * kwnames[] = {
8309 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8310 };
8311
8312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8313 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8314 if (!SWIG_IsOK(res1)) {
8315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8316 }
8317 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8318 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8319 if (!SWIG_IsOK(res2)) {
8320 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8321 }
8322 arg2 = reinterpret_cast< wxWindow * >(argp2);
8323 if (obj2) {
8324 ecode3 = SWIG_AsVal_int(obj2, &val3);
8325 if (!SWIG_IsOK(ecode3)) {
8326 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8327 }
8328 arg3 = static_cast< int >(val3);
8329 }
8330 if (obj3) {
b1fcee84 8331 {
554f62e9
RD
8332 arg4 = wxString_in_helper(obj3);
8333 if (arg4 == NULL) SWIG_fail;
8334 temp4 = true;
d55e5bfc 8335 }
554f62e9
RD
8336 }
8337 if (obj4) {
d55e5bfc 8338 {
554f62e9
RD
8339 arg5 = &temp5;
8340 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8341 }
554f62e9
RD
8342 }
8343 if (obj5) {
d55e5bfc 8344 {
554f62e9
RD
8345 arg6 = &temp6;
8346 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 8347 }
554f62e9
RD
8348 }
8349 if (obj6) {
8350 ecode7 = SWIG_AsVal_long(obj6, &val7);
8351 if (!SWIG_IsOK(ecode7)) {
8352 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8353 }
8354 arg7 = static_cast< long >(val7);
8355 }
8356 if (obj7) {
d55e5bfc 8357 {
554f62e9
RD
8358 arg8 = wxString_in_helper(obj7);
8359 if (arg8 == NULL) SWIG_fail;
8360 temp8 = true;
d55e5bfc 8361 }
554f62e9
RD
8362 }
8363 {
8364 PyThreadState* __tstate = wxPyBeginAllowThreads();
8365 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8366 wxPyEndAllowThreads(__tstate);
8367 if (PyErr_Occurred()) SWIG_fail;
8368 }
8369 {
8370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8371 }
8372 {
8373 if (temp4)
8374 delete arg4;
8375 }
8376 {
8377 if (temp8)
8378 delete arg8;
8379 }
8380 return resultobj;
8381fail:
8382 {
8383 if (temp4)
8384 delete arg4;
8385 }
8386 {
8387 if (temp8)
8388 delete arg8;
8389 }
8390 return NULL;
8391}
8392
8393
8394SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8395 PyObject *obj;
8396 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8397 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8398 return SWIG_Py_Void();
8399}
8400
8401SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8402 return SWIG_Python_InitShadowInstance(args);
8403}
8404
8405SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8406 PyObject *resultobj = 0;
8407 wxBitmap *arg1 = 0 ;
8408 wxWindow *arg2 = (wxWindow *) 0 ;
8409 int arg3 ;
8410 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8411 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8412 wxSize const &arg5_defvalue = wxDefaultSize ;
8413 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8414 long arg6 = (long) wxNO_BORDER ;
8415 wxSplashScreenWindow *result = 0 ;
8416 void *argp1 = 0 ;
8417 int res1 = 0 ;
8418 void *argp2 = 0 ;
8419 int res2 = 0 ;
8420 int val3 ;
8421 int ecode3 = 0 ;
8422 wxPoint temp4 ;
8423 wxSize temp5 ;
8424 long val6 ;
8425 int ecode6 = 0 ;
8426 PyObject * obj0 = 0 ;
8427 PyObject * obj1 = 0 ;
8428 PyObject * obj2 = 0 ;
8429 PyObject * obj3 = 0 ;
8430 PyObject * obj4 = 0 ;
8431 PyObject * obj5 = 0 ;
8432 char * kwnames[] = {
8433 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8434 };
8435
8436 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8437 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8438 if (!SWIG_IsOK(res1)) {
8439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8440 }
8441 if (!argp1) {
8442 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8443 }
8444 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8445 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8446 if (!SWIG_IsOK(res2)) {
8447 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8448 }
8449 arg2 = reinterpret_cast< wxWindow * >(argp2);
8450 ecode3 = SWIG_AsVal_int(obj2, &val3);
8451 if (!SWIG_IsOK(ecode3)) {
8452 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8453 }
8454 arg3 = static_cast< int >(val3);
8455 if (obj3) {
d55e5bfc 8456 {
554f62e9
RD
8457 arg4 = &temp4;
8458 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8459 }
554f62e9
RD
8460 }
8461 if (obj4) {
d55e5bfc 8462 {
554f62e9
RD
8463 arg5 = &temp5;
8464 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8465 }
8466 }
8467 if (obj5) {
8468 ecode6 = SWIG_AsVal_long(obj5, &val6);
8469 if (!SWIG_IsOK(ecode6)) {
8470 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8471 }
8472 arg6 = static_cast< long >(val6);
8473 }
8474 {
8475 if (!wxPyCheckForApp()) SWIG_fail;
8476 PyThreadState* __tstate = wxPyBeginAllowThreads();
8477 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8478 wxPyEndAllowThreads(__tstate);
8479 if (PyErr_Occurred()) SWIG_fail;
8480 }
8481 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8482 return resultobj;
8483fail:
8484 return NULL;
8485}
8486
8487
8488SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8489 PyObject *resultobj = 0;
8490 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8491 wxBitmap *arg2 = 0 ;
8492 void *argp1 = 0 ;
8493 int res1 = 0 ;
8494 void *argp2 = 0 ;
8495 int res2 = 0 ;
8496 PyObject * obj0 = 0 ;
8497 PyObject * obj1 = 0 ;
8498 char * kwnames[] = {
8499 (char *) "self",(char *) "bitmap", NULL
8500 };
8501
8502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8503 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8504 if (!SWIG_IsOK(res1)) {
8505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8506 }
8507 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8508 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8509 if (!SWIG_IsOK(res2)) {
8510 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8511 }
8512 if (!argp2) {
8513 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8514 }
8515 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8516 {
8517 PyThreadState* __tstate = wxPyBeginAllowThreads();
8518 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8519 wxPyEndAllowThreads(__tstate);
8520 if (PyErr_Occurred()) SWIG_fail;
8521 }
8522 resultobj = SWIG_Py_Void();
8523 return resultobj;
8524fail:
8525 return NULL;
d55e5bfc
RD
8526}
8527
8528
554f62e9
RD
8529SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8530 PyObject *resultobj = 0;
8531 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8532 wxBitmap *result = 0 ;
8533 void *argp1 = 0 ;
8534 int res1 = 0 ;
8535 PyObject *swig_obj[1] ;
8536
8537 if (!args) SWIG_fail;
8538 swig_obj[0] = args;
8539 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8540 if (!SWIG_IsOK(res1)) {
8541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8542 }
8543 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8544 {
8545 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 8546 {
554f62e9
RD
8547 wxBitmap &_result_ref = (arg1)->GetBitmap();
8548 result = (wxBitmap *) &_result_ref;
d55e5bfc 8549 }
554f62e9
RD
8550 wxPyEndAllowThreads(__tstate);
8551 if (PyErr_Occurred()) SWIG_fail;
8552 }
8553 {
8554 wxBitmap* resultptr = new wxBitmap(*result);
8555 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8556 }
8557 return resultobj;
8558fail:
8559 return NULL;
8560}
8561
8562
8563SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8564 PyObject *obj;
8565 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8566 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8567 return SWIG_Py_Void();
8568}
8569
8570SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8571 return SWIG_Python_InitShadowInstance(args);
8572}
8573
8574SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8575 PyObject *resultobj = 0;
8576 wxBitmap *arg1 = 0 ;
8577 long arg2 ;
8578 int arg3 ;
8579 wxWindow *arg4 = (wxWindow *) 0 ;
8580 int arg5 = (int) -1 ;
8581 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8582 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8583 wxSize const &arg7_defvalue = wxDefaultSize ;
8584 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8585 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8586 wxSplashScreen *result = 0 ;
8587 void *argp1 = 0 ;
8588 int res1 = 0 ;
8589 long val2 ;
8590 int ecode2 = 0 ;
8591 int val3 ;
8592 int ecode3 = 0 ;
8593 void *argp4 = 0 ;
8594 int res4 = 0 ;
8595 int val5 ;
8596 int ecode5 = 0 ;
8597 wxPoint temp6 ;
8598 wxSize temp7 ;
8599 long val8 ;
8600 int ecode8 = 0 ;
8601 PyObject * obj0 = 0 ;
8602 PyObject * obj1 = 0 ;
8603 PyObject * obj2 = 0 ;
8604 PyObject * obj3 = 0 ;
8605 PyObject * obj4 = 0 ;
8606 PyObject * obj5 = 0 ;
8607 PyObject * obj6 = 0 ;
8608 PyObject * obj7 = 0 ;
8609 char * kwnames[] = {
8610 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8611 };
8612
8613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8614 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8615 if (!SWIG_IsOK(res1)) {
8616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8617 }
8618 if (!argp1) {
8619 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8620 }
8621 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8622 ecode2 = SWIG_AsVal_long(obj1, &val2);
8623 if (!SWIG_IsOK(ecode2)) {
8624 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8625 }
8626 arg2 = static_cast< long >(val2);
8627 ecode3 = SWIG_AsVal_int(obj2, &val3);
8628 if (!SWIG_IsOK(ecode3)) {
8629 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8630 }
8631 arg3 = static_cast< int >(val3);
8632 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8633 if (!SWIG_IsOK(res4)) {
8634 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8635 }
8636 arg4 = reinterpret_cast< wxWindow * >(argp4);
8637 if (obj4) {
8638 ecode5 = SWIG_AsVal_int(obj4, &val5);
8639 if (!SWIG_IsOK(ecode5)) {
8640 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8641 }
8642 arg5 = static_cast< int >(val5);
8643 }
8644 if (obj5) {
d55e5bfc 8645 {
554f62e9
RD
8646 arg6 = &temp6;
8647 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 8648 }
554f62e9
RD
8649 }
8650 if (obj6) {
d55e5bfc 8651 {
554f62e9
RD
8652 arg7 = &temp7;
8653 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
d55e5bfc 8654 }
554f62e9
RD
8655 }
8656 if (obj7) {
8657 ecode8 = SWIG_AsVal_long(obj7, &val8);
8658 if (!SWIG_IsOK(ecode8)) {
8659 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8660 }
8661 arg8 = static_cast< long >(val8);
8662 }
8663 {
8664 if (!wxPyCheckForApp()) SWIG_fail;
8665 PyThreadState* __tstate = wxPyBeginAllowThreads();
8666 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8667 wxPyEndAllowThreads(__tstate);
8668 if (PyErr_Occurred()) SWIG_fail;
8669 }
8670 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8671 return resultobj;
8672fail:
8673 return NULL;
d55e5bfc
RD
8674}
8675
8676
554f62e9
RD
8677SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8678 PyObject *resultobj = 0;
8679 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8680 long result;
8681 void *argp1 = 0 ;
8682 int res1 = 0 ;
8683 PyObject *swig_obj[1] ;
8684
8685 if (!args) SWIG_fail;
8686 swig_obj[0] = args;
8687 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8688 if (!SWIG_IsOK(res1)) {
8689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8690 }
8691 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8692 {
8693 PyThreadState* __tstate = wxPyBeginAllowThreads();
8694 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8695 wxPyEndAllowThreads(__tstate);
8696 if (PyErr_Occurred()) SWIG_fail;
8697 }
8698 resultobj = SWIG_From_long(static_cast< long >(result));
8699 return resultobj;
8700fail:
8701 return NULL;
d55e5bfc
RD
8702}
8703
8704
554f62e9
RD
8705SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8706 PyObject *resultobj = 0;
8707 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8708 wxSplashScreenWindow *result = 0 ;
8709 void *argp1 = 0 ;
8710 int res1 = 0 ;
8711 PyObject *swig_obj[1] ;
8712
8713 if (!args) SWIG_fail;
8714 swig_obj[0] = args;
8715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8716 if (!SWIG_IsOK(res1)) {
8717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8718 }
8719 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8720 {
8721 PyThreadState* __tstate = wxPyBeginAllowThreads();
8722 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8723 wxPyEndAllowThreads(__tstate);
8724 if (PyErr_Occurred()) SWIG_fail;
8725 }
8726 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8727 return resultobj;
8728fail:
8729 return NULL;
d55e5bfc
RD
8730}
8731
8732
554f62e9
RD
8733SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8734 PyObject *resultobj = 0;
8735 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8736 int result;
8737 void *argp1 = 0 ;
8738 int res1 = 0 ;
8739 PyObject *swig_obj[1] ;
8740
8741 if (!args) SWIG_fail;
8742 swig_obj[0] = args;
8743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8744 if (!SWIG_IsOK(res1)) {
8745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8746 }
8747 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8748 {
8749 PyThreadState* __tstate = wxPyBeginAllowThreads();
8750 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8751 wxPyEndAllowThreads(__tstate);
8752 if (PyErr_Occurred()) SWIG_fail;
8753 }
8754 resultobj = SWIG_From_int(static_cast< int >(result));
8755 return resultobj;
8756fail:
8757 return NULL;
8758}
8759
8760
8761SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8762 PyObject *obj;
8763 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8764 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8765 return SWIG_Py_Void();
8766}
8767
8768SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8769 return SWIG_Python_InitShadowInstance(args);
8770}
8771
8772SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8773 PyObject *resultobj = 0;
8774 wxWindow *arg1 = (wxWindow *) 0 ;
8775 int arg2 = (int) -1 ;
8776 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8777 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8778 wxString *arg4 = (wxString *) &arg4_defvalue ;
8779 wxStatusBar *result = 0 ;
8780 void *argp1 = 0 ;
8781 int res1 = 0 ;
8782 int val2 ;
8783 int ecode2 = 0 ;
8784 long val3 ;
8785 int ecode3 = 0 ;
8786 bool temp4 = false ;
8787 PyObject * obj0 = 0 ;
8788 PyObject * obj1 = 0 ;
8789 PyObject * obj2 = 0 ;
8790 PyObject * obj3 = 0 ;
8791 char * kwnames[] = {
8792 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8793 };
8794
8795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8797 if (!SWIG_IsOK(res1)) {
8798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8799 }
8800 arg1 = reinterpret_cast< wxWindow * >(argp1);
8801 if (obj1) {
8802 ecode2 = SWIG_AsVal_int(obj1, &val2);
8803 if (!SWIG_IsOK(ecode2)) {
8804 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8805 }
8806 arg2 = static_cast< int >(val2);
8807 }
8808 if (obj2) {
8809 ecode3 = SWIG_AsVal_long(obj2, &val3);
8810 if (!SWIG_IsOK(ecode3)) {
8811 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8812 }
8813 arg3 = static_cast< long >(val3);
8814 }
8815 if (obj3) {
d55e5bfc 8816 {
554f62e9
RD
8817 arg4 = wxString_in_helper(obj3);
8818 if (arg4 == NULL) SWIG_fail;
8819 temp4 = true;
d55e5bfc 8820 }
554f62e9
RD
8821 }
8822 {
8823 if (!wxPyCheckForApp()) SWIG_fail;
8824 PyThreadState* __tstate = wxPyBeginAllowThreads();
8825 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8826 wxPyEndAllowThreads(__tstate);
8827 if (PyErr_Occurred()) SWIG_fail;
8828 }
8829 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8830 {
8831 if (temp4)
8832 delete arg4;
8833 }
8834 return resultobj;
8835fail:
8836 {
8837 if (temp4)
8838 delete arg4;
8839 }
8840 return NULL;
d55e5bfc
RD
8841}
8842
8843
554f62e9
RD
8844SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8845 PyObject *resultobj = 0;
8846 wxStatusBar *result = 0 ;
8847
8848 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8849 {
8850 if (!wxPyCheckForApp()) SWIG_fail;
8851 PyThreadState* __tstate = wxPyBeginAllowThreads();
8852 result = (wxStatusBar *)new wxStatusBar();
8853 wxPyEndAllowThreads(__tstate);
8854 if (PyErr_Occurred()) SWIG_fail;
8855 }
8856 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8857 return resultobj;
8858fail:
8859 return NULL;
8860}
8861
8862
8863SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8864 PyObject *resultobj = 0;
8865 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8866 wxWindow *arg2 = (wxWindow *) 0 ;
8867 int arg3 = (int) -1 ;
8868 long arg4 = (long) wxST_SIZEGRIP ;
8869 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8870 wxString *arg5 = (wxString *) &arg5_defvalue ;
8871 bool result;
8872 void *argp1 = 0 ;
8873 int res1 = 0 ;
8874 void *argp2 = 0 ;
8875 int res2 = 0 ;
8876 int val3 ;
8877 int ecode3 = 0 ;
8878 long val4 ;
8879 int ecode4 = 0 ;
8880 bool temp5 = false ;
8881 PyObject * obj0 = 0 ;
8882 PyObject * obj1 = 0 ;
8883 PyObject * obj2 = 0 ;
8884 PyObject * obj3 = 0 ;
8885 PyObject * obj4 = 0 ;
8886 char * kwnames[] = {
8887 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8888 };
8889
8890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) 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_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8894 }
8895 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8896 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8897 if (!SWIG_IsOK(res2)) {
8898 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8899 }
8900 arg2 = reinterpret_cast< wxWindow * >(argp2);
8901 if (obj2) {
8902 ecode3 = SWIG_AsVal_int(obj2, &val3);
8903 if (!SWIG_IsOK(ecode3)) {
8904 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8905 }
8906 arg3 = static_cast< int >(val3);
8907 }
8908 if (obj3) {
8909 ecode4 = SWIG_AsVal_long(obj3, &val4);
8910 if (!SWIG_IsOK(ecode4)) {
8911 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8912 }
8913 arg4 = static_cast< long >(val4);
8914 }
8915 if (obj4) {
d55e5bfc 8916 {
554f62e9
RD
8917 arg5 = wxString_in_helper(obj4);
8918 if (arg5 == NULL) SWIG_fail;
8919 temp5 = true;
d55e5bfc 8920 }
554f62e9
RD
8921 }
8922 {
8923 PyThreadState* __tstate = wxPyBeginAllowThreads();
8924 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8925 wxPyEndAllowThreads(__tstate);
8926 if (PyErr_Occurred()) SWIG_fail;
8927 }
8928 {
8929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8930 }
8931 {
8932 if (temp5)
8933 delete arg5;
8934 }
8935 return resultobj;
8936fail:
8937 {
8938 if (temp5)
8939 delete arg5;
8940 }
8941 return NULL;
8942}
8943
8944
8945SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8946 PyObject *resultobj = 0;
8947 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8948 int arg2 = (int) 1 ;
8949 void *argp1 = 0 ;
8950 int res1 = 0 ;
8951 int val2 ;
8952 int ecode2 = 0 ;
8953 PyObject * obj0 = 0 ;
8954 PyObject * obj1 = 0 ;
8955 char * kwnames[] = {
8956 (char *) "self",(char *) "number", NULL
8957 };
8958
8959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8961 if (!SWIG_IsOK(res1)) {
8962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8963 }
8964 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8965 if (obj1) {
8966 ecode2 = SWIG_AsVal_int(obj1, &val2);
8967 if (!SWIG_IsOK(ecode2)) {
8968 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8969 }
8970 arg2 = static_cast< int >(val2);
8971 }
8972 {
8973 PyThreadState* __tstate = wxPyBeginAllowThreads();
8974 (arg1)->SetFieldsCount(arg2);
8975 wxPyEndAllowThreads(__tstate);
8976 if (PyErr_Occurred()) SWIG_fail;
8977 }
8978 resultobj = SWIG_Py_Void();
8979 return resultobj;
8980fail:
8981 return NULL;
d55e5bfc
RD
8982}
8983
8984
554f62e9
RD
8985SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8986 PyObject *resultobj = 0;
8987 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8988 int result;
8989 void *argp1 = 0 ;
8990 int res1 = 0 ;
8991 PyObject *swig_obj[1] ;
8992
8993 if (!args) SWIG_fail;
8994 swig_obj[0] = args;
8995 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8996 if (!SWIG_IsOK(res1)) {
8997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8998 }
8999 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9000 {
9001 PyThreadState* __tstate = wxPyBeginAllowThreads();
9002 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
9003 wxPyEndAllowThreads(__tstate);
9004 if (PyErr_Occurred()) SWIG_fail;
9005 }
9006 resultobj = SWIG_From_int(static_cast< int >(result));
9007 return resultobj;
9008fail:
9009 return NULL;
9010}
9011
9012
9013SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9014 PyObject *resultobj = 0;
9015 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9016 wxString *arg2 = 0 ;
9017 int arg3 = (int) 0 ;
9018 void *argp1 = 0 ;
9019 int res1 = 0 ;
9020 bool temp2 = false ;
9021 int val3 ;
9022 int ecode3 = 0 ;
9023 PyObject * obj0 = 0 ;
9024 PyObject * obj1 = 0 ;
9025 PyObject * obj2 = 0 ;
9026 char * kwnames[] = {
9027 (char *) "self",(char *) "text",(char *) "number", NULL
9028 };
9029
9030 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9031 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9032 if (!SWIG_IsOK(res1)) {
9033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9034 }
9035 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9036 {
9037 arg2 = wxString_in_helper(obj1);
9038 if (arg2 == NULL) SWIG_fail;
9039 temp2 = true;
9040 }
9041 if (obj2) {
9042 ecode3 = SWIG_AsVal_int(obj2, &val3);
9043 if (!SWIG_IsOK(ecode3)) {
9044 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
9045 }
9046 arg3 = static_cast< int >(val3);
9047 }
9048 {
9049 PyThreadState* __tstate = wxPyBeginAllowThreads();
9050 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
9051 wxPyEndAllowThreads(__tstate);
9052 if (PyErr_Occurred()) SWIG_fail;
9053 }
9054 resultobj = SWIG_Py_Void();
9055 {
9056 if (temp2)
9057 delete arg2;
9058 }
9059 return resultobj;
9060fail:
9061 {
9062 if (temp2)
9063 delete arg2;
9064 }
9065 return NULL;
9066}
9067
9068
9069SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9070 PyObject *resultobj = 0;
9071 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9072 int arg2 = (int) 0 ;
9073 wxString result;
9074 void *argp1 = 0 ;
9075 int res1 = 0 ;
9076 int val2 ;
9077 int ecode2 = 0 ;
9078 PyObject * obj0 = 0 ;
9079 PyObject * obj1 = 0 ;
9080 char * kwnames[] = {
9081 (char *) "self",(char *) "number", NULL
9082 };
9083
9084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9086 if (!SWIG_IsOK(res1)) {
9087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9088 }
9089 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9090 if (obj1) {
9091 ecode2 = SWIG_AsVal_int(obj1, &val2);
9092 if (!SWIG_IsOK(ecode2)) {
9093 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9094 }
9095 arg2 = static_cast< int >(val2);
9096 }
9097 {
9098 PyThreadState* __tstate = wxPyBeginAllowThreads();
9099 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
9100 wxPyEndAllowThreads(__tstate);
9101 if (PyErr_Occurred()) SWIG_fail;
9102 }
9103 {
9104#if wxUSE_UNICODE
9105 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9106#else
9107 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9108#endif
9109 }
9110 return resultobj;
9111fail:
9112 return NULL;
9113}
9114
9115
9116SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9117 PyObject *resultobj = 0;
9118 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9119 wxString *arg2 = 0 ;
9120 int arg3 = (int) 0 ;
9121 void *argp1 = 0 ;
9122 int res1 = 0 ;
9123 bool temp2 = false ;
9124 int val3 ;
9125 int ecode3 = 0 ;
9126 PyObject * obj0 = 0 ;
9127 PyObject * obj1 = 0 ;
9128 PyObject * obj2 = 0 ;
9129 char * kwnames[] = {
9130 (char *) "self",(char *) "text",(char *) "number", NULL
9131 };
9132
9133 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9134 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9135 if (!SWIG_IsOK(res1)) {
9136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9137 }
9138 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9139 {
9140 arg2 = wxString_in_helper(obj1);
9141 if (arg2 == NULL) SWIG_fail;
9142 temp2 = true;
9143 }
9144 if (obj2) {
9145 ecode3 = SWIG_AsVal_int(obj2, &val3);
9146 if (!SWIG_IsOK(ecode3)) {
9147 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9148 }
9149 arg3 = static_cast< int >(val3);
9150 }
9151 {
9152 PyThreadState* __tstate = wxPyBeginAllowThreads();
9153 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9154 wxPyEndAllowThreads(__tstate);
9155 if (PyErr_Occurred()) SWIG_fail;
9156 }
9157 resultobj = SWIG_Py_Void();
9158 {
9159 if (temp2)
9160 delete arg2;
9161 }
9162 return resultobj;
9163fail:
9164 {
9165 if (temp2)
9166 delete arg2;
9167 }
9168 return NULL;
9169}
9170
9171
9172SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9173 PyObject *resultobj = 0;
9174 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9175 int arg2 = (int) 0 ;
9176 void *argp1 = 0 ;
9177 int res1 = 0 ;
9178 int val2 ;
9179 int ecode2 = 0 ;
9180 PyObject * obj0 = 0 ;
9181 PyObject * obj1 = 0 ;
9182 char * kwnames[] = {
9183 (char *) "self",(char *) "number", NULL
9184 };
9185
9186 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9187 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9188 if (!SWIG_IsOK(res1)) {
9189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9190 }
9191 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9192 if (obj1) {
9193 ecode2 = SWIG_AsVal_int(obj1, &val2);
9194 if (!SWIG_IsOK(ecode2)) {
9195 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9196 }
9197 arg2 = static_cast< int >(val2);
9198 }
9199 {
9200 PyThreadState* __tstate = wxPyBeginAllowThreads();
9201 (arg1)->PopStatusText(arg2);
9202 wxPyEndAllowThreads(__tstate);
9203 if (PyErr_Occurred()) SWIG_fail;
9204 }
9205 resultobj = SWIG_Py_Void();
9206 return resultobj;
9207fail:
9208 return NULL;
9209}
9210
9211
9212SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9213 PyObject *resultobj = 0;
9214 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9215 int arg2 ;
9216 int *arg3 = (int *) 0 ;
9217 void *argp1 = 0 ;
9218 int res1 = 0 ;
9219 PyObject * obj0 = 0 ;
9220 PyObject * obj1 = 0 ;
9221 char * kwnames[] = {
9222 (char *) "self",(char *) "widths", NULL
9223 };
9224
9225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9227 if (!SWIG_IsOK(res1)) {
9228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9229 }
9230 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9231 {
9232 arg2 = PyList_Size(obj1);
9233 arg3 = int_LIST_helper(obj1);
9234 if (arg3 == NULL) SWIG_fail;
9235 }
9236 {
9237 PyThreadState* __tstate = wxPyBeginAllowThreads();
9238 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9239 wxPyEndAllowThreads(__tstate);
9240 if (PyErr_Occurred()) SWIG_fail;
9241 }
9242 resultobj = SWIG_Py_Void();
9243 {
9244 if (arg3) delete [] arg3;
9245 }
9246 return resultobj;
9247fail:
9248 {
9249 if (arg3) delete [] arg3;
9250 }
9251 return NULL;
d55e5bfc
RD
9252}
9253
9254
554f62e9
RD
9255SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9256 PyObject *resultobj = 0;
9257 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9258 int arg2 ;
9259 int *arg3 = (int *) 0 ;
9260 void *argp1 = 0 ;
9261 int res1 = 0 ;
9262 PyObject * obj0 = 0 ;
9263 PyObject * obj1 = 0 ;
9264 char * kwnames[] = {
9265 (char *) "self",(char *) "styles", NULL
9266 };
9267
9268 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9269 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9270 if (!SWIG_IsOK(res1)) {
9271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9272 }
9273 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9274 {
9275 arg2 = PyList_Size(obj1);
9276 arg3 = int_LIST_helper(obj1);
9277 if (arg3 == NULL) SWIG_fail;
9278 }
9279 {
9280 PyThreadState* __tstate = wxPyBeginAllowThreads();
9281 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9282 wxPyEndAllowThreads(__tstate);
9283 if (PyErr_Occurred()) SWIG_fail;
9284 }
9285 resultobj = SWIG_Py_Void();
9286 {
9287 if (arg3) delete [] arg3;
9288 }
9289 return resultobj;
9290fail:
9291 {
9292 if (arg3) delete [] arg3;
9293 }
9294 return NULL;
9295}
9296
9297
9298SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9299 PyObject *resultobj = 0;
9300 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9301 int arg2 ;
9302 wxRect result;
9303 void *argp1 = 0 ;
9304 int res1 = 0 ;
9305 int val2 ;
9306 int ecode2 = 0 ;
9307 PyObject * obj0 = 0 ;
9308 PyObject * obj1 = 0 ;
9309 char * kwnames[] = {
9310 (char *) "self",(char *) "i", NULL
9311 };
9312
9313 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9314 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9315 if (!SWIG_IsOK(res1)) {
9316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9317 }
9318 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9319 ecode2 = SWIG_AsVal_int(obj1, &val2);
9320 if (!SWIG_IsOK(ecode2)) {
9321 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9322 }
9323 arg2 = static_cast< int >(val2);
9324 {
9325 PyThreadState* __tstate = wxPyBeginAllowThreads();
9326 result = wxStatusBar_GetFieldRect(arg1,arg2);
9327 wxPyEndAllowThreads(__tstate);
9328 if (PyErr_Occurred()) SWIG_fail;
9329 }
9330 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9331 return resultobj;
9332fail:
9333 return NULL;
9334}
9335
9336
9337SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9338 PyObject *resultobj = 0;
9339 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9340 int arg2 ;
9341 void *argp1 = 0 ;
9342 int res1 = 0 ;
9343 int val2 ;
9344 int ecode2 = 0 ;
9345 PyObject * obj0 = 0 ;
9346 PyObject * obj1 = 0 ;
9347 char * kwnames[] = {
9348 (char *) "self",(char *) "height", NULL
9349 };
9350
9351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9352 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9353 if (!SWIG_IsOK(res1)) {
9354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9355 }
9356 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9357 ecode2 = SWIG_AsVal_int(obj1, &val2);
9358 if (!SWIG_IsOK(ecode2)) {
9359 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9360 }
9361 arg2 = static_cast< int >(val2);
9362 {
9363 PyThreadState* __tstate = wxPyBeginAllowThreads();
9364 (arg1)->SetMinHeight(arg2);
9365 wxPyEndAllowThreads(__tstate);
9366 if (PyErr_Occurred()) SWIG_fail;
9367 }
9368 resultobj = SWIG_Py_Void();
9369 return resultobj;
9370fail:
9371 return NULL;
d55e5bfc
RD
9372}
9373
9374
554f62e9
RD
9375SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9376 PyObject *resultobj = 0;
9377 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9378 int result;
9379 void *argp1 = 0 ;
9380 int res1 = 0 ;
9381 PyObject *swig_obj[1] ;
9382
9383 if (!args) SWIG_fail;
9384 swig_obj[0] = args;
9385 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9386 if (!SWIG_IsOK(res1)) {
9387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9388 }
9389 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9390 {
9391 PyThreadState* __tstate = wxPyBeginAllowThreads();
9392 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9393 wxPyEndAllowThreads(__tstate);
9394 if (PyErr_Occurred()) SWIG_fail;
9395 }
9396 resultobj = SWIG_From_int(static_cast< int >(result));
9397 return resultobj;
9398fail:
9399 return NULL;
d55e5bfc
RD
9400}
9401
9402
554f62e9
RD
9403SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9404 PyObject *resultobj = 0;
9405 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9406 int result;
9407 void *argp1 = 0 ;
9408 int res1 = 0 ;
9409 PyObject *swig_obj[1] ;
9410
9411 if (!args) SWIG_fail;
9412 swig_obj[0] = args;
9413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9414 if (!SWIG_IsOK(res1)) {
9415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9416 }
9417 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9418 {
9419 PyThreadState* __tstate = wxPyBeginAllowThreads();
9420 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9421 wxPyEndAllowThreads(__tstate);
9422 if (PyErr_Occurred()) SWIG_fail;
9423 }
9424 resultobj = SWIG_From_int(static_cast< int >(result));
9425 return resultobj;
9426fail:
9427 return NULL;
9428}
9429
9430
9431SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9432 PyObject *resultobj = 0;
9433 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9434 SwigValueWrapper<wxVisualAttributes > result;
9435 int val1 ;
9436 int ecode1 = 0 ;
9437 PyObject * obj0 = 0 ;
9438 char * kwnames[] = {
9439 (char *) "variant", NULL
9440 };
9441
9442 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9443 if (obj0) {
9444 ecode1 = SWIG_AsVal_int(obj0, &val1);
9445 if (!SWIG_IsOK(ecode1)) {
9446 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9447 }
9448 arg1 = static_cast< wxWindowVariant >(val1);
9449 }
9450 {
9451 if (!wxPyCheckForApp()) SWIG_fail;
9452 PyThreadState* __tstate = wxPyBeginAllowThreads();
9453 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9454 wxPyEndAllowThreads(__tstate);
9455 if (PyErr_Occurred()) SWIG_fail;
9456 }
9457 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9458 return resultobj;
9459fail:
9460 return NULL;
d55e5bfc
RD
9461}
9462
9463
554f62e9
RD
9464SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9465 PyObject *obj;
9466 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9467 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9468 return SWIG_Py_Void();
d55e5bfc
RD
9469}
9470
554f62e9
RD
9471SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9472 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
9473}
9474
554f62e9
RD
9475SWIGINTERN int SplitterNameStr_set(PyObject *) {
9476 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9477 return 1;
d55e5bfc
RD
9478}
9479
9480
554f62e9
RD
9481SWIGINTERN PyObject *SplitterNameStr_get(void) {
9482 PyObject *pyobj = 0;
9483
9484 {
9485#if wxUSE_UNICODE
9486 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9487#else
9488 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9489#endif
9490 }
9491 return pyobj;
9492}
9493
9494
9495SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9496 PyObject *resultobj = 0;
9497 wxWindow *arg1 = (wxWindow *) 0 ;
9498 int arg2 = (int) -1 ;
9499 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9500 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9501 wxSize const &arg4_defvalue = wxDefaultSize ;
9502 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9503 long arg5 = (long) wxSP_3D ;
9504 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9505 wxString *arg6 = (wxString *) &arg6_defvalue ;
9506 wxSplitterWindow *result = 0 ;
9507 void *argp1 = 0 ;
9508 int res1 = 0 ;
9509 int val2 ;
9510 int ecode2 = 0 ;
9511 wxPoint temp3 ;
9512 wxSize temp4 ;
9513 long val5 ;
9514 int ecode5 = 0 ;
9515 bool temp6 = false ;
9516 PyObject * obj0 = 0 ;
9517 PyObject * obj1 = 0 ;
9518 PyObject * obj2 = 0 ;
9519 PyObject * obj3 = 0 ;
9520 PyObject * obj4 = 0 ;
9521 PyObject * obj5 = 0 ;
9522 char * kwnames[] = {
9523 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9524 };
9525
9526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9528 if (!SWIG_IsOK(res1)) {
9529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9530 }
9531 arg1 = reinterpret_cast< wxWindow * >(argp1);
9532 if (obj1) {
9533 ecode2 = SWIG_AsVal_int(obj1, &val2);
9534 if (!SWIG_IsOK(ecode2)) {
9535 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9536 }
9537 arg2 = static_cast< int >(val2);
9538 }
9539 if (obj2) {
093d3ff1 9540 {
554f62e9
RD
9541 arg3 = &temp3;
9542 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 9543 }
554f62e9
RD
9544 }
9545 if (obj3) {
d55e5bfc 9546 {
554f62e9
RD
9547 arg4 = &temp4;
9548 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 9549 }
554f62e9
RD
9550 }
9551 if (obj4) {
9552 ecode5 = SWIG_AsVal_long(obj4, &val5);
9553 if (!SWIG_IsOK(ecode5)) {
9554 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9555 }
9556 arg5 = static_cast< long >(val5);
9557 }
9558 if (obj5) {
093d3ff1 9559 {
554f62e9
RD
9560 arg6 = wxString_in_helper(obj5);
9561 if (arg6 == NULL) SWIG_fail;
9562 temp6 = true;
093d3ff1 9563 }
554f62e9
RD
9564 }
9565 {
9566 if (!wxPyCheckForApp()) SWIG_fail;
9567 PyThreadState* __tstate = wxPyBeginAllowThreads();
9568 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9569 wxPyEndAllowThreads(__tstate);
9570 if (PyErr_Occurred()) SWIG_fail;
9571 }
9572 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9573 {
9574 if (temp6)
9575 delete arg6;
9576 }
9577 return resultobj;
9578fail:
9579 {
9580 if (temp6)
9581 delete arg6;
9582 }
9583 return NULL;
d55e5bfc
RD
9584}
9585
9586
554f62e9
RD
9587SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9588 PyObject *resultobj = 0;
9589 wxSplitterWindow *result = 0 ;
9590
9591 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9592 {
9593 if (!wxPyCheckForApp()) SWIG_fail;
9594 PyThreadState* __tstate = wxPyBeginAllowThreads();
9595 result = (wxSplitterWindow *)new wxSplitterWindow();
9596 wxPyEndAllowThreads(__tstate);
9597 if (PyErr_Occurred()) SWIG_fail;
9598 }
9599 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9600 return resultobj;
9601fail:
9602 return NULL;
9603}
9604
9605
9606SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9607 PyObject *resultobj = 0;
9608 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9609 wxWindow *arg2 = (wxWindow *) 0 ;
9610 int arg3 = (int) -1 ;
9611 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9612 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9613 wxSize const &arg5_defvalue = wxDefaultSize ;
9614 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9615 long arg6 = (long) wxSP_3D ;
9616 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9617 wxString *arg7 = (wxString *) &arg7_defvalue ;
9618 bool result;
9619 void *argp1 = 0 ;
9620 int res1 = 0 ;
9621 void *argp2 = 0 ;
9622 int res2 = 0 ;
9623 int val3 ;
9624 int ecode3 = 0 ;
9625 wxPoint temp4 ;
9626 wxSize temp5 ;
9627 long val6 ;
9628 int ecode6 = 0 ;
9629 bool temp7 = false ;
9630 PyObject * obj0 = 0 ;
9631 PyObject * obj1 = 0 ;
9632 PyObject * obj2 = 0 ;
9633 PyObject * obj3 = 0 ;
9634 PyObject * obj4 = 0 ;
9635 PyObject * obj5 = 0 ;
9636 PyObject * obj6 = 0 ;
9637 char * kwnames[] = {
9638 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9639 };
9640
9641 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9642 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9643 if (!SWIG_IsOK(res1)) {
9644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9645 }
9646 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9647 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9648 if (!SWIG_IsOK(res2)) {
9649 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9650 }
9651 arg2 = reinterpret_cast< wxWindow * >(argp2);
9652 if (obj2) {
9653 ecode3 = SWIG_AsVal_int(obj2, &val3);
9654 if (!SWIG_IsOK(ecode3)) {
9655 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9656 }
9657 arg3 = static_cast< int >(val3);
9658 }
9659 if (obj3) {
d55e5bfc 9660 {
554f62e9
RD
9661 arg4 = &temp4;
9662 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 9663 }
554f62e9
RD
9664 }
9665 if (obj4) {
d55e5bfc 9666 {
554f62e9
RD
9667 arg5 = &temp5;
9668 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 9669 }
554f62e9
RD
9670 }
9671 if (obj5) {
9672 ecode6 = SWIG_AsVal_long(obj5, &val6);
9673 if (!SWIG_IsOK(ecode6)) {
9674 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9675 }
9676 arg6 = static_cast< long >(val6);
9677 }
9678 if (obj6) {
d55e5bfc 9679 {
554f62e9
RD
9680 arg7 = wxString_in_helper(obj6);
9681 if (arg7 == NULL) SWIG_fail;
9682 temp7 = true;
d55e5bfc 9683 }
554f62e9
RD
9684 }
9685 {
9686 PyThreadState* __tstate = wxPyBeginAllowThreads();
9687 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9688 wxPyEndAllowThreads(__tstate);
9689 if (PyErr_Occurred()) SWIG_fail;
9690 }
9691 {
9692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9693 }
9694 {
9695 if (temp7)
9696 delete arg7;
9697 }
9698 return resultobj;
9699fail:
9700 {
9701 if (temp7)
9702 delete arg7;
9703 }
9704 return NULL;
d55e5bfc
RD
9705}
9706
9707
554f62e9
RD
9708SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9709 PyObject *resultobj = 0;
9710 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9711 wxWindow *result = 0 ;
9712 void *argp1 = 0 ;
9713 int res1 = 0 ;
9714 PyObject *swig_obj[1] ;
9715
9716 if (!args) SWIG_fail;
9717 swig_obj[0] = args;
9718 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9719 if (!SWIG_IsOK(res1)) {
9720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9721 }
9722 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9723 {
9724 PyThreadState* __tstate = wxPyBeginAllowThreads();
9725 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9726 wxPyEndAllowThreads(__tstate);
9727 if (PyErr_Occurred()) SWIG_fail;
9728 }
9729 {
9730 resultobj = wxPyMake_wxObject(result, 0);
9731 }
9732 return resultobj;
9733fail:
9734 return NULL;
d55e5bfc
RD
9735}
9736
9737
554f62e9
RD
9738SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9739 PyObject *resultobj = 0;
9740 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9741 wxWindow *result = 0 ;
9742 void *argp1 = 0 ;
9743 int res1 = 0 ;
9744 PyObject *swig_obj[1] ;
9745
9746 if (!args) SWIG_fail;
9747 swig_obj[0] = args;
9748 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9749 if (!SWIG_IsOK(res1)) {
9750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9751 }
9752 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9753 {
9754 PyThreadState* __tstate = wxPyBeginAllowThreads();
9755 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9756 wxPyEndAllowThreads(__tstate);
9757 if (PyErr_Occurred()) SWIG_fail;
9758 }
9759 {
9760 resultobj = wxPyMake_wxObject(result, 0);
9761 }
9762 return resultobj;
9763fail:
9764 return NULL;
9765}
9766
9767
9768SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9769 PyObject *resultobj = 0;
9770 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9771 int arg2 ;
9772 void *argp1 = 0 ;
9773 int res1 = 0 ;
9774 int val2 ;
9775 int ecode2 = 0 ;
9776 PyObject * obj0 = 0 ;
9777 PyObject * obj1 = 0 ;
9778 char * kwnames[] = {
9779 (char *) "self",(char *) "mode", NULL
9780 };
9781
9782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9783 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9784 if (!SWIG_IsOK(res1)) {
9785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9786 }
9787 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9788 ecode2 = SWIG_AsVal_int(obj1, &val2);
9789 if (!SWIG_IsOK(ecode2)) {
9790 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9791 }
9792 arg2 = static_cast< int >(val2);
9793 {
9794 PyThreadState* __tstate = wxPyBeginAllowThreads();
9795 (arg1)->SetSplitMode(arg2);
9796 wxPyEndAllowThreads(__tstate);
9797 if (PyErr_Occurred()) SWIG_fail;
9798 }
9799 resultobj = SWIG_Py_Void();
9800 return resultobj;
9801fail:
9802 return NULL;
d55e5bfc
RD
9803}
9804
9805
554f62e9
RD
9806SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9807 PyObject *resultobj = 0;
9808 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9809 wxSplitMode result;
9810 void *argp1 = 0 ;
9811 int res1 = 0 ;
9812 PyObject *swig_obj[1] ;
9813
9814 if (!args) SWIG_fail;
9815 swig_obj[0] = args;
9816 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9817 if (!SWIG_IsOK(res1)) {
9818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9819 }
9820 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9821 {
9822 PyThreadState* __tstate = wxPyBeginAllowThreads();
9823 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9824 wxPyEndAllowThreads(__tstate);
9825 if (PyErr_Occurred()) SWIG_fail;
9826 }
9827 resultobj = SWIG_From_int(static_cast< int >(result));
9828 return resultobj;
9829fail:
9830 return NULL;
9831}
9832
9833
9834SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9835 PyObject *resultobj = 0;
9836 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9837 wxWindow *arg2 = (wxWindow *) 0 ;
9838 void *argp1 = 0 ;
9839 int res1 = 0 ;
9840 void *argp2 = 0 ;
9841 int res2 = 0 ;
9842 PyObject * obj0 = 0 ;
9843 PyObject * obj1 = 0 ;
9844 char * kwnames[] = {
9845 (char *) "self",(char *) "window", NULL
9846 };
9847
9848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9849 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9850 if (!SWIG_IsOK(res1)) {
9851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9852 }
9853 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9854 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9855 if (!SWIG_IsOK(res2)) {
9856 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9857 }
9858 arg2 = reinterpret_cast< wxWindow * >(argp2);
9859 {
9860 PyThreadState* __tstate = wxPyBeginAllowThreads();
9861 (arg1)->Initialize(arg2);
9862 wxPyEndAllowThreads(__tstate);
9863 if (PyErr_Occurred()) SWIG_fail;
9864 }
9865 resultobj = SWIG_Py_Void();
9866 return resultobj;
9867fail:
9868 return NULL;
9869}
9870
9871
9872SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9873 PyObject *resultobj = 0;
9874 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9875 wxWindow *arg2 = (wxWindow *) 0 ;
9876 wxWindow *arg3 = (wxWindow *) 0 ;
9877 int arg4 = (int) 0 ;
9878 bool result;
9879 void *argp1 = 0 ;
9880 int res1 = 0 ;
9881 void *argp2 = 0 ;
9882 int res2 = 0 ;
9883 void *argp3 = 0 ;
9884 int res3 = 0 ;
9885 int val4 ;
9886 int ecode4 = 0 ;
9887 PyObject * obj0 = 0 ;
9888 PyObject * obj1 = 0 ;
9889 PyObject * obj2 = 0 ;
9890 PyObject * obj3 = 0 ;
9891 char * kwnames[] = {
9892 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9893 };
9894
9895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9897 if (!SWIG_IsOK(res1)) {
9898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9899 }
9900 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9901 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9902 if (!SWIG_IsOK(res2)) {
9903 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9904 }
9905 arg2 = reinterpret_cast< wxWindow * >(argp2);
9906 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9907 if (!SWIG_IsOK(res3)) {
9908 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9909 }
9910 arg3 = reinterpret_cast< wxWindow * >(argp3);
9911 if (obj3) {
9912 ecode4 = SWIG_AsVal_int(obj3, &val4);
9913 if (!SWIG_IsOK(ecode4)) {
9914 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9915 }
9916 arg4 = static_cast< int >(val4);
9917 }
9918 {
9919 PyThreadState* __tstate = wxPyBeginAllowThreads();
9920 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9921 wxPyEndAllowThreads(__tstate);
9922 if (PyErr_Occurred()) SWIG_fail;
9923 }
9924 {
9925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9926 }
9927 return resultobj;
9928fail:
9929 return NULL;
9930}
9931
9932
9933SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9934 PyObject *resultobj = 0;
9935 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9936 wxWindow *arg2 = (wxWindow *) 0 ;
9937 wxWindow *arg3 = (wxWindow *) 0 ;
9938 int arg4 = (int) 0 ;
9939 bool result;
9940 void *argp1 = 0 ;
9941 int res1 = 0 ;
9942 void *argp2 = 0 ;
9943 int res2 = 0 ;
9944 void *argp3 = 0 ;
9945 int res3 = 0 ;
9946 int val4 ;
9947 int ecode4 = 0 ;
9948 PyObject * obj0 = 0 ;
9949 PyObject * obj1 = 0 ;
9950 PyObject * obj2 = 0 ;
9951 PyObject * obj3 = 0 ;
9952 char * kwnames[] = {
9953 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9954 };
9955
9956 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9957 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9958 if (!SWIG_IsOK(res1)) {
9959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9960 }
9961 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9962 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9963 if (!SWIG_IsOK(res2)) {
9964 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9965 }
9966 arg2 = reinterpret_cast< wxWindow * >(argp2);
9967 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9968 if (!SWIG_IsOK(res3)) {
9969 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9970 }
9971 arg3 = reinterpret_cast< wxWindow * >(argp3);
9972 if (obj3) {
9973 ecode4 = SWIG_AsVal_int(obj3, &val4);
9974 if (!SWIG_IsOK(ecode4)) {
9975 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9976 }
9977 arg4 = static_cast< int >(val4);
9978 }
9979 {
9980 PyThreadState* __tstate = wxPyBeginAllowThreads();
9981 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9982 wxPyEndAllowThreads(__tstate);
9983 if (PyErr_Occurred()) SWIG_fail;
9984 }
9985 {
9986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9987 }
9988 return resultobj;
9989fail:
9990 return NULL;
9991}
9992
9993
9994SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9995 PyObject *resultobj = 0;
9996 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9997 wxWindow *arg2 = (wxWindow *) NULL ;
9998 bool result;
9999 void *argp1 = 0 ;
10000 int res1 = 0 ;
10001 void *argp2 = 0 ;
10002 int res2 = 0 ;
10003 PyObject * obj0 = 0 ;
10004 PyObject * obj1 = 0 ;
10005 char * kwnames[] = {
10006 (char *) "self",(char *) "toRemove", NULL
10007 };
10008
10009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
10010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10011 if (!SWIG_IsOK(res1)) {
10012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10013 }
10014 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10015 if (obj1) {
10016 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10017 if (!SWIG_IsOK(res2)) {
10018 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
d55e5bfc 10019 }
554f62e9
RD
10020 arg2 = reinterpret_cast< wxWindow * >(argp2);
10021 }
10022 {
10023 PyThreadState* __tstate = wxPyBeginAllowThreads();
10024 result = (bool)(arg1)->Unsplit(arg2);
10025 wxPyEndAllowThreads(__tstate);
10026 if (PyErr_Occurred()) SWIG_fail;
10027 }
10028 {
10029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10030 }
10031 return resultobj;
10032fail:
10033 return NULL;
10034}
10035
10036
10037SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10038 PyObject *resultobj = 0;
10039 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10040 wxWindow *arg2 = (wxWindow *) 0 ;
10041 wxWindow *arg3 = (wxWindow *) 0 ;
10042 bool result;
10043 void *argp1 = 0 ;
10044 int res1 = 0 ;
10045 void *argp2 = 0 ;
10046 int res2 = 0 ;
10047 void *argp3 = 0 ;
10048 int res3 = 0 ;
10049 PyObject * obj0 = 0 ;
10050 PyObject * obj1 = 0 ;
10051 PyObject * obj2 = 0 ;
10052 char * kwnames[] = {
10053 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
10054 };
10055
10056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10058 if (!SWIG_IsOK(res1)) {
10059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10060 }
10061 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10062 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10063 if (!SWIG_IsOK(res2)) {
10064 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10065 }
10066 arg2 = reinterpret_cast< wxWindow * >(argp2);
10067 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10068 if (!SWIG_IsOK(res3)) {
10069 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10070 }
10071 arg3 = reinterpret_cast< wxWindow * >(argp3);
10072 {
10073 PyThreadState* __tstate = wxPyBeginAllowThreads();
10074 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
10075 wxPyEndAllowThreads(__tstate);
10076 if (PyErr_Occurred()) SWIG_fail;
10077 }
10078 {
10079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10080 }
10081 return resultobj;
10082fail:
10083 return NULL;
d55e5bfc
RD
10084}
10085
10086
554f62e9
RD
10087SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10088 PyObject *resultobj = 0;
10089 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10090 void *argp1 = 0 ;
10091 int res1 = 0 ;
10092 PyObject *swig_obj[1] ;
10093
10094 if (!args) SWIG_fail;
10095 swig_obj[0] = args;
10096 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10097 if (!SWIG_IsOK(res1)) {
10098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10099 }
10100 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10101 {
10102 PyThreadState* __tstate = wxPyBeginAllowThreads();
10103 (arg1)->UpdateSize();
10104 wxPyEndAllowThreads(__tstate);
10105 if (PyErr_Occurred()) SWIG_fail;
10106 }
10107 resultobj = SWIG_Py_Void();
10108 return resultobj;
10109fail:
10110 return NULL;
f20a2e1f
RD
10111}
10112
10113
554f62e9
RD
10114SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10115 PyObject *resultobj = 0;
10116 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10117 bool result;
10118 void *argp1 = 0 ;
10119 int res1 = 0 ;
10120 PyObject *swig_obj[1] ;
10121
10122 if (!args) SWIG_fail;
10123 swig_obj[0] = args;
10124 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10125 if (!SWIG_IsOK(res1)) {
10126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10127 }
10128 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10129 {
10130 PyThreadState* __tstate = wxPyBeginAllowThreads();
10131 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
10132 wxPyEndAllowThreads(__tstate);
10133 if (PyErr_Occurred()) SWIG_fail;
10134 }
10135 {
10136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10137 }
10138 return resultobj;
10139fail:
10140 return NULL;
10141}
10142
10143
10144SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10145 PyObject *resultobj = 0;
10146 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10147 int arg2 ;
10148 void *argp1 = 0 ;
10149 int res1 = 0 ;
10150 int val2 ;
10151 int ecode2 = 0 ;
10152 PyObject * obj0 = 0 ;
10153 PyObject * obj1 = 0 ;
10154 char * kwnames[] = {
10155 (char *) "self",(char *) "width", NULL
10156 };
10157
10158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10160 if (!SWIG_IsOK(res1)) {
10161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10162 }
10163 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10164 ecode2 = SWIG_AsVal_int(obj1, &val2);
10165 if (!SWIG_IsOK(ecode2)) {
10166 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10167 }
10168 arg2 = static_cast< int >(val2);
10169 {
10170 PyThreadState* __tstate = wxPyBeginAllowThreads();
10171 (arg1)->SetSashSize(arg2);
10172 wxPyEndAllowThreads(__tstate);
10173 if (PyErr_Occurred()) SWIG_fail;
10174 }
10175 resultobj = SWIG_Py_Void();
10176 return resultobj;
10177fail:
10178 return NULL;
10179}
10180
10181
10182SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10183 PyObject *resultobj = 0;
10184 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10185 int arg2 ;
10186 void *argp1 = 0 ;
10187 int res1 = 0 ;
10188 int val2 ;
10189 int ecode2 = 0 ;
10190 PyObject * obj0 = 0 ;
10191 PyObject * obj1 = 0 ;
10192 char * kwnames[] = {
10193 (char *) "self",(char *) "width", NULL
10194 };
10195
10196 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10197 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10198 if (!SWIG_IsOK(res1)) {
10199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10200 }
10201 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10202 ecode2 = SWIG_AsVal_int(obj1, &val2);
10203 if (!SWIG_IsOK(ecode2)) {
10204 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10205 }
10206 arg2 = static_cast< int >(val2);
10207 {
10208 PyThreadState* __tstate = wxPyBeginAllowThreads();
10209 (arg1)->SetBorderSize(arg2);
10210 wxPyEndAllowThreads(__tstate);
10211 if (PyErr_Occurred()) SWIG_fail;
10212 }
10213 resultobj = SWIG_Py_Void();
10214 return resultobj;
10215fail:
10216 return NULL;
d55e5bfc
RD
10217}
10218
10219
554f62e9
RD
10220SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10221 PyObject *resultobj = 0;
10222 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10223 int result;
10224 void *argp1 = 0 ;
10225 int res1 = 0 ;
10226 PyObject *swig_obj[1] ;
10227
10228 if (!args) SWIG_fail;
10229 swig_obj[0] = args;
10230 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10231 if (!SWIG_IsOK(res1)) {
10232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10233 }
10234 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10235 {
10236 PyThreadState* __tstate = wxPyBeginAllowThreads();
10237 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10238 wxPyEndAllowThreads(__tstate);
10239 if (PyErr_Occurred()) SWIG_fail;
10240 }
10241 resultobj = SWIG_From_int(static_cast< int >(result));
10242 return resultobj;
10243fail:
10244 return NULL;
d55e5bfc
RD
10245}
10246
10247
554f62e9
RD
10248SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10249 PyObject *resultobj = 0;
10250 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10251 int result;
10252 void *argp1 = 0 ;
10253 int res1 = 0 ;
10254 PyObject *swig_obj[1] ;
10255
10256 if (!args) SWIG_fail;
10257 swig_obj[0] = args;
10258 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10259 if (!SWIG_IsOK(res1)) {
10260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10261 }
10262 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10263 {
10264 PyThreadState* __tstate = wxPyBeginAllowThreads();
10265 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10266 wxPyEndAllowThreads(__tstate);
10267 if (PyErr_Occurred()) SWIG_fail;
10268 }
10269 resultobj = SWIG_From_int(static_cast< int >(result));
10270 return resultobj;
10271fail:
10272 return NULL;
10273}
10274
10275
10276SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10277 PyObject *resultobj = 0;
10278 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10279 int arg2 ;
10280 bool arg3 = (bool) true ;
10281 void *argp1 = 0 ;
10282 int res1 = 0 ;
10283 int val2 ;
10284 int ecode2 = 0 ;
10285 bool val3 ;
10286 int ecode3 = 0 ;
10287 PyObject * obj0 = 0 ;
10288 PyObject * obj1 = 0 ;
10289 PyObject * obj2 = 0 ;
10290 char * kwnames[] = {
10291 (char *) "self",(char *) "position",(char *) "redraw", NULL
10292 };
10293
10294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10296 if (!SWIG_IsOK(res1)) {
10297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10298 }
10299 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10300 ecode2 = SWIG_AsVal_int(obj1, &val2);
10301 if (!SWIG_IsOK(ecode2)) {
10302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10303 }
10304 arg2 = static_cast< int >(val2);
10305 if (obj2) {
10306 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10307 if (!SWIG_IsOK(ecode3)) {
10308 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10309 }
10310 arg3 = static_cast< bool >(val3);
10311 }
10312 {
10313 PyThreadState* __tstate = wxPyBeginAllowThreads();
10314 (arg1)->SetSashPosition(arg2,arg3);
10315 wxPyEndAllowThreads(__tstate);
10316 if (PyErr_Occurred()) SWIG_fail;
10317 }
10318 resultobj = SWIG_Py_Void();
10319 return resultobj;
10320fail:
10321 return NULL;
d55e5bfc
RD
10322}
10323
10324
554f62e9
RD
10325SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10326 PyObject *resultobj = 0;
10327 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10328 int result;
10329 void *argp1 = 0 ;
10330 int res1 = 0 ;
10331 PyObject *swig_obj[1] ;
10332
10333 if (!args) SWIG_fail;
10334 swig_obj[0] = args;
10335 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10336 if (!SWIG_IsOK(res1)) {
10337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10338 }
10339 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10340 {
10341 PyThreadState* __tstate = wxPyBeginAllowThreads();
10342 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10343 wxPyEndAllowThreads(__tstate);
10344 if (PyErr_Occurred()) SWIG_fail;
10345 }
10346 resultobj = SWIG_From_int(static_cast< int >(result));
10347 return resultobj;
10348fail:
10349 return NULL;
10350}
10351
10352
10353SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10354 PyObject *resultobj = 0;
10355 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10356 double arg2 ;
10357 void *argp1 = 0 ;
10358 int res1 = 0 ;
10359 double val2 ;
10360 int ecode2 = 0 ;
10361 PyObject * obj0 = 0 ;
10362 PyObject * obj1 = 0 ;
10363 char * kwnames[] = {
10364 (char *) "self",(char *) "gravity", NULL
10365 };
10366
10367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10368 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10369 if (!SWIG_IsOK(res1)) {
10370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10371 }
10372 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10373 ecode2 = SWIG_AsVal_double(obj1, &val2);
10374 if (!SWIG_IsOK(ecode2)) {
10375 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10376 }
10377 arg2 = static_cast< double >(val2);
10378 {
10379 PyThreadState* __tstate = wxPyBeginAllowThreads();
10380 (arg1)->SetSashGravity(arg2);
10381 wxPyEndAllowThreads(__tstate);
10382 if (PyErr_Occurred()) SWIG_fail;
10383 }
10384 resultobj = SWIG_Py_Void();
10385 return resultobj;
10386fail:
10387 return NULL;
d55e5bfc
RD
10388}
10389
10390
554f62e9
RD
10391SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10392 PyObject *resultobj = 0;
10393 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10394 double result;
10395 void *argp1 = 0 ;
10396 int res1 = 0 ;
10397 PyObject *swig_obj[1] ;
10398
10399 if (!args) SWIG_fail;
10400 swig_obj[0] = args;
10401 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10402 if (!SWIG_IsOK(res1)) {
10403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10404 }
10405 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10406 {
10407 PyThreadState* __tstate = wxPyBeginAllowThreads();
10408 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10409 wxPyEndAllowThreads(__tstate);
10410 if (PyErr_Occurred()) SWIG_fail;
10411 }
10412 resultobj = SWIG_From_double(static_cast< double >(result));
10413 return resultobj;
10414fail:
10415 return NULL;
10416}
10417
10418
10419SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10420 PyObject *resultobj = 0;
10421 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10422 int arg2 ;
10423 void *argp1 = 0 ;
10424 int res1 = 0 ;
10425 int val2 ;
10426 int ecode2 = 0 ;
10427 PyObject * obj0 = 0 ;
10428 PyObject * obj1 = 0 ;
10429 char * kwnames[] = {
10430 (char *) "self",(char *) "min", NULL
10431 };
10432
10433 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10434 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10435 if (!SWIG_IsOK(res1)) {
10436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10437 }
10438 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10439 ecode2 = SWIG_AsVal_int(obj1, &val2);
10440 if (!SWIG_IsOK(ecode2)) {
10441 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10442 }
10443 arg2 = static_cast< int >(val2);
10444 {
10445 PyThreadState* __tstate = wxPyBeginAllowThreads();
10446 (arg1)->SetMinimumPaneSize(arg2);
10447 wxPyEndAllowThreads(__tstate);
10448 if (PyErr_Occurred()) SWIG_fail;
10449 }
10450 resultobj = SWIG_Py_Void();
10451 return resultobj;
10452fail:
10453 return NULL;
d55e5bfc
RD
10454}
10455
10456
554f62e9
RD
10457SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10458 PyObject *resultobj = 0;
10459 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10460 int result;
10461 void *argp1 = 0 ;
10462 int res1 = 0 ;
10463 PyObject *swig_obj[1] ;
10464
10465 if (!args) SWIG_fail;
10466 swig_obj[0] = args;
10467 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10468 if (!SWIG_IsOK(res1)) {
10469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10470 }
10471 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10472 {
10473 PyThreadState* __tstate = wxPyBeginAllowThreads();
10474 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10475 wxPyEndAllowThreads(__tstate);
10476 if (PyErr_Occurred()) SWIG_fail;
10477 }
10478 resultobj = SWIG_From_int(static_cast< int >(result));
10479 return resultobj;
10480fail:
10481 return NULL;
10482}
10483
10484
10485SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10486 PyObject *resultobj = 0;
10487 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10488 int arg2 ;
10489 int arg3 ;
10490 int arg4 = (int) 5 ;
10491 bool result;
10492 void *argp1 = 0 ;
10493 int res1 = 0 ;
10494 int val2 ;
10495 int ecode2 = 0 ;
10496 int val3 ;
10497 int ecode3 = 0 ;
10498 int val4 ;
10499 int ecode4 = 0 ;
10500 PyObject * obj0 = 0 ;
10501 PyObject * obj1 = 0 ;
10502 PyObject * obj2 = 0 ;
10503 PyObject * obj3 = 0 ;
10504 char * kwnames[] = {
10505 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10506 };
10507
10508 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10509 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10510 if (!SWIG_IsOK(res1)) {
10511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10512 }
10513 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10514 ecode2 = SWIG_AsVal_int(obj1, &val2);
10515 if (!SWIG_IsOK(ecode2)) {
10516 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10517 }
10518 arg2 = static_cast< int >(val2);
10519 ecode3 = SWIG_AsVal_int(obj2, &val3);
10520 if (!SWIG_IsOK(ecode3)) {
10521 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10522 }
10523 arg3 = static_cast< int >(val3);
10524 if (obj3) {
10525 ecode4 = SWIG_AsVal_int(obj3, &val4);
10526 if (!SWIG_IsOK(ecode4)) {
10527 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10528 }
10529 arg4 = static_cast< int >(val4);
10530 }
10531 {
10532 PyThreadState* __tstate = wxPyBeginAllowThreads();
10533 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10534 wxPyEndAllowThreads(__tstate);
10535 if (PyErr_Occurred()) SWIG_fail;
10536 }
10537 {
10538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10539 }
10540 return resultobj;
10541fail:
10542 return NULL;
b1fcee84
RD
10543}
10544
10545
554f62e9
RD
10546SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10547 PyObject *resultobj = 0;
10548 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10549 void *argp1 = 0 ;
10550 int res1 = 0 ;
10551 PyObject *swig_obj[1] ;
10552
10553 if (!args) SWIG_fail;
10554 swig_obj[0] = args;
10555 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10556 if (!SWIG_IsOK(res1)) {
10557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10558 }
10559 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10560 {
10561 PyThreadState* __tstate = wxPyBeginAllowThreads();
10562 (arg1)->SizeWindows();
10563 wxPyEndAllowThreads(__tstate);
10564 if (PyErr_Occurred()) SWIG_fail;
10565 }
10566 resultobj = SWIG_Py_Void();
10567 return resultobj;
10568fail:
10569 return NULL;
10570}
10571
10572
10573SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10574 PyObject *resultobj = 0;
10575 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10576 bool arg2 ;
10577 void *argp1 = 0 ;
10578 int res1 = 0 ;
10579 bool val2 ;
10580 int ecode2 = 0 ;
10581 PyObject * obj0 = 0 ;
10582 PyObject * obj1 = 0 ;
10583 char * kwnames[] = {
10584 (char *) "self",(char *) "needUpdating", NULL
10585 };
10586
10587 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10588 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10589 if (!SWIG_IsOK(res1)) {
10590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10591 }
10592 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10593 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10594 if (!SWIG_IsOK(ecode2)) {
10595 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10596 }
10597 arg2 = static_cast< bool >(val2);
10598 {
10599 PyThreadState* __tstate = wxPyBeginAllowThreads();
10600 (arg1)->SetNeedUpdating(arg2);
10601 wxPyEndAllowThreads(__tstate);
10602 if (PyErr_Occurred()) SWIG_fail;
10603 }
10604 resultobj = SWIG_Py_Void();
10605 return resultobj;
10606fail:
10607 return NULL;
b1fcee84
RD
10608}
10609
10610
554f62e9
RD
10611SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10612 PyObject *resultobj = 0;
10613 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10614 bool result;
10615 void *argp1 = 0 ;
10616 int res1 = 0 ;
10617 PyObject *swig_obj[1] ;
10618
10619 if (!args) SWIG_fail;
10620 swig_obj[0] = args;
10621 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10622 if (!SWIG_IsOK(res1)) {
10623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10624 }
10625 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10626 {
10627 PyThreadState* __tstate = wxPyBeginAllowThreads();
10628 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10629 wxPyEndAllowThreads(__tstate);
10630 if (PyErr_Occurred()) SWIG_fail;
10631 }
10632 {
10633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10634 }
10635 return resultobj;
10636fail:
10637 return NULL;
b1fcee84
RD
10638}
10639
10640
554f62e9
RD
10641SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10642 PyObject *resultobj = 0;
10643 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10644 SwigValueWrapper<wxVisualAttributes > result;
10645 int val1 ;
10646 int ecode1 = 0 ;
10647 PyObject * obj0 = 0 ;
10648 char * kwnames[] = {
10649 (char *) "variant", NULL
10650 };
10651
10652 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10653 if (obj0) {
10654 ecode1 = SWIG_AsVal_int(obj0, &val1);
10655 if (!SWIG_IsOK(ecode1)) {
10656 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10657 }
10658 arg1 = static_cast< wxWindowVariant >(val1);
10659 }
10660 {
10661 if (!wxPyCheckForApp()) SWIG_fail;
10662 PyThreadState* __tstate = wxPyBeginAllowThreads();
10663 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10664 wxPyEndAllowThreads(__tstate);
10665 if (PyErr_Occurred()) SWIG_fail;
10666 }
10667 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10668 return resultobj;
10669fail:
10670 return NULL;
b1fcee84
RD
10671}
10672
10673
554f62e9
RD
10674SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10675 PyObject *obj;
10676 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10677 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10678 return SWIG_Py_Void();
d55e5bfc
RD
10679}
10680
554f62e9
RD
10681SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10682 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
10683}
10684
554f62e9
RD
10685SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10686 PyObject *resultobj = 0;
10687 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10688 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10689 wxSplitterEvent *result = 0 ;
10690 int val1 ;
10691 int ecode1 = 0 ;
10692 void *argp2 = 0 ;
10693 int res2 = 0 ;
10694 PyObject * obj0 = 0 ;
10695 PyObject * obj1 = 0 ;
10696 char * kwnames[] = {
10697 (char *) "type",(char *) "splitter", NULL
10698 };
10699
10700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10701 if (obj0) {
10702 ecode1 = SWIG_AsVal_int(obj0, &val1);
10703 if (!SWIG_IsOK(ecode1)) {
10704 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10705 }
10706 arg1 = static_cast< wxEventType >(val1);
10707 }
10708 if (obj1) {
10709 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10710 if (!SWIG_IsOK(res2)) {
10711 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
62d32a5f 10712 }
554f62e9
RD
10713 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10714 }
10715 {
10716 PyThreadState* __tstate = wxPyBeginAllowThreads();
10717 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10718 wxPyEndAllowThreads(__tstate);
10719 if (PyErr_Occurred()) SWIG_fail;
10720 }
10721 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10722 return resultobj;
10723fail:
10724 return NULL;
10725}
10726
10727
10728SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10729 PyObject *resultobj = 0;
10730 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10731 int arg2 ;
10732 void *argp1 = 0 ;
10733 int res1 = 0 ;
10734 int val2 ;
10735 int ecode2 = 0 ;
10736 PyObject * obj0 = 0 ;
10737 PyObject * obj1 = 0 ;
10738 char * kwnames[] = {
10739 (char *) "self",(char *) "pos", NULL
10740 };
10741
10742 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10743 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10744 if (!SWIG_IsOK(res1)) {
10745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10746 }
10747 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10748 ecode2 = SWIG_AsVal_int(obj1, &val2);
10749 if (!SWIG_IsOK(ecode2)) {
10750 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10751 }
10752 arg2 = static_cast< int >(val2);
10753 {
10754 PyThreadState* __tstate = wxPyBeginAllowThreads();
10755 (arg1)->SetSashPosition(arg2);
10756 wxPyEndAllowThreads(__tstate);
10757 if (PyErr_Occurred()) SWIG_fail;
10758 }
10759 resultobj = SWIG_Py_Void();
10760 return resultobj;
10761fail:
10762 return NULL;
62d32a5f
RD
10763}
10764
10765
554f62e9
RD
10766SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10767 PyObject *resultobj = 0;
10768 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10769 int result;
10770 void *argp1 = 0 ;
10771 int res1 = 0 ;
10772 PyObject *swig_obj[1] ;
10773
10774 if (!args) SWIG_fail;
10775 swig_obj[0] = args;
10776 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10777 if (!SWIG_IsOK(res1)) {
10778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10779 }
10780 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10781 {
10782 PyThreadState* __tstate = wxPyBeginAllowThreads();
10783 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10784 wxPyEndAllowThreads(__tstate);
10785 if (PyErr_Occurred()) SWIG_fail;
10786 }
10787 resultobj = SWIG_From_int(static_cast< int >(result));
10788 return resultobj;
10789fail:
10790 return NULL;
d55e5bfc
RD
10791}
10792
10793
554f62e9
RD
10794SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10795 PyObject *resultobj = 0;
10796 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10797 wxWindow *result = 0 ;
10798 void *argp1 = 0 ;
10799 int res1 = 0 ;
10800 PyObject *swig_obj[1] ;
10801
10802 if (!args) SWIG_fail;
10803 swig_obj[0] = args;
10804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10805 if (!SWIG_IsOK(res1)) {
10806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10807 }
10808 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10809 {
10810 PyThreadState* __tstate = wxPyBeginAllowThreads();
10811 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10812 wxPyEndAllowThreads(__tstate);
10813 if (PyErr_Occurred()) SWIG_fail;
10814 }
10815 {
10816 resultobj = wxPyMake_wxObject(result, 0);
10817 }
10818 return resultobj;
10819fail:
10820 return NULL;
d55e5bfc
RD
10821}
10822
10823
554f62e9
RD
10824SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10825 PyObject *resultobj = 0;
10826 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10827 int result;
10828 void *argp1 = 0 ;
10829 int res1 = 0 ;
10830 PyObject *swig_obj[1] ;
10831
10832 if (!args) SWIG_fail;
10833 swig_obj[0] = args;
10834 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10835 if (!SWIG_IsOK(res1)) {
10836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10837 }
10838 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10839 {
10840 PyThreadState* __tstate = wxPyBeginAllowThreads();
10841 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10842 wxPyEndAllowThreads(__tstate);
10843 if (PyErr_Occurred()) SWIG_fail;
10844 }
10845 resultobj = SWIG_From_int(static_cast< int >(result));
10846 return resultobj;
10847fail:
10848 return NULL;
d55e5bfc
RD
10849}
10850
10851
554f62e9
RD
10852SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10853 PyObject *resultobj = 0;
10854 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10855 int result;
10856 void *argp1 = 0 ;
10857 int res1 = 0 ;
10858 PyObject *swig_obj[1] ;
10859
10860 if (!args) SWIG_fail;
10861 swig_obj[0] = args;
10862 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10863 if (!SWIG_IsOK(res1)) {
10864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10865 }
10866 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10867 {
10868 PyThreadState* __tstate = wxPyBeginAllowThreads();
10869 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10870 wxPyEndAllowThreads(__tstate);
10871 if (PyErr_Occurred()) SWIG_fail;
10872 }
10873 resultobj = SWIG_From_int(static_cast< int >(result));
10874 return resultobj;
10875fail:
10876 return NULL;
f20a2e1f
RD
10877}
10878
10879
554f62e9
RD
10880SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10881 PyObject *obj;
10882 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10883 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10884 return SWIG_Py_Void();
d55e5bfc
RD
10885}
10886
554f62e9
RD
10887SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10888 return SWIG_Python_InitShadowInstance(args);
10889}
d55e5bfc 10890
554f62e9
RD
10891SWIGINTERN int SashNameStr_set(PyObject *) {
10892 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10893 return 1;
d55e5bfc
RD
10894}
10895
10896
554f62e9
RD
10897SWIGINTERN PyObject *SashNameStr_get(void) {
10898 PyObject *pyobj = 0;
10899
10900 {
10901#if wxUSE_UNICODE
10902 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10903#else
10904 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10905#endif
10906 }
10907 return pyobj;
d55e5bfc
RD
10908}
10909
10910
554f62e9
RD
10911SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10912 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10913 return 1;
d55e5bfc
RD
10914}
10915
10916
554f62e9
RD
10917SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10918 PyObject *pyobj = 0;
10919
10920 {
10921#if wxUSE_UNICODE
10922 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10923#else
10924 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10925#endif
10926 }
10927 return pyobj;
10928}
10929
10930
10931SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10932 PyObject *resultobj = 0;
10933 wxWindow *arg1 = (wxWindow *) 0 ;
10934 int arg2 = (int) -1 ;
10935 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10936 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10937 wxSize const &arg4_defvalue = wxDefaultSize ;
10938 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10939 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10940 wxString const &arg6_defvalue = wxPySashNameStr ;
10941 wxString *arg6 = (wxString *) &arg6_defvalue ;
10942 wxSashWindow *result = 0 ;
10943 void *argp1 = 0 ;
10944 int res1 = 0 ;
10945 int val2 ;
10946 int ecode2 = 0 ;
10947 wxPoint temp3 ;
10948 wxSize temp4 ;
10949 long val5 ;
10950 int ecode5 = 0 ;
10951 bool temp6 = false ;
10952 PyObject * obj0 = 0 ;
10953 PyObject * obj1 = 0 ;
10954 PyObject * obj2 = 0 ;
10955 PyObject * obj3 = 0 ;
10956 PyObject * obj4 = 0 ;
10957 PyObject * obj5 = 0 ;
10958 char * kwnames[] = {
10959 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10960 };
10961
10962 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10963 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10964 if (!SWIG_IsOK(res1)) {
10965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10966 }
10967 arg1 = reinterpret_cast< wxWindow * >(argp1);
10968 if (obj1) {
10969 ecode2 = SWIG_AsVal_int(obj1, &val2);
10970 if (!SWIG_IsOK(ecode2)) {
10971 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10972 }
10973 arg2 = static_cast< int >(val2);
10974 }
10975 if (obj2) {
093d3ff1 10976 {
554f62e9
RD
10977 arg3 = &temp3;
10978 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 10979 }
554f62e9
RD
10980 }
10981 if (obj3) {
d55e5bfc 10982 {
554f62e9
RD
10983 arg4 = &temp4;
10984 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 10985 }
554f62e9
RD
10986 }
10987 if (obj4) {
10988 ecode5 = SWIG_AsVal_long(obj4, &val5);
10989 if (!SWIG_IsOK(ecode5)) {
10990 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10991 }
10992 arg5 = static_cast< long >(val5);
10993 }
10994 if (obj5) {
d55e5bfc 10995 {
554f62e9
RD
10996 arg6 = wxString_in_helper(obj5);
10997 if (arg6 == NULL) SWIG_fail;
10998 temp6 = true;
d55e5bfc 10999 }
554f62e9
RD
11000 }
11001 {
11002 if (!wxPyCheckForApp()) SWIG_fail;
11003 PyThreadState* __tstate = wxPyBeginAllowThreads();
11004 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11005 wxPyEndAllowThreads(__tstate);
11006 if (PyErr_Occurred()) SWIG_fail;
11007 }
11008 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
11009 {
11010 if (temp6)
11011 delete arg6;
11012 }
11013 return resultobj;
11014fail:
11015 {
11016 if (temp6)
11017 delete arg6;
11018 }
11019 return NULL;
d55e5bfc
RD
11020}
11021
11022
554f62e9
RD
11023SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11024 PyObject *resultobj = 0;
11025 wxSashWindow *result = 0 ;
11026
11027 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
11028 {
11029 if (!wxPyCheckForApp()) SWIG_fail;
11030 PyThreadState* __tstate = wxPyBeginAllowThreads();
11031 result = (wxSashWindow *)new wxSashWindow();
11032 wxPyEndAllowThreads(__tstate);
11033 if (PyErr_Occurred()) SWIG_fail;
11034 }
11035 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
11036 return resultobj;
11037fail:
11038 return NULL;
11039}
11040
11041
11042SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11043 PyObject *resultobj = 0;
11044 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11045 wxWindow *arg2 = (wxWindow *) 0 ;
11046 int arg3 = (int) -1 ;
11047 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11048 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11049 wxSize const &arg5_defvalue = wxDefaultSize ;
11050 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11051 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
11052 wxString const &arg7_defvalue = wxPySashNameStr ;
11053 wxString *arg7 = (wxString *) &arg7_defvalue ;
11054 bool result;
11055 void *argp1 = 0 ;
11056 int res1 = 0 ;
11057 void *argp2 = 0 ;
11058 int res2 = 0 ;
11059 int val3 ;
11060 int ecode3 = 0 ;
11061 wxPoint temp4 ;
11062 wxSize temp5 ;
11063 long val6 ;
11064 int ecode6 = 0 ;
11065 bool temp7 = false ;
11066 PyObject * obj0 = 0 ;
11067 PyObject * obj1 = 0 ;
11068 PyObject * obj2 = 0 ;
11069 PyObject * obj3 = 0 ;
11070 PyObject * obj4 = 0 ;
11071 PyObject * obj5 = 0 ;
11072 PyObject * obj6 = 0 ;
11073 char * kwnames[] = {
11074 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11075 };
11076
11077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
11078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11079 if (!SWIG_IsOK(res1)) {
11080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11081 }
11082 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11083 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11084 if (!SWIG_IsOK(res2)) {
11085 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11086 }
11087 arg2 = reinterpret_cast< wxWindow * >(argp2);
11088 if (obj2) {
11089 ecode3 = SWIG_AsVal_int(obj2, &val3);
11090 if (!SWIG_IsOK(ecode3)) {
11091 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11092 }
11093 arg3 = static_cast< int >(val3);
11094 }
11095 if (obj3) {
093d3ff1 11096 {
554f62e9
RD
11097 arg4 = &temp4;
11098 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 11099 }
554f62e9
RD
11100 }
11101 if (obj4) {
d55e5bfc 11102 {
554f62e9
RD
11103 arg5 = &temp5;
11104 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 11105 }
554f62e9
RD
11106 }
11107 if (obj5) {
11108 ecode6 = SWIG_AsVal_long(obj5, &val6);
11109 if (!SWIG_IsOK(ecode6)) {
11110 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11111 }
11112 arg6 = static_cast< long >(val6);
11113 }
11114 if (obj6) {
093d3ff1 11115 {
554f62e9
RD
11116 arg7 = wxString_in_helper(obj6);
11117 if (arg7 == NULL) SWIG_fail;
11118 temp7 = true;
093d3ff1 11119 }
554f62e9
RD
11120 }
11121 {
11122 PyThreadState* __tstate = wxPyBeginAllowThreads();
11123 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11124 wxPyEndAllowThreads(__tstate);
11125 if (PyErr_Occurred()) SWIG_fail;
11126 }
11127 {
11128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11129 }
11130 {
11131 if (temp7)
11132 delete arg7;
11133 }
11134 return resultobj;
11135fail:
11136 {
11137 if (temp7)
11138 delete arg7;
11139 }
11140 return NULL;
11141}
11142
11143
11144SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11145 PyObject *resultobj = 0;
11146 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11147 wxSashEdgePosition arg2 ;
11148 bool arg3 ;
11149 void *argp1 = 0 ;
11150 int res1 = 0 ;
11151 int val2 ;
11152 int ecode2 = 0 ;
11153 bool val3 ;
11154 int ecode3 = 0 ;
11155 PyObject * obj0 = 0 ;
11156 PyObject * obj1 = 0 ;
11157 PyObject * obj2 = 0 ;
11158 char * kwnames[] = {
11159 (char *) "self",(char *) "edge",(char *) "sash", NULL
11160 };
11161
11162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11164 if (!SWIG_IsOK(res1)) {
11165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11166 }
11167 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11168 ecode2 = SWIG_AsVal_int(obj1, &val2);
11169 if (!SWIG_IsOK(ecode2)) {
11170 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11171 }
11172 arg2 = static_cast< wxSashEdgePosition >(val2);
11173 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11174 if (!SWIG_IsOK(ecode3)) {
11175 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11176 }
11177 arg3 = static_cast< bool >(val3);
11178 {
11179 PyThreadState* __tstate = wxPyBeginAllowThreads();
11180 (arg1)->SetSashVisible(arg2,arg3);
11181 wxPyEndAllowThreads(__tstate);
11182 if (PyErr_Occurred()) SWIG_fail;
11183 }
11184 resultobj = SWIG_Py_Void();
11185 return resultobj;
11186fail:
11187 return NULL;
11188}
11189
11190
11191SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11192 PyObject *resultobj = 0;
11193 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11194 wxSashEdgePosition arg2 ;
11195 bool result;
11196 void *argp1 = 0 ;
11197 int res1 = 0 ;
11198 int val2 ;
11199 int ecode2 = 0 ;
11200 PyObject * obj0 = 0 ;
11201 PyObject * obj1 = 0 ;
11202 char * kwnames[] = {
11203 (char *) "self",(char *) "edge", NULL
11204 };
11205
11206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11208 if (!SWIG_IsOK(res1)) {
11209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11210 }
11211 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11212 ecode2 = SWIG_AsVal_int(obj1, &val2);
11213 if (!SWIG_IsOK(ecode2)) {
11214 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11215 }
11216 arg2 = static_cast< wxSashEdgePosition >(val2);
11217 {
11218 PyThreadState* __tstate = wxPyBeginAllowThreads();
11219 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11220 wxPyEndAllowThreads(__tstate);
11221 if (PyErr_Occurred()) SWIG_fail;
11222 }
11223 {
11224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11225 }
11226 return resultobj;
11227fail:
11228 return NULL;
11229}
11230
11231
11232SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11233 PyObject *resultobj = 0;
11234 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11235 wxSashEdgePosition arg2 ;
11236 bool arg3 ;
11237 void *argp1 = 0 ;
11238 int res1 = 0 ;
11239 int val2 ;
11240 int ecode2 = 0 ;
11241 bool val3 ;
11242 int ecode3 = 0 ;
11243 PyObject * obj0 = 0 ;
11244 PyObject * obj1 = 0 ;
11245 PyObject * obj2 = 0 ;
11246 char * kwnames[] = {
11247 (char *) "self",(char *) "edge",(char *) "border", NULL
11248 };
11249
11250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11252 if (!SWIG_IsOK(res1)) {
11253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11254 }
11255 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11256 ecode2 = SWIG_AsVal_int(obj1, &val2);
11257 if (!SWIG_IsOK(ecode2)) {
11258 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11259 }
11260 arg2 = static_cast< wxSashEdgePosition >(val2);
11261 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11262 if (!SWIG_IsOK(ecode3)) {
11263 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11264 }
11265 arg3 = static_cast< bool >(val3);
11266 {
11267 PyThreadState* __tstate = wxPyBeginAllowThreads();
11268 (arg1)->SetSashBorder(arg2,arg3);
11269 wxPyEndAllowThreads(__tstate);
11270 if (PyErr_Occurred()) SWIG_fail;
11271 }
11272 resultobj = SWIG_Py_Void();
11273 return resultobj;
11274fail:
11275 return NULL;
11276}
11277
11278
11279SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11280 PyObject *resultobj = 0;
11281 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11282 wxSashEdgePosition arg2 ;
11283 bool result;
11284 void *argp1 = 0 ;
11285 int res1 = 0 ;
11286 int val2 ;
11287 int ecode2 = 0 ;
11288 PyObject * obj0 = 0 ;
11289 PyObject * obj1 = 0 ;
11290 char * kwnames[] = {
11291 (char *) "self",(char *) "edge", NULL
11292 };
11293
11294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11296 if (!SWIG_IsOK(res1)) {
11297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11298 }
11299 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11300 ecode2 = SWIG_AsVal_int(obj1, &val2);
11301 if (!SWIG_IsOK(ecode2)) {
11302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11303 }
11304 arg2 = static_cast< wxSashEdgePosition >(val2);
11305 {
11306 PyThreadState* __tstate = wxPyBeginAllowThreads();
11307 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11308 wxPyEndAllowThreads(__tstate);
11309 if (PyErr_Occurred()) SWIG_fail;
11310 }
11311 {
11312 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11313 }
11314 return resultobj;
11315fail:
11316 return NULL;
11317}
11318
11319
11320SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11321 PyObject *resultobj = 0;
11322 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11323 wxSashEdgePosition arg2 ;
11324 int result;
11325 void *argp1 = 0 ;
11326 int res1 = 0 ;
11327 int val2 ;
11328 int ecode2 = 0 ;
11329 PyObject * obj0 = 0 ;
11330 PyObject * obj1 = 0 ;
11331 char * kwnames[] = {
11332 (char *) "self",(char *) "edge", NULL
11333 };
11334
11335 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11336 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11337 if (!SWIG_IsOK(res1)) {
11338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11339 }
11340 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11341 ecode2 = SWIG_AsVal_int(obj1, &val2);
11342 if (!SWIG_IsOK(ecode2)) {
11343 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11344 }
11345 arg2 = static_cast< wxSashEdgePosition >(val2);
11346 {
11347 PyThreadState* __tstate = wxPyBeginAllowThreads();
11348 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11349 wxPyEndAllowThreads(__tstate);
11350 if (PyErr_Occurred()) SWIG_fail;
11351 }
11352 resultobj = SWIG_From_int(static_cast< int >(result));
11353 return resultobj;
11354fail:
11355 return NULL;
11356}
11357
11358
11359SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11360 PyObject *resultobj = 0;
11361 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11362 int arg2 ;
11363 void *argp1 = 0 ;
11364 int res1 = 0 ;
11365 int val2 ;
11366 int ecode2 = 0 ;
11367 PyObject * obj0 = 0 ;
11368 PyObject * obj1 = 0 ;
11369 char * kwnames[] = {
11370 (char *) "self",(char *) "width", NULL
11371 };
11372
11373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11375 if (!SWIG_IsOK(res1)) {
11376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11377 }
11378 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11379 ecode2 = SWIG_AsVal_int(obj1, &val2);
11380 if (!SWIG_IsOK(ecode2)) {
11381 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11382 }
11383 arg2 = static_cast< int >(val2);
11384 {
11385 PyThreadState* __tstate = wxPyBeginAllowThreads();
11386 (arg1)->SetDefaultBorderSize(arg2);
11387 wxPyEndAllowThreads(__tstate);
11388 if (PyErr_Occurred()) SWIG_fail;
11389 }
11390 resultobj = SWIG_Py_Void();
11391 return resultobj;
11392fail:
11393 return NULL;
d55e5bfc
RD
11394}
11395
11396
554f62e9
RD
11397SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11398 PyObject *resultobj = 0;
11399 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11400 int result;
11401 void *argp1 = 0 ;
11402 int res1 = 0 ;
11403 PyObject *swig_obj[1] ;
11404
11405 if (!args) SWIG_fail;
11406 swig_obj[0] = args;
11407 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11408 if (!SWIG_IsOK(res1)) {
11409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11410 }
11411 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11412 {
11413 PyThreadState* __tstate = wxPyBeginAllowThreads();
11414 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11415 wxPyEndAllowThreads(__tstate);
11416 if (PyErr_Occurred()) SWIG_fail;
11417 }
11418 resultobj = SWIG_From_int(static_cast< int >(result));
11419 return resultobj;
11420fail:
11421 return NULL;
11422}
11423
11424
11425SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11426 PyObject *resultobj = 0;
11427 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11428 int arg2 ;
11429 void *argp1 = 0 ;
11430 int res1 = 0 ;
11431 int val2 ;
11432 int ecode2 = 0 ;
11433 PyObject * obj0 = 0 ;
11434 PyObject * obj1 = 0 ;
11435 char * kwnames[] = {
11436 (char *) "self",(char *) "width", NULL
11437 };
11438
11439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11441 if (!SWIG_IsOK(res1)) {
11442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11443 }
11444 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11445 ecode2 = SWIG_AsVal_int(obj1, &val2);
11446 if (!SWIG_IsOK(ecode2)) {
11447 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11448 }
11449 arg2 = static_cast< int >(val2);
11450 {
11451 PyThreadState* __tstate = wxPyBeginAllowThreads();
11452 (arg1)->SetExtraBorderSize(arg2);
11453 wxPyEndAllowThreads(__tstate);
11454 if (PyErr_Occurred()) SWIG_fail;
11455 }
11456 resultobj = SWIG_Py_Void();
11457 return resultobj;
11458fail:
11459 return NULL;
d55e5bfc
RD
11460}
11461
11462
554f62e9
RD
11463SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11464 PyObject *resultobj = 0;
11465 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11466 int result;
11467 void *argp1 = 0 ;
11468 int res1 = 0 ;
11469 PyObject *swig_obj[1] ;
11470
11471 if (!args) SWIG_fail;
11472 swig_obj[0] = args;
11473 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11474 if (!SWIG_IsOK(res1)) {
11475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11476 }
11477 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11478 {
11479 PyThreadState* __tstate = wxPyBeginAllowThreads();
11480 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11481 wxPyEndAllowThreads(__tstate);
11482 if (PyErr_Occurred()) SWIG_fail;
11483 }
11484 resultobj = SWIG_From_int(static_cast< int >(result));
11485 return resultobj;
11486fail:
11487 return NULL;
11488}
11489
11490
11491SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11492 PyObject *resultobj = 0;
11493 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11494 int arg2 ;
11495 void *argp1 = 0 ;
11496 int res1 = 0 ;
11497 int val2 ;
11498 int ecode2 = 0 ;
11499 PyObject * obj0 = 0 ;
11500 PyObject * obj1 = 0 ;
11501 char * kwnames[] = {
11502 (char *) "self",(char *) "min", NULL
11503 };
11504
11505 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11506 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11507 if (!SWIG_IsOK(res1)) {
11508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11509 }
11510 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11511 ecode2 = SWIG_AsVal_int(obj1, &val2);
11512 if (!SWIG_IsOK(ecode2)) {
11513 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11514 }
11515 arg2 = static_cast< int >(val2);
11516 {
11517 PyThreadState* __tstate = wxPyBeginAllowThreads();
11518 (arg1)->SetMinimumSizeX(arg2);
11519 wxPyEndAllowThreads(__tstate);
11520 if (PyErr_Occurred()) SWIG_fail;
11521 }
11522 resultobj = SWIG_Py_Void();
11523 return resultobj;
11524fail:
11525 return NULL;
11526}
11527
11528
11529SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11530 PyObject *resultobj = 0;
11531 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11532 int arg2 ;
11533 void *argp1 = 0 ;
11534 int res1 = 0 ;
11535 int val2 ;
11536 int ecode2 = 0 ;
11537 PyObject * obj0 = 0 ;
11538 PyObject * obj1 = 0 ;
11539 char * kwnames[] = {
11540 (char *) "self",(char *) "min", NULL
11541 };
11542
11543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11544 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11545 if (!SWIG_IsOK(res1)) {
11546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11547 }
11548 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11549 ecode2 = SWIG_AsVal_int(obj1, &val2);
11550 if (!SWIG_IsOK(ecode2)) {
11551 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11552 }
11553 arg2 = static_cast< int >(val2);
11554 {
11555 PyThreadState* __tstate = wxPyBeginAllowThreads();
11556 (arg1)->SetMinimumSizeY(arg2);
11557 wxPyEndAllowThreads(__tstate);
11558 if (PyErr_Occurred()) SWIG_fail;
11559 }
11560 resultobj = SWIG_Py_Void();
11561 return resultobj;
11562fail:
11563 return NULL;
d55e5bfc
RD
11564}
11565
11566
554f62e9
RD
11567SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11568 PyObject *resultobj = 0;
11569 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11570 int result;
11571 void *argp1 = 0 ;
11572 int res1 = 0 ;
11573 PyObject *swig_obj[1] ;
11574
11575 if (!args) SWIG_fail;
11576 swig_obj[0] = args;
11577 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11578 if (!SWIG_IsOK(res1)) {
11579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11580 }
11581 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11582 {
11583 PyThreadState* __tstate = wxPyBeginAllowThreads();
11584 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11585 wxPyEndAllowThreads(__tstate);
11586 if (PyErr_Occurred()) SWIG_fail;
11587 }
11588 resultobj = SWIG_From_int(static_cast< int >(result));
11589 return resultobj;
11590fail:
11591 return NULL;
d55e5bfc
RD
11592}
11593
11594
554f62e9
RD
11595SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11596 PyObject *resultobj = 0;
11597 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11598 int result;
11599 void *argp1 = 0 ;
11600 int res1 = 0 ;
11601 PyObject *swig_obj[1] ;
11602
11603 if (!args) SWIG_fail;
11604 swig_obj[0] = args;
11605 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11606 if (!SWIG_IsOK(res1)) {
11607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11608 }
11609 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11610 {
11611 PyThreadState* __tstate = wxPyBeginAllowThreads();
11612 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11613 wxPyEndAllowThreads(__tstate);
11614 if (PyErr_Occurred()) SWIG_fail;
11615 }
11616 resultobj = SWIG_From_int(static_cast< int >(result));
11617 return resultobj;
11618fail:
11619 return NULL;
11620}
11621
11622
11623SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11624 PyObject *resultobj = 0;
11625 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11626 int arg2 ;
11627 void *argp1 = 0 ;
11628 int res1 = 0 ;
11629 int val2 ;
11630 int ecode2 = 0 ;
11631 PyObject * obj0 = 0 ;
11632 PyObject * obj1 = 0 ;
11633 char * kwnames[] = {
11634 (char *) "self",(char *) "max", NULL
11635 };
11636
11637 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11638 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11639 if (!SWIG_IsOK(res1)) {
11640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11641 }
11642 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11643 ecode2 = SWIG_AsVal_int(obj1, &val2);
11644 if (!SWIG_IsOK(ecode2)) {
11645 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11646 }
11647 arg2 = static_cast< int >(val2);
11648 {
11649 PyThreadState* __tstate = wxPyBeginAllowThreads();
11650 (arg1)->SetMaximumSizeX(arg2);
11651 wxPyEndAllowThreads(__tstate);
11652 if (PyErr_Occurred()) SWIG_fail;
11653 }
11654 resultobj = SWIG_Py_Void();
11655 return resultobj;
11656fail:
11657 return NULL;
11658}
11659
11660
11661SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11662 PyObject *resultobj = 0;
11663 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11664 int arg2 ;
11665 void *argp1 = 0 ;
11666 int res1 = 0 ;
11667 int val2 ;
11668 int ecode2 = 0 ;
11669 PyObject * obj0 = 0 ;
11670 PyObject * obj1 = 0 ;
11671 char * kwnames[] = {
11672 (char *) "self",(char *) "max", NULL
11673 };
11674
11675 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11676 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11677 if (!SWIG_IsOK(res1)) {
11678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11679 }
11680 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11681 ecode2 = SWIG_AsVal_int(obj1, &val2);
11682 if (!SWIG_IsOK(ecode2)) {
11683 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11684 }
11685 arg2 = static_cast< int >(val2);
11686 {
11687 PyThreadState* __tstate = wxPyBeginAllowThreads();
11688 (arg1)->SetMaximumSizeY(arg2);
11689 wxPyEndAllowThreads(__tstate);
11690 if (PyErr_Occurred()) SWIG_fail;
11691 }
11692 resultobj = SWIG_Py_Void();
11693 return resultobj;
11694fail:
11695 return NULL;
d55e5bfc
RD
11696}
11697
11698
554f62e9
RD
11699SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11700 PyObject *resultobj = 0;
11701 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11702 int result;
11703 void *argp1 = 0 ;
11704 int res1 = 0 ;
11705 PyObject *swig_obj[1] ;
11706
11707 if (!args) SWIG_fail;
11708 swig_obj[0] = args;
11709 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11710 if (!SWIG_IsOK(res1)) {
11711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11712 }
11713 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11714 {
11715 PyThreadState* __tstate = wxPyBeginAllowThreads();
11716 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11717 wxPyEndAllowThreads(__tstate);
11718 if (PyErr_Occurred()) SWIG_fail;
11719 }
11720 resultobj = SWIG_From_int(static_cast< int >(result));
11721 return resultobj;
11722fail:
11723 return NULL;
d55e5bfc
RD
11724}
11725
11726
554f62e9
RD
11727SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11728 PyObject *resultobj = 0;
11729 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11730 int result;
11731 void *argp1 = 0 ;
11732 int res1 = 0 ;
11733 PyObject *swig_obj[1] ;
11734
11735 if (!args) SWIG_fail;
11736 swig_obj[0] = args;
11737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11738 if (!SWIG_IsOK(res1)) {
11739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11740 }
11741 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11742 {
11743 PyThreadState* __tstate = wxPyBeginAllowThreads();
11744 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11745 wxPyEndAllowThreads(__tstate);
11746 if (PyErr_Occurred()) SWIG_fail;
11747 }
11748 resultobj = SWIG_From_int(static_cast< int >(result));
11749 return resultobj;
11750fail:
11751 return NULL;
11752}
11753
11754
11755SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11756 PyObject *resultobj = 0;
11757 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11758 int arg2 ;
11759 int arg3 ;
11760 int arg4 = (int) 2 ;
11761 wxSashEdgePosition result;
11762 void *argp1 = 0 ;
11763 int res1 = 0 ;
11764 int val2 ;
11765 int ecode2 = 0 ;
11766 int val3 ;
11767 int ecode3 = 0 ;
11768 int val4 ;
11769 int ecode4 = 0 ;
11770 PyObject * obj0 = 0 ;
11771 PyObject * obj1 = 0 ;
11772 PyObject * obj2 = 0 ;
11773 PyObject * obj3 = 0 ;
11774 char * kwnames[] = {
11775 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11776 };
11777
11778 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11779 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11780 if (!SWIG_IsOK(res1)) {
11781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11782 }
11783 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11784 ecode2 = SWIG_AsVal_int(obj1, &val2);
11785 if (!SWIG_IsOK(ecode2)) {
11786 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11787 }
11788 arg2 = static_cast< int >(val2);
11789 ecode3 = SWIG_AsVal_int(obj2, &val3);
11790 if (!SWIG_IsOK(ecode3)) {
11791 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11792 }
11793 arg3 = static_cast< int >(val3);
11794 if (obj3) {
11795 ecode4 = SWIG_AsVal_int(obj3, &val4);
11796 if (!SWIG_IsOK(ecode4)) {
11797 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11798 }
11799 arg4 = static_cast< int >(val4);
11800 }
11801 {
11802 PyThreadState* __tstate = wxPyBeginAllowThreads();
11803 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11804 wxPyEndAllowThreads(__tstate);
11805 if (PyErr_Occurred()) SWIG_fail;
11806 }
11807 resultobj = SWIG_From_int(static_cast< int >(result));
11808 return resultobj;
11809fail:
11810 return NULL;
d55e5bfc
RD
11811}
11812
11813
554f62e9
RD
11814SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11815 PyObject *resultobj = 0;
11816 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11817 void *argp1 = 0 ;
11818 int res1 = 0 ;
11819 PyObject *swig_obj[1] ;
11820
11821 if (!args) SWIG_fail;
11822 swig_obj[0] = args;
11823 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11824 if (!SWIG_IsOK(res1)) {
11825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11826 }
11827 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11828 {
11829 PyThreadState* __tstate = wxPyBeginAllowThreads();
11830 (arg1)->SizeWindows();
11831 wxPyEndAllowThreads(__tstate);
11832 if (PyErr_Occurred()) SWIG_fail;
11833 }
11834 resultobj = SWIG_Py_Void();
11835 return resultobj;
11836fail:
11837 return NULL;
d55e5bfc
RD
11838}
11839
11840
554f62e9
RD
11841SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11842 PyObject *obj;
11843 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11844 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11845 return SWIG_Py_Void();
d55e5bfc
RD
11846}
11847
554f62e9
RD
11848SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11849 return SWIG_Python_InitShadowInstance(args);
11850}
d55e5bfc 11851
554f62e9
RD
11852SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11853 PyObject *resultobj = 0;
11854 int arg1 = (int) 0 ;
11855 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11856 wxSashEvent *result = 0 ;
11857 int val1 ;
11858 int ecode1 = 0 ;
11859 int val2 ;
11860 int ecode2 = 0 ;
11861 PyObject * obj0 = 0 ;
11862 PyObject * obj1 = 0 ;
11863 char * kwnames[] = {
11864 (char *) "id",(char *) "edge", NULL
11865 };
11866
11867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11868 if (obj0) {
11869 ecode1 = SWIG_AsVal_int(obj0, &val1);
11870 if (!SWIG_IsOK(ecode1)) {
11871 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11872 }
11873 arg1 = static_cast< int >(val1);
11874 }
11875 if (obj1) {
11876 ecode2 = SWIG_AsVal_int(obj1, &val2);
11877 if (!SWIG_IsOK(ecode2)) {
11878 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11879 }
11880 arg2 = static_cast< wxSashEdgePosition >(val2);
11881 }
11882 {
11883 PyThreadState* __tstate = wxPyBeginAllowThreads();
11884 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11885 wxPyEndAllowThreads(__tstate);
11886 if (PyErr_Occurred()) SWIG_fail;
11887 }
11888 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11889 return resultobj;
11890fail:
11891 return NULL;
11892}
11893
11894
11895SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11896 PyObject *resultobj = 0;
11897 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11898 wxSashEdgePosition arg2 ;
11899 void *argp1 = 0 ;
11900 int res1 = 0 ;
11901 int val2 ;
11902 int ecode2 = 0 ;
11903 PyObject * obj0 = 0 ;
11904 PyObject * obj1 = 0 ;
11905 char * kwnames[] = {
11906 (char *) "self",(char *) "edge", NULL
11907 };
11908
11909 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11910 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11911 if (!SWIG_IsOK(res1)) {
11912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11913 }
11914 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11915 ecode2 = SWIG_AsVal_int(obj1, &val2);
11916 if (!SWIG_IsOK(ecode2)) {
11917 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11918 }
11919 arg2 = static_cast< wxSashEdgePosition >(val2);
11920 {
11921 PyThreadState* __tstate = wxPyBeginAllowThreads();
11922 (arg1)->SetEdge(arg2);
11923 wxPyEndAllowThreads(__tstate);
11924 if (PyErr_Occurred()) SWIG_fail;
11925 }
11926 resultobj = SWIG_Py_Void();
11927 return resultobj;
11928fail:
11929 return NULL;
d55e5bfc
RD
11930}
11931
11932
554f62e9
RD
11933SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11934 PyObject *resultobj = 0;
11935 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11936 wxSashEdgePosition result;
11937 void *argp1 = 0 ;
11938 int res1 = 0 ;
11939 PyObject *swig_obj[1] ;
11940
11941 if (!args) SWIG_fail;
11942 swig_obj[0] = args;
11943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11944 if (!SWIG_IsOK(res1)) {
11945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11946 }
11947 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11948 {
11949 PyThreadState* __tstate = wxPyBeginAllowThreads();
11950 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11951 wxPyEndAllowThreads(__tstate);
11952 if (PyErr_Occurred()) SWIG_fail;
11953 }
11954 resultobj = SWIG_From_int(static_cast< int >(result));
11955 return resultobj;
11956fail:
11957 return NULL;
11958}
11959
11960
11961SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11962 PyObject *resultobj = 0;
11963 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11964 wxRect *arg2 = 0 ;
11965 void *argp1 = 0 ;
11966 int res1 = 0 ;
11967 wxRect temp2 ;
11968 PyObject * obj0 = 0 ;
11969 PyObject * obj1 = 0 ;
11970 char * kwnames[] = {
11971 (char *) "self",(char *) "rect", NULL
11972 };
11973
11974 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11975 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11976 if (!SWIG_IsOK(res1)) {
11977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11978 }
11979 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11980 {
11981 arg2 = &temp2;
11982 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11983 }
11984 {
11985 PyThreadState* __tstate = wxPyBeginAllowThreads();
11986 (arg1)->SetDragRect((wxRect const &)*arg2);
11987 wxPyEndAllowThreads(__tstate);
11988 if (PyErr_Occurred()) SWIG_fail;
11989 }
11990 resultobj = SWIG_Py_Void();
11991 return resultobj;
11992fail:
11993 return NULL;
d55e5bfc
RD
11994}
11995
11996
554f62e9
RD
11997SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11998 PyObject *resultobj = 0;
11999 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
12000 wxRect result;
12001 void *argp1 = 0 ;
12002 int res1 = 0 ;
12003 PyObject *swig_obj[1] ;
12004
12005 if (!args) SWIG_fail;
12006 swig_obj[0] = args;
12007 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
12008 if (!SWIG_IsOK(res1)) {
12009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12010 }
12011 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
12012 {
12013 PyThreadState* __tstate = wxPyBeginAllowThreads();
12014 result = ((wxSashEvent const *)arg1)->GetDragRect();
12015 wxPyEndAllowThreads(__tstate);
12016 if (PyErr_Occurred()) SWIG_fail;
12017 }
12018 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12019 return resultobj;
12020fail:
12021 return NULL;
12022}
12023
12024
12025SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12026 PyObject *resultobj = 0;
12027 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
12028 wxSashDragStatus arg2 ;
12029 void *argp1 = 0 ;
12030 int res1 = 0 ;
12031 int val2 ;
12032 int ecode2 = 0 ;
12033 PyObject * obj0 = 0 ;
12034 PyObject * obj1 = 0 ;
12035 char * kwnames[] = {
12036 (char *) "self",(char *) "status", NULL
12037 };
12038
12039 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
12040 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
12041 if (!SWIG_IsOK(res1)) {
12042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
12043 }
12044 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
12045 ecode2 = SWIG_AsVal_int(obj1, &val2);
12046 if (!SWIG_IsOK(ecode2)) {
12047 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
12048 }
12049 arg2 = static_cast< wxSashDragStatus >(val2);
12050 {
12051 PyThreadState* __tstate = wxPyBeginAllowThreads();
12052 (arg1)->SetDragStatus(arg2);
12053 wxPyEndAllowThreads(__tstate);
12054 if (PyErr_Occurred()) SWIG_fail;
12055 }
12056 resultobj = SWIG_Py_Void();
12057 return resultobj;
12058fail:
12059 return NULL;
d55e5bfc
RD
12060}
12061
12062
554f62e9
RD
12063SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12064 PyObject *resultobj = 0;
12065 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
12066 wxSashDragStatus result;
12067 void *argp1 = 0 ;
12068 int res1 = 0 ;
12069 PyObject *swig_obj[1] ;
12070
12071 if (!args) SWIG_fail;
12072 swig_obj[0] = args;
12073 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
12074 if (!SWIG_IsOK(res1)) {
12075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12076 }
12077 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
12078 {
12079 PyThreadState* __tstate = wxPyBeginAllowThreads();
12080 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
12081 wxPyEndAllowThreads(__tstate);
12082 if (PyErr_Occurred()) SWIG_fail;
12083 }
12084 resultobj = SWIG_From_int(static_cast< int >(result));
12085 return resultobj;
12086fail:
12087 return NULL;
03837c5c
RD
12088}
12089
12090
554f62e9
RD
12091SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12092 PyObject *obj;
12093 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12094 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
12095 return SWIG_Py_Void();
d55e5bfc
RD
12096}
12097
554f62e9
RD
12098SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12099 return SWIG_Python_InitShadowInstance(args);
12100}
d55e5bfc 12101
554f62e9
RD
12102SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12103 PyObject *resultobj = 0;
12104 int arg1 = (int) 0 ;
12105 wxQueryLayoutInfoEvent *result = 0 ;
12106 int val1 ;
12107 int ecode1 = 0 ;
12108 PyObject * obj0 = 0 ;
12109 char * kwnames[] = {
12110 (char *) "id", NULL
12111 };
12112
12113 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
12114 if (obj0) {
12115 ecode1 = SWIG_AsVal_int(obj0, &val1);
12116 if (!SWIG_IsOK(ecode1)) {
12117 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12118 }
12119 arg1 = static_cast< int >(val1);
12120 }
12121 {
12122 PyThreadState* __tstate = wxPyBeginAllowThreads();
12123 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
12124 wxPyEndAllowThreads(__tstate);
12125 if (PyErr_Occurred()) SWIG_fail;
12126 }
12127 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
12128 return resultobj;
12129fail:
12130 return NULL;
12131}
12132
12133
12134SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12135 PyObject *resultobj = 0;
12136 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12137 int arg2 ;
12138 void *argp1 = 0 ;
12139 int res1 = 0 ;
12140 int val2 ;
12141 int ecode2 = 0 ;
12142 PyObject * obj0 = 0 ;
12143 PyObject * obj1 = 0 ;
12144 char * kwnames[] = {
12145 (char *) "self",(char *) "length", NULL
12146 };
12147
12148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12150 if (!SWIG_IsOK(res1)) {
12151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12152 }
12153 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12154 ecode2 = SWIG_AsVal_int(obj1, &val2);
12155 if (!SWIG_IsOK(ecode2)) {
12156 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12157 }
12158 arg2 = static_cast< int >(val2);
12159 {
12160 PyThreadState* __tstate = wxPyBeginAllowThreads();
12161 (arg1)->SetRequestedLength(arg2);
12162 wxPyEndAllowThreads(__tstate);
12163 if (PyErr_Occurred()) SWIG_fail;
12164 }
12165 resultobj = SWIG_Py_Void();
12166 return resultobj;
12167fail:
12168 return NULL;
d55e5bfc
RD
12169}
12170
12171
554f62e9
RD
12172SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12173 PyObject *resultobj = 0;
12174 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12175 int result;
12176 void *argp1 = 0 ;
12177 int res1 = 0 ;
12178 PyObject *swig_obj[1] ;
12179
12180 if (!args) SWIG_fail;
12181 swig_obj[0] = args;
12182 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12183 if (!SWIG_IsOK(res1)) {
12184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12185 }
12186 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12187 {
12188 PyThreadState* __tstate = wxPyBeginAllowThreads();
12189 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12190 wxPyEndAllowThreads(__tstate);
12191 if (PyErr_Occurred()) SWIG_fail;
12192 }
12193 resultobj = SWIG_From_int(static_cast< int >(result));
12194 return resultobj;
12195fail:
12196 return NULL;
12197}
12198
12199
12200SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12201 PyObject *resultobj = 0;
12202 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12203 int arg2 ;
12204 void *argp1 = 0 ;
12205 int res1 = 0 ;
12206 int val2 ;
12207 int ecode2 = 0 ;
12208 PyObject * obj0 = 0 ;
12209 PyObject * obj1 = 0 ;
12210 char * kwnames[] = {
12211 (char *) "self",(char *) "flags", NULL
12212 };
12213
12214 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12215 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12216 if (!SWIG_IsOK(res1)) {
12217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12218 }
12219 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12220 ecode2 = SWIG_AsVal_int(obj1, &val2);
12221 if (!SWIG_IsOK(ecode2)) {
12222 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12223 }
12224 arg2 = static_cast< int >(val2);
12225 {
12226 PyThreadState* __tstate = wxPyBeginAllowThreads();
12227 (arg1)->SetFlags(arg2);
12228 wxPyEndAllowThreads(__tstate);
12229 if (PyErr_Occurred()) SWIG_fail;
12230 }
12231 resultobj = SWIG_Py_Void();
12232 return resultobj;
12233fail:
12234 return NULL;
d55e5bfc
RD
12235}
12236
12237
554f62e9
RD
12238SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12239 PyObject *resultobj = 0;
12240 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12241 int result;
12242 void *argp1 = 0 ;
12243 int res1 = 0 ;
12244 PyObject *swig_obj[1] ;
12245
12246 if (!args) SWIG_fail;
12247 swig_obj[0] = args;
12248 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12249 if (!SWIG_IsOK(res1)) {
12250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12251 }
12252 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12253 {
12254 PyThreadState* __tstate = wxPyBeginAllowThreads();
12255 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12256 wxPyEndAllowThreads(__tstate);
12257 if (PyErr_Occurred()) SWIG_fail;
12258 }
12259 resultobj = SWIG_From_int(static_cast< int >(result));
12260 return resultobj;
12261fail:
12262 return NULL;
12263}
12264
12265
12266SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12267 PyObject *resultobj = 0;
12268 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12269 wxSize *arg2 = 0 ;
12270 void *argp1 = 0 ;
12271 int res1 = 0 ;
12272 wxSize temp2 ;
12273 PyObject * obj0 = 0 ;
12274 PyObject * obj1 = 0 ;
12275 char * kwnames[] = {
12276 (char *) "self",(char *) "size", NULL
12277 };
12278
12279 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12280 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12281 if (!SWIG_IsOK(res1)) {
12282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12283 }
12284 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12285 {
12286 arg2 = &temp2;
12287 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12288 }
12289 {
12290 PyThreadState* __tstate = wxPyBeginAllowThreads();
12291 (arg1)->SetSize((wxSize const &)*arg2);
12292 wxPyEndAllowThreads(__tstate);
12293 if (PyErr_Occurred()) SWIG_fail;
12294 }
12295 resultobj = SWIG_Py_Void();
12296 return resultobj;
12297fail:
12298 return NULL;
d55e5bfc
RD
12299}
12300
12301
554f62e9
RD
12302SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12303 PyObject *resultobj = 0;
12304 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12305 wxSize result;
12306 void *argp1 = 0 ;
12307 int res1 = 0 ;
12308 PyObject *swig_obj[1] ;
12309
12310 if (!args) SWIG_fail;
12311 swig_obj[0] = args;
12312 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12313 if (!SWIG_IsOK(res1)) {
12314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12315 }
12316 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12317 {
12318 PyThreadState* __tstate = wxPyBeginAllowThreads();
12319 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12320 wxPyEndAllowThreads(__tstate);
12321 if (PyErr_Occurred()) SWIG_fail;
12322 }
12323 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12324 return resultobj;
12325fail:
12326 return NULL;
12327}
12328
12329
12330SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12331 PyObject *resultobj = 0;
12332 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12333 wxLayoutOrientation arg2 ;
12334 void *argp1 = 0 ;
12335 int res1 = 0 ;
12336 int val2 ;
12337 int ecode2 = 0 ;
12338 PyObject * obj0 = 0 ;
12339 PyObject * obj1 = 0 ;
12340 char * kwnames[] = {
12341 (char *) "self",(char *) "orient", NULL
12342 };
12343
12344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12346 if (!SWIG_IsOK(res1)) {
12347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12348 }
12349 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12350 ecode2 = SWIG_AsVal_int(obj1, &val2);
12351 if (!SWIG_IsOK(ecode2)) {
12352 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12353 }
12354 arg2 = static_cast< wxLayoutOrientation >(val2);
12355 {
12356 PyThreadState* __tstate = wxPyBeginAllowThreads();
12357 (arg1)->SetOrientation(arg2);
12358 wxPyEndAllowThreads(__tstate);
12359 if (PyErr_Occurred()) SWIG_fail;
12360 }
12361 resultobj = SWIG_Py_Void();
12362 return resultobj;
12363fail:
12364 return NULL;
f20a2e1f
RD
12365}
12366
12367
554f62e9
RD
12368SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12369 PyObject *resultobj = 0;
12370 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12371 wxLayoutOrientation result;
12372 void *argp1 = 0 ;
12373 int res1 = 0 ;
12374 PyObject *swig_obj[1] ;
12375
12376 if (!args) SWIG_fail;
12377 swig_obj[0] = args;
12378 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12379 if (!SWIG_IsOK(res1)) {
12380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12381 }
12382 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12383 {
12384 PyThreadState* __tstate = wxPyBeginAllowThreads();
12385 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12386 wxPyEndAllowThreads(__tstate);
12387 if (PyErr_Occurred()) SWIG_fail;
12388 }
12389 resultobj = SWIG_From_int(static_cast< int >(result));
12390 return resultobj;
12391fail:
12392 return NULL;
12393}
12394
12395
12396SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12397 PyObject *resultobj = 0;
12398 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12399 wxLayoutAlignment arg2 ;
12400 void *argp1 = 0 ;
12401 int res1 = 0 ;
12402 int val2 ;
12403 int ecode2 = 0 ;
12404 PyObject * obj0 = 0 ;
12405 PyObject * obj1 = 0 ;
12406 char * kwnames[] = {
12407 (char *) "self",(char *) "align", NULL
12408 };
12409
12410 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12411 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12412 if (!SWIG_IsOK(res1)) {
12413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12414 }
12415 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12416 ecode2 = SWIG_AsVal_int(obj1, &val2);
12417 if (!SWIG_IsOK(ecode2)) {
12418 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12419 }
12420 arg2 = static_cast< wxLayoutAlignment >(val2);
12421 {
12422 PyThreadState* __tstate = wxPyBeginAllowThreads();
12423 (arg1)->SetAlignment(arg2);
12424 wxPyEndAllowThreads(__tstate);
12425 if (PyErr_Occurred()) SWIG_fail;
12426 }
12427 resultobj = SWIG_Py_Void();
12428 return resultobj;
12429fail:
12430 return NULL;
d55e5bfc 12431}
554f62e9
RD
12432
12433
12434SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12435 PyObject *resultobj = 0;
12436 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12437 wxLayoutAlignment result;
12438 void *argp1 = 0 ;
12439 int res1 = 0 ;
12440 PyObject *swig_obj[1] ;
12441
12442 if (!args) SWIG_fail;
12443 swig_obj[0] = args;
12444 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12445 if (!SWIG_IsOK(res1)) {
12446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12447 }
12448 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12449 {
12450 PyThreadState* __tstate = wxPyBeginAllowThreads();
12451 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12452 wxPyEndAllowThreads(__tstate);
12453 if (PyErr_Occurred()) SWIG_fail;
12454 }
12455 resultobj = SWIG_From_int(static_cast< int >(result));
12456 return resultobj;
12457fail:
12458 return NULL;
d55e5bfc
RD
12459}
12460
12461
554f62e9
RD
12462SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12463 PyObject *obj;
12464 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12465 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12466 return SWIG_Py_Void();
d55e5bfc
RD
12467}
12468
554f62e9
RD
12469SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12470 return SWIG_Python_InitShadowInstance(args);
12471}
d55e5bfc 12472
554f62e9
RD
12473SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12474 PyObject *resultobj = 0;
12475 int arg1 = (int) 0 ;
12476 wxCalculateLayoutEvent *result = 0 ;
12477 int val1 ;
12478 int ecode1 = 0 ;
12479 PyObject * obj0 = 0 ;
12480 char * kwnames[] = {
12481 (char *) "id", NULL
12482 };
12483
12484 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12485 if (obj0) {
12486 ecode1 = SWIG_AsVal_int(obj0, &val1);
12487 if (!SWIG_IsOK(ecode1)) {
12488 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12489 }
12490 arg1 = static_cast< int >(val1);
12491 }
12492 {
12493 PyThreadState* __tstate = wxPyBeginAllowThreads();
12494 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12495 wxPyEndAllowThreads(__tstate);
12496 if (PyErr_Occurred()) SWIG_fail;
12497 }
12498 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12499 return resultobj;
12500fail:
12501 return NULL;
12502}
12503
12504
12505SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12506 PyObject *resultobj = 0;
12507 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12508 int arg2 ;
12509 void *argp1 = 0 ;
12510 int res1 = 0 ;
12511 int val2 ;
12512 int ecode2 = 0 ;
12513 PyObject * obj0 = 0 ;
12514 PyObject * obj1 = 0 ;
12515 char * kwnames[] = {
12516 (char *) "self",(char *) "flags", NULL
12517 };
12518
12519 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12520 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12521 if (!SWIG_IsOK(res1)) {
12522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12523 }
12524 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12525 ecode2 = SWIG_AsVal_int(obj1, &val2);
12526 if (!SWIG_IsOK(ecode2)) {
12527 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12528 }
12529 arg2 = static_cast< int >(val2);
12530 {
12531 PyThreadState* __tstate = wxPyBeginAllowThreads();
12532 (arg1)->SetFlags(arg2);
12533 wxPyEndAllowThreads(__tstate);
12534 if (PyErr_Occurred()) SWIG_fail;
12535 }
12536 resultobj = SWIG_Py_Void();
12537 return resultobj;
12538fail:
12539 return NULL;
d55e5bfc
RD
12540}
12541
12542
554f62e9
RD
12543SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12544 PyObject *resultobj = 0;
12545 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12546 int result;
12547 void *argp1 = 0 ;
12548 int res1 = 0 ;
12549 PyObject *swig_obj[1] ;
12550
12551 if (!args) SWIG_fail;
12552 swig_obj[0] = args;
12553 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12554 if (!SWIG_IsOK(res1)) {
12555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12556 }
12557 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12558 {
12559 PyThreadState* __tstate = wxPyBeginAllowThreads();
12560 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12561 wxPyEndAllowThreads(__tstate);
12562 if (PyErr_Occurred()) SWIG_fail;
12563 }
12564 resultobj = SWIG_From_int(static_cast< int >(result));
12565 return resultobj;
12566fail:
12567 return NULL;
12568}
12569
12570
12571SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12572 PyObject *resultobj = 0;
12573 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12574 wxRect *arg2 = 0 ;
12575 void *argp1 = 0 ;
12576 int res1 = 0 ;
12577 wxRect temp2 ;
12578 PyObject * obj0 = 0 ;
12579 PyObject * obj1 = 0 ;
12580 char * kwnames[] = {
12581 (char *) "self",(char *) "rect", NULL
12582 };
12583
12584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12586 if (!SWIG_IsOK(res1)) {
12587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12588 }
12589 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12590 {
12591 arg2 = &temp2;
12592 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12593 }
12594 {
12595 PyThreadState* __tstate = wxPyBeginAllowThreads();
12596 (arg1)->SetRect((wxRect const &)*arg2);
12597 wxPyEndAllowThreads(__tstate);
12598 if (PyErr_Occurred()) SWIG_fail;
12599 }
12600 resultobj = SWIG_Py_Void();
12601 return resultobj;
12602fail:
12603 return NULL;
12604}
12605
12606
12607SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12608 PyObject *resultobj = 0;
12609 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12610 wxRect result;
12611 void *argp1 = 0 ;
12612 int res1 = 0 ;
12613 PyObject *swig_obj[1] ;
12614
12615 if (!args) SWIG_fail;
12616 swig_obj[0] = args;
12617 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12618 if (!SWIG_IsOK(res1)) {
12619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12620 }
12621 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12622 {
12623 PyThreadState* __tstate = wxPyBeginAllowThreads();
12624 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12625 wxPyEndAllowThreads(__tstate);
12626 if (PyErr_Occurred()) SWIG_fail;
12627 }
12628 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12629 return resultobj;
12630fail:
12631 return NULL;
12632}
12633
12634
12635SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12636 PyObject *obj;
12637 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12638 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12639 return SWIG_Py_Void();
12640}
12641
12642SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12643 return SWIG_Python_InitShadowInstance(args);
12644}
12645
12646SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12647 PyObject *resultobj = 0;
12648 wxWindow *arg1 = (wxWindow *) 0 ;
12649 int arg2 = (int) -1 ;
12650 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12651 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12652 wxSize const &arg4_defvalue = wxDefaultSize ;
12653 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12654 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12655 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12656 wxString *arg6 = (wxString *) &arg6_defvalue ;
12657 wxSashLayoutWindow *result = 0 ;
12658 void *argp1 = 0 ;
12659 int res1 = 0 ;
12660 int val2 ;
12661 int ecode2 = 0 ;
12662 wxPoint temp3 ;
12663 wxSize temp4 ;
12664 long val5 ;
12665 int ecode5 = 0 ;
12666 bool temp6 = false ;
12667 PyObject * obj0 = 0 ;
12668 PyObject * obj1 = 0 ;
12669 PyObject * obj2 = 0 ;
12670 PyObject * obj3 = 0 ;
12671 PyObject * obj4 = 0 ;
12672 PyObject * obj5 = 0 ;
12673 char * kwnames[] = {
12674 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12675 };
12676
12677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12679 if (!SWIG_IsOK(res1)) {
12680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12681 }
12682 arg1 = reinterpret_cast< wxWindow * >(argp1);
12683 if (obj1) {
12684 ecode2 = SWIG_AsVal_int(obj1, &val2);
12685 if (!SWIG_IsOK(ecode2)) {
12686 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12687 }
12688 arg2 = static_cast< int >(val2);
12689 }
12690 if (obj2) {
d55e5bfc 12691 {
554f62e9
RD
12692 arg3 = &temp3;
12693 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 12694 }
554f62e9
RD
12695 }
12696 if (obj3) {
d55e5bfc 12697 {
554f62e9
RD
12698 arg4 = &temp4;
12699 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 12700 }
554f62e9
RD
12701 }
12702 if (obj4) {
12703 ecode5 = SWIG_AsVal_long(obj4, &val5);
12704 if (!SWIG_IsOK(ecode5)) {
12705 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12706 }
12707 arg5 = static_cast< long >(val5);
12708 }
12709 if (obj5) {
d55e5bfc 12710 {
554f62e9
RD
12711 arg6 = wxString_in_helper(obj5);
12712 if (arg6 == NULL) SWIG_fail;
12713 temp6 = true;
d55e5bfc 12714 }
554f62e9
RD
12715 }
12716 {
12717 if (!wxPyCheckForApp()) SWIG_fail;
12718 PyThreadState* __tstate = wxPyBeginAllowThreads();
12719 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12720 wxPyEndAllowThreads(__tstate);
12721 if (PyErr_Occurred()) SWIG_fail;
12722 }
12723 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12724 {
12725 if (temp6)
12726 delete arg6;
12727 }
12728 return resultobj;
12729fail:
12730 {
12731 if (temp6)
12732 delete arg6;
12733 }
12734 return NULL;
d55e5bfc
RD
12735}
12736
12737
554f62e9
RD
12738SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12739 PyObject *resultobj = 0;
12740 wxSashLayoutWindow *result = 0 ;
12741
12742 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12743 {
12744 if (!wxPyCheckForApp()) SWIG_fail;
12745 PyThreadState* __tstate = wxPyBeginAllowThreads();
12746 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12747 wxPyEndAllowThreads(__tstate);
12748 if (PyErr_Occurred()) SWIG_fail;
12749 }
12750 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12751 return resultobj;
12752fail:
12753 return NULL;
12754}
12755
12756
12757SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12758 PyObject *resultobj = 0;
12759 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12760 wxWindow *arg2 = (wxWindow *) 0 ;
12761 int arg3 = (int) -1 ;
12762 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12763 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12764 wxSize const &arg5_defvalue = wxDefaultSize ;
12765 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12766 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12767 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12768 wxString *arg7 = (wxString *) &arg7_defvalue ;
12769 bool result;
12770 void *argp1 = 0 ;
12771 int res1 = 0 ;
12772 void *argp2 = 0 ;
12773 int res2 = 0 ;
12774 int val3 ;
12775 int ecode3 = 0 ;
12776 wxPoint temp4 ;
12777 wxSize temp5 ;
12778 long val6 ;
12779 int ecode6 = 0 ;
12780 bool temp7 = false ;
12781 PyObject * obj0 = 0 ;
12782 PyObject * obj1 = 0 ;
12783 PyObject * obj2 = 0 ;
12784 PyObject * obj3 = 0 ;
12785 PyObject * obj4 = 0 ;
12786 PyObject * obj5 = 0 ;
12787 PyObject * obj6 = 0 ;
12788 char * kwnames[] = {
12789 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12790 };
12791
12792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12794 if (!SWIG_IsOK(res1)) {
12795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12796 }
12797 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12798 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12799 if (!SWIG_IsOK(res2)) {
12800 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12801 }
12802 arg2 = reinterpret_cast< wxWindow * >(argp2);
12803 if (obj2) {
12804 ecode3 = SWIG_AsVal_int(obj2, &val3);
12805 if (!SWIG_IsOK(ecode3)) {
12806 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12807 }
12808 arg3 = static_cast< int >(val3);
12809 }
12810 if (obj3) {
d55e5bfc 12811 {
554f62e9
RD
12812 arg4 = &temp4;
12813 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 12814 }
554f62e9
RD
12815 }
12816 if (obj4) {
d55e5bfc 12817 {
554f62e9
RD
12818 arg5 = &temp5;
12819 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 12820 }
554f62e9
RD
12821 }
12822 if (obj5) {
12823 ecode6 = SWIG_AsVal_long(obj5, &val6);
12824 if (!SWIG_IsOK(ecode6)) {
12825 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12826 }
12827 arg6 = static_cast< long >(val6);
12828 }
12829 if (obj6) {
d55e5bfc 12830 {
554f62e9
RD
12831 arg7 = wxString_in_helper(obj6);
12832 if (arg7 == NULL) SWIG_fail;
12833 temp7 = true;
d55e5bfc 12834 }
554f62e9
RD
12835 }
12836 {
12837 PyThreadState* __tstate = wxPyBeginAllowThreads();
12838 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12839 wxPyEndAllowThreads(__tstate);
12840 if (PyErr_Occurred()) SWIG_fail;
12841 }
12842 {
12843 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12844 }
12845 {
12846 if (temp7)
12847 delete arg7;
12848 }
12849 return resultobj;
12850fail:
12851 {
12852 if (temp7)
12853 delete arg7;
12854 }
12855 return NULL;
d55e5bfc
RD
12856}
12857
12858
554f62e9
RD
12859SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12860 PyObject *resultobj = 0;
12861 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12862 wxLayoutAlignment result;
12863 void *argp1 = 0 ;
12864 int res1 = 0 ;
12865 PyObject *swig_obj[1] ;
12866
12867 if (!args) SWIG_fail;
12868 swig_obj[0] = args;
12869 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12870 if (!SWIG_IsOK(res1)) {
12871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12872 }
12873 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12874 {
12875 PyThreadState* __tstate = wxPyBeginAllowThreads();
12876 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12877 wxPyEndAllowThreads(__tstate);
12878 if (PyErr_Occurred()) SWIG_fail;
12879 }
12880 resultobj = SWIG_From_int(static_cast< int >(result));
12881 return resultobj;
12882fail:
12883 return NULL;
d55e5bfc
RD
12884}
12885
12886
554f62e9
RD
12887SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12888 PyObject *resultobj = 0;
12889 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12890 wxLayoutOrientation result;
12891 void *argp1 = 0 ;
12892 int res1 = 0 ;
12893 PyObject *swig_obj[1] ;
12894
12895 if (!args) SWIG_fail;
12896 swig_obj[0] = args;
12897 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12898 if (!SWIG_IsOK(res1)) {
12899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12900 }
12901 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12902 {
12903 PyThreadState* __tstate = wxPyBeginAllowThreads();
12904 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12905 wxPyEndAllowThreads(__tstate);
12906 if (PyErr_Occurred()) SWIG_fail;
12907 }
12908 resultobj = SWIG_From_int(static_cast< int >(result));
12909 return resultobj;
12910fail:
12911 return NULL;
12912}
12913
12914
12915SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12916 PyObject *resultobj = 0;
12917 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12918 wxLayoutAlignment arg2 ;
12919 void *argp1 = 0 ;
12920 int res1 = 0 ;
12921 int val2 ;
12922 int ecode2 = 0 ;
12923 PyObject * obj0 = 0 ;
12924 PyObject * obj1 = 0 ;
12925 char * kwnames[] = {
12926 (char *) "self",(char *) "alignment", NULL
12927 };
12928
12929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12931 if (!SWIG_IsOK(res1)) {
12932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12933 }
12934 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12935 ecode2 = SWIG_AsVal_int(obj1, &val2);
12936 if (!SWIG_IsOK(ecode2)) {
12937 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12938 }
12939 arg2 = static_cast< wxLayoutAlignment >(val2);
12940 {
12941 PyThreadState* __tstate = wxPyBeginAllowThreads();
12942 (arg1)->SetAlignment(arg2);
12943 wxPyEndAllowThreads(__tstate);
12944 if (PyErr_Occurred()) SWIG_fail;
12945 }
12946 resultobj = SWIG_Py_Void();
12947 return resultobj;
12948fail:
12949 return NULL;
12950}
12951
12952
12953SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12954 PyObject *resultobj = 0;
12955 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12956 wxSize *arg2 = 0 ;
12957 void *argp1 = 0 ;
12958 int res1 = 0 ;
12959 wxSize temp2 ;
12960 PyObject * obj0 = 0 ;
12961 PyObject * obj1 = 0 ;
12962 char * kwnames[] = {
12963 (char *) "self",(char *) "size", NULL
12964 };
12965
12966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12968 if (!SWIG_IsOK(res1)) {
12969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12970 }
12971 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12972 {
12973 arg2 = &temp2;
12974 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12975 }
12976 {
12977 PyThreadState* __tstate = wxPyBeginAllowThreads();
12978 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12979 wxPyEndAllowThreads(__tstate);
12980 if (PyErr_Occurred()) SWIG_fail;
12981 }
12982 resultobj = SWIG_Py_Void();
12983 return resultobj;
12984fail:
12985 return NULL;
12986}
12987
12988
12989SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12990 PyObject *resultobj = 0;
12991 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12992 wxLayoutOrientation arg2 ;
12993 void *argp1 = 0 ;
12994 int res1 = 0 ;
12995 int val2 ;
12996 int ecode2 = 0 ;
12997 PyObject * obj0 = 0 ;
12998 PyObject * obj1 = 0 ;
12999 char * kwnames[] = {
13000 (char *) "self",(char *) "orientation", NULL
13001 };
13002
13003 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
13004 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
13005 if (!SWIG_IsOK(res1)) {
13006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
13007 }
13008 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
13009 ecode2 = SWIG_AsVal_int(obj1, &val2);
13010 if (!SWIG_IsOK(ecode2)) {
13011 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
13012 }
13013 arg2 = static_cast< wxLayoutOrientation >(val2);
13014 {
13015 PyThreadState* __tstate = wxPyBeginAllowThreads();
13016 (arg1)->SetOrientation(arg2);
13017 wxPyEndAllowThreads(__tstate);
13018 if (PyErr_Occurred()) SWIG_fail;
13019 }
13020 resultobj = SWIG_Py_Void();
13021 return resultobj;
13022fail:
13023 return NULL;
d55e5bfc
RD
13024}
13025
13026
554f62e9
RD
13027SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13028 PyObject *obj;
13029 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13030 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
13031 return SWIG_Py_Void();
d55e5bfc
RD
13032}
13033
554f62e9
RD
13034SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13035 return SWIG_Python_InitShadowInstance(args);
13036}
d55e5bfc 13037
554f62e9
RD
13038SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13039 PyObject *resultobj = 0;
13040 wxLayoutAlgorithm *result = 0 ;
13041
13042 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
13043 {
13044 PyThreadState* __tstate = wxPyBeginAllowThreads();
13045 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
13046 wxPyEndAllowThreads(__tstate);
13047 if (PyErr_Occurred()) SWIG_fail;
13048 }
13049 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
13050 return resultobj;
13051fail:
13052 return NULL;
d55e5bfc
RD
13053}
13054
13055
554f62e9
RD
13056SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13057 PyObject *resultobj = 0;
13058 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13059 void *argp1 = 0 ;
13060 int res1 = 0 ;
13061 PyObject *swig_obj[1] ;
13062
13063 if (!args) SWIG_fail;
13064 swig_obj[0] = args;
13065 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
13066 if (!SWIG_IsOK(res1)) {
13067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13068 }
13069 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13070 {
13071 PyThreadState* __tstate = wxPyBeginAllowThreads();
13072 delete arg1;
d55e5bfc 13073
554f62e9
RD
13074 wxPyEndAllowThreads(__tstate);
13075 if (PyErr_Occurred()) SWIG_fail;
13076 }
13077 resultobj = SWIG_Py_Void();
13078 return resultobj;
13079fail:
13080 return NULL;
13081}
13082
13083
13084SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13085 PyObject *resultobj = 0;
13086 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13087 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13088 wxRect *arg3 = (wxRect *) NULL ;
13089 bool result;
13090 void *argp1 = 0 ;
13091 int res1 = 0 ;
13092 void *argp2 = 0 ;
13093 int res2 = 0 ;
13094 void *argp3 = 0 ;
13095 int res3 = 0 ;
13096 PyObject * obj0 = 0 ;
13097 PyObject * obj1 = 0 ;
13098 PyObject * obj2 = 0 ;
13099 char * kwnames[] = {
13100 (char *) "self",(char *) "frame",(char *) "rect", NULL
13101 };
13102
13103 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13105 if (!SWIG_IsOK(res1)) {
13106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13107 }
13108 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13109 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
13110 if (!SWIG_IsOK(res2)) {
13111 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13112 }
13113 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
13114 if (obj2) {
13115 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
13116 if (!SWIG_IsOK(res3)) {
13117 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
d55e5bfc 13118 }
554f62e9
RD
13119 arg3 = reinterpret_cast< wxRect * >(argp3);
13120 }
13121 {
13122 PyThreadState* __tstate = wxPyBeginAllowThreads();
13123 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
13124 wxPyEndAllowThreads(__tstate);
13125 if (PyErr_Occurred()) SWIG_fail;
13126 }
13127 {
13128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13129 }
13130 return resultobj;
13131fail:
13132 return NULL;
13133}
13134
13135
13136SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13137 PyObject *resultobj = 0;
13138 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13139 wxFrame *arg2 = (wxFrame *) 0 ;
13140 wxWindow *arg3 = (wxWindow *) NULL ;
13141 bool result;
13142 void *argp1 = 0 ;
13143 int res1 = 0 ;
13144 void *argp2 = 0 ;
13145 int res2 = 0 ;
13146 void *argp3 = 0 ;
13147 int res3 = 0 ;
13148 PyObject * obj0 = 0 ;
13149 PyObject * obj1 = 0 ;
13150 PyObject * obj2 = 0 ;
13151 char * kwnames[] = {
13152 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13153 };
13154
13155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13157 if (!SWIG_IsOK(res1)) {
13158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13159 }
13160 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13161 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13162 if (!SWIG_IsOK(res2)) {
13163 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13164 }
13165 arg2 = reinterpret_cast< wxFrame * >(argp2);
13166 if (obj2) {
13167 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13168 if (!SWIG_IsOK(res3)) {
13169 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
d55e5bfc 13170 }
554f62e9
RD
13171 arg3 = reinterpret_cast< wxWindow * >(argp3);
13172 }
13173 {
13174 PyThreadState* __tstate = wxPyBeginAllowThreads();
13175 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13176 wxPyEndAllowThreads(__tstate);
13177 if (PyErr_Occurred()) SWIG_fail;
13178 }
13179 {
13180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13181 }
13182 return resultobj;
13183fail:
13184 return NULL;
13185}
13186
13187
13188SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13189 PyObject *resultobj = 0;
13190 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13191 wxWindow *arg2 = (wxWindow *) 0 ;
13192 wxWindow *arg3 = (wxWindow *) NULL ;
13193 bool result;
13194 void *argp1 = 0 ;
13195 int res1 = 0 ;
13196 void *argp2 = 0 ;
13197 int res2 = 0 ;
13198 void *argp3 = 0 ;
13199 int res3 = 0 ;
13200 PyObject * obj0 = 0 ;
13201 PyObject * obj1 = 0 ;
13202 PyObject * obj2 = 0 ;
13203 char * kwnames[] = {
13204 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13205 };
13206
13207 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13208 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13209 if (!SWIG_IsOK(res1)) {
13210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13211 }
13212 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13213 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13214 if (!SWIG_IsOK(res2)) {
13215 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13216 }
13217 arg2 = reinterpret_cast< wxWindow * >(argp2);
13218 if (obj2) {
13219 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13220 if (!SWIG_IsOK(res3)) {
13221 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
d55e5bfc 13222 }
554f62e9
RD
13223 arg3 = reinterpret_cast< wxWindow * >(argp3);
13224 }
13225 {
13226 PyThreadState* __tstate = wxPyBeginAllowThreads();
13227 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13228 wxPyEndAllowThreads(__tstate);
13229 if (PyErr_Occurred()) SWIG_fail;
13230 }
13231 {
13232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13233 }
13234 return resultobj;
13235fail:
13236 return NULL;
d55e5bfc
RD
13237}
13238
13239
554f62e9
RD
13240SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13241 PyObject *obj;
13242 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13243 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13244 return SWIG_Py_Void();
d55e5bfc
RD
13245}
13246
554f62e9
RD
13247SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13248 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
13249}
13250
554f62e9
RD
13251SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13252 PyObject *resultobj = 0;
13253 wxWindow *arg1 = (wxWindow *) 0 ;
13254 int arg2 = (int) wxBORDER_NONE ;
13255 wxPopupWindow *result = 0 ;
13256 void *argp1 = 0 ;
13257 int res1 = 0 ;
13258 int val2 ;
13259 int ecode2 = 0 ;
13260 PyObject * obj0 = 0 ;
13261 PyObject * obj1 = 0 ;
13262 char * kwnames[] = {
13263 (char *) "parent",(char *) "flags", NULL
13264 };
13265
13266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13268 if (!SWIG_IsOK(res1)) {
13269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13270 }
13271 arg1 = reinterpret_cast< wxWindow * >(argp1);
13272 if (obj1) {
13273 ecode2 = SWIG_AsVal_int(obj1, &val2);
13274 if (!SWIG_IsOK(ecode2)) {
13275 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13276 }
13277 arg2 = static_cast< int >(val2);
13278 }
13279 {
13280 if (!wxPyCheckForApp()) SWIG_fail;
13281 PyThreadState* __tstate = wxPyBeginAllowThreads();
13282 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13283 wxPyEndAllowThreads(__tstate);
13284 if (PyErr_Occurred()) SWIG_fail;
13285 }
13286 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13287 return resultobj;
13288fail:
13289 return NULL;
d55e5bfc
RD
13290}
13291
13292
554f62e9
RD
13293SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13294 PyObject *resultobj = 0;
13295 wxPopupWindow *result = 0 ;
13296
13297 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13298 {
13299 if (!wxPyCheckForApp()) SWIG_fail;
13300 PyThreadState* __tstate = wxPyBeginAllowThreads();
13301 result = (wxPopupWindow *)new wxPopupWindow();
13302 wxPyEndAllowThreads(__tstate);
13303 if (PyErr_Occurred()) SWIG_fail;
13304 }
13305 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13306 return resultobj;
13307fail:
13308 return NULL;
13309}
13310
13311
13312SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13313 PyObject *resultobj = 0;
13314 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13315 wxWindow *arg2 = (wxWindow *) 0 ;
13316 int arg3 = (int) wxBORDER_NONE ;
13317 bool result;
13318 void *argp1 = 0 ;
13319 int res1 = 0 ;
13320 void *argp2 = 0 ;
13321 int res2 = 0 ;
13322 int val3 ;
13323 int ecode3 = 0 ;
13324 PyObject * obj0 = 0 ;
13325 PyObject * obj1 = 0 ;
13326 PyObject * obj2 = 0 ;
13327 char * kwnames[] = {
13328 (char *) "self",(char *) "parent",(char *) "flags", NULL
13329 };
13330
13331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13333 if (!SWIG_IsOK(res1)) {
13334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13335 }
13336 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13337 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13338 if (!SWIG_IsOK(res2)) {
13339 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13340 }
13341 arg2 = reinterpret_cast< wxWindow * >(argp2);
13342 if (obj2) {
13343 ecode3 = SWIG_AsVal_int(obj2, &val3);
13344 if (!SWIG_IsOK(ecode3)) {
13345 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13346 }
13347 arg3 = static_cast< int >(val3);
13348 }
13349 {
13350 PyThreadState* __tstate = wxPyBeginAllowThreads();
13351 result = (bool)(arg1)->Create(arg2,arg3);
13352 wxPyEndAllowThreads(__tstate);
13353 if (PyErr_Occurred()) SWIG_fail;
13354 }
13355 {
13356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13357 }
13358 return resultobj;
13359fail:
13360 return NULL;
13361}
13362
13363
13364SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13365 PyObject *resultobj = 0;
13366 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13367 wxPoint *arg2 = 0 ;
13368 wxSize *arg3 = 0 ;
13369 void *argp1 = 0 ;
13370 int res1 = 0 ;
13371 wxPoint temp2 ;
13372 wxSize temp3 ;
13373 PyObject * obj0 = 0 ;
13374 PyObject * obj1 = 0 ;
13375 PyObject * obj2 = 0 ;
13376 char * kwnames[] = {
13377 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13378 };
13379
13380 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13381 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13382 if (!SWIG_IsOK(res1)) {
13383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13384 }
13385 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13386 {
13387 arg2 = &temp2;
13388 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13389 }
13390 {
13391 arg3 = &temp3;
13392 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13393 }
13394 {
13395 PyThreadState* __tstate = wxPyBeginAllowThreads();
13396 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13397 wxPyEndAllowThreads(__tstate);
13398 if (PyErr_Occurred()) SWIG_fail;
13399 }
13400 resultobj = SWIG_Py_Void();
13401 return resultobj;
13402fail:
13403 return NULL;
d55e5bfc
RD
13404}
13405
13406
554f62e9
RD
13407SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13408 PyObject *obj;
13409 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13410 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13411 return SWIG_Py_Void();
d55e5bfc
RD
13412}
13413
554f62e9
RD
13414SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13415 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
13416}
13417
554f62e9
RD
13418SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13419 PyObject *resultobj = 0;
13420 wxWindow *arg1 = (wxWindow *) 0 ;
13421 int arg2 = (int) wxBORDER_NONE ;
13422 wxPyPopupTransientWindow *result = 0 ;
13423 void *argp1 = 0 ;
13424 int res1 = 0 ;
13425 int val2 ;
13426 int ecode2 = 0 ;
13427 PyObject * obj0 = 0 ;
13428 PyObject * obj1 = 0 ;
13429 char * kwnames[] = {
13430 (char *) "parent",(char *) "style", NULL
13431 };
13432
13433 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13434 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13435 if (!SWIG_IsOK(res1)) {
13436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13437 }
13438 arg1 = reinterpret_cast< wxWindow * >(argp1);
13439 if (obj1) {
13440 ecode2 = SWIG_AsVal_int(obj1, &val2);
13441 if (!SWIG_IsOK(ecode2)) {
13442 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13443 }
13444 arg2 = static_cast< int >(val2);
13445 }
13446 {
13447 if (!wxPyCheckForApp()) SWIG_fail;
13448 PyThreadState* __tstate = wxPyBeginAllowThreads();
13449 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13450 wxPyEndAllowThreads(__tstate);
13451 if (PyErr_Occurred()) SWIG_fail;
13452 }
13453 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13454 return resultobj;
13455fail:
13456 return NULL;
d55e5bfc
RD
13457}
13458
13459
554f62e9
RD
13460SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13461 PyObject *resultobj = 0;
13462 wxPyPopupTransientWindow *result = 0 ;
13463
13464 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13465 {
13466 if (!wxPyCheckForApp()) SWIG_fail;
13467 PyThreadState* __tstate = wxPyBeginAllowThreads();
13468 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13469 wxPyEndAllowThreads(__tstate);
13470 if (PyErr_Occurred()) SWIG_fail;
13471 }
13472 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13473 return resultobj;
13474fail:
13475 return NULL;
13476}
13477
13478
13479SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13480 PyObject *resultobj = 0;
13481 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13482 PyObject *arg2 = (PyObject *) 0 ;
13483 PyObject *arg3 = (PyObject *) 0 ;
13484 void *argp1 = 0 ;
13485 int res1 = 0 ;
13486 PyObject * obj0 = 0 ;
13487 PyObject * obj1 = 0 ;
13488 PyObject * obj2 = 0 ;
13489 char * kwnames[] = {
13490 (char *) "self",(char *) "self",(char *) "_class", NULL
13491 };
13492
13493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13495 if (!SWIG_IsOK(res1)) {
13496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13497 }
13498 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13499 arg2 = obj1;
13500 arg3 = obj2;
13501 {
13502 PyThreadState* __tstate = wxPyBeginAllowThreads();
13503 (arg1)->_setCallbackInfo(arg2,arg3);
13504 wxPyEndAllowThreads(__tstate);
13505 if (PyErr_Occurred()) SWIG_fail;
13506 }
13507 resultobj = SWIG_Py_Void();
13508 return resultobj;
13509fail:
13510 return NULL;
13511}
13512
13513
13514SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13515 PyObject *resultobj = 0;
13516 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13517 wxWindow *arg2 = (wxWindow *) NULL ;
13518 void *argp1 = 0 ;
13519 int res1 = 0 ;
13520 void *argp2 = 0 ;
13521 int res2 = 0 ;
13522 PyObject * obj0 = 0 ;
13523 PyObject * obj1 = 0 ;
13524 char * kwnames[] = {
13525 (char *) "self",(char *) "focus", NULL
13526 };
13527
13528 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13529 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13530 if (!SWIG_IsOK(res1)) {
13531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13532 }
13533 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13534 if (obj1) {
13535 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13536 if (!SWIG_IsOK(res2)) {
13537 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
093d3ff1 13538 }
554f62e9
RD
13539 arg2 = reinterpret_cast< wxWindow * >(argp2);
13540 }
13541 {
13542 PyThreadState* __tstate = wxPyBeginAllowThreads();
13543 (arg1)->Popup(arg2);
13544 wxPyEndAllowThreads(__tstate);
13545 if (PyErr_Occurred()) SWIG_fail;
13546 }
13547 resultobj = SWIG_Py_Void();
13548 return resultobj;
13549fail:
13550 return NULL;
d55e5bfc
RD
13551}
13552
13553
554f62e9
RD
13554SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13555 PyObject *resultobj = 0;
13556 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13557 void *argp1 = 0 ;
13558 int res1 = 0 ;
13559 PyObject *swig_obj[1] ;
13560
13561 if (!args) SWIG_fail;
13562 swig_obj[0] = args;
13563 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13564 if (!SWIG_IsOK(res1)) {
13565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13566 }
13567 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13568 {
13569 PyThreadState* __tstate = wxPyBeginAllowThreads();
13570 (arg1)->Dismiss();
13571 wxPyEndAllowThreads(__tstate);
13572 if (PyErr_Occurred()) SWIG_fail;
13573 }
13574 resultobj = SWIG_Py_Void();
13575 return resultobj;
13576fail:
13577 return NULL;
13578}
13579
13580
13581SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13582 PyObject *obj;
13583 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13584 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13585 return SWIG_Py_Void();
13586}
13587
13588SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13589 return SWIG_Python_InitShadowInstance(args);
13590}
13591
13592SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13593 PyObject *resultobj = 0;
13594 wxWindow *arg1 = (wxWindow *) 0 ;
13595 wxString *arg2 = 0 ;
13596 int arg3 = (int) 100 ;
13597 wxRect *arg4 = (wxRect *) NULL ;
13598 wxTipWindow *result = 0 ;
13599 void *argp1 = 0 ;
13600 int res1 = 0 ;
13601 bool temp2 = false ;
13602 int val3 ;
13603 int ecode3 = 0 ;
13604 void *argp4 = 0 ;
13605 int res4 = 0 ;
13606 PyObject * obj0 = 0 ;
13607 PyObject * obj1 = 0 ;
13608 PyObject * obj2 = 0 ;
13609 PyObject * obj3 = 0 ;
13610 char * kwnames[] = {
13611 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13612 };
13613
13614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13616 if (!SWIG_IsOK(res1)) {
13617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13618 }
13619 arg1 = reinterpret_cast< wxWindow * >(argp1);
13620 {
13621 arg2 = wxString_in_helper(obj1);
13622 if (arg2 == NULL) SWIG_fail;
13623 temp2 = true;
13624 }
13625 if (obj2) {
13626 ecode3 = SWIG_AsVal_int(obj2, &val3);
13627 if (!SWIG_IsOK(ecode3)) {
13628 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13629 }
13630 arg3 = static_cast< int >(val3);
13631 }
13632 if (obj3) {
13633 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13634 if (!SWIG_IsOK(res4)) {
13635 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
093d3ff1 13636 }
554f62e9
RD
13637 arg4 = reinterpret_cast< wxRect * >(argp4);
13638 }
13639 {
13640 if (!wxPyCheckForApp()) SWIG_fail;
13641 PyThreadState* __tstate = wxPyBeginAllowThreads();
13642 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13643 wxPyEndAllowThreads(__tstate);
13644 if (PyErr_Occurred()) SWIG_fail;
13645 }
13646 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13647 {
13648 if (temp2)
13649 delete arg2;
13650 }
13651 return resultobj;
13652fail:
13653 {
13654 if (temp2)
13655 delete arg2;
13656 }
13657 return NULL;
b519803b
RD
13658}
13659
13660
554f62e9
RD
13661SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13662 PyObject *resultobj = 0;
13663 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13664 wxRect *arg2 = 0 ;
13665 void *argp1 = 0 ;
13666 int res1 = 0 ;
13667 wxRect temp2 ;
13668 PyObject * obj0 = 0 ;
13669 PyObject * obj1 = 0 ;
13670 char * kwnames[] = {
13671 (char *) "self",(char *) "rectBound", NULL
13672 };
13673
13674 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13675 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13676 if (!SWIG_IsOK(res1)) {
13677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13678 }
13679 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13680 {
13681 arg2 = &temp2;
13682 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13683 }
13684 {
13685 PyThreadState* __tstate = wxPyBeginAllowThreads();
13686 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13687 wxPyEndAllowThreads(__tstate);
13688 if (PyErr_Occurred()) SWIG_fail;
13689 }
13690 resultobj = SWIG_Py_Void();
13691 return resultobj;
13692fail:
13693 return NULL;
b519803b
RD
13694}
13695
13696
554f62e9
RD
13697SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13698 PyObject *resultobj = 0;
13699 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13700 void *argp1 = 0 ;
13701 int res1 = 0 ;
13702 PyObject *swig_obj[1] ;
13703
13704 if (!args) SWIG_fail;
13705 swig_obj[0] = args;
13706 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13707 if (!SWIG_IsOK(res1)) {
13708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13709 }
13710 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13711 {
13712 PyThreadState* __tstate = wxPyBeginAllowThreads();
13713 (arg1)->Close();
13714 wxPyEndAllowThreads(__tstate);
13715 if (PyErr_Occurred()) SWIG_fail;
13716 }
13717 resultobj = SWIG_Py_Void();
13718 return resultobj;
13719fail:
13720 return NULL;
13721}
13722
13723
13724SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13725 PyObject *obj;
13726 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13727 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13728 return SWIG_Py_Void();
13729}
13730
13731SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13732 return SWIG_Python_InitShadowInstance(args);
13733}
13734
13735SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13736 PyObject *resultobj = 0;
13737 wxWindow *arg1 = (wxWindow *) 0 ;
13738 int arg2 = (int) wxID_ANY ;
13739 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13740 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13741 wxSize const &arg4_defvalue = wxDefaultSize ;
13742 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13743 long arg5 = (long) 0 ;
13744 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13745 wxString *arg6 = (wxString *) &arg6_defvalue ;
13746 wxPyVScrolledWindow *result = 0 ;
13747 void *argp1 = 0 ;
13748 int res1 = 0 ;
13749 int val2 ;
13750 int ecode2 = 0 ;
13751 wxPoint temp3 ;
13752 wxSize temp4 ;
13753 long val5 ;
13754 int ecode5 = 0 ;
13755 bool temp6 = false ;
13756 PyObject * obj0 = 0 ;
13757 PyObject * obj1 = 0 ;
13758 PyObject * obj2 = 0 ;
13759 PyObject * obj3 = 0 ;
13760 PyObject * obj4 = 0 ;
13761 PyObject * obj5 = 0 ;
13762 char * kwnames[] = {
13763 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13764 };
13765
13766 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13767 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13768 if (!SWIG_IsOK(res1)) {
13769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13770 }
13771 arg1 = reinterpret_cast< wxWindow * >(argp1);
13772 if (obj1) {
13773 ecode2 = SWIG_AsVal_int(obj1, &val2);
13774 if (!SWIG_IsOK(ecode2)) {
13775 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13776 }
13777 arg2 = static_cast< int >(val2);
13778 }
13779 if (obj2) {
093d3ff1 13780 {
554f62e9
RD
13781 arg3 = &temp3;
13782 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 13783 }
554f62e9
RD
13784 }
13785 if (obj3) {
d55e5bfc 13786 {
554f62e9
RD
13787 arg4 = &temp4;
13788 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 13789 }
554f62e9
RD
13790 }
13791 if (obj4) {
13792 ecode5 = SWIG_AsVal_long(obj4, &val5);
13793 if (!SWIG_IsOK(ecode5)) {
13794 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13795 }
13796 arg5 = static_cast< long >(val5);
13797 }
13798 if (obj5) {
093d3ff1 13799 {
554f62e9
RD
13800 arg6 = wxString_in_helper(obj5);
13801 if (arg6 == NULL) SWIG_fail;
13802 temp6 = true;
093d3ff1 13803 }
554f62e9
RD
13804 }
13805 {
13806 if (!wxPyCheckForApp()) SWIG_fail;
13807 PyThreadState* __tstate = wxPyBeginAllowThreads();
13808 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13809 wxPyEndAllowThreads(__tstate);
13810 if (PyErr_Occurred()) SWIG_fail;
13811 }
13812 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13813 {
13814 if (temp6)
13815 delete arg6;
13816 }
13817 return resultobj;
13818fail:
13819 {
13820 if (temp6)
13821 delete arg6;
13822 }
13823 return NULL;
d55e5bfc
RD
13824}
13825
13826
554f62e9
RD
13827SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13828 PyObject *resultobj = 0;
13829 wxPyVScrolledWindow *result = 0 ;
13830
13831 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13832 {
13833 if (!wxPyCheckForApp()) SWIG_fail;
13834 PyThreadState* __tstate = wxPyBeginAllowThreads();
13835 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13836 wxPyEndAllowThreads(__tstate);
13837 if (PyErr_Occurred()) SWIG_fail;
13838 }
13839 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13840 return resultobj;
13841fail:
13842 return NULL;
13843}
13844
13845
13846SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13847 PyObject *resultobj = 0;
13848 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13849 PyObject *arg2 = (PyObject *) 0 ;
13850 PyObject *arg3 = (PyObject *) 0 ;
13851 void *argp1 = 0 ;
13852 int res1 = 0 ;
13853 PyObject * obj0 = 0 ;
13854 PyObject * obj1 = 0 ;
13855 PyObject * obj2 = 0 ;
13856 char * kwnames[] = {
13857 (char *) "self",(char *) "self",(char *) "_class", NULL
13858 };
13859
13860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13862 if (!SWIG_IsOK(res1)) {
13863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13864 }
13865 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13866 arg2 = obj1;
13867 arg3 = obj2;
13868 {
13869 PyThreadState* __tstate = wxPyBeginAllowThreads();
13870 (arg1)->_setCallbackInfo(arg2,arg3);
13871 wxPyEndAllowThreads(__tstate);
13872 if (PyErr_Occurred()) SWIG_fail;
13873 }
13874 resultobj = SWIG_Py_Void();
13875 return resultobj;
13876fail:
13877 return NULL;
13878}
13879
13880
13881SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13882 PyObject *resultobj = 0;
13883 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13884 wxWindow *arg2 = (wxWindow *) 0 ;
13885 int arg3 = (int) wxID_ANY ;
13886 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13887 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13888 wxSize const &arg5_defvalue = wxDefaultSize ;
13889 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13890 long arg6 = (long) 0 ;
13891 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13892 wxString *arg7 = (wxString *) &arg7_defvalue ;
13893 bool result;
13894 void *argp1 = 0 ;
13895 int res1 = 0 ;
13896 void *argp2 = 0 ;
13897 int res2 = 0 ;
13898 int val3 ;
13899 int ecode3 = 0 ;
13900 wxPoint temp4 ;
13901 wxSize temp5 ;
13902 long val6 ;
13903 int ecode6 = 0 ;
13904 bool temp7 = false ;
13905 PyObject * obj0 = 0 ;
13906 PyObject * obj1 = 0 ;
13907 PyObject * obj2 = 0 ;
13908 PyObject * obj3 = 0 ;
13909 PyObject * obj4 = 0 ;
13910 PyObject * obj5 = 0 ;
13911 PyObject * obj6 = 0 ;
13912 char * kwnames[] = {
13913 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13914 };
13915
13916 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13918 if (!SWIG_IsOK(res1)) {
13919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13920 }
13921 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13922 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13923 if (!SWIG_IsOK(res2)) {
13924 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13925 }
13926 arg2 = reinterpret_cast< wxWindow * >(argp2);
13927 if (obj2) {
13928 ecode3 = SWIG_AsVal_int(obj2, &val3);
13929 if (!SWIG_IsOK(ecode3)) {
13930 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13931 }
13932 arg3 = static_cast< int >(val3);
13933 }
13934 if (obj3) {
d55e5bfc 13935 {
554f62e9
RD
13936 arg4 = &temp4;
13937 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 13938 }
554f62e9
RD
13939 }
13940 if (obj4) {
d55e5bfc 13941 {
554f62e9
RD
13942 arg5 = &temp5;
13943 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 13944 }
554f62e9
RD
13945 }
13946 if (obj5) {
13947 ecode6 = SWIG_AsVal_long(obj5, &val6);
13948 if (!SWIG_IsOK(ecode6)) {
13949 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13950 }
13951 arg6 = static_cast< long >(val6);
13952 }
13953 if (obj6) {
093d3ff1 13954 {
554f62e9
RD
13955 arg7 = wxString_in_helper(obj6);
13956 if (arg7 == NULL) SWIG_fail;
13957 temp7 = true;
093d3ff1 13958 }
554f62e9
RD
13959 }
13960 {
13961 PyThreadState* __tstate = wxPyBeginAllowThreads();
13962 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13963 wxPyEndAllowThreads(__tstate);
13964 if (PyErr_Occurred()) SWIG_fail;
13965 }
13966 {
13967 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13968 }
13969 {
13970 if (temp7)
13971 delete arg7;
13972 }
13973 return resultobj;
13974fail:
13975 {
13976 if (temp7)
13977 delete arg7;
13978 }
13979 return NULL;
13980}
13981
13982
13983SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13984 PyObject *resultobj = 0;
13985 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13986 size_t arg2 ;
13987 void *argp1 = 0 ;
13988 int res1 = 0 ;
13989 size_t val2 ;
13990 int ecode2 = 0 ;
13991 PyObject * obj0 = 0 ;
13992 PyObject * obj1 = 0 ;
13993 char * kwnames[] = {
13994 (char *) "self",(char *) "count", NULL
13995 };
13996
13997 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13998 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13999 if (!SWIG_IsOK(res1)) {
14000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14001 }
14002 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14003 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14004 if (!SWIG_IsOK(ecode2)) {
14005 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
14006 }
14007 arg2 = static_cast< size_t >(val2);
14008 {
14009 PyThreadState* __tstate = wxPyBeginAllowThreads();
14010 (arg1)->SetLineCount(arg2);
14011 wxPyEndAllowThreads(__tstate);
14012 if (PyErr_Occurred()) SWIG_fail;
14013 }
14014 resultobj = SWIG_Py_Void();
14015 return resultobj;
14016fail:
14017 return NULL;
14018}
14019
14020
14021SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14022 PyObject *resultobj = 0;
14023 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14024 size_t arg2 ;
14025 bool result;
14026 void *argp1 = 0 ;
14027 int res1 = 0 ;
14028 size_t val2 ;
14029 int ecode2 = 0 ;
14030 PyObject * obj0 = 0 ;
14031 PyObject * obj1 = 0 ;
14032 char * kwnames[] = {
14033 (char *) "self",(char *) "line", NULL
14034 };
14035
14036 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
14037 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14038 if (!SWIG_IsOK(res1)) {
14039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14040 }
14041 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14042 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14043 if (!SWIG_IsOK(ecode2)) {
14044 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
14045 }
14046 arg2 = static_cast< size_t >(val2);
14047 {
14048 PyThreadState* __tstate = wxPyBeginAllowThreads();
14049 result = (bool)(arg1)->ScrollToLine(arg2);
14050 wxPyEndAllowThreads(__tstate);
14051 if (PyErr_Occurred()) SWIG_fail;
14052 }
14053 {
14054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14055 }
14056 return resultobj;
14057fail:
14058 return NULL;
14059}
14060
14061
14062SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14063 PyObject *resultobj = 0;
14064 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14065 size_t arg2 ;
14066 void *argp1 = 0 ;
14067 int res1 = 0 ;
14068 size_t val2 ;
14069 int ecode2 = 0 ;
14070 PyObject * obj0 = 0 ;
14071 PyObject * obj1 = 0 ;
14072 char * kwnames[] = {
14073 (char *) "self",(char *) "line", NULL
14074 };
14075
14076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
14077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14078 if (!SWIG_IsOK(res1)) {
14079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14080 }
14081 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14082 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14083 if (!SWIG_IsOK(ecode2)) {
14084 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
14085 }
14086 arg2 = static_cast< size_t >(val2);
14087 {
14088 PyThreadState* __tstate = wxPyBeginAllowThreads();
14089 (arg1)->RefreshLine(arg2);
14090 wxPyEndAllowThreads(__tstate);
14091 if (PyErr_Occurred()) SWIG_fail;
14092 }
14093 resultobj = SWIG_Py_Void();
14094 return resultobj;
14095fail:
14096 return NULL;
14097}
14098
14099
14100SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14101 PyObject *resultobj = 0;
14102 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14103 size_t arg2 ;
14104 size_t arg3 ;
14105 void *argp1 = 0 ;
14106 int res1 = 0 ;
14107 size_t val2 ;
14108 int ecode2 = 0 ;
14109 size_t val3 ;
14110 int ecode3 = 0 ;
14111 PyObject * obj0 = 0 ;
14112 PyObject * obj1 = 0 ;
14113 PyObject * obj2 = 0 ;
14114 char * kwnames[] = {
f460c29d 14115 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
14116 };
14117
14118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14120 if (!SWIG_IsOK(res1)) {
14121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14122 }
14123 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14124 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14125 if (!SWIG_IsOK(ecode2)) {
14126 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
14127 }
14128 arg2 = static_cast< size_t >(val2);
14129 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14130 if (!SWIG_IsOK(ecode3)) {
14131 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
14132 }
14133 arg3 = static_cast< size_t >(val3);
14134 {
14135 PyThreadState* __tstate = wxPyBeginAllowThreads();
14136 (arg1)->RefreshLines(arg2,arg3);
14137 wxPyEndAllowThreads(__tstate);
14138 if (PyErr_Occurred()) SWIG_fail;
14139 }
14140 resultobj = SWIG_Py_Void();
14141 return resultobj;
14142fail:
14143 return NULL;
14144}
14145
14146
14147SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14148 PyObject *resultobj = 0;
14149 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14150 int arg2 ;
14151 int arg3 ;
14152 int result;
14153 void *argp1 = 0 ;
14154 int res1 = 0 ;
14155 int val2 ;
14156 int ecode2 = 0 ;
14157 int val3 ;
14158 int ecode3 = 0 ;
14159 PyObject * obj0 = 0 ;
14160 PyObject * obj1 = 0 ;
14161 PyObject * obj2 = 0 ;
14162 char * kwnames[] = {
14163 (char *) "self",(char *) "x",(char *) "y", NULL
14164 };
14165
14166 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14167 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14168 if (!SWIG_IsOK(res1)) {
14169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14170 }
14171 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14172 ecode2 = SWIG_AsVal_int(obj1, &val2);
14173 if (!SWIG_IsOK(ecode2)) {
14174 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14175 }
14176 arg2 = static_cast< int >(val2);
14177 ecode3 = SWIG_AsVal_int(obj2, &val3);
14178 if (!SWIG_IsOK(ecode3)) {
14179 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14180 }
14181 arg3 = static_cast< int >(val3);
14182 {
14183 PyThreadState* __tstate = wxPyBeginAllowThreads();
14184 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
14185 wxPyEndAllowThreads(__tstate);
14186 if (PyErr_Occurred()) SWIG_fail;
14187 }
14188 resultobj = SWIG_From_int(static_cast< int >(result));
14189 return resultobj;
14190fail:
14191 return NULL;
14192}
14193
14194
14195SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14196 PyObject *resultobj = 0;
14197 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14198 wxPoint *arg2 = 0 ;
14199 int result;
14200 void *argp1 = 0 ;
14201 int res1 = 0 ;
14202 wxPoint temp2 ;
14203 PyObject * obj0 = 0 ;
14204 PyObject * obj1 = 0 ;
14205 char * kwnames[] = {
14206 (char *) "self",(char *) "pt", NULL
14207 };
14208
14209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
14210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14211 if (!SWIG_IsOK(res1)) {
14212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14213 }
14214 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14215 {
14216 arg2 = &temp2;
14217 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14218 }
14219 {
14220 PyThreadState* __tstate = wxPyBeginAllowThreads();
14221 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
14222 wxPyEndAllowThreads(__tstate);
14223 if (PyErr_Occurred()) SWIG_fail;
14224 }
14225 resultobj = SWIG_From_int(static_cast< int >(result));
14226 return resultobj;
14227fail:
14228 return NULL;
f20a2e1f
RD
14229}
14230
14231
554f62e9
RD
14232SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14233 PyObject *resultobj = 0;
14234 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14235 void *argp1 = 0 ;
14236 int res1 = 0 ;
14237 PyObject *swig_obj[1] ;
14238
14239 if (!args) SWIG_fail;
14240 swig_obj[0] = args;
14241 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14242 if (!SWIG_IsOK(res1)) {
14243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14244 }
14245 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14246 {
14247 PyThreadState* __tstate = wxPyBeginAllowThreads();
14248 (arg1)->RefreshAll();
14249 wxPyEndAllowThreads(__tstate);
14250 if (PyErr_Occurred()) SWIG_fail;
14251 }
14252 resultobj = SWIG_Py_Void();
14253 return resultobj;
14254fail:
14255 return NULL;
d55e5bfc
RD
14256}
14257
14258
554f62e9
RD
14259SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14260 PyObject *resultobj = 0;
14261 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14262 size_t result;
14263 void *argp1 = 0 ;
14264 int res1 = 0 ;
14265 PyObject *swig_obj[1] ;
14266
14267 if (!args) SWIG_fail;
14268 swig_obj[0] = args;
14269 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14270 if (!SWIG_IsOK(res1)) {
14271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14272 }
14273 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14274 {
14275 PyThreadState* __tstate = wxPyBeginAllowThreads();
14276 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
14277 wxPyEndAllowThreads(__tstate);
14278 if (PyErr_Occurred()) SWIG_fail;
14279 }
14280 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14281 return resultobj;
14282fail:
14283 return NULL;
d55e5bfc
RD
14284}
14285
14286
554f62e9
RD
14287SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14288 PyObject *resultobj = 0;
14289 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14290 size_t result;
14291 void *argp1 = 0 ;
14292 int res1 = 0 ;
14293 PyObject *swig_obj[1] ;
14294
14295 if (!args) SWIG_fail;
14296 swig_obj[0] = args;
14297 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14298 if (!SWIG_IsOK(res1)) {
14299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14300 }
14301 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14302 {
14303 PyThreadState* __tstate = wxPyBeginAllowThreads();
14304 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14305 wxPyEndAllowThreads(__tstate);
14306 if (PyErr_Occurred()) SWIG_fail;
14307 }
14308 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14309 return resultobj;
14310fail:
14311 return NULL;
d55e5bfc
RD
14312}
14313
14314
554f62e9
RD
14315SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(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_GetVisibleEnd" "', 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)->GetVisibleEnd();
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;
14340}
14341
14342
14343SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14344 PyObject *resultobj = 0;
14345 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14346 size_t arg2 ;
14347 bool result;
14348 void *argp1 = 0 ;
14349 int res1 = 0 ;
14350 size_t val2 ;
14351 int ecode2 = 0 ;
14352 PyObject * obj0 = 0 ;
14353 PyObject * obj1 = 0 ;
14354 char * kwnames[] = {
14355 (char *) "self",(char *) "line", NULL
14356 };
14357
14358 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14360 if (!SWIG_IsOK(res1)) {
14361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14362 }
14363 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14364 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14365 if (!SWIG_IsOK(ecode2)) {
14366 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14367 }
14368 arg2 = static_cast< size_t >(val2);
14369 {
14370 PyThreadState* __tstate = wxPyBeginAllowThreads();
14371 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14372 wxPyEndAllowThreads(__tstate);
14373 if (PyErr_Occurred()) SWIG_fail;
14374 }
14375 {
14376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14377 }
14378 return resultobj;
14379fail:
14380 return NULL;
d55e5bfc
RD
14381}
14382
14383
554f62e9
RD
14384SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14385 PyObject *resultobj = 0;
14386 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14387 size_t result;
14388 void *argp1 = 0 ;
14389 int res1 = 0 ;
14390 PyObject *swig_obj[1] ;
14391
14392 if (!args) SWIG_fail;
14393 swig_obj[0] = args;
14394 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14395 if (!SWIG_IsOK(res1)) {
14396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14397 }
14398 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14399 {
14400 PyThreadState* __tstate = wxPyBeginAllowThreads();
14401 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14402 wxPyEndAllowThreads(__tstate);
14403 if (PyErr_Occurred()) SWIG_fail;
14404 }
14405 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14406 return resultobj;
14407fail:
14408 return NULL;
d55e5bfc
RD
14409}
14410
14411
554f62e9
RD
14412SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14413 PyObject *resultobj = 0;
14414 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14415 size_t result;
14416 void *argp1 = 0 ;
14417 int res1 = 0 ;
14418 PyObject *swig_obj[1] ;
14419
14420 if (!args) SWIG_fail;
14421 swig_obj[0] = args;
14422 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14423 if (!SWIG_IsOK(res1)) {
14424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14425 }
14426 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14427 {
14428 PyThreadState* __tstate = wxPyBeginAllowThreads();
14429 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14430 wxPyEndAllowThreads(__tstate);
14431 if (PyErr_Occurred()) SWIG_fail;
14432 }
14433 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14434 return resultobj;
14435fail:
14436 return NULL;
14437}
14438
14439
14440SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14441 PyObject *resultobj = 0;
14442 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14443 size_t arg2 ;
14444 bool arg3 = (bool) false ;
14445 size_t result;
14446 void *argp1 = 0 ;
14447 int res1 = 0 ;
14448 size_t val2 ;
14449 int ecode2 = 0 ;
14450 bool val3 ;
14451 int ecode3 = 0 ;
14452 PyObject * obj0 = 0 ;
14453 PyObject * obj1 = 0 ;
14454 PyObject * obj2 = 0 ;
14455 char * kwnames[] = {
14456 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14457 };
14458
14459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14461 if (!SWIG_IsOK(res1)) {
14462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14463 }
14464 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14465 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14466 if (!SWIG_IsOK(ecode2)) {
14467 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14468 }
14469 arg2 = static_cast< size_t >(val2);
14470 if (obj2) {
14471 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14472 if (!SWIG_IsOK(ecode3)) {
14473 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14474 }
14475 arg3 = static_cast< bool >(val3);
14476 }
14477 {
14478 PyThreadState* __tstate = wxPyBeginAllowThreads();
14479 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14480 wxPyEndAllowThreads(__tstate);
14481 if (PyErr_Occurred()) SWIG_fail;
14482 }
14483 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14484 return resultobj;
14485fail:
14486 return NULL;
14487}
14488
14489
14490SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14491 PyObject *resultobj = 0;
14492 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14493 size_t arg2 ;
14494 size_t arg3 ;
14495 int result;
14496 void *argp1 = 0 ;
14497 int res1 = 0 ;
14498 size_t val2 ;
14499 int ecode2 = 0 ;
14500 size_t val3 ;
14501 int ecode3 = 0 ;
14502 PyObject * obj0 = 0 ;
14503 PyObject * obj1 = 0 ;
14504 PyObject * obj2 = 0 ;
14505 char * kwnames[] = {
14506 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14507 };
14508
14509 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14510 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14511 if (!SWIG_IsOK(res1)) {
14512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14513 }
14514 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14515 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14516 if (!SWIG_IsOK(ecode2)) {
14517 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14518 }
14519 arg2 = static_cast< size_t >(val2);
14520 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14521 if (!SWIG_IsOK(ecode3)) {
14522 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14523 }
14524 arg3 = static_cast< size_t >(val3);
14525 {
14526 PyThreadState* __tstate = wxPyBeginAllowThreads();
14527 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14528 wxPyEndAllowThreads(__tstate);
14529 if (PyErr_Occurred()) SWIG_fail;
14530 }
14531 resultobj = SWIG_From_int(static_cast< int >(result));
14532 return resultobj;
14533fail:
14534 return NULL;
d55e5bfc
RD
14535}
14536
14537
554f62e9
RD
14538SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14539 PyObject *obj;
14540 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14541 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14542 return SWIG_Py_Void();
d55e5bfc
RD
14543}
14544
554f62e9
RD
14545SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14546 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
14547}
14548
554f62e9
RD
14549SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14550 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14551 return 1;
d55e5bfc
RD
14552}
14553
14554
554f62e9
RD
14555SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14556 PyObject *pyobj = 0;
14557
14558 {
d55e5bfc 14559#if wxUSE_UNICODE
554f62e9 14560 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
d55e5bfc 14561#else
554f62e9 14562 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
d55e5bfc 14563#endif
554f62e9
RD
14564 }
14565 return pyobj;
14566}
14567
14568
14569SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14570 PyObject *resultobj = 0;
14571 wxWindow *arg1 = (wxWindow *) 0 ;
14572 int arg2 = (int) wxID_ANY ;
14573 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14574 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14575 wxSize const &arg4_defvalue = wxDefaultSize ;
14576 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14577 long arg5 = (long) 0 ;
14578 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14579 wxString *arg6 = (wxString *) &arg6_defvalue ;
14580 wxPyVListBox *result = 0 ;
14581 void *argp1 = 0 ;
14582 int res1 = 0 ;
14583 int val2 ;
14584 int ecode2 = 0 ;
14585 wxPoint temp3 ;
14586 wxSize temp4 ;
14587 long val5 ;
14588 int ecode5 = 0 ;
14589 bool temp6 = false ;
14590 PyObject * obj0 = 0 ;
14591 PyObject * obj1 = 0 ;
14592 PyObject * obj2 = 0 ;
14593 PyObject * obj3 = 0 ;
14594 PyObject * obj4 = 0 ;
14595 PyObject * obj5 = 0 ;
14596 char * kwnames[] = {
14597 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14598 };
14599
14600 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14601 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14602 if (!SWIG_IsOK(res1)) {
14603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14604 }
14605 arg1 = reinterpret_cast< wxWindow * >(argp1);
14606 if (obj1) {
14607 ecode2 = SWIG_AsVal_int(obj1, &val2);
14608 if (!SWIG_IsOK(ecode2)) {
14609 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14610 }
14611 arg2 = static_cast< int >(val2);
14612 }
14613 if (obj2) {
d55e5bfc 14614 {
554f62e9
RD
14615 arg3 = &temp3;
14616 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 14617 }
554f62e9
RD
14618 }
14619 if (obj3) {
d55e5bfc 14620 {
554f62e9
RD
14621 arg4 = &temp4;
14622 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14623 }
554f62e9
RD
14624 }
14625 if (obj4) {
14626 ecode5 = SWIG_AsVal_long(obj4, &val5);
14627 if (!SWIG_IsOK(ecode5)) {
14628 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14629 }
14630 arg5 = static_cast< long >(val5);
14631 }
14632 if (obj5) {
d55e5bfc 14633 {
554f62e9
RD
14634 arg6 = wxString_in_helper(obj5);
14635 if (arg6 == NULL) SWIG_fail;
14636 temp6 = true;
14637 }
14638 }
14639 {
14640 if (!wxPyCheckForApp()) SWIG_fail;
14641 PyThreadState* __tstate = wxPyBeginAllowThreads();
14642 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14643 wxPyEndAllowThreads(__tstate);
14644 if (PyErr_Occurred()) SWIG_fail;
14645 }
14646 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14647 {
14648 if (temp6)
14649 delete arg6;
14650 }
14651 return resultobj;
14652fail:
14653 {
14654 if (temp6)
14655 delete arg6;
14656 }
14657 return NULL;
d55e5bfc
RD
14658}
14659
14660
554f62e9
RD
14661SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14662 PyObject *resultobj = 0;
14663 wxPyVListBox *result = 0 ;
14664
14665 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14666 {
14667 if (!wxPyCheckForApp()) SWIG_fail;
14668 PyThreadState* __tstate = wxPyBeginAllowThreads();
14669 result = (wxPyVListBox *)new wxPyVListBox();
14670 wxPyEndAllowThreads(__tstate);
14671 if (PyErr_Occurred()) SWIG_fail;
14672 }
14673 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14674 return resultobj;
14675fail:
14676 return NULL;
14677}
14678
14679
14680SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14681 PyObject *resultobj = 0;
14682 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14683 PyObject *arg2 = (PyObject *) 0 ;
14684 PyObject *arg3 = (PyObject *) 0 ;
14685 void *argp1 = 0 ;
14686 int res1 = 0 ;
14687 PyObject * obj0 = 0 ;
14688 PyObject * obj1 = 0 ;
14689 PyObject * obj2 = 0 ;
14690 char * kwnames[] = {
14691 (char *) "self",(char *) "self",(char *) "_class", NULL
14692 };
14693
14694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14696 if (!SWIG_IsOK(res1)) {
14697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14698 }
14699 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14700 arg2 = obj1;
14701 arg3 = obj2;
14702 {
14703 PyThreadState* __tstate = wxPyBeginAllowThreads();
14704 (arg1)->_setCallbackInfo(arg2,arg3);
14705 wxPyEndAllowThreads(__tstate);
14706 if (PyErr_Occurred()) SWIG_fail;
14707 }
14708 resultobj = SWIG_Py_Void();
14709 return resultobj;
14710fail:
14711 return NULL;
14712}
14713
14714
14715SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14716 PyObject *resultobj = 0;
14717 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14718 wxWindow *arg2 = (wxWindow *) 0 ;
14719 int arg3 = (int) wxID_ANY ;
14720 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14721 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14722 wxSize const &arg5_defvalue = wxDefaultSize ;
14723 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14724 long arg6 = (long) 0 ;
14725 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14726 wxString *arg7 = (wxString *) &arg7_defvalue ;
14727 bool result;
14728 void *argp1 = 0 ;
14729 int res1 = 0 ;
14730 void *argp2 = 0 ;
14731 int res2 = 0 ;
14732 int val3 ;
14733 int ecode3 = 0 ;
14734 wxPoint temp4 ;
14735 wxSize temp5 ;
14736 long val6 ;
14737 int ecode6 = 0 ;
14738 bool temp7 = false ;
14739 PyObject * obj0 = 0 ;
14740 PyObject * obj1 = 0 ;
14741 PyObject * obj2 = 0 ;
14742 PyObject * obj3 = 0 ;
14743 PyObject * obj4 = 0 ;
14744 PyObject * obj5 = 0 ;
14745 PyObject * obj6 = 0 ;
14746 char * kwnames[] = {
14747 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14748 };
14749
14750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14752 if (!SWIG_IsOK(res1)) {
14753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14754 }
14755 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14756 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14757 if (!SWIG_IsOK(res2)) {
14758 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14759 }
14760 arg2 = reinterpret_cast< wxWindow * >(argp2);
14761 if (obj2) {
14762 ecode3 = SWIG_AsVal_int(obj2, &val3);
14763 if (!SWIG_IsOK(ecode3)) {
14764 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14765 }
14766 arg3 = static_cast< int >(val3);
14767 }
14768 if (obj3) {
d55e5bfc 14769 {
554f62e9
RD
14770 arg4 = &temp4;
14771 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14772 }
554f62e9
RD
14773 }
14774 if (obj4) {
d55e5bfc 14775 {
554f62e9
RD
14776 arg5 = &temp5;
14777 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 14778 }
554f62e9
RD
14779 }
14780 if (obj5) {
14781 ecode6 = SWIG_AsVal_long(obj5, &val6);
14782 if (!SWIG_IsOK(ecode6)) {
14783 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14784 }
14785 arg6 = static_cast< long >(val6);
14786 }
14787 if (obj6) {
d55e5bfc 14788 {
554f62e9
RD
14789 arg7 = wxString_in_helper(obj6);
14790 if (arg7 == NULL) SWIG_fail;
14791 temp7 = true;
d55e5bfc 14792 }
554f62e9
RD
14793 }
14794 {
14795 PyThreadState* __tstate = wxPyBeginAllowThreads();
14796 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14797 wxPyEndAllowThreads(__tstate);
14798 if (PyErr_Occurred()) SWIG_fail;
14799 }
14800 {
14801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14802 }
14803 {
14804 if (temp7)
14805 delete arg7;
14806 }
14807 return resultobj;
14808fail:
14809 {
14810 if (temp7)
14811 delete arg7;
14812 }
14813 return NULL;
d55e5bfc
RD
14814}
14815
14816
554f62e9
RD
14817SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14818 PyObject *resultobj = 0;
14819 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14820 size_t result;
14821 void *argp1 = 0 ;
14822 int res1 = 0 ;
14823 PyObject *swig_obj[1] ;
14824
14825 if (!args) SWIG_fail;
14826 swig_obj[0] = args;
14827 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14828 if (!SWIG_IsOK(res1)) {
14829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14830 }
14831 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14832 {
14833 PyThreadState* __tstate = wxPyBeginAllowThreads();
14834 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14835 wxPyEndAllowThreads(__tstate);
14836 if (PyErr_Occurred()) SWIG_fail;
14837 }
14838 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14839 return resultobj;
14840fail:
14841 return NULL;
d55e5bfc
RD
14842}
14843
14844
554f62e9
RD
14845SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14846 PyObject *resultobj = 0;
14847 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14848 bool result;
14849 void *argp1 = 0 ;
14850 int res1 = 0 ;
14851 PyObject *swig_obj[1] ;
14852
14853 if (!args) SWIG_fail;
14854 swig_obj[0] = args;
14855 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14856 if (!SWIG_IsOK(res1)) {
14857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14858 }
14859 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14860 {
14861 PyThreadState* __tstate = wxPyBeginAllowThreads();
14862 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
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;
d55e5bfc
RD
14872}
14873
14874
554f62e9
RD
14875SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14876 PyObject *resultobj = 0;
14877 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14878 int result;
14879 void *argp1 = 0 ;
14880 int res1 = 0 ;
14881 PyObject *swig_obj[1] ;
14882
14883 if (!args) SWIG_fail;
14884 swig_obj[0] = args;
14885 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14886 if (!SWIG_IsOK(res1)) {
14887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14888 }
14889 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14890 {
14891 PyThreadState* __tstate = wxPyBeginAllowThreads();
14892 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14893 wxPyEndAllowThreads(__tstate);
14894 if (PyErr_Occurred()) SWIG_fail;
14895 }
14896 resultobj = SWIG_From_int(static_cast< int >(result));
14897 return resultobj;
14898fail:
14899 return NULL;
14900}
14901
14902
14903SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14904 PyObject *resultobj = 0;
14905 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14906 size_t arg2 ;
14907 bool result;
14908 void *argp1 = 0 ;
14909 int res1 = 0 ;
14910 size_t val2 ;
14911 int ecode2 = 0 ;
14912 PyObject * obj0 = 0 ;
14913 PyObject * obj1 = 0 ;
14914 char * kwnames[] = {
14915 (char *) "self",(char *) "item", NULL
14916 };
14917
14918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14920 if (!SWIG_IsOK(res1)) {
14921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14922 }
14923 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14924 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14925 if (!SWIG_IsOK(ecode2)) {
14926 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14927 }
14928 arg2 = static_cast< size_t >(val2);
14929 {
14930 PyThreadState* __tstate = wxPyBeginAllowThreads();
14931 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14932 wxPyEndAllowThreads(__tstate);
14933 if (PyErr_Occurred()) SWIG_fail;
14934 }
14935 {
14936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14937 }
14938 return resultobj;
14939fail:
14940 return NULL;
14941}
14942
14943
14944SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14945 PyObject *resultobj = 0;
14946 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14947 size_t arg2 ;
14948 bool result;
14949 void *argp1 = 0 ;
14950 int res1 = 0 ;
14951 size_t val2 ;
14952 int ecode2 = 0 ;
14953 PyObject * obj0 = 0 ;
14954 PyObject * obj1 = 0 ;
14955 char * kwnames[] = {
14956 (char *) "self",(char *) "item", NULL
14957 };
14958
14959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14961 if (!SWIG_IsOK(res1)) {
14962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14963 }
14964 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14965 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14966 if (!SWIG_IsOK(ecode2)) {
14967 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14968 }
14969 arg2 = static_cast< size_t >(val2);
14970 {
14971 PyThreadState* __tstate = wxPyBeginAllowThreads();
14972 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14973 wxPyEndAllowThreads(__tstate);
14974 if (PyErr_Occurred()) SWIG_fail;
14975 }
14976 {
14977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14978 }
14979 return resultobj;
14980fail:
14981 return NULL;
d55e5bfc
RD
14982}
14983
14984
554f62e9
RD
14985SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14986 PyObject *resultobj = 0;
14987 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14988 size_t result;
14989 void *argp1 = 0 ;
14990 int res1 = 0 ;
14991 PyObject *swig_obj[1] ;
14992
14993 if (!args) SWIG_fail;
14994 swig_obj[0] = args;
14995 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14996 if (!SWIG_IsOK(res1)) {
14997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14998 }
14999 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15000 {
15001 PyThreadState* __tstate = wxPyBeginAllowThreads();
15002 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
15003 wxPyEndAllowThreads(__tstate);
15004 if (PyErr_Occurred()) SWIG_fail;
15005 }
15006 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
15007 return resultobj;
15008fail:
15009 return NULL;
d55e5bfc
RD
15010}
15011
15012
554f62e9
RD
15013SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15014 PyObject *resultobj = 0;
15015 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15016 PyObject *result = 0 ;
15017 void *argp1 = 0 ;
15018 int res1 = 0 ;
15019 PyObject *swig_obj[1] ;
15020
15021 if (!args) SWIG_fail;
15022 swig_obj[0] = args;
15023 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15024 if (!SWIG_IsOK(res1)) {
15025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15026 }
15027 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15028 {
15029 PyThreadState* __tstate = wxPyBeginAllowThreads();
15030 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
15031 wxPyEndAllowThreads(__tstate);
15032 if (PyErr_Occurred()) SWIG_fail;
15033 }
15034 resultobj = result;
15035 return resultobj;
15036fail:
15037 return NULL;
15038}
15039
15040
15041SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15042 PyObject *resultobj = 0;
15043 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15044 unsigned long arg2 ;
15045 PyObject *result = 0 ;
15046 void *argp1 = 0 ;
15047 int res1 = 0 ;
15048 unsigned long val2 ;
15049 int ecode2 = 0 ;
15050 PyObject * obj0 = 0 ;
15051 PyObject * obj1 = 0 ;
15052 char * kwnames[] = {
15053 (char *) "self",(char *) "cookie", NULL
15054 };
15055
15056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
15057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15058 if (!SWIG_IsOK(res1)) {
15059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15060 }
15061 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15062 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
15063 if (!SWIG_IsOK(ecode2)) {
15064 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
15065 }
15066 arg2 = static_cast< unsigned long >(val2);
15067 {
15068 PyThreadState* __tstate = wxPyBeginAllowThreads();
15069 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
15070 wxPyEndAllowThreads(__tstate);
15071 if (PyErr_Occurred()) SWIG_fail;
15072 }
15073 resultobj = result;
15074 return resultobj;
15075fail:
15076 return NULL;
d55e5bfc
RD
15077}
15078
15079
554f62e9
RD
15080SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15081 PyObject *resultobj = 0;
15082 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15083 wxPoint result;
15084 void *argp1 = 0 ;
15085 int res1 = 0 ;
15086 PyObject *swig_obj[1] ;
15087
15088 if (!args) SWIG_fail;
15089 swig_obj[0] = args;
15090 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15091 if (!SWIG_IsOK(res1)) {
15092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15093 }
15094 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15095 {
15096 PyThreadState* __tstate = wxPyBeginAllowThreads();
15097 result = ((wxPyVListBox const *)arg1)->GetMargins();
15098 wxPyEndAllowThreads(__tstate);
15099 if (PyErr_Occurred()) SWIG_fail;
15100 }
15101 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
15102 return resultobj;
15103fail:
15104 return NULL;
d55e5bfc
RD
15105}
15106
15107
554f62e9
RD
15108SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15109 PyObject *resultobj = 0;
15110 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15111 wxColour *result = 0 ;
15112 void *argp1 = 0 ;
15113 int res1 = 0 ;
15114 PyObject *swig_obj[1] ;
15115
15116 if (!args) SWIG_fail;
15117 swig_obj[0] = args;
15118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15119 if (!SWIG_IsOK(res1)) {
15120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15121 }
15122 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15123 {
15124 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15125 {
554f62e9
RD
15126 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
15127 result = (wxColour *) &_result_ref;
093d3ff1 15128 }
554f62e9
RD
15129 wxPyEndAllowThreads(__tstate);
15130 if (PyErr_Occurred()) SWIG_fail;
15131 }
15132 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
15133 return resultobj;
15134fail:
15135 return NULL;
15136}
15137
15138
15139SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15140 PyObject *resultobj = 0;
15141 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15142 size_t arg2 ;
15143 void *argp1 = 0 ;
15144 int res1 = 0 ;
15145 size_t val2 ;
15146 int ecode2 = 0 ;
15147 PyObject * obj0 = 0 ;
15148 PyObject * obj1 = 0 ;
15149 char * kwnames[] = {
15150 (char *) "self",(char *) "count", NULL
15151 };
15152
15153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15155 if (!SWIG_IsOK(res1)) {
15156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15157 }
15158 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15159 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15160 if (!SWIG_IsOK(ecode2)) {
15161 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15162 }
15163 arg2 = static_cast< size_t >(val2);
15164 {
15165 PyThreadState* __tstate = wxPyBeginAllowThreads();
15166 (arg1)->SetItemCount(arg2);
15167 wxPyEndAllowThreads(__tstate);
15168 if (PyErr_Occurred()) SWIG_fail;
15169 }
15170 resultobj = SWIG_Py_Void();
15171 return resultobj;
15172fail:
15173 return NULL;
d55e5bfc
RD
15174}
15175
15176
554f62e9
RD
15177SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15178 PyObject *resultobj = 0;
15179 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15180 void *argp1 = 0 ;
15181 int res1 = 0 ;
15182 PyObject *swig_obj[1] ;
15183
15184 if (!args) SWIG_fail;
15185 swig_obj[0] = args;
15186 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15187 if (!SWIG_IsOK(res1)) {
15188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15189 }
15190 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15191 {
15192 PyThreadState* __tstate = wxPyBeginAllowThreads();
15193 (arg1)->Clear();
15194 wxPyEndAllowThreads(__tstate);
15195 if (PyErr_Occurred()) SWIG_fail;
15196 }
15197 resultobj = SWIG_Py_Void();
15198 return resultobj;
15199fail:
15200 return NULL;
15201}
15202
15203
15204SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15205 PyObject *resultobj = 0;
15206 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15207 int arg2 ;
15208 void *argp1 = 0 ;
15209 int res1 = 0 ;
15210 int val2 ;
15211 int ecode2 = 0 ;
15212 PyObject * obj0 = 0 ;
15213 PyObject * obj1 = 0 ;
15214 char * kwnames[] = {
15215 (char *) "self",(char *) "selection", NULL
15216 };
15217
15218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
15219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15220 if (!SWIG_IsOK(res1)) {
15221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15222 }
15223 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15224 ecode2 = SWIG_AsVal_int(obj1, &val2);
15225 if (!SWIG_IsOK(ecode2)) {
15226 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15227 }
15228 arg2 = static_cast< int >(val2);
15229 {
15230 PyThreadState* __tstate = wxPyBeginAllowThreads();
15231 (arg1)->SetSelection(arg2);
15232 wxPyEndAllowThreads(__tstate);
15233 if (PyErr_Occurred()) SWIG_fail;
15234 }
15235 resultobj = SWIG_Py_Void();
15236 return resultobj;
15237fail:
15238 return NULL;
15239}
15240
15241
15242SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15243 PyObject *resultobj = 0;
15244 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15245 size_t arg2 ;
15246 bool arg3 = (bool) true ;
15247 bool result;
15248 void *argp1 = 0 ;
15249 int res1 = 0 ;
15250 size_t val2 ;
15251 int ecode2 = 0 ;
15252 bool val3 ;
15253 int ecode3 = 0 ;
15254 PyObject * obj0 = 0 ;
15255 PyObject * obj1 = 0 ;
15256 PyObject * obj2 = 0 ;
15257 char * kwnames[] = {
15258 (char *) "self",(char *) "item",(char *) "select", NULL
15259 };
15260
15261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15263 if (!SWIG_IsOK(res1)) {
15264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15265 }
15266 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15267 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15268 if (!SWIG_IsOK(ecode2)) {
15269 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15270 }
15271 arg2 = static_cast< size_t >(val2);
15272 if (obj2) {
15273 ecode3 = SWIG_AsVal_bool(obj2, &val3);
15274 if (!SWIG_IsOK(ecode3)) {
15275 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15276 }
15277 arg3 = static_cast< bool >(val3);
15278 }
15279 {
15280 PyThreadState* __tstate = wxPyBeginAllowThreads();
15281 result = (bool)(arg1)->Select(arg2,arg3);
15282 wxPyEndAllowThreads(__tstate);
15283 if (PyErr_Occurred()) SWIG_fail;
15284 }
15285 {
15286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15287 }
15288 return resultobj;
15289fail:
15290 return NULL;
15291}
15292
15293
15294SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15295 PyObject *resultobj = 0;
15296 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15297 size_t arg2 ;
15298 size_t arg3 ;
15299 bool result;
15300 void *argp1 = 0 ;
15301 int res1 = 0 ;
15302 size_t val2 ;
15303 int ecode2 = 0 ;
15304 size_t val3 ;
15305 int ecode3 = 0 ;
15306 PyObject * obj0 = 0 ;
15307 PyObject * obj1 = 0 ;
15308 PyObject * obj2 = 0 ;
15309 char * kwnames[] = {
f460c29d 15310 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
15311 };
15312
15313 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15314 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15315 if (!SWIG_IsOK(res1)) {
15316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15317 }
15318 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15319 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15320 if (!SWIG_IsOK(ecode2)) {
15321 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15322 }
15323 arg2 = static_cast< size_t >(val2);
15324 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15325 if (!SWIG_IsOK(ecode3)) {
15326 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15327 }
15328 arg3 = static_cast< size_t >(val3);
15329 {
15330 PyThreadState* __tstate = wxPyBeginAllowThreads();
15331 result = (bool)(arg1)->SelectRange(arg2,arg3);
15332 wxPyEndAllowThreads(__tstate);
15333 if (PyErr_Occurred()) SWIG_fail;
15334 }
15335 {
15336 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15337 }
15338 return resultobj;
15339fail:
15340 return NULL;
15341}
15342
15343
15344SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15345 PyObject *resultobj = 0;
15346 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15347 size_t arg2 ;
15348 void *argp1 = 0 ;
15349 int res1 = 0 ;
15350 size_t val2 ;
15351 int ecode2 = 0 ;
15352 PyObject * obj0 = 0 ;
15353 PyObject * obj1 = 0 ;
15354 char * kwnames[] = {
15355 (char *) "self",(char *) "item", NULL
15356 };
15357
15358 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15360 if (!SWIG_IsOK(res1)) {
15361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15362 }
15363 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15364 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15365 if (!SWIG_IsOK(ecode2)) {
15366 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15367 }
15368 arg2 = static_cast< size_t >(val2);
15369 {
15370 PyThreadState* __tstate = wxPyBeginAllowThreads();
15371 (arg1)->Toggle(arg2);
15372 wxPyEndAllowThreads(__tstate);
15373 if (PyErr_Occurred()) SWIG_fail;
15374 }
15375 resultobj = SWIG_Py_Void();
15376 return resultobj;
15377fail:
15378 return NULL;
d55e5bfc
RD
15379}
15380
15381
554f62e9
RD
15382SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15383 PyObject *resultobj = 0;
15384 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15385 bool result;
15386 void *argp1 = 0 ;
15387 int res1 = 0 ;
15388 PyObject *swig_obj[1] ;
15389
15390 if (!args) SWIG_fail;
15391 swig_obj[0] = args;
15392 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15393 if (!SWIG_IsOK(res1)) {
15394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15395 }
15396 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15397 {
15398 PyThreadState* __tstate = wxPyBeginAllowThreads();
15399 result = (bool)(arg1)->SelectAll();
15400 wxPyEndAllowThreads(__tstate);
15401 if (PyErr_Occurred()) SWIG_fail;
15402 }
15403 {
15404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15405 }
15406 return resultobj;
15407fail:
15408 return NULL;
d55e5bfc
RD
15409}
15410
15411
554f62e9
RD
15412SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15413 PyObject *resultobj = 0;
15414 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15415 bool result;
15416 void *argp1 = 0 ;
15417 int res1 = 0 ;
15418 PyObject *swig_obj[1] ;
15419
15420 if (!args) SWIG_fail;
15421 swig_obj[0] = args;
15422 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15423 if (!SWIG_IsOK(res1)) {
15424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15425 }
15426 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15427 {
15428 PyThreadState* __tstate = wxPyBeginAllowThreads();
15429 result = (bool)(arg1)->DeselectAll();
15430 wxPyEndAllowThreads(__tstate);
15431 if (PyErr_Occurred()) SWIG_fail;
15432 }
15433 {
15434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15435 }
15436 return resultobj;
15437fail:
15438 return NULL;
15439}
15440
15441
15442SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15443 PyObject *resultobj = 0;
15444 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15445 wxPoint *arg2 = 0 ;
15446 void *argp1 = 0 ;
15447 int res1 = 0 ;
15448 wxPoint temp2 ;
15449 PyObject * obj0 = 0 ;
15450 PyObject * obj1 = 0 ;
15451 char * kwnames[] = {
15452 (char *) "self",(char *) "pt", NULL
15453 };
15454
15455 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15457 if (!SWIG_IsOK(res1)) {
15458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15459 }
15460 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15461 {
15462 arg2 = &temp2;
15463 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15464 }
15465 {
15466 PyThreadState* __tstate = wxPyBeginAllowThreads();
15467 (arg1)->SetMargins((wxPoint const &)*arg2);
15468 wxPyEndAllowThreads(__tstate);
15469 if (PyErr_Occurred()) SWIG_fail;
15470 }
15471 resultobj = SWIG_Py_Void();
15472 return resultobj;
15473fail:
15474 return NULL;
15475}
15476
15477
15478SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15479 PyObject *resultobj = 0;
15480 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15481 int arg2 ;
15482 int arg3 ;
15483 void *argp1 = 0 ;
15484 int res1 = 0 ;
15485 int val2 ;
15486 int ecode2 = 0 ;
15487 int val3 ;
15488 int ecode3 = 0 ;
15489 PyObject * obj0 = 0 ;
15490 PyObject * obj1 = 0 ;
15491 PyObject * obj2 = 0 ;
15492 char * kwnames[] = {
15493 (char *) "self",(char *) "x",(char *) "y", NULL
15494 };
15495
15496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15498 if (!SWIG_IsOK(res1)) {
15499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15500 }
15501 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15502 ecode2 = SWIG_AsVal_int(obj1, &val2);
15503 if (!SWIG_IsOK(ecode2)) {
15504 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15505 }
15506 arg2 = static_cast< int >(val2);
15507 ecode3 = SWIG_AsVal_int(obj2, &val3);
15508 if (!SWIG_IsOK(ecode3)) {
15509 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15510 }
15511 arg3 = static_cast< int >(val3);
15512 {
15513 PyThreadState* __tstate = wxPyBeginAllowThreads();
15514 (arg1)->SetMargins(arg2,arg3);
15515 wxPyEndAllowThreads(__tstate);
15516 if (PyErr_Occurred()) SWIG_fail;
15517 }
15518 resultobj = SWIG_Py_Void();
15519 return resultobj;
15520fail:
15521 return NULL;
15522}
15523
15524
15525SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15526 PyObject *resultobj = 0;
15527 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15528 wxColour *arg2 = 0 ;
15529 void *argp1 = 0 ;
15530 int res1 = 0 ;
15531 wxColour temp2 ;
15532 PyObject * obj0 = 0 ;
15533 PyObject * obj1 = 0 ;
15534 char * kwnames[] = {
15535 (char *) "self",(char *) "col", NULL
15536 };
15537
15538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15540 if (!SWIG_IsOK(res1)) {
15541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15542 }
15543 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15544 {
15545 arg2 = &temp2;
15546 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15547 }
15548 {
15549 PyThreadState* __tstate = wxPyBeginAllowThreads();
15550 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15551 wxPyEndAllowThreads(__tstate);
15552 if (PyErr_Occurred()) SWIG_fail;
15553 }
15554 resultobj = SWIG_Py_Void();
15555 return resultobj;
15556fail:
15557 return NULL;
15558}
15559
15560
1c71765a
RD
15561SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15562 PyObject *resultobj = 0;
15563 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15564 wxDC *arg2 = 0 ;
15565 wxRect *arg3 = 0 ;
15566 size_t arg4 ;
15567 void *argp1 = 0 ;
15568 int res1 = 0 ;
15569 void *argp2 = 0 ;
15570 int res2 = 0 ;
15571 wxRect temp3 ;
15572 size_t val4 ;
15573 int ecode4 = 0 ;
15574 PyObject * obj0 = 0 ;
15575 PyObject * obj1 = 0 ;
15576 PyObject * obj2 = 0 ;
15577 PyObject * obj3 = 0 ;
15578 char * kwnames[] = {
15579 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15580 };
15581
15582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15584 if (!SWIG_IsOK(res1)) {
15585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15586 }
15587 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15588 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15589 if (!SWIG_IsOK(res2)) {
15590 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15591 }
15592 if (!argp2) {
15593 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15594 }
15595 arg2 = reinterpret_cast< wxDC * >(argp2);
15596 {
15597 arg3 = &temp3;
15598 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15599 }
15600 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15601 if (!SWIG_IsOK(ecode4)) {
15602 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15603 }
15604 arg4 = static_cast< size_t >(val4);
15605 {
15606 PyThreadState* __tstate = wxPyBeginAllowThreads();
15607 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15608 wxPyEndAllowThreads(__tstate);
15609 if (PyErr_Occurred()) SWIG_fail;
15610 }
15611 resultobj = SWIG_Py_Void();
15612 return resultobj;
15613fail:
15614 return NULL;
15615}
15616
15617
15618SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15619 PyObject *resultobj = 0;
15620 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15621 wxDC *arg2 = 0 ;
15622 wxRect *arg3 = 0 ;
15623 size_t arg4 ;
15624 void *argp1 = 0 ;
15625 int res1 = 0 ;
15626 void *argp2 = 0 ;
15627 int res2 = 0 ;
15628 wxRect temp3 ;
15629 size_t val4 ;
15630 int ecode4 = 0 ;
15631 PyObject * obj0 = 0 ;
15632 PyObject * obj1 = 0 ;
15633 PyObject * obj2 = 0 ;
15634 PyObject * obj3 = 0 ;
15635 char * kwnames[] = {
15636 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15637 };
15638
15639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15641 if (!SWIG_IsOK(res1)) {
15642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15643 }
15644 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15645 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15646 if (!SWIG_IsOK(res2)) {
15647 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15648 }
15649 if (!argp2) {
15650 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15651 }
15652 arg2 = reinterpret_cast< wxDC * >(argp2);
15653 {
15654 arg3 = &temp3;
15655 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15656 }
15657 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15658 if (!SWIG_IsOK(ecode4)) {
15659 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15660 }
15661 arg4 = static_cast< size_t >(val4);
15662 {
15663 PyThreadState* __tstate = wxPyBeginAllowThreads();
15664 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15665 wxPyEndAllowThreads(__tstate);
15666 if (PyErr_Occurred()) SWIG_fail;
15667 }
15668 resultobj = SWIG_Py_Void();
15669 return resultobj;
15670fail:
15671 return NULL;
15672}
15673
15674
554f62e9
RD
15675SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15676 PyObject *obj;
15677 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15678 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15679 return SWIG_Py_Void();
15680}
15681
15682SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15683 return SWIG_Python_InitShadowInstance(args);
15684}
15685
15686SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15687 PyObject *resultobj = 0;
15688 wxWindow *arg1 = (wxWindow *) 0 ;
15689 int arg2 = (int) wxID_ANY ;
15690 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15691 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15692 wxSize const &arg4_defvalue = wxDefaultSize ;
15693 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15694 long arg5 = (long) 0 ;
15695 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15696 wxString *arg6 = (wxString *) &arg6_defvalue ;
15697 wxPyHtmlListBox *result = 0 ;
15698 void *argp1 = 0 ;
15699 int res1 = 0 ;
15700 int val2 ;
15701 int ecode2 = 0 ;
15702 wxPoint temp3 ;
15703 wxSize temp4 ;
15704 long val5 ;
15705 int ecode5 = 0 ;
15706 bool temp6 = false ;
15707 PyObject * obj0 = 0 ;
15708 PyObject * obj1 = 0 ;
15709 PyObject * obj2 = 0 ;
15710 PyObject * obj3 = 0 ;
15711 PyObject * obj4 = 0 ;
15712 PyObject * obj5 = 0 ;
15713 char * kwnames[] = {
15714 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15715 };
15716
15717 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15718 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15719 if (!SWIG_IsOK(res1)) {
15720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15721 }
15722 arg1 = reinterpret_cast< wxWindow * >(argp1);
15723 if (obj1) {
15724 ecode2 = SWIG_AsVal_int(obj1, &val2);
15725 if (!SWIG_IsOK(ecode2)) {
15726 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15727 }
15728 arg2 = static_cast< int >(val2);
15729 }
15730 if (obj2) {
093d3ff1 15731 {
554f62e9
RD
15732 arg3 = &temp3;
15733 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 15734 }
554f62e9
RD
15735 }
15736 if (obj3) {
d55e5bfc 15737 {
554f62e9
RD
15738 arg4 = &temp4;
15739 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 15740 }
554f62e9
RD
15741 }
15742 if (obj4) {
15743 ecode5 = SWIG_AsVal_long(obj4, &val5);
15744 if (!SWIG_IsOK(ecode5)) {
15745 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15746 }
15747 arg5 = static_cast< long >(val5);
15748 }
15749 if (obj5) {
d55e5bfc 15750 {
554f62e9
RD
15751 arg6 = wxString_in_helper(obj5);
15752 if (arg6 == NULL) SWIG_fail;
15753 temp6 = true;
15754 }
15755 }
15756 {
15757 if (!wxPyCheckForApp()) SWIG_fail;
15758 PyThreadState* __tstate = wxPyBeginAllowThreads();
15759 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15760 wxPyEndAllowThreads(__tstate);
15761 if (PyErr_Occurred()) SWIG_fail;
15762 }
15763 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15764 {
15765 if (temp6)
15766 delete arg6;
15767 }
15768 return resultobj;
15769fail:
15770 {
15771 if (temp6)
15772 delete arg6;
15773 }
15774 return NULL;
d55e5bfc
RD
15775}
15776
15777
554f62e9
RD
15778SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15779 PyObject *resultobj = 0;
15780 wxPyHtmlListBox *result = 0 ;
15781
15782 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15783 {
15784 if (!wxPyCheckForApp()) SWIG_fail;
15785 PyThreadState* __tstate = wxPyBeginAllowThreads();
15786 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15787 wxPyEndAllowThreads(__tstate);
15788 if (PyErr_Occurred()) SWIG_fail;
15789 }
15790 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15791 return resultobj;
15792fail:
15793 return NULL;
15794}
15795
15796
15797SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15798 PyObject *resultobj = 0;
15799 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15800 PyObject *arg2 = (PyObject *) 0 ;
15801 PyObject *arg3 = (PyObject *) 0 ;
15802 void *argp1 = 0 ;
15803 int res1 = 0 ;
15804 PyObject * obj0 = 0 ;
15805 PyObject * obj1 = 0 ;
15806 PyObject * obj2 = 0 ;
15807 char * kwnames[] = {
15808 (char *) "self",(char *) "self",(char *) "_class", NULL
15809 };
15810
15811 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15813 if (!SWIG_IsOK(res1)) {
15814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15815 }
15816 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15817 arg2 = obj1;
15818 arg3 = obj2;
15819 {
15820 PyThreadState* __tstate = wxPyBeginAllowThreads();
15821 (arg1)->_setCallbackInfo(arg2,arg3);
15822 wxPyEndAllowThreads(__tstate);
15823 if (PyErr_Occurred()) SWIG_fail;
15824 }
15825 resultobj = SWIG_Py_Void();
15826 return resultobj;
15827fail:
15828 return NULL;
15829}
15830
15831
15832SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15833 PyObject *resultobj = 0;
15834 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15835 wxWindow *arg2 = (wxWindow *) 0 ;
15836 int arg3 = (int) wxID_ANY ;
15837 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15838 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15839 wxSize const &arg5_defvalue = wxDefaultSize ;
15840 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15841 long arg6 = (long) 0 ;
15842 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15843 wxString *arg7 = (wxString *) &arg7_defvalue ;
15844 bool result;
15845 void *argp1 = 0 ;
15846 int res1 = 0 ;
15847 void *argp2 = 0 ;
15848 int res2 = 0 ;
15849 int val3 ;
15850 int ecode3 = 0 ;
15851 wxPoint temp4 ;
15852 wxSize temp5 ;
15853 long val6 ;
15854 int ecode6 = 0 ;
15855 bool temp7 = false ;
15856 PyObject * obj0 = 0 ;
15857 PyObject * obj1 = 0 ;
15858 PyObject * obj2 = 0 ;
15859 PyObject * obj3 = 0 ;
15860 PyObject * obj4 = 0 ;
15861 PyObject * obj5 = 0 ;
15862 PyObject * obj6 = 0 ;
15863 char * kwnames[] = {
15864 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15865 };
15866
15867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15869 if (!SWIG_IsOK(res1)) {
15870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15871 }
15872 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15873 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15874 if (!SWIG_IsOK(res2)) {
15875 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15876 }
15877 arg2 = reinterpret_cast< wxWindow * >(argp2);
15878 if (obj2) {
15879 ecode3 = SWIG_AsVal_int(obj2, &val3);
15880 if (!SWIG_IsOK(ecode3)) {
15881 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15882 }
15883 arg3 = static_cast< int >(val3);
15884 }
15885 if (obj3) {
093d3ff1 15886 {
554f62e9
RD
15887 arg4 = &temp4;
15888 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 15889 }
554f62e9
RD
15890 }
15891 if (obj4) {
d55e5bfc 15892 {
554f62e9
RD
15893 arg5 = &temp5;
15894 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 15895 }
554f62e9
RD
15896 }
15897 if (obj5) {
15898 ecode6 = SWIG_AsVal_long(obj5, &val6);
15899 if (!SWIG_IsOK(ecode6)) {
15900 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15901 }
15902 arg6 = static_cast< long >(val6);
15903 }
15904 if (obj6) {
093d3ff1 15905 {
554f62e9
RD
15906 arg7 = wxString_in_helper(obj6);
15907 if (arg7 == NULL) SWIG_fail;
15908 temp7 = true;
093d3ff1 15909 }
554f62e9
RD
15910 }
15911 {
15912 PyThreadState* __tstate = wxPyBeginAllowThreads();
15913 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15914 wxPyEndAllowThreads(__tstate);
15915 if (PyErr_Occurred()) SWIG_fail;
15916 }
15917 {
15918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15919 }
15920 {
15921 if (temp7)
15922 delete arg7;
15923 }
15924 return resultobj;
15925fail:
15926 {
15927 if (temp7)
15928 delete arg7;
15929 }
15930 return NULL;
15931}
15932
15933
15934SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15935 PyObject *resultobj = 0;
15936 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15937 size_t arg2 ;
15938 void *argp1 = 0 ;
15939 int res1 = 0 ;
15940 size_t val2 ;
15941 int ecode2 = 0 ;
15942 PyObject * obj0 = 0 ;
15943 PyObject * obj1 = 0 ;
15944 char * kwnames[] = {
15945 (char *) "self",(char *) "count", NULL
15946 };
15947
15948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15950 if (!SWIG_IsOK(res1)) {
15951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15952 }
15953 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15954 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15955 if (!SWIG_IsOK(ecode2)) {
15956 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15957 }
15958 arg2 = static_cast< size_t >(val2);
15959 {
15960 PyThreadState* __tstate = wxPyBeginAllowThreads();
15961 (arg1)->SetItemCount(arg2);
15962 wxPyEndAllowThreads(__tstate);
15963 if (PyErr_Occurred()) SWIG_fail;
15964 }
15965 resultobj = SWIG_Py_Void();
15966 return resultobj;
15967fail:
15968 return NULL;
d55e5bfc
RD
15969}
15970
15971
554f62e9
RD
15972SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15973 PyObject *resultobj = 0;
15974 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15975 wxFileSystem *result = 0 ;
15976 void *argp1 = 0 ;
15977 int res1 = 0 ;
15978 PyObject *swig_obj[1] ;
15979
15980 if (!args) SWIG_fail;
15981 swig_obj[0] = args;
15982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15983 if (!SWIG_IsOK(res1)) {
15984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15985 }
15986 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15987 {
15988 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15989 {
554f62e9
RD
15990 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15991 result = (wxFileSystem *) &_result_ref;
093d3ff1 15992 }
554f62e9
RD
15993 wxPyEndAllowThreads(__tstate);
15994 if (PyErr_Occurred()) SWIG_fail;
15995 }
15996 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15997 return resultobj;
15998fail:
15999 return NULL;
d55e5bfc
RD
16000}
16001
16002
e9d6f3a4
RD
16003SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16004 PyObject *resultobj = 0;
16005 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
16006 size_t arg2 ;
16007 wxHtmlLinkInfo *arg3 = 0 ;
16008 void *argp1 = 0 ;
16009 int res1 = 0 ;
16010 size_t val2 ;
16011 int ecode2 = 0 ;
16012 void *argp3 = 0 ;
16013 int res3 = 0 ;
16014 PyObject * obj0 = 0 ;
16015 PyObject * obj1 = 0 ;
16016 PyObject * obj2 = 0 ;
16017 char * kwnames[] = {
16018 (char *) "self",(char *) "n",(char *) "link", NULL
16019 };
16020
16021 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16022 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
16023 if (!SWIG_IsOK(res1)) {
16024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
16025 }
16026 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
16027 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
16028 if (!SWIG_IsOK(ecode2)) {
16029 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
16030 }
16031 arg2 = static_cast< size_t >(val2);
16032 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
16033 if (!SWIG_IsOK(res3)) {
16034 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
16035 }
16036 if (!argp3) {
16037 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
16038 }
16039 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
16040 {
16041 PyThreadState* __tstate = wxPyBeginAllowThreads();
16042 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
16043 wxPyEndAllowThreads(__tstate);
16044 if (PyErr_Occurred()) SWIG_fail;
16045 }
16046 resultobj = SWIG_Py_Void();
16047 return resultobj;
16048fail:
16049 return NULL;
16050}
16051
16052
554f62e9
RD
16053SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16054 PyObject *obj;
16055 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16056 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
16057 return SWIG_Py_Void();
d55e5bfc
RD
16058}
16059
554f62e9
RD
16060SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16061 return SWIG_Python_InitShadowInstance(args);
16062}
d55e5bfc 16063
554f62e9
RD
16064SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16065 PyObject *resultobj = 0;
16066 wxPyTaskBarIcon *result = 0 ;
16067
16068 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
16069 {
16070 if (!wxPyCheckForApp()) SWIG_fail;
16071 PyThreadState* __tstate = wxPyBeginAllowThreads();
16072 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
16073 wxPyEndAllowThreads(__tstate);
16074 if (PyErr_Occurred()) SWIG_fail;
16075 }
16076 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
16077 return resultobj;
16078fail:
16079 return NULL;
d55e5bfc
RD
16080}
16081
16082
554f62e9
RD
16083SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16084 PyObject *resultobj = 0;
16085 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16086 void *argp1 = 0 ;
16087 int res1 = 0 ;
16088 PyObject *swig_obj[1] ;
16089
16090 if (!args) SWIG_fail;
16091 swig_obj[0] = args;
16092 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
16093 if (!SWIG_IsOK(res1)) {
16094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16095 }
16096 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16097 {
16098 PyThreadState* __tstate = wxPyBeginAllowThreads();
16099 delete arg1;
d55e5bfc 16100
554f62e9
RD
16101 wxPyEndAllowThreads(__tstate);
16102 if (PyErr_Occurred()) SWIG_fail;
16103 }
16104 resultobj = SWIG_Py_Void();
16105 return resultobj;
16106fail:
16107 return NULL;
16108}
16109
16110
16111SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16112 PyObject *resultobj = 0;
16113 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16114 PyObject *arg2 = (PyObject *) 0 ;
16115 PyObject *arg3 = (PyObject *) 0 ;
16116 int arg4 ;
16117 void *argp1 = 0 ;
16118 int res1 = 0 ;
16119 int val4 ;
16120 int ecode4 = 0 ;
16121 PyObject * obj0 = 0 ;
16122 PyObject * obj1 = 0 ;
16123 PyObject * obj2 = 0 ;
16124 PyObject * obj3 = 0 ;
16125 char * kwnames[] = {
16126 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16127 };
16128
16129 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16130 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16131 if (!SWIG_IsOK(res1)) {
16132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16133 }
16134 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16135 arg2 = obj1;
16136 arg3 = obj2;
16137 ecode4 = SWIG_AsVal_int(obj3, &val4);
16138 if (!SWIG_IsOK(ecode4)) {
16139 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16140 }
16141 arg4 = static_cast< int >(val4);
16142 {
16143 PyThreadState* __tstate = wxPyBeginAllowThreads();
16144 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
16145 wxPyEndAllowThreads(__tstate);
16146 if (PyErr_Occurred()) SWIG_fail;
16147 }
16148 resultobj = SWIG_Py_Void();
16149 return resultobj;
16150fail:
16151 return NULL;
d55e5bfc
RD
16152}
16153
16154
554f62e9
RD
16155SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16156 PyObject *resultobj = 0;
16157 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16158 void *argp1 = 0 ;
16159 int res1 = 0 ;
16160 PyObject *swig_obj[1] ;
16161
16162 if (!args) SWIG_fail;
16163 swig_obj[0] = args;
16164 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16165 if (!SWIG_IsOK(res1)) {
16166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16167 }
16168 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16169 {
16170 PyThreadState* __tstate = wxPyBeginAllowThreads();
16171 wxPyTaskBarIcon_Destroy(arg1);
16172 wxPyEndAllowThreads(__tstate);
16173 if (PyErr_Occurred()) SWIG_fail;
16174 }
16175 resultobj = SWIG_Py_Void();
16176 return resultobj;
16177fail:
16178 return NULL;
d55e5bfc
RD
16179}
16180
16181
554f62e9
RD
16182SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16183 PyObject *resultobj = 0;
16184 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16185 bool result;
16186 void *argp1 = 0 ;
16187 int res1 = 0 ;
16188 PyObject *swig_obj[1] ;
16189
16190 if (!args) SWIG_fail;
16191 swig_obj[0] = args;
16192 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16193 if (!SWIG_IsOK(res1)) {
16194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16195 }
16196 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16197 {
16198 PyThreadState* __tstate = wxPyBeginAllowThreads();
16199 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
16200 wxPyEndAllowThreads(__tstate);
16201 if (PyErr_Occurred()) SWIG_fail;
16202 }
16203 {
16204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16205 }
16206 return resultobj;
16207fail:
16208 return NULL;
d55e5bfc
RD
16209}
16210
16211
554f62e9
RD
16212SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16213 PyObject *resultobj = 0;
16214 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16215 bool result;
16216 void *argp1 = 0 ;
16217 int res1 = 0 ;
16218 PyObject *swig_obj[1] ;
16219
16220 if (!args) SWIG_fail;
16221 swig_obj[0] = args;
16222 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16223 if (!SWIG_IsOK(res1)) {
16224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16225 }
16226 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16227 {
16228 PyThreadState* __tstate = wxPyBeginAllowThreads();
16229 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
16230 wxPyEndAllowThreads(__tstate);
16231 if (PyErr_Occurred()) SWIG_fail;
16232 }
16233 {
16234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16235 }
16236 return resultobj;
16237fail:
16238 return NULL;
16239}
16240
16241
16242SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16243 PyObject *resultobj = 0;
16244 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16245 wxIcon *arg2 = 0 ;
16246 wxString const &arg3_defvalue = wxPyEmptyString ;
16247 wxString *arg3 = (wxString *) &arg3_defvalue ;
16248 bool result;
16249 void *argp1 = 0 ;
16250 int res1 = 0 ;
16251 void *argp2 = 0 ;
16252 int res2 = 0 ;
16253 bool temp3 = false ;
16254 PyObject * obj0 = 0 ;
16255 PyObject * obj1 = 0 ;
16256 PyObject * obj2 = 0 ;
16257 char * kwnames[] = {
16258 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16259 };
16260
16261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16263 if (!SWIG_IsOK(res1)) {
16264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16265 }
16266 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16267 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
16268 if (!SWIG_IsOK(res2)) {
16269 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16270 }
16271 if (!argp2) {
16272 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16273 }
16274 arg2 = reinterpret_cast< wxIcon * >(argp2);
16275 if (obj2) {
093d3ff1 16276 {
554f62e9
RD
16277 arg3 = wxString_in_helper(obj2);
16278 if (arg3 == NULL) SWIG_fail;
16279 temp3 = true;
093d3ff1 16280 }
554f62e9
RD
16281 }
16282 {
16283 PyThreadState* __tstate = wxPyBeginAllowThreads();
16284 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16285 wxPyEndAllowThreads(__tstate);
16286 if (PyErr_Occurred()) SWIG_fail;
16287 }
16288 {
16289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16290 }
16291 {
16292 if (temp3)
16293 delete arg3;
16294 }
16295 return resultobj;
16296fail:
16297 {
16298 if (temp3)
16299 delete arg3;
16300 }
16301 return NULL;
d55e5bfc
RD
16302}
16303
16304
554f62e9
RD
16305SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16306 PyObject *resultobj = 0;
16307 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16308 bool result;
16309 void *argp1 = 0 ;
16310 int res1 = 0 ;
16311 PyObject *swig_obj[1] ;
16312
16313 if (!args) SWIG_fail;
16314 swig_obj[0] = args;
16315 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16316 if (!SWIG_IsOK(res1)) {
16317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16318 }
16319 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16320 {
16321 PyThreadState* __tstate = wxPyBeginAllowThreads();
16322 result = (bool)(arg1)->RemoveIcon();
16323 wxPyEndAllowThreads(__tstate);
16324 if (PyErr_Occurred()) SWIG_fail;
16325 }
16326 {
16327 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16328 }
16329 return resultobj;
16330fail:
16331 return NULL;
16332}
16333
16334
16335SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16336 PyObject *resultobj = 0;
16337 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16338 wxMenu *arg2 = (wxMenu *) 0 ;
16339 bool result;
16340 void *argp1 = 0 ;
16341 int res1 = 0 ;
16342 void *argp2 = 0 ;
16343 int res2 = 0 ;
16344 PyObject * obj0 = 0 ;
16345 PyObject * obj1 = 0 ;
16346 char * kwnames[] = {
16347 (char *) "self",(char *) "menu", NULL
16348 };
16349
16350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16352 if (!SWIG_IsOK(res1)) {
16353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16354 }
16355 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16356 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16357 if (!SWIG_IsOK(res2)) {
16358 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16359 }
16360 arg2 = reinterpret_cast< wxMenu * >(argp2);
16361 {
16362 PyThreadState* __tstate = wxPyBeginAllowThreads();
16363 result = (bool)(arg1)->PopupMenu(arg2);
16364 wxPyEndAllowThreads(__tstate);
16365 if (PyErr_Occurred()) SWIG_fail;
16366 }
16367 {
16368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16369 }
16370 return resultobj;
16371fail:
16372 return NULL;
d55e5bfc
RD
16373}
16374
16375
554f62e9
RD
16376SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16377 PyObject *obj;
16378 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16379 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16380 return SWIG_Py_Void();
d55e5bfc
RD
16381}
16382
554f62e9
RD
16383SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16384 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
16385}
16386
554f62e9
RD
16387SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16388 PyObject *resultobj = 0;
16389 wxEventType arg1 ;
16390 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16391 wxTaskBarIconEvent *result = 0 ;
16392 int val1 ;
16393 int ecode1 = 0 ;
16394 void *argp2 = 0 ;
16395 int res2 = 0 ;
16396 PyObject * obj0 = 0 ;
16397 PyObject * obj1 = 0 ;
16398 char * kwnames[] = {
16399 (char *) "evtType",(char *) "tbIcon", NULL
16400 };
16401
16402 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16403 ecode1 = SWIG_AsVal_int(obj0, &val1);
16404 if (!SWIG_IsOK(ecode1)) {
16405 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16406 }
16407 arg1 = static_cast< wxEventType >(val1);
16408 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16409 if (!SWIG_IsOK(res2)) {
16410 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16411 }
16412 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16413 {
16414 PyThreadState* __tstate = wxPyBeginAllowThreads();
16415 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16416 wxPyEndAllowThreads(__tstate);
16417 if (PyErr_Occurred()) SWIG_fail;
16418 }
16419 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16420 return resultobj;
16421fail:
16422 return NULL;
d55e5bfc
RD
16423}
16424
16425
554f62e9
RD
16426SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16427 PyObject *obj;
16428 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16429 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16430 return SWIG_Py_Void();
d55e5bfc
RD
16431}
16432
554f62e9
RD
16433SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16434 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
16435}
16436
554f62e9
RD
16437SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16438 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16439 return 1;
d55e5bfc
RD
16440}
16441
16442
554f62e9
RD
16443SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16444 PyObject *pyobj = 0;
16445
16446 {
16447#if wxUSE_UNICODE
16448 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16449#else
16450 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16451#endif
16452 }
16453 return pyobj;
d55e5bfc
RD
16454}
16455
16456
554f62e9
RD
16457SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16458 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16459 return 1;
d55e5bfc
RD
16460}
16461
16462
554f62e9
RD
16463SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16464 PyObject *pyobj = 0;
16465
16466 {
16467#if wxUSE_UNICODE
16468 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16469#else
16470 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16471#endif
16472 }
16473 return pyobj;
d55e5bfc
RD
16474}
16475
16476
554f62e9
RD
16477SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16478 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16479 return 1;
d55e5bfc
RD
16480}
16481
16482
554f62e9
RD
16483SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16484 PyObject *pyobj = 0;
16485
16486 {
16487#if wxUSE_UNICODE
16488 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16489#else
16490 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16491#endif
16492 }
16493 return pyobj;
d55e5bfc
RD
16494}
16495
16496
554f62e9
RD
16497SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16498 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16499 return 1;
d55e5bfc
RD
16500}
16501
16502
554f62e9
RD
16503SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16504 PyObject *pyobj = 0;
16505
16506 {
16507#if wxUSE_UNICODE
16508 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16509#else
16510 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16511#endif
16512 }
16513 return pyobj;
d55e5bfc
RD
16514}
16515
16516
554f62e9
RD
16517SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16518 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16519 return 1;
d55e5bfc
RD
16520}
16521
16522
554f62e9
RD
16523SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16524 PyObject *pyobj = 0;
16525
16526 {
16527#if wxUSE_UNICODE
16528 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16529#else
16530 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16531#endif
16532 }
16533 return pyobj;
d55e5bfc
RD
16534}
16535
16536
554f62e9
RD
16537SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16538 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16539 return 1;
d55e5bfc
RD
16540}
16541
16542
554f62e9
RD
16543SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16544 PyObject *pyobj = 0;
16545
16546 {
16547#if wxUSE_UNICODE
16548 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16549#else
16550 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16551#endif
16552 }
16553 return pyobj;
d55e5bfc
RD
16554}
16555
16556
554f62e9
RD
16557SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16558 PyObject *resultobj = 0;
16559 wxColourData *result = 0 ;
16560
16561 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16562 {
16563 PyThreadState* __tstate = wxPyBeginAllowThreads();
16564 result = (wxColourData *)new wxColourData();
16565 wxPyEndAllowThreads(__tstate);
16566 if (PyErr_Occurred()) SWIG_fail;
16567 }
16568 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16569 return resultobj;
16570fail:
16571 return NULL;
d55e5bfc
RD
16572}
16573
16574
554f62e9
RD
16575SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16576 PyObject *resultobj = 0;
16577 wxColourData *arg1 = (wxColourData *) 0 ;
16578 void *argp1 = 0 ;
16579 int res1 = 0 ;
16580 PyObject *swig_obj[1] ;
16581
16582 if (!args) SWIG_fail;
16583 swig_obj[0] = args;
16584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16585 if (!SWIG_IsOK(res1)) {
16586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16587 }
16588 arg1 = reinterpret_cast< wxColourData * >(argp1);
16589 {
16590 PyThreadState* __tstate = wxPyBeginAllowThreads();
16591 delete arg1;
d55e5bfc 16592
554f62e9
RD
16593 wxPyEndAllowThreads(__tstate);
16594 if (PyErr_Occurred()) SWIG_fail;
16595 }
16596 resultobj = SWIG_Py_Void();
16597 return resultobj;
16598fail:
16599 return NULL;
d55e5bfc
RD
16600}
16601
16602
554f62e9
RD
16603SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16604 PyObject *resultobj = 0;
16605 wxColourData *arg1 = (wxColourData *) 0 ;
16606 bool result;
16607 void *argp1 = 0 ;
16608 int res1 = 0 ;
16609 PyObject *swig_obj[1] ;
16610
16611 if (!args) SWIG_fail;
16612 swig_obj[0] = args;
16613 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16614 if (!SWIG_IsOK(res1)) {
16615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16616 }
16617 arg1 = reinterpret_cast< wxColourData * >(argp1);
16618 {
16619 PyThreadState* __tstate = wxPyBeginAllowThreads();
16620 result = (bool)(arg1)->GetChooseFull();
16621 wxPyEndAllowThreads(__tstate);
16622 if (PyErr_Occurred()) SWIG_fail;
16623 }
16624 {
16625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16626 }
16627 return resultobj;
16628fail:
16629 return NULL;
d55e5bfc
RD
16630}
16631
16632
554f62e9
RD
16633SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16634 PyObject *resultobj = 0;
16635 wxColourData *arg1 = (wxColourData *) 0 ;
16636 wxColour result;
16637 void *argp1 = 0 ;
16638 int res1 = 0 ;
16639 PyObject *swig_obj[1] ;
16640
16641 if (!args) SWIG_fail;
16642 swig_obj[0] = args;
16643 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16644 if (!SWIG_IsOK(res1)) {
16645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16646 }
16647 arg1 = reinterpret_cast< wxColourData * >(argp1);
16648 {
16649 PyThreadState* __tstate = wxPyBeginAllowThreads();
16650 result = (arg1)->GetColour();
16651 wxPyEndAllowThreads(__tstate);
16652 if (PyErr_Occurred()) SWIG_fail;
16653 }
16654 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16655 return resultobj;
16656fail:
16657 return NULL;
16658}
16659
16660
16661SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16662 PyObject *resultobj = 0;
16663 wxColourData *arg1 = (wxColourData *) 0 ;
16664 int arg2 ;
16665 wxColour result;
16666 void *argp1 = 0 ;
16667 int res1 = 0 ;
16668 int val2 ;
16669 int ecode2 = 0 ;
16670 PyObject * obj0 = 0 ;
16671 PyObject * obj1 = 0 ;
16672 char * kwnames[] = {
16673 (char *) "self",(char *) "i", NULL
16674 };
16675
16676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16678 if (!SWIG_IsOK(res1)) {
16679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16680 }
16681 arg1 = reinterpret_cast< wxColourData * >(argp1);
16682 ecode2 = SWIG_AsVal_int(obj1, &val2);
16683 if (!SWIG_IsOK(ecode2)) {
16684 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16685 }
16686 arg2 = static_cast< int >(val2);
16687 {
16688 PyThreadState* __tstate = wxPyBeginAllowThreads();
16689 result = (arg1)->GetCustomColour(arg2);
16690 wxPyEndAllowThreads(__tstate);
16691 if (PyErr_Occurred()) SWIG_fail;
16692 }
16693 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16694 return resultobj;
16695fail:
16696 return NULL;
16697}
16698
16699
16700SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16701 PyObject *resultobj = 0;
16702 wxColourData *arg1 = (wxColourData *) 0 ;
16703 int arg2 ;
16704 void *argp1 = 0 ;
16705 int res1 = 0 ;
16706 int val2 ;
16707 int ecode2 = 0 ;
16708 PyObject * obj0 = 0 ;
16709 PyObject * obj1 = 0 ;
16710 char * kwnames[] = {
16711 (char *) "self",(char *) "flag", NULL
16712 };
16713
16714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16716 if (!SWIG_IsOK(res1)) {
16717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16718 }
16719 arg1 = reinterpret_cast< wxColourData * >(argp1);
16720 ecode2 = SWIG_AsVal_int(obj1, &val2);
16721 if (!SWIG_IsOK(ecode2)) {
16722 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16723 }
16724 arg2 = static_cast< int >(val2);
16725 {
16726 PyThreadState* __tstate = wxPyBeginAllowThreads();
16727 (arg1)->SetChooseFull(arg2);
16728 wxPyEndAllowThreads(__tstate);
16729 if (PyErr_Occurred()) SWIG_fail;
16730 }
16731 resultobj = SWIG_Py_Void();
16732 return resultobj;
16733fail:
16734 return NULL;
16735}
16736
16737
16738SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16739 PyObject *resultobj = 0;
16740 wxColourData *arg1 = (wxColourData *) 0 ;
16741 wxColour *arg2 = 0 ;
16742 void *argp1 = 0 ;
16743 int res1 = 0 ;
16744 wxColour temp2 ;
16745 PyObject * obj0 = 0 ;
16746 PyObject * obj1 = 0 ;
16747 char * kwnames[] = {
16748 (char *) "self",(char *) "colour", NULL
16749 };
16750
16751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16753 if (!SWIG_IsOK(res1)) {
16754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16755 }
16756 arg1 = reinterpret_cast< wxColourData * >(argp1);
16757 {
16758 arg2 = &temp2;
16759 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16760 }
16761 {
16762 PyThreadState* __tstate = wxPyBeginAllowThreads();
16763 (arg1)->SetColour((wxColour const &)*arg2);
16764 wxPyEndAllowThreads(__tstate);
16765 if (PyErr_Occurred()) SWIG_fail;
16766 }
16767 resultobj = SWIG_Py_Void();
16768 return resultobj;
16769fail:
16770 return NULL;
16771}
16772
16773
16774SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16775 PyObject *resultobj = 0;
16776 wxColourData *arg1 = (wxColourData *) 0 ;
16777 int arg2 ;
16778 wxColour *arg3 = 0 ;
16779 void *argp1 = 0 ;
16780 int res1 = 0 ;
16781 int val2 ;
16782 int ecode2 = 0 ;
16783 wxColour temp3 ;
16784 PyObject * obj0 = 0 ;
16785 PyObject * obj1 = 0 ;
16786 PyObject * obj2 = 0 ;
16787 char * kwnames[] = {
16788 (char *) "self",(char *) "i",(char *) "colour", NULL
16789 };
16790
16791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16793 if (!SWIG_IsOK(res1)) {
16794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16795 }
16796 arg1 = reinterpret_cast< wxColourData * >(argp1);
16797 ecode2 = SWIG_AsVal_int(obj1, &val2);
16798 if (!SWIG_IsOK(ecode2)) {
16799 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16800 }
16801 arg2 = static_cast< int >(val2);
16802 {
16803 arg3 = &temp3;
16804 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16805 }
16806 {
16807 PyThreadState* __tstate = wxPyBeginAllowThreads();
16808 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16809 wxPyEndAllowThreads(__tstate);
16810 if (PyErr_Occurred()) SWIG_fail;
16811 }
16812 resultobj = SWIG_Py_Void();
16813 return resultobj;
16814fail:
16815 return NULL;
d55e5bfc
RD
16816}
16817
16818
554f62e9
RD
16819SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16820 PyObject *obj;
16821 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16822 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16823 return SWIG_Py_Void();
d55e5bfc
RD
16824}
16825
554f62e9
RD
16826SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16827 return SWIG_Python_InitShadowInstance(args);
16828}
d55e5bfc 16829
554f62e9
RD
16830SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16831 PyObject *resultobj = 0;
16832 wxWindow *arg1 = (wxWindow *) 0 ;
16833 wxColourData *arg2 = (wxColourData *) NULL ;
16834 wxColourDialog *result = 0 ;
16835 void *argp1 = 0 ;
16836 int res1 = 0 ;
16837 void *argp2 = 0 ;
16838 int res2 = 0 ;
16839 PyObject * obj0 = 0 ;
16840 PyObject * obj1 = 0 ;
16841 char * kwnames[] = {
16842 (char *) "parent",(char *) "data", NULL
16843 };
16844
16845 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16846 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16847 if (!SWIG_IsOK(res1)) {
16848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16849 }
16850 arg1 = reinterpret_cast< wxWindow * >(argp1);
16851 if (obj1) {
16852 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16853 if (!SWIG_IsOK(res2)) {
16854 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
d55e5bfc 16855 }
554f62e9
RD
16856 arg2 = reinterpret_cast< wxColourData * >(argp2);
16857 }
16858 {
16859 if (!wxPyCheckForApp()) SWIG_fail;
16860 PyThreadState* __tstate = wxPyBeginAllowThreads();
16861 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16862 wxPyEndAllowThreads(__tstate);
16863 if (PyErr_Occurred()) SWIG_fail;
16864 }
16865 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16866 return resultobj;
16867fail:
16868 return NULL;
16869}
16870
16871
16872SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16873 PyObject *resultobj = 0;
16874 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16875 wxColourData *result = 0 ;
16876 void *argp1 = 0 ;
16877 int res1 = 0 ;
16878 PyObject *swig_obj[1] ;
16879
16880 if (!args) SWIG_fail;
16881 swig_obj[0] = args;
16882 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16883 if (!SWIG_IsOK(res1)) {
16884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16885 }
16886 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16887 {
16888 PyThreadState* __tstate = wxPyBeginAllowThreads();
16889 {
16890 wxColourData &_result_ref = (arg1)->GetColourData();
16891 result = (wxColourData *) &_result_ref;
d55e5bfc 16892 }
554f62e9
RD
16893 wxPyEndAllowThreads(__tstate);
16894 if (PyErr_Occurred()) SWIG_fail;
16895 }
16896 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16897 return resultobj;
16898fail:
16899 return NULL;
16900}
16901
16902
16903SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16904 PyObject *obj;
16905 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16906 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16907 return SWIG_Py_Void();
16908}
16909
16910SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16911 return SWIG_Python_InitShadowInstance(args);
16912}
16913
16914SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16915 PyObject *resultobj = 0;
16916 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16917 wxColour const &arg2_defvalue = wxNullColour ;
16918 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16919 wxString const &arg3_defvalue = wxPyEmptyString ;
16920 wxString *arg3 = (wxString *) &arg3_defvalue ;
16921 wxColour result;
16922 void *argp1 = 0 ;
16923 int res1 = 0 ;
16924 wxColour temp2 ;
16925 bool temp3 = false ;
16926 PyObject * obj0 = 0 ;
16927 PyObject * obj1 = 0 ;
16928 PyObject * obj2 = 0 ;
16929 char * kwnames[] = {
16930 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16931 };
16932
16933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16934 if (obj0) {
16935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16936 if (!SWIG_IsOK(res1)) {
16937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
d55e5bfc 16938 }
554f62e9
RD
16939 arg1 = reinterpret_cast< wxWindow * >(argp1);
16940 }
16941 if (obj1) {
d55e5bfc 16942 {
554f62e9
RD
16943 arg2 = &temp2;
16944 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc 16945 }
554f62e9
RD
16946 }
16947 if (obj2) {
d55e5bfc 16948 {
554f62e9
RD
16949 arg3 = wxString_in_helper(obj2);
16950 if (arg3 == NULL) SWIG_fail;
16951 temp3 = true;
d55e5bfc 16952 }
554f62e9
RD
16953 }
16954 {
16955 PyThreadState* __tstate = wxPyBeginAllowThreads();
16956 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16957 wxPyEndAllowThreads(__tstate);
16958 if (PyErr_Occurred()) SWIG_fail;
16959 }
16960 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16961 {
16962 if (temp3)
16963 delete arg3;
16964 }
16965 return resultobj;
16966fail:
16967 {
16968 if (temp3)
16969 delete arg3;
16970 }
16971 return NULL;
16972}
16973
16974
16975SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16976 PyObject *resultobj = 0;
16977 wxWindow *arg1 = (wxWindow *) 0 ;
16978 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16979 wxString *arg2 = (wxString *) &arg2_defvalue ;
16980 wxString const &arg3_defvalue = wxPyEmptyString ;
16981 wxString *arg3 = (wxString *) &arg3_defvalue ;
704eda0c 16982 long arg4 = (long) wxDD_DEFAULT_STYLE ;
554f62e9
RD
16983 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16984 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16985 wxSize const &arg6_defvalue = wxDefaultSize ;
16986 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16987 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16988 wxString *arg7 = (wxString *) &arg7_defvalue ;
16989 wxDirDialog *result = 0 ;
16990 void *argp1 = 0 ;
16991 int res1 = 0 ;
16992 bool temp2 = false ;
16993 bool temp3 = false ;
16994 long val4 ;
16995 int ecode4 = 0 ;
16996 wxPoint temp5 ;
16997 wxSize temp6 ;
16998 bool temp7 = false ;
16999 PyObject * obj0 = 0 ;
17000 PyObject * obj1 = 0 ;
17001 PyObject * obj2 = 0 ;
17002 PyObject * obj3 = 0 ;
17003 PyObject * obj4 = 0 ;
17004 PyObject * obj5 = 0 ;
17005 PyObject * obj6 = 0 ;
17006 char * kwnames[] = {
17007 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
17008 };
17009
17010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17011 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17012 if (!SWIG_IsOK(res1)) {
17013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17014 }
17015 arg1 = reinterpret_cast< wxWindow * >(argp1);
17016 if (obj1) {
d55e5bfc 17017 {
554f62e9
RD
17018 arg2 = wxString_in_helper(obj1);
17019 if (arg2 == NULL) SWIG_fail;
17020 temp2 = true;
d55e5bfc 17021 }
554f62e9
RD
17022 }
17023 if (obj2) {
d55e5bfc 17024 {
554f62e9
RD
17025 arg3 = wxString_in_helper(obj2);
17026 if (arg3 == NULL) SWIG_fail;
17027 temp3 = true;
d55e5bfc 17028 }
554f62e9
RD
17029 }
17030 if (obj3) {
17031 ecode4 = SWIG_AsVal_long(obj3, &val4);
17032 if (!SWIG_IsOK(ecode4)) {
17033 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
17034 }
17035 arg4 = static_cast< long >(val4);
17036 }
17037 if (obj4) {
093d3ff1 17038 {
554f62e9
RD
17039 arg5 = &temp5;
17040 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 17041 }
554f62e9
RD
17042 }
17043 if (obj5) {
d55e5bfc 17044 {
554f62e9
RD
17045 arg6 = &temp6;
17046 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 17047 }
554f62e9
RD
17048 }
17049 if (obj6) {
d55e5bfc 17050 {
554f62e9
RD
17051 arg7 = wxString_in_helper(obj6);
17052 if (arg7 == NULL) SWIG_fail;
17053 temp7 = true;
093d3ff1 17054 }
554f62e9
RD
17055 }
17056 {
17057 if (!wxPyCheckForApp()) SWIG_fail;
17058 PyThreadState* __tstate = wxPyBeginAllowThreads();
17059 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
17060 wxPyEndAllowThreads(__tstate);
17061 if (PyErr_Occurred()) SWIG_fail;
17062 }
17063 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
17064 {
17065 if (temp2)
17066 delete arg2;
17067 }
17068 {
17069 if (temp3)
17070 delete arg3;
17071 }
17072 {
17073 if (temp7)
17074 delete arg7;
17075 }
17076 return resultobj;
17077fail:
17078 {
17079 if (temp2)
17080 delete arg2;
17081 }
17082 {
17083 if (temp3)
17084 delete arg3;
17085 }
17086 {
17087 if (temp7)
17088 delete arg7;
17089 }
17090 return NULL;
d55e5bfc
RD
17091}
17092
17093
554f62e9
RD
17094SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17095 PyObject *resultobj = 0;
17096 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17097 wxString result;
17098 void *argp1 = 0 ;
17099 int res1 = 0 ;
17100 PyObject *swig_obj[1] ;
17101
17102 if (!args) SWIG_fail;
17103 swig_obj[0] = args;
17104 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17105 if (!SWIG_IsOK(res1)) {
17106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17107 }
17108 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17109 {
17110 PyThreadState* __tstate = wxPyBeginAllowThreads();
17111 result = (arg1)->GetPath();
17112 wxPyEndAllowThreads(__tstate);
17113 if (PyErr_Occurred()) SWIG_fail;
17114 }
17115 {
17116#if wxUSE_UNICODE
17117 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17118#else
17119 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17120#endif
17121 }
17122 return resultobj;
17123fail:
17124 return NULL;
d55e5bfc
RD
17125}
17126
17127
554f62e9
RD
17128SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17129 PyObject *resultobj = 0;
17130 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17131 wxString result;
17132 void *argp1 = 0 ;
17133 int res1 = 0 ;
17134 PyObject *swig_obj[1] ;
17135
17136 if (!args) SWIG_fail;
17137 swig_obj[0] = args;
17138 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17139 if (!SWIG_IsOK(res1)) {
17140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17141 }
17142 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17143 {
17144 PyThreadState* __tstate = wxPyBeginAllowThreads();
17145 result = (arg1)->GetMessage();
17146 wxPyEndAllowThreads(__tstate);
17147 if (PyErr_Occurred()) SWIG_fail;
17148 }
17149 {
17150#if wxUSE_UNICODE
17151 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17152#else
17153 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17154#endif
17155 }
17156 return resultobj;
17157fail:
17158 return NULL;
d55e5bfc
RD
17159}
17160
17161
554f62e9
RD
17162SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17163 PyObject *resultobj = 0;
17164 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17165 wxString *arg2 = 0 ;
17166 void *argp1 = 0 ;
17167 int res1 = 0 ;
17168 bool temp2 = false ;
17169 PyObject * obj0 = 0 ;
17170 PyObject * obj1 = 0 ;
17171 char * kwnames[] = {
17172 (char *) "self",(char *) "message", NULL
17173 };
17174
17175 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17176 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17177 if (!SWIG_IsOK(res1)) {
17178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17179 }
17180 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17181 {
17182 arg2 = wxString_in_helper(obj1);
17183 if (arg2 == NULL) SWIG_fail;
17184 temp2 = true;
17185 }
17186 {
17187 PyThreadState* __tstate = wxPyBeginAllowThreads();
17188 (arg1)->SetMessage((wxString const &)*arg2);
17189 wxPyEndAllowThreads(__tstate);
17190 if (PyErr_Occurred()) SWIG_fail;
17191 }
17192 resultobj = SWIG_Py_Void();
17193 {
17194 if (temp2)
17195 delete arg2;
17196 }
17197 return resultobj;
17198fail:
17199 {
17200 if (temp2)
17201 delete arg2;
17202 }
17203 return NULL;
d55e5bfc
RD
17204}
17205
17206
554f62e9
RD
17207SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17208 PyObject *resultobj = 0;
17209 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17210 wxString *arg2 = 0 ;
17211 void *argp1 = 0 ;
17212 int res1 = 0 ;
17213 bool temp2 = false ;
17214 PyObject * obj0 = 0 ;
17215 PyObject * obj1 = 0 ;
17216 char * kwnames[] = {
17217 (char *) "self",(char *) "path", NULL
17218 };
17219
17220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17222 if (!SWIG_IsOK(res1)) {
17223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17224 }
17225 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17226 {
17227 arg2 = wxString_in_helper(obj1);
17228 if (arg2 == NULL) SWIG_fail;
17229 temp2 = true;
17230 }
17231 {
17232 PyThreadState* __tstate = wxPyBeginAllowThreads();
17233 (arg1)->SetPath((wxString const &)*arg2);
17234 wxPyEndAllowThreads(__tstate);
17235 if (PyErr_Occurred()) SWIG_fail;
17236 }
17237 resultobj = SWIG_Py_Void();
17238 {
17239 if (temp2)
17240 delete arg2;
17241 }
17242 return resultobj;
17243fail:
17244 {
17245 if (temp2)
17246 delete arg2;
17247 }
17248 return NULL;
17249}
17250
17251
17252SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17253 PyObject *obj;
17254 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17255 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
17256 return SWIG_Py_Void();
17257}
17258
17259SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17260 return SWIG_Python_InitShadowInstance(args);
17261}
17262
17263SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17264 PyObject *resultobj = 0;
17265 wxWindow *arg1 = (wxWindow *) 0 ;
17266 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
17267 wxString *arg2 = (wxString *) &arg2_defvalue ;
17268 wxString const &arg3_defvalue = wxPyEmptyString ;
17269 wxString *arg3 = (wxString *) &arg3_defvalue ;
17270 wxString const &arg4_defvalue = wxPyEmptyString ;
17271 wxString *arg4 = (wxString *) &arg4_defvalue ;
17272 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
17273 wxString *arg5 = (wxString *) &arg5_defvalue ;
704eda0c 17274 long arg6 = (long) wxFD_DEFAULT_STYLE ;
554f62e9
RD
17275 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17276 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17277 wxFileDialog *result = 0 ;
17278 void *argp1 = 0 ;
17279 int res1 = 0 ;
17280 bool temp2 = false ;
17281 bool temp3 = false ;
17282 bool temp4 = false ;
17283 bool temp5 = false ;
17284 long val6 ;
17285 int ecode6 = 0 ;
17286 wxPoint temp7 ;
17287 PyObject * obj0 = 0 ;
17288 PyObject * obj1 = 0 ;
17289 PyObject * obj2 = 0 ;
17290 PyObject * obj3 = 0 ;
17291 PyObject * obj4 = 0 ;
17292 PyObject * obj5 = 0 ;
17293 PyObject * obj6 = 0 ;
17294 char * kwnames[] = {
17295 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17296 };
17297
17298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17299 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17300 if (!SWIG_IsOK(res1)) {
17301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17302 }
17303 arg1 = reinterpret_cast< wxWindow * >(argp1);
17304 if (obj1) {
d55e5bfc 17305 {
554f62e9
RD
17306 arg2 = wxString_in_helper(obj1);
17307 if (arg2 == NULL) SWIG_fail;
17308 temp2 = true;
d55e5bfc 17309 }
554f62e9
RD
17310 }
17311 if (obj2) {
d55e5bfc 17312 {
554f62e9
RD
17313 arg3 = wxString_in_helper(obj2);
17314 if (arg3 == NULL) SWIG_fail;
17315 temp3 = true;
d55e5bfc 17316 }
554f62e9
RD
17317 }
17318 if (obj3) {
17319 {
17320 arg4 = wxString_in_helper(obj3);
17321 if (arg4 == NULL) SWIG_fail;
17322 temp4 = true;
d55e5bfc 17323 }
554f62e9
RD
17324 }
17325 if (obj4) {
d55e5bfc 17326 {
554f62e9
RD
17327 arg5 = wxString_in_helper(obj4);
17328 if (arg5 == NULL) SWIG_fail;
17329 temp5 = true;
d55e5bfc 17330 }
554f62e9
RD
17331 }
17332 if (obj5) {
17333 ecode6 = SWIG_AsVal_long(obj5, &val6);
17334 if (!SWIG_IsOK(ecode6)) {
17335 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17336 }
17337 arg6 = static_cast< long >(val6);
17338 }
17339 if (obj6) {
d55e5bfc 17340 {
554f62e9
RD
17341 arg7 = &temp7;
17342 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
d55e5bfc 17343 }
554f62e9
RD
17344 }
17345 {
17346 if (!wxPyCheckForApp()) SWIG_fail;
17347 PyThreadState* __tstate = wxPyBeginAllowThreads();
17348 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17349 wxPyEndAllowThreads(__tstate);
17350 if (PyErr_Occurred()) SWIG_fail;
17351 }
17352 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17353 {
17354 if (temp2)
17355 delete arg2;
17356 }
17357 {
17358 if (temp3)
17359 delete arg3;
17360 }
17361 {
17362 if (temp4)
17363 delete arg4;
17364 }
17365 {
17366 if (temp5)
17367 delete arg5;
17368 }
17369 return resultobj;
17370fail:
17371 {
17372 if (temp2)
17373 delete arg2;
17374 }
17375 {
17376 if (temp3)
17377 delete arg3;
17378 }
17379 {
17380 if (temp4)
17381 delete arg4;
17382 }
17383 {
17384 if (temp5)
17385 delete arg5;
17386 }
17387 return NULL;
d55e5bfc
RD
17388}
17389
17390
554f62e9
RD
17391SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17392 PyObject *resultobj = 0;
17393 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17394 wxString *arg2 = 0 ;
17395 void *argp1 = 0 ;
17396 int res1 = 0 ;
17397 bool temp2 = false ;
17398 PyObject * obj0 = 0 ;
17399 PyObject * obj1 = 0 ;
17400 char * kwnames[] = {
17401 (char *) "self",(char *) "message", NULL
17402 };
17403
17404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17406 if (!SWIG_IsOK(res1)) {
17407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17408 }
17409 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17410 {
17411 arg2 = wxString_in_helper(obj1);
17412 if (arg2 == NULL) SWIG_fail;
17413 temp2 = true;
17414 }
17415 {
17416 PyThreadState* __tstate = wxPyBeginAllowThreads();
17417 (arg1)->SetMessage((wxString const &)*arg2);
17418 wxPyEndAllowThreads(__tstate);
17419 if (PyErr_Occurred()) SWIG_fail;
17420 }
17421 resultobj = SWIG_Py_Void();
17422 {
17423 if (temp2)
17424 delete arg2;
17425 }
17426 return resultobj;
17427fail:
17428 {
17429 if (temp2)
17430 delete arg2;
17431 }
17432 return NULL;
d55e5bfc
RD
17433}
17434
17435
554f62e9
RD
17436SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17437 PyObject *resultobj = 0;
17438 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17439 wxString *arg2 = 0 ;
17440 void *argp1 = 0 ;
17441 int res1 = 0 ;
17442 bool temp2 = false ;
17443 PyObject * obj0 = 0 ;
17444 PyObject * obj1 = 0 ;
17445 char * kwnames[] = {
17446 (char *) "self",(char *) "path", NULL
17447 };
17448
17449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17451 if (!SWIG_IsOK(res1)) {
17452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17453 }
17454 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17455 {
17456 arg2 = wxString_in_helper(obj1);
17457 if (arg2 == NULL) SWIG_fail;
17458 temp2 = true;
17459 }
17460 {
17461 PyThreadState* __tstate = wxPyBeginAllowThreads();
17462 (arg1)->SetPath((wxString const &)*arg2);
17463 wxPyEndAllowThreads(__tstate);
17464 if (PyErr_Occurred()) SWIG_fail;
17465 }
17466 resultobj = SWIG_Py_Void();
17467 {
17468 if (temp2)
17469 delete arg2;
17470 }
17471 return resultobj;
17472fail:
17473 {
17474 if (temp2)
17475 delete arg2;
17476 }
17477 return NULL;
d55e5bfc
RD
17478}
17479
17480
554f62e9
RD
17481SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17482 PyObject *resultobj = 0;
17483 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17484 wxString *arg2 = 0 ;
17485 void *argp1 = 0 ;
17486 int res1 = 0 ;
17487 bool temp2 = false ;
17488 PyObject * obj0 = 0 ;
17489 PyObject * obj1 = 0 ;
17490 char * kwnames[] = {
17491 (char *) "self",(char *) "dir", NULL
17492 };
17493
17494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17496 if (!SWIG_IsOK(res1)) {
17497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17498 }
17499 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17500 {
17501 arg2 = wxString_in_helper(obj1);
17502 if (arg2 == NULL) SWIG_fail;
17503 temp2 = true;
17504 }
17505 {
17506 PyThreadState* __tstate = wxPyBeginAllowThreads();
17507 (arg1)->SetDirectory((wxString const &)*arg2);
17508 wxPyEndAllowThreads(__tstate);
17509 if (PyErr_Occurred()) SWIG_fail;
17510 }
17511 resultobj = SWIG_Py_Void();
17512 {
17513 if (temp2)
17514 delete arg2;
17515 }
17516 return resultobj;
17517fail:
17518 {
17519 if (temp2)
17520 delete arg2;
17521 }
17522 return NULL;
d55e5bfc
RD
17523}
17524
17525
554f62e9
RD
17526SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17527 PyObject *resultobj = 0;
17528 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17529 wxString *arg2 = 0 ;
17530 void *argp1 = 0 ;
17531 int res1 = 0 ;
17532 bool temp2 = false ;
17533 PyObject * obj0 = 0 ;
17534 PyObject * obj1 = 0 ;
17535 char * kwnames[] = {
17536 (char *) "self",(char *) "name", NULL
17537 };
17538
17539 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17540 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17541 if (!SWIG_IsOK(res1)) {
17542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17543 }
17544 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17545 {
17546 arg2 = wxString_in_helper(obj1);
17547 if (arg2 == NULL) SWIG_fail;
17548 temp2 = true;
17549 }
17550 {
17551 PyThreadState* __tstate = wxPyBeginAllowThreads();
17552 (arg1)->SetFilename((wxString const &)*arg2);
17553 wxPyEndAllowThreads(__tstate);
17554 if (PyErr_Occurred()) SWIG_fail;
17555 }
17556 resultobj = SWIG_Py_Void();
17557 {
17558 if (temp2)
17559 delete arg2;
17560 }
17561 return resultobj;
17562fail:
17563 {
17564 if (temp2)
17565 delete arg2;
17566 }
17567 return NULL;
d55e5bfc
RD
17568}
17569
17570
554f62e9
RD
17571SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17572 PyObject *resultobj = 0;
17573 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17574 wxString *arg2 = 0 ;
17575 void *argp1 = 0 ;
17576 int res1 = 0 ;
17577 bool temp2 = false ;
17578 PyObject * obj0 = 0 ;
17579 PyObject * obj1 = 0 ;
17580 char * kwnames[] = {
17581 (char *) "self",(char *) "wildCard", NULL
17582 };
17583
17584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17586 if (!SWIG_IsOK(res1)) {
17587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17588 }
17589 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17590 {
17591 arg2 = wxString_in_helper(obj1);
17592 if (arg2 == NULL) SWIG_fail;
17593 temp2 = true;
17594 }
17595 {
17596 PyThreadState* __tstate = wxPyBeginAllowThreads();
17597 (arg1)->SetWildcard((wxString const &)*arg2);
17598 wxPyEndAllowThreads(__tstate);
17599 if (PyErr_Occurred()) SWIG_fail;
17600 }
17601 resultobj = SWIG_Py_Void();
17602 {
17603 if (temp2)
17604 delete arg2;
17605 }
17606 return resultobj;
17607fail:
17608 {
17609 if (temp2)
17610 delete arg2;
17611 }
17612 return NULL;
17613}
17614
17615
554f62e9
RD
17616SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17617 PyObject *resultobj = 0;
17618 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17619 int arg2 ;
17620 void *argp1 = 0 ;
17621 int res1 = 0 ;
17622 int val2 ;
17623 int ecode2 = 0 ;
17624 PyObject * obj0 = 0 ;
17625 PyObject * obj1 = 0 ;
17626 char * kwnames[] = {
17627 (char *) "self",(char *) "filterIndex", NULL
17628 };
17629
17630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17632 if (!SWIG_IsOK(res1)) {
17633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17634 }
17635 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17636 ecode2 = SWIG_AsVal_int(obj1, &val2);
17637 if (!SWIG_IsOK(ecode2)) {
17638 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17639 }
17640 arg2 = static_cast< int >(val2);
17641 {
17642 PyThreadState* __tstate = wxPyBeginAllowThreads();
17643 (arg1)->SetFilterIndex(arg2);
17644 wxPyEndAllowThreads(__tstate);
17645 if (PyErr_Occurred()) SWIG_fail;
17646 }
17647 resultobj = SWIG_Py_Void();
17648 return resultobj;
17649fail:
17650 return NULL;
d55e5bfc
RD
17651}
17652
17653
554f62e9
RD
17654SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17655 PyObject *resultobj = 0;
17656 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17657 wxString result;
17658 void *argp1 = 0 ;
17659 int res1 = 0 ;
17660 PyObject *swig_obj[1] ;
17661
17662 if (!args) SWIG_fail;
17663 swig_obj[0] = args;
17664 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17665 if (!SWIG_IsOK(res1)) {
17666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17667 }
17668 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17669 {
17670 PyThreadState* __tstate = wxPyBeginAllowThreads();
17671 result = ((wxFileDialog const *)arg1)->GetMessage();
17672 wxPyEndAllowThreads(__tstate);
17673 if (PyErr_Occurred()) SWIG_fail;
17674 }
17675 {
17676#if wxUSE_UNICODE
17677 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17678#else
17679 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17680#endif
17681 }
17682 return resultobj;
17683fail:
17684 return NULL;
d55e5bfc
RD
17685}
17686
17687
554f62e9
RD
17688SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17689 PyObject *resultobj = 0;
17690 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17691 wxString result;
17692 void *argp1 = 0 ;
17693 int res1 = 0 ;
17694 PyObject *swig_obj[1] ;
17695
17696 if (!args) SWIG_fail;
17697 swig_obj[0] = args;
17698 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17699 if (!SWIG_IsOK(res1)) {
17700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17701 }
17702 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17703 {
17704 PyThreadState* __tstate = wxPyBeginAllowThreads();
17705 result = ((wxFileDialog const *)arg1)->GetPath();
17706 wxPyEndAllowThreads(__tstate);
17707 if (PyErr_Occurred()) SWIG_fail;
17708 }
17709 {
17710#if wxUSE_UNICODE
17711 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17712#else
17713 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17714#endif
17715 }
17716 return resultobj;
17717fail:
17718 return NULL;
d55e5bfc
RD
17719}
17720
17721
554f62e9
RD
17722SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17723 PyObject *resultobj = 0;
17724 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17725 wxString result;
17726 void *argp1 = 0 ;
17727 int res1 = 0 ;
17728 PyObject *swig_obj[1] ;
17729
17730 if (!args) SWIG_fail;
17731 swig_obj[0] = args;
17732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17733 if (!SWIG_IsOK(res1)) {
17734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17735 }
17736 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17737 {
17738 PyThreadState* __tstate = wxPyBeginAllowThreads();
17739 result = ((wxFileDialog const *)arg1)->GetDirectory();
17740 wxPyEndAllowThreads(__tstate);
17741 if (PyErr_Occurred()) SWIG_fail;
17742 }
17743 {
17744#if wxUSE_UNICODE
17745 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17746#else
17747 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17748#endif
17749 }
17750 return resultobj;
17751fail:
17752 return NULL;
d55e5bfc
RD
17753}
17754
17755
554f62e9
RD
17756SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17757 PyObject *resultobj = 0;
17758 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17759 wxString result;
17760 void *argp1 = 0 ;
17761 int res1 = 0 ;
17762 PyObject *swig_obj[1] ;
17763
17764 if (!args) SWIG_fail;
17765 swig_obj[0] = args;
17766 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17767 if (!SWIG_IsOK(res1)) {
17768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17769 }
17770 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17771 {
17772 PyThreadState* __tstate = wxPyBeginAllowThreads();
17773 result = ((wxFileDialog const *)arg1)->GetFilename();
17774 wxPyEndAllowThreads(__tstate);
17775 if (PyErr_Occurred()) SWIG_fail;
17776 }
17777 {
17778#if wxUSE_UNICODE
17779 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17780#else
17781 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17782#endif
17783 }
17784 return resultobj;
17785fail:
17786 return NULL;
d55e5bfc
RD
17787}
17788
17789
554f62e9
RD
17790SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17791 PyObject *resultobj = 0;
17792 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17793 wxString result;
17794 void *argp1 = 0 ;
17795 int res1 = 0 ;
17796 PyObject *swig_obj[1] ;
17797
17798 if (!args) SWIG_fail;
17799 swig_obj[0] = args;
17800 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17801 if (!SWIG_IsOK(res1)) {
17802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17803 }
17804 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17805 {
17806 PyThreadState* __tstate = wxPyBeginAllowThreads();
17807 result = ((wxFileDialog const *)arg1)->GetWildcard();
17808 wxPyEndAllowThreads(__tstate);
17809 if (PyErr_Occurred()) SWIG_fail;
17810 }
17811 {
17812#if wxUSE_UNICODE
17813 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17814#else
17815 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17816#endif
17817 }
17818 return resultobj;
17819fail:
17820 return NULL;
d55e5bfc
RD
17821}
17822
17823
554f62e9
RD
17824SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17825 PyObject *resultobj = 0;
17826 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17827 int result;
17828 void *argp1 = 0 ;
17829 int res1 = 0 ;
17830 PyObject *swig_obj[1] ;
17831
17832 if (!args) SWIG_fail;
17833 swig_obj[0] = args;
17834 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17835 if (!SWIG_IsOK(res1)) {
17836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17837 }
17838 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17839 {
17840 PyThreadState* __tstate = wxPyBeginAllowThreads();
17841 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17842 wxPyEndAllowThreads(__tstate);
17843 if (PyErr_Occurred()) SWIG_fail;
17844 }
17845 resultobj = SWIG_From_int(static_cast< int >(result));
17846 return resultobj;
17847fail:
17848 return NULL;
d55e5bfc
RD
17849}
17850
17851
554f62e9
RD
17852SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17853 PyObject *resultobj = 0;
17854 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17855 PyObject *result = 0 ;
17856 void *argp1 = 0 ;
17857 int res1 = 0 ;
17858 PyObject *swig_obj[1] ;
17859
17860 if (!args) SWIG_fail;
17861 swig_obj[0] = args;
17862 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17863 if (!SWIG_IsOK(res1)) {
17864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17865 }
17866 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17867 {
17868 PyThreadState* __tstate = wxPyBeginAllowThreads();
17869 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17870 wxPyEndAllowThreads(__tstate);
17871 if (PyErr_Occurred()) SWIG_fail;
17872 }
17873 resultobj = result;
17874 return resultobj;
17875fail:
17876 return NULL;
d55e5bfc
RD
17877}
17878
17879
554f62e9
RD
17880SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17881 PyObject *resultobj = 0;
17882 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17883 PyObject *result = 0 ;
17884 void *argp1 = 0 ;
17885 int res1 = 0 ;
17886 PyObject *swig_obj[1] ;
17887
17888 if (!args) SWIG_fail;
17889 swig_obj[0] = args;
17890 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17891 if (!SWIG_IsOK(res1)) {
17892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17893 }
17894 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17895 {
17896 PyThreadState* __tstate = wxPyBeginAllowThreads();
17897 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17898 wxPyEndAllowThreads(__tstate);
17899 if (PyErr_Occurred()) SWIG_fail;
17900 }
17901 resultobj = result;
17902 return resultobj;
17903fail:
17904 return NULL;
17905}
17906
17907
17908SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17909 PyObject *obj;
17910 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17911 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17912 return SWIG_Py_Void();
17913}
17914
17915SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17916 return SWIG_Python_InitShadowInstance(args);
17917}
17918
17919SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17920 PyObject *resultobj = 0;
17921 wxWindow *arg1 = (wxWindow *) 0 ;
17922 wxString *arg2 = 0 ;
17923 wxString *arg3 = 0 ;
17924 int arg4 = (int) 0 ;
17925 wxString *arg5 = (wxString *) NULL ;
17926 long arg6 = (long) wxCHOICEDLG_STYLE ;
17927 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17928 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17929 wxMultiChoiceDialog *result = 0 ;
17930 void *argp1 = 0 ;
17931 int res1 = 0 ;
17932 bool temp2 = false ;
17933 bool temp3 = false ;
17934 long val6 ;
17935 int ecode6 = 0 ;
17936 wxPoint temp7 ;
17937 PyObject * obj0 = 0 ;
17938 PyObject * obj1 = 0 ;
17939 PyObject * obj2 = 0 ;
17940 PyObject * obj3 = 0 ;
17941 PyObject * obj4 = 0 ;
17942 PyObject * obj5 = 0 ;
17943 char * kwnames[] = {
17944 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17945 };
17946
17947 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17949 if (!SWIG_IsOK(res1)) {
17950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17951 }
17952 arg1 = reinterpret_cast< wxWindow * >(argp1);
17953 {
17954 arg2 = wxString_in_helper(obj1);
17955 if (arg2 == NULL) SWIG_fail;
17956 temp2 = true;
17957 }
17958 {
17959 arg3 = wxString_in_helper(obj2);
17960 if (arg3 == NULL) SWIG_fail;
17961 temp3 = true;
17962 }
17963 if (obj3) {
d55e5bfc 17964 {
554f62e9
RD
17965 arg4 = PyList_Size(obj3);
17966 arg5 = wxString_LIST_helper(obj3);
17967 if (arg5 == NULL) SWIG_fail;
d55e5bfc 17968 }
554f62e9
RD
17969 }
17970 if (obj4) {
17971 ecode6 = SWIG_AsVal_long(obj4, &val6);
17972 if (!SWIG_IsOK(ecode6)) {
17973 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17974 }
17975 arg6 = static_cast< long >(val6);
17976 }
17977 if (obj5) {
d55e5bfc 17978 {
554f62e9
RD
17979 arg7 = &temp7;
17980 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
d55e5bfc 17981 }
554f62e9
RD
17982 }
17983 {
17984 if (!wxPyCheckForApp()) SWIG_fail;
17985 PyThreadState* __tstate = wxPyBeginAllowThreads();
17986 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17987 wxPyEndAllowThreads(__tstate);
17988 if (PyErr_Occurred()) SWIG_fail;
17989 }
17990 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17991 {
17992 if (temp2)
17993 delete arg2;
17994 }
17995 {
17996 if (temp3)
17997 delete arg3;
17998 }
17999 {
18000 if (arg5) delete [] arg5;
18001 }
18002 return resultobj;
18003fail:
18004 {
18005 if (temp2)
18006 delete arg2;
18007 }
18008 {
18009 if (temp3)
18010 delete arg3;
18011 }
18012 {
18013 if (arg5) delete [] arg5;
18014 }
18015 return NULL;
d55e5bfc
RD
18016}
18017
18018
554f62e9
RD
18019SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18020 PyObject *resultobj = 0;
18021 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
18022 wxArrayInt *arg2 = 0 ;
18023 void *argp1 = 0 ;
18024 int res1 = 0 ;
18025 bool temp2 = false ;
18026 PyObject * obj0 = 0 ;
18027 PyObject * obj1 = 0 ;
18028 char * kwnames[] = {
18029 (char *) "self",(char *) "selections", NULL
18030 };
18031
18032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
18033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
18034 if (!SWIG_IsOK(res1)) {
18035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18036 }
18037 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
18038 {
18039 if (! PySequence_Check(obj1)) {
18040 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
18041 SWIG_fail;
18042 }
18043 arg2 = new wxArrayInt;
18044 temp2 = true;
18045 int i, len=PySequence_Length(obj1);
18046 for (i=0; i<len; i++) {
18047 PyObject* item = PySequence_GetItem(obj1, i);
18048 PyObject* number = PyNumber_Int(item);
18049 arg2->Add(PyInt_AS_LONG(number));
18050 Py_DECREF(item);
18051 Py_DECREF(number);
093d3ff1 18052 }
554f62e9
RD
18053 }
18054 {
18055 PyThreadState* __tstate = wxPyBeginAllowThreads();
18056 (arg1)->SetSelections((wxArrayInt const &)*arg2);
18057 wxPyEndAllowThreads(__tstate);
18058 if (PyErr_Occurred()) SWIG_fail;
18059 }
18060 resultobj = SWIG_Py_Void();
18061 {
18062 if (temp2) delete arg2;
18063 }
18064 return resultobj;
18065fail:
18066 {
18067 if (temp2) delete arg2;
18068 }
18069 return NULL;
d55e5bfc
RD
18070}
18071
18072
554f62e9
RD
18073SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18074 PyObject *resultobj = 0;
18075 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
18076 PyObject *result = 0 ;
18077 void *argp1 = 0 ;
18078 int res1 = 0 ;
18079 PyObject *swig_obj[1] ;
18080
18081 if (!args) SWIG_fail;
18082 swig_obj[0] = args;
18083 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
18084 if (!SWIG_IsOK(res1)) {
18085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18086 }
18087 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
18088 {
18089 PyThreadState* __tstate = wxPyBeginAllowThreads();
18090 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
18091 wxPyEndAllowThreads(__tstate);
18092 if (PyErr_Occurred()) SWIG_fail;
18093 }
18094 resultobj = result;
18095 return resultobj;
18096fail:
18097 return NULL;
18098}
18099
18100
18101SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18102 PyObject *obj;
18103 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18104 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
18105 return SWIG_Py_Void();
18106}
18107
18108SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18109 return SWIG_Python_InitShadowInstance(args);
18110}
18111
18112SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18113 PyObject *resultobj = 0;
18114 wxWindow *arg1 = (wxWindow *) 0 ;
18115 wxString *arg2 = 0 ;
18116 wxString *arg3 = 0 ;
18117 int arg4 ;
18118 wxString *arg5 = (wxString *) 0 ;
18119 long arg6 = (long) wxCHOICEDLG_STYLE ;
18120 wxPoint const &arg7_defvalue = wxDefaultPosition ;
18121 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
18122 wxSingleChoiceDialog *result = 0 ;
18123 void *argp1 = 0 ;
18124 int res1 = 0 ;
18125 bool temp2 = false ;
18126 bool temp3 = false ;
18127 long val6 ;
18128 int ecode6 = 0 ;
18129 wxPoint temp7 ;
18130 PyObject * obj0 = 0 ;
18131 PyObject * obj1 = 0 ;
18132 PyObject * obj2 = 0 ;
18133 PyObject * obj3 = 0 ;
18134 PyObject * obj4 = 0 ;
18135 PyObject * obj5 = 0 ;
18136 char * kwnames[] = {
18137 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18138 };
18139
18140 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18141 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18142 if (!SWIG_IsOK(res1)) {
18143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18144 }
18145 arg1 = reinterpret_cast< wxWindow * >(argp1);
18146 {
18147 arg2 = wxString_in_helper(obj1);
18148 if (arg2 == NULL) SWIG_fail;
18149 temp2 = true;
18150 }
18151 {
18152 arg3 = wxString_in_helper(obj2);
18153 if (arg3 == NULL) SWIG_fail;
18154 temp3 = true;
18155 }
18156 {
18157 arg4 = PyList_Size(obj3);
18158 arg5 = wxString_LIST_helper(obj3);
18159 if (arg5 == NULL) SWIG_fail;
18160 }
18161 if (obj4) {
18162 ecode6 = SWIG_AsVal_long(obj4, &val6);
18163 if (!SWIG_IsOK(ecode6)) {
18164 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18165 }
18166 arg6 = static_cast< long >(val6);
18167 }
18168 if (obj5) {
093d3ff1 18169 {
554f62e9
RD
18170 arg7 = &temp7;
18171 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
093d3ff1 18172 }
554f62e9
RD
18173 }
18174 {
18175 if (!wxPyCheckForApp()) SWIG_fail;
18176 PyThreadState* __tstate = wxPyBeginAllowThreads();
18177 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18178 wxPyEndAllowThreads(__tstate);
18179 if (PyErr_Occurred()) SWIG_fail;
18180 }
18181 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
18182 {
18183 if (temp2)
18184 delete arg2;
18185 }
18186 {
18187 if (temp3)
18188 delete arg3;
18189 }
18190 {
18191 if (arg5) delete [] arg5;
18192 }
18193 return resultobj;
18194fail:
18195 {
18196 if (temp2)
18197 delete arg2;
18198 }
18199 {
18200 if (temp3)
18201 delete arg3;
18202 }
18203 {
18204 if (arg5) delete [] arg5;
18205 }
18206 return NULL;
d55e5bfc
RD
18207}
18208
18209
554f62e9
RD
18210SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18211 PyObject *resultobj = 0;
18212 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18213 int result;
18214 void *argp1 = 0 ;
18215 int res1 = 0 ;
18216 PyObject *swig_obj[1] ;
18217
18218 if (!args) SWIG_fail;
18219 swig_obj[0] = args;
18220 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18221 if (!SWIG_IsOK(res1)) {
18222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18223 }
18224 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18225 {
18226 PyThreadState* __tstate = wxPyBeginAllowThreads();
18227 result = (int)(arg1)->GetSelection();
18228 wxPyEndAllowThreads(__tstate);
18229 if (PyErr_Occurred()) SWIG_fail;
18230 }
18231 resultobj = SWIG_From_int(static_cast< int >(result));
18232 return resultobj;
18233fail:
18234 return NULL;
d55e5bfc
RD
18235}
18236
18237
554f62e9
RD
18238SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18239 PyObject *resultobj = 0;
18240 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18241 wxString result;
18242 void *argp1 = 0 ;
18243 int res1 = 0 ;
18244 PyObject *swig_obj[1] ;
18245
18246 if (!args) SWIG_fail;
18247 swig_obj[0] = args;
18248 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18249 if (!SWIG_IsOK(res1)) {
18250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18251 }
18252 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18253 {
18254 PyThreadState* __tstate = wxPyBeginAllowThreads();
18255 result = (arg1)->GetStringSelection();
18256 wxPyEndAllowThreads(__tstate);
18257 if (PyErr_Occurred()) SWIG_fail;
18258 }
18259 {
18260#if wxUSE_UNICODE
18261 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18262#else
18263 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18264#endif
18265 }
18266 return resultobj;
18267fail:
18268 return NULL;
18269}
18270
18271
18272SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18273 PyObject *resultobj = 0;
18274 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18275 int arg2 ;
18276 void *argp1 = 0 ;
18277 int res1 = 0 ;
18278 int val2 ;
18279 int ecode2 = 0 ;
18280 PyObject * obj0 = 0 ;
18281 PyObject * obj1 = 0 ;
18282 char * kwnames[] = {
18283 (char *) "self",(char *) "sel", NULL
18284 };
18285
18286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18288 if (!SWIG_IsOK(res1)) {
18289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18290 }
18291 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18292 ecode2 = SWIG_AsVal_int(obj1, &val2);
18293 if (!SWIG_IsOK(ecode2)) {
18294 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18295 }
18296 arg2 = static_cast< int >(val2);
18297 {
18298 PyThreadState* __tstate = wxPyBeginAllowThreads();
18299 (arg1)->SetSelection(arg2);
18300 wxPyEndAllowThreads(__tstate);
18301 if (PyErr_Occurred()) SWIG_fail;
18302 }
18303 resultobj = SWIG_Py_Void();
18304 return resultobj;
18305fail:
18306 return NULL;
18307}
18308
18309
18310SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18311 PyObject *obj;
18312 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18313 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18314 return SWIG_Py_Void();
18315}
18316
18317SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18318 return SWIG_Python_InitShadowInstance(args);
18319}
18320
18321SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18322 PyObject *resultobj = 0;
18323 wxWindow *arg1 = (wxWindow *) 0 ;
18324 wxString *arg2 = 0 ;
18325 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18326 wxString *arg3 = (wxString *) &arg3_defvalue ;
18327 wxString const &arg4_defvalue = wxPyEmptyString ;
18328 wxString *arg4 = (wxString *) &arg4_defvalue ;
18329 long arg5 = (long) wxTextEntryDialogStyle ;
18330 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18331 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18332 wxTextEntryDialog *result = 0 ;
18333 void *argp1 = 0 ;
18334 int res1 = 0 ;
18335 bool temp2 = false ;
18336 bool temp3 = false ;
18337 bool temp4 = false ;
18338 long val5 ;
18339 int ecode5 = 0 ;
18340 wxPoint temp6 ;
18341 PyObject * obj0 = 0 ;
18342 PyObject * obj1 = 0 ;
18343 PyObject * obj2 = 0 ;
18344 PyObject * obj3 = 0 ;
18345 PyObject * obj4 = 0 ;
18346 PyObject * obj5 = 0 ;
18347 char * kwnames[] = {
18348 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18349 };
18350
18351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18352 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18353 if (!SWIG_IsOK(res1)) {
18354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18355 }
18356 arg1 = reinterpret_cast< wxWindow * >(argp1);
18357 {
18358 arg2 = wxString_in_helper(obj1);
18359 if (arg2 == NULL) SWIG_fail;
18360 temp2 = true;
18361 }
18362 if (obj2) {
093d3ff1 18363 {
554f62e9
RD
18364 arg3 = wxString_in_helper(obj2);
18365 if (arg3 == NULL) SWIG_fail;
18366 temp3 = true;
093d3ff1 18367 }
554f62e9
RD
18368 }
18369 if (obj3) {
d55e5bfc 18370 {
554f62e9
RD
18371 arg4 = wxString_in_helper(obj3);
18372 if (arg4 == NULL) SWIG_fail;
18373 temp4 = true;
d55e5bfc 18374 }
554f62e9
RD
18375 }
18376 if (obj4) {
18377 ecode5 = SWIG_AsVal_long(obj4, &val5);
18378 if (!SWIG_IsOK(ecode5)) {
18379 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18380 }
18381 arg5 = static_cast< long >(val5);
18382 }
18383 if (obj5) {
d55e5bfc 18384 {
554f62e9
RD
18385 arg6 = &temp6;
18386 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 18387 }
554f62e9
RD
18388 }
18389 {
18390 if (!wxPyCheckForApp()) SWIG_fail;
18391 PyThreadState* __tstate = wxPyBeginAllowThreads();
18392 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18393 wxPyEndAllowThreads(__tstate);
18394 if (PyErr_Occurred()) SWIG_fail;
18395 }
18396 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18397 {
18398 if (temp2)
18399 delete arg2;
18400 }
18401 {
18402 if (temp3)
18403 delete arg3;
18404 }
18405 {
18406 if (temp4)
18407 delete arg4;
18408 }
18409 return resultobj;
18410fail:
18411 {
18412 if (temp2)
18413 delete arg2;
18414 }
18415 {
18416 if (temp3)
18417 delete arg3;
18418 }
18419 {
18420 if (temp4)
18421 delete arg4;
18422 }
18423 return NULL;
d55e5bfc
RD
18424}
18425
18426
554f62e9
RD
18427SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18428 PyObject *resultobj = 0;
18429 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18430 wxString result;
18431 void *argp1 = 0 ;
18432 int res1 = 0 ;
18433 PyObject *swig_obj[1] ;
18434
18435 if (!args) SWIG_fail;
18436 swig_obj[0] = args;
18437 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18438 if (!SWIG_IsOK(res1)) {
18439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18440 }
18441 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18442 {
18443 PyThreadState* __tstate = wxPyBeginAllowThreads();
18444 result = (arg1)->GetValue();
18445 wxPyEndAllowThreads(__tstate);
18446 if (PyErr_Occurred()) SWIG_fail;
18447 }
18448 {
18449#if wxUSE_UNICODE
18450 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18451#else
18452 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18453#endif
18454 }
18455 return resultobj;
18456fail:
18457 return NULL;
18458}
18459
18460
18461SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18462 PyObject *resultobj = 0;
18463 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18464 wxString *arg2 = 0 ;
18465 void *argp1 = 0 ;
18466 int res1 = 0 ;
18467 bool temp2 = false ;
18468 PyObject * obj0 = 0 ;
18469 PyObject * obj1 = 0 ;
18470 char * kwnames[] = {
18471 (char *) "self",(char *) "value", NULL
18472 };
18473
18474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18475 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18476 if (!SWIG_IsOK(res1)) {
18477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18478 }
18479 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18480 {
18481 arg2 = wxString_in_helper(obj1);
18482 if (arg2 == NULL) SWIG_fail;
18483 temp2 = true;
18484 }
18485 {
18486 PyThreadState* __tstate = wxPyBeginAllowThreads();
18487 (arg1)->SetValue((wxString const &)*arg2);
18488 wxPyEndAllowThreads(__tstate);
18489 if (PyErr_Occurred()) SWIG_fail;
18490 }
18491 resultobj = SWIG_Py_Void();
18492 {
18493 if (temp2)
18494 delete arg2;
18495 }
18496 return resultobj;
18497fail:
18498 {
18499 if (temp2)
18500 delete arg2;
18501 }
18502 return NULL;
d55e5bfc
RD
18503}
18504
18505
554f62e9
RD
18506SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18507 PyObject *obj;
18508 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18509 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18510 return SWIG_Py_Void();
d55e5bfc
RD
18511}
18512
554f62e9
RD
18513SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18514 return SWIG_Python_InitShadowInstance(args);
18515}
d55e5bfc 18516
554f62e9
RD
18517SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18518 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18519 return 1;
d55e5bfc
RD
18520}
18521
18522
554f62e9
RD
18523SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18524 PyObject *pyobj = 0;
18525
18526 {
18527#if wxUSE_UNICODE
18528 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18529#else
18530 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18531#endif
18532 }
18533 return pyobj;
18534}
18535
18536
18537SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18538 PyObject *resultobj = 0;
18539 wxWindow *arg1 = (wxWindow *) 0 ;
18540 wxString *arg2 = 0 ;
18541 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18542 wxString *arg3 = (wxString *) &arg3_defvalue ;
18543 wxString const &arg4_defvalue = wxPyEmptyString ;
18544 wxString *arg4 = (wxString *) &arg4_defvalue ;
18545 long arg5 = (long) wxTextEntryDialogStyle ;
18546 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18547 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18548 wxPasswordEntryDialog *result = 0 ;
18549 void *argp1 = 0 ;
18550 int res1 = 0 ;
18551 bool temp2 = false ;
18552 bool temp3 = false ;
18553 bool temp4 = false ;
18554 long val5 ;
18555 int ecode5 = 0 ;
18556 wxPoint temp6 ;
18557 PyObject * obj0 = 0 ;
18558 PyObject * obj1 = 0 ;
18559 PyObject * obj2 = 0 ;
18560 PyObject * obj3 = 0 ;
18561 PyObject * obj4 = 0 ;
18562 PyObject * obj5 = 0 ;
18563 char * kwnames[] = {
18564 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18565 };
18566
18567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18569 if (!SWIG_IsOK(res1)) {
18570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18571 }
18572 arg1 = reinterpret_cast< wxWindow * >(argp1);
18573 {
18574 arg2 = wxString_in_helper(obj1);
18575 if (arg2 == NULL) SWIG_fail;
18576 temp2 = true;
18577 }
18578 if (obj2) {
d55e5bfc 18579 {
554f62e9
RD
18580 arg3 = wxString_in_helper(obj2);
18581 if (arg3 == NULL) SWIG_fail;
18582 temp3 = true;
d55e5bfc 18583 }
554f62e9
RD
18584 }
18585 if (obj3) {
d55e5bfc 18586 {
554f62e9
RD
18587 arg4 = wxString_in_helper(obj3);
18588 if (arg4 == NULL) SWIG_fail;
18589 temp4 = true;
d55e5bfc 18590 }
554f62e9
RD
18591 }
18592 if (obj4) {
18593 ecode5 = SWIG_AsVal_long(obj4, &val5);
18594 if (!SWIG_IsOK(ecode5)) {
18595 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18596 }
18597 arg5 = static_cast< long >(val5);
18598 }
18599 if (obj5) {
093d3ff1 18600 {
554f62e9
RD
18601 arg6 = &temp6;
18602 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
093d3ff1 18603 }
554f62e9
RD
18604 }
18605 {
18606 PyThreadState* __tstate = wxPyBeginAllowThreads();
18607 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18608 wxPyEndAllowThreads(__tstate);
18609 if (PyErr_Occurred()) SWIG_fail;
18610 }
18611 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18612 {
18613 if (temp2)
18614 delete arg2;
18615 }
18616 {
18617 if (temp3)
18618 delete arg3;
18619 }
18620 {
18621 if (temp4)
18622 delete arg4;
18623 }
18624 return resultobj;
18625fail:
18626 {
18627 if (temp2)
18628 delete arg2;
18629 }
18630 {
18631 if (temp3)
18632 delete arg3;
18633 }
18634 {
18635 if (temp4)
18636 delete arg4;
18637 }
18638 return NULL;
d55e5bfc
RD
18639}
18640
18641
554f62e9
RD
18642SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18643 PyObject *obj;
18644 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18645 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18646 return SWIG_Py_Void();
d55e5bfc
RD
18647}
18648
554f62e9
RD
18649SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18650 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
18651}
18652
27e45892
RD
18653SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18654 PyObject *resultobj = 0;
18655 wxWindow *arg1 = (wxWindow *) 0 ;
18656 wxString *arg2 = 0 ;
18657 wxString *arg3 = 0 ;
18658 wxString *arg4 = 0 ;
18659 long arg5 ;
18660 long arg6 ;
18661 long arg7 ;
18662 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18663 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18664 wxNumberEntryDialog *result = 0 ;
18665 void *argp1 = 0 ;
18666 int res1 = 0 ;
18667 bool temp2 = false ;
18668 bool temp3 = false ;
18669 bool temp4 = false ;
18670 long val5 ;
18671 int ecode5 = 0 ;
18672 long val6 ;
18673 int ecode6 = 0 ;
18674 long val7 ;
18675 int ecode7 = 0 ;
18676 wxPoint temp8 ;
18677 PyObject * obj0 = 0 ;
18678 PyObject * obj1 = 0 ;
18679 PyObject * obj2 = 0 ;
18680 PyObject * obj3 = 0 ;
18681 PyObject * obj4 = 0 ;
18682 PyObject * obj5 = 0 ;
18683 PyObject * obj6 = 0 ;
18684 PyObject * obj7 = 0 ;
18685 char * kwnames[] = {
18686 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18687 };
18688
18689 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18690 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18691 if (!SWIG_IsOK(res1)) {
18692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18693 }
18694 arg1 = reinterpret_cast< wxWindow * >(argp1);
18695 {
18696 arg2 = wxString_in_helper(obj1);
18697 if (arg2 == NULL) SWIG_fail;
18698 temp2 = true;
18699 }
18700 {
18701 arg3 = wxString_in_helper(obj2);
18702 if (arg3 == NULL) SWIG_fail;
18703 temp3 = true;
18704 }
18705 {
18706 arg4 = wxString_in_helper(obj3);
18707 if (arg4 == NULL) SWIG_fail;
18708 temp4 = true;
18709 }
18710 ecode5 = SWIG_AsVal_long(obj4, &val5);
18711 if (!SWIG_IsOK(ecode5)) {
18712 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18713 }
18714 arg5 = static_cast< long >(val5);
18715 ecode6 = SWIG_AsVal_long(obj5, &val6);
18716 if (!SWIG_IsOK(ecode6)) {
18717 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18718 }
18719 arg6 = static_cast< long >(val6);
18720 ecode7 = SWIG_AsVal_long(obj6, &val7);
18721 if (!SWIG_IsOK(ecode7)) {
18722 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18723 }
18724 arg7 = static_cast< long >(val7);
18725 if (obj7) {
18726 {
18727 arg8 = &temp8;
18728 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
18729 }
18730 }
18731 {
18732 if (!wxPyCheckForApp()) SWIG_fail;
18733 PyThreadState* __tstate = wxPyBeginAllowThreads();
18734 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
18735 wxPyEndAllowThreads(__tstate);
18736 if (PyErr_Occurred()) SWIG_fail;
18737 }
18738 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
18739 {
18740 if (temp2)
18741 delete arg2;
18742 }
18743 {
18744 if (temp3)
18745 delete arg3;
18746 }
18747 {
18748 if (temp4)
18749 delete arg4;
18750 }
18751 return resultobj;
18752fail:
18753 {
18754 if (temp2)
18755 delete arg2;
18756 }
18757 {
18758 if (temp3)
18759 delete arg3;
18760 }
18761 {
18762 if (temp4)
18763 delete arg4;
18764 }
18765 return NULL;
18766}
18767
18768
18769SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18770 PyObject *resultobj = 0;
18771 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
18772 long result;
18773 void *argp1 = 0 ;
18774 int res1 = 0 ;
18775 PyObject *swig_obj[1] ;
18776
18777 if (!args) SWIG_fail;
18778 swig_obj[0] = args;
18779 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
18780 if (!SWIG_IsOK(res1)) {
18781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18782 }
18783 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
18784 {
18785 PyThreadState* __tstate = wxPyBeginAllowThreads();
18786 result = (long)(arg1)->GetValue();
18787 wxPyEndAllowThreads(__tstate);
18788 if (PyErr_Occurred()) SWIG_fail;
18789 }
18790 resultobj = SWIG_From_long(static_cast< long >(result));
18791 return resultobj;
18792fail:
18793 return NULL;
18794}
18795
18796
18797SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18798 PyObject *obj;
18799 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18800 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
18801 return SWIG_Py_Void();
18802}
18803
18804SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18805 return SWIG_Python_InitShadowInstance(args);
18806}
18807
554f62e9
RD
18808SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18809 PyObject *resultobj = 0;
18810 wxFontData *result = 0 ;
18811
18812 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18813 {
18814 PyThreadState* __tstate = wxPyBeginAllowThreads();
18815 result = (wxFontData *)new wxFontData();
18816 wxPyEndAllowThreads(__tstate);
18817 if (PyErr_Occurred()) SWIG_fail;
18818 }
18819 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18820 return resultobj;
18821fail:
18822 return NULL;
d55e5bfc
RD
18823}
18824
18825
554f62e9
RD
18826SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18827 PyObject *resultobj = 0;
18828 wxFontData *arg1 = (wxFontData *) 0 ;
18829 void *argp1 = 0 ;
18830 int res1 = 0 ;
18831 PyObject *swig_obj[1] ;
18832
18833 if (!args) SWIG_fail;
18834 swig_obj[0] = args;
18835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18836 if (!SWIG_IsOK(res1)) {
18837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18838 }
18839 arg1 = reinterpret_cast< wxFontData * >(argp1);
18840 {
18841 PyThreadState* __tstate = wxPyBeginAllowThreads();
18842 delete arg1;
d55e5bfc 18843
554f62e9
RD
18844 wxPyEndAllowThreads(__tstate);
18845 if (PyErr_Occurred()) SWIG_fail;
18846 }
18847 resultobj = SWIG_Py_Void();
18848 return resultobj;
18849fail:
18850 return NULL;
18851}
18852
18853
18854SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18855 PyObject *resultobj = 0;
18856 wxFontData *arg1 = (wxFontData *) 0 ;
18857 bool arg2 ;
18858 void *argp1 = 0 ;
18859 int res1 = 0 ;
18860 bool val2 ;
18861 int ecode2 = 0 ;
18862 PyObject * obj0 = 0 ;
18863 PyObject * obj1 = 0 ;
18864 char * kwnames[] = {
18865 (char *) "self",(char *) "enable", NULL
18866 };
18867
18868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18870 if (!SWIG_IsOK(res1)) {
18871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18872 }
18873 arg1 = reinterpret_cast< wxFontData * >(argp1);
18874 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18875 if (!SWIG_IsOK(ecode2)) {
18876 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18877 }
18878 arg2 = static_cast< bool >(val2);
18879 {
18880 PyThreadState* __tstate = wxPyBeginAllowThreads();
18881 (arg1)->EnableEffects(arg2);
18882 wxPyEndAllowThreads(__tstate);
18883 if (PyErr_Occurred()) SWIG_fail;
18884 }
18885 resultobj = SWIG_Py_Void();
18886 return resultobj;
18887fail:
18888 return NULL;
d55e5bfc
RD
18889}
18890
18891
554f62e9
RD
18892SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18893 PyObject *resultobj = 0;
18894 wxFontData *arg1 = (wxFontData *) 0 ;
18895 bool result;
18896 void *argp1 = 0 ;
18897 int res1 = 0 ;
18898 PyObject *swig_obj[1] ;
18899
18900 if (!args) SWIG_fail;
18901 swig_obj[0] = args;
18902 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18903 if (!SWIG_IsOK(res1)) {
18904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18905 }
18906 arg1 = reinterpret_cast< wxFontData * >(argp1);
18907 {
18908 PyThreadState* __tstate = wxPyBeginAllowThreads();
18909 result = (bool)(arg1)->GetAllowSymbols();
18910 wxPyEndAllowThreads(__tstate);
18911 if (PyErr_Occurred()) SWIG_fail;
18912 }
18913 {
18914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18915 }
18916 return resultobj;
18917fail:
18918 return NULL;
d55e5bfc
RD
18919}
18920
18921
554f62e9
RD
18922SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18923 PyObject *resultobj = 0;
18924 wxFontData *arg1 = (wxFontData *) 0 ;
18925 wxColour result;
18926 void *argp1 = 0 ;
18927 int res1 = 0 ;
18928 PyObject *swig_obj[1] ;
18929
18930 if (!args) SWIG_fail;
18931 swig_obj[0] = args;
18932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18933 if (!SWIG_IsOK(res1)) {
18934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18935 }
18936 arg1 = reinterpret_cast< wxFontData * >(argp1);
18937 {
18938 PyThreadState* __tstate = wxPyBeginAllowThreads();
18939 result = (arg1)->GetColour();
18940 wxPyEndAllowThreads(__tstate);
18941 if (PyErr_Occurred()) SWIG_fail;
18942 }
18943 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18944 return resultobj;
18945fail:
18946 return NULL;
70b7a5fe
RD
18947}
18948
18949
554f62e9
RD
18950SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18951 PyObject *resultobj = 0;
18952 wxFontData *arg1 = (wxFontData *) 0 ;
18953 wxFont result;
18954 void *argp1 = 0 ;
18955 int res1 = 0 ;
18956 PyObject *swig_obj[1] ;
18957
18958 if (!args) SWIG_fail;
18959 swig_obj[0] = args;
18960 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18961 if (!SWIG_IsOK(res1)) {
18962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18963 }
18964 arg1 = reinterpret_cast< wxFontData * >(argp1);
18965 {
18966 PyThreadState* __tstate = wxPyBeginAllowThreads();
18967 result = (arg1)->GetChosenFont();
18968 wxPyEndAllowThreads(__tstate);
18969 if (PyErr_Occurred()) SWIG_fail;
18970 }
18971 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18972 return resultobj;
18973fail:
18974 return NULL;
70b7a5fe
RD
18975}
18976
18977
554f62e9
RD
18978SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18979 PyObject *resultobj = 0;
18980 wxFontData *arg1 = (wxFontData *) 0 ;
18981 bool result;
18982 void *argp1 = 0 ;
18983 int res1 = 0 ;
18984 PyObject *swig_obj[1] ;
18985
18986 if (!args) SWIG_fail;
18987 swig_obj[0] = args;
18988 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18989 if (!SWIG_IsOK(res1)) {
18990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18991 }
18992 arg1 = reinterpret_cast< wxFontData * >(argp1);
18993 {
18994 PyThreadState* __tstate = wxPyBeginAllowThreads();
18995 result = (bool)(arg1)->GetEnableEffects();
18996 wxPyEndAllowThreads(__tstate);
18997 if (PyErr_Occurred()) SWIG_fail;
18998 }
18999 {
19000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19001 }
19002 return resultobj;
19003fail:
19004 return NULL;
d55e5bfc
RD
19005}
19006
19007
554f62e9
RD
19008SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19009 PyObject *resultobj = 0;
19010 wxFontData *arg1 = (wxFontData *) 0 ;
19011 wxFont result;
19012 void *argp1 = 0 ;
19013 int res1 = 0 ;
19014 PyObject *swig_obj[1] ;
19015
19016 if (!args) SWIG_fail;
19017 swig_obj[0] = args;
19018 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19019 if (!SWIG_IsOK(res1)) {
19020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19021 }
19022 arg1 = reinterpret_cast< wxFontData * >(argp1);
19023 {
19024 PyThreadState* __tstate = wxPyBeginAllowThreads();
19025 result = (arg1)->GetInitialFont();
19026 wxPyEndAllowThreads(__tstate);
19027 if (PyErr_Occurred()) SWIG_fail;
19028 }
19029 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19030 return resultobj;
19031fail:
19032 return NULL;
d55e5bfc
RD
19033}
19034
19035
554f62e9
RD
19036SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19037 PyObject *resultobj = 0;
19038 wxFontData *arg1 = (wxFontData *) 0 ;
19039 bool result;
19040 void *argp1 = 0 ;
19041 int res1 = 0 ;
19042 PyObject *swig_obj[1] ;
19043
19044 if (!args) SWIG_fail;
19045 swig_obj[0] = args;
19046 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19047 if (!SWIG_IsOK(res1)) {
19048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19049 }
19050 arg1 = reinterpret_cast< wxFontData * >(argp1);
19051 {
19052 PyThreadState* __tstate = wxPyBeginAllowThreads();
19053 result = (bool)(arg1)->GetShowHelp();
19054 wxPyEndAllowThreads(__tstate);
19055 if (PyErr_Occurred()) SWIG_fail;
19056 }
19057 {
19058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19059 }
19060 return resultobj;
19061fail:
19062 return NULL;
19063}
19064
19065
19066SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19067 PyObject *resultobj = 0;
19068 wxFontData *arg1 = (wxFontData *) 0 ;
19069 bool arg2 ;
19070 void *argp1 = 0 ;
19071 int res1 = 0 ;
19072 bool val2 ;
19073 int ecode2 = 0 ;
19074 PyObject * obj0 = 0 ;
19075 PyObject * obj1 = 0 ;
19076 char * kwnames[] = {
19077 (char *) "self",(char *) "allowSymbols", NULL
19078 };
19079
19080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
19081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19082 if (!SWIG_IsOK(res1)) {
19083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19084 }
19085 arg1 = reinterpret_cast< wxFontData * >(argp1);
19086 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19087 if (!SWIG_IsOK(ecode2)) {
19088 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19089 }
19090 arg2 = static_cast< bool >(val2);
19091 {
19092 PyThreadState* __tstate = wxPyBeginAllowThreads();
19093 (arg1)->SetAllowSymbols(arg2);
19094 wxPyEndAllowThreads(__tstate);
19095 if (PyErr_Occurred()) SWIG_fail;
19096 }
19097 resultobj = SWIG_Py_Void();
19098 return resultobj;
19099fail:
19100 return NULL;
19101}
19102
19103
19104SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19105 PyObject *resultobj = 0;
19106 wxFontData *arg1 = (wxFontData *) 0 ;
19107 wxFont *arg2 = 0 ;
19108 void *argp1 = 0 ;
19109 int res1 = 0 ;
19110 void *argp2 = 0 ;
19111 int res2 = 0 ;
19112 PyObject * obj0 = 0 ;
19113 PyObject * obj1 = 0 ;
19114 char * kwnames[] = {
19115 (char *) "self",(char *) "font", NULL
19116 };
19117
19118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
19119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19120 if (!SWIG_IsOK(res1)) {
19121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19122 }
19123 arg1 = reinterpret_cast< wxFontData * >(argp1);
19124 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19125 if (!SWIG_IsOK(res2)) {
19126 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19127 }
19128 if (!argp2) {
19129 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19130 }
19131 arg2 = reinterpret_cast< wxFont * >(argp2);
19132 {
19133 PyThreadState* __tstate = wxPyBeginAllowThreads();
19134 (arg1)->SetChosenFont((wxFont const &)*arg2);
19135 wxPyEndAllowThreads(__tstate);
19136 if (PyErr_Occurred()) SWIG_fail;
19137 }
19138 resultobj = SWIG_Py_Void();
19139 return resultobj;
19140fail:
19141 return NULL;
19142}
19143
19144
19145SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19146 PyObject *resultobj = 0;
19147 wxFontData *arg1 = (wxFontData *) 0 ;
19148 wxColour *arg2 = 0 ;
19149 void *argp1 = 0 ;
19150 int res1 = 0 ;
19151 wxColour temp2 ;
19152 PyObject * obj0 = 0 ;
19153 PyObject * obj1 = 0 ;
19154 char * kwnames[] = {
19155 (char *) "self",(char *) "colour", NULL
19156 };
19157
19158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
19159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19160 if (!SWIG_IsOK(res1)) {
19161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19162 }
19163 arg1 = reinterpret_cast< wxFontData * >(argp1);
19164 {
19165 arg2 = &temp2;
19166 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19167 }
19168 {
19169 PyThreadState* __tstate = wxPyBeginAllowThreads();
19170 (arg1)->SetColour((wxColour const &)*arg2);
19171 wxPyEndAllowThreads(__tstate);
19172 if (PyErr_Occurred()) SWIG_fail;
19173 }
19174 resultobj = SWIG_Py_Void();
19175 return resultobj;
19176fail:
19177 return NULL;
19178}
19179
19180
19181SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19182 PyObject *resultobj = 0;
19183 wxFontData *arg1 = (wxFontData *) 0 ;
19184 wxFont *arg2 = 0 ;
19185 void *argp1 = 0 ;
19186 int res1 = 0 ;
19187 void *argp2 = 0 ;
19188 int res2 = 0 ;
19189 PyObject * obj0 = 0 ;
19190 PyObject * obj1 = 0 ;
19191 char * kwnames[] = {
19192 (char *) "self",(char *) "font", NULL
19193 };
19194
19195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
19196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19197 if (!SWIG_IsOK(res1)) {
19198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19199 }
19200 arg1 = reinterpret_cast< wxFontData * >(argp1);
19201 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19202 if (!SWIG_IsOK(res2)) {
19203 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19204 }
19205 if (!argp2) {
19206 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19207 }
19208 arg2 = reinterpret_cast< wxFont * >(argp2);
19209 {
19210 PyThreadState* __tstate = wxPyBeginAllowThreads();
19211 (arg1)->SetInitialFont((wxFont const &)*arg2);
19212 wxPyEndAllowThreads(__tstate);
19213 if (PyErr_Occurred()) SWIG_fail;
19214 }
19215 resultobj = SWIG_Py_Void();
19216 return resultobj;
19217fail:
19218 return NULL;
19219}
19220
19221
19222SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19223 PyObject *resultobj = 0;
19224 wxFontData *arg1 = (wxFontData *) 0 ;
19225 int arg2 ;
19226 int arg3 ;
19227 void *argp1 = 0 ;
19228 int res1 = 0 ;
19229 int val2 ;
19230 int ecode2 = 0 ;
19231 int val3 ;
19232 int ecode3 = 0 ;
19233 PyObject * obj0 = 0 ;
19234 PyObject * obj1 = 0 ;
19235 PyObject * obj2 = 0 ;
19236 char * kwnames[] = {
19237 (char *) "self",(char *) "min",(char *) "max", NULL
19238 };
19239
19240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19241 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19242 if (!SWIG_IsOK(res1)) {
19243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19244 }
19245 arg1 = reinterpret_cast< wxFontData * >(argp1);
19246 ecode2 = SWIG_AsVal_int(obj1, &val2);
19247 if (!SWIG_IsOK(ecode2)) {
19248 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19249 }
19250 arg2 = static_cast< int >(val2);
19251 ecode3 = SWIG_AsVal_int(obj2, &val3);
19252 if (!SWIG_IsOK(ecode3)) {
19253 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19254 }
19255 arg3 = static_cast< int >(val3);
19256 {
19257 PyThreadState* __tstate = wxPyBeginAllowThreads();
19258 (arg1)->SetRange(arg2,arg3);
19259 wxPyEndAllowThreads(__tstate);
19260 if (PyErr_Occurred()) SWIG_fail;
19261 }
19262 resultobj = SWIG_Py_Void();
19263 return resultobj;
19264fail:
19265 return NULL;
19266}
19267
19268
19269SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19270 PyObject *resultobj = 0;
19271 wxFontData *arg1 = (wxFontData *) 0 ;
19272 bool arg2 ;
19273 void *argp1 = 0 ;
19274 int res1 = 0 ;
19275 bool val2 ;
19276 int ecode2 = 0 ;
19277 PyObject * obj0 = 0 ;
19278 PyObject * obj1 = 0 ;
19279 char * kwnames[] = {
19280 (char *) "self",(char *) "showHelp", NULL
19281 };
19282
19283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
19284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19285 if (!SWIG_IsOK(res1)) {
19286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19287 }
19288 arg1 = reinterpret_cast< wxFontData * >(argp1);
19289 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19290 if (!SWIG_IsOK(ecode2)) {
19291 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19292 }
19293 arg2 = static_cast< bool >(val2);
19294 {
19295 PyThreadState* __tstate = wxPyBeginAllowThreads();
19296 (arg1)->SetShowHelp(arg2);
19297 wxPyEndAllowThreads(__tstate);
19298 if (PyErr_Occurred()) SWIG_fail;
19299 }
19300 resultobj = SWIG_Py_Void();
19301 return resultobj;
19302fail:
19303 return NULL;
d55e5bfc
RD
19304}
19305
19306
554f62e9
RD
19307SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19308 PyObject *obj;
19309 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19310 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19311 return SWIG_Py_Void();
d55e5bfc
RD
19312}
19313
554f62e9
RD
19314SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19315 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
19316}
19317
554f62e9
RD
19318SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19319 PyObject *resultobj = 0;
19320 wxWindow *arg1 = (wxWindow *) 0 ;
19321 wxFontData *arg2 = 0 ;
19322 wxFontDialog *result = 0 ;
19323 void *argp1 = 0 ;
19324 int res1 = 0 ;
19325 void *argp2 = 0 ;
19326 int res2 = 0 ;
19327 PyObject * obj0 = 0 ;
19328 PyObject * obj1 = 0 ;
19329 char * kwnames[] = {
19330 (char *) "parent",(char *) "data", NULL
19331 };
19332
19333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19335 if (!SWIG_IsOK(res1)) {
19336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19337 }
19338 arg1 = reinterpret_cast< wxWindow * >(argp1);
19339 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19340 if (!SWIG_IsOK(res2)) {
19341 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19342 }
19343 if (!argp2) {
19344 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19345 }
19346 arg2 = reinterpret_cast< wxFontData * >(argp2);
19347 {
19348 if (!wxPyCheckForApp()) SWIG_fail;
19349 PyThreadState* __tstate = wxPyBeginAllowThreads();
19350 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19351 wxPyEndAllowThreads(__tstate);
19352 if (PyErr_Occurred()) SWIG_fail;
19353 }
19354 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19355 return resultobj;
19356fail:
19357 return NULL;
d55e5bfc
RD
19358}
19359
19360
554f62e9
RD
19361SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19362 PyObject *resultobj = 0;
19363 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19364 wxFontData *result = 0 ;
19365 void *argp1 = 0 ;
19366 int res1 = 0 ;
19367 PyObject *swig_obj[1] ;
19368
19369 if (!args) SWIG_fail;
19370 swig_obj[0] = args;
19371 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19372 if (!SWIG_IsOK(res1)) {
19373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19374 }
19375 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19376 {
19377 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 19378 {
554f62e9
RD
19379 wxFontData &_result_ref = (arg1)->GetFontData();
19380 result = (wxFontData *) &_result_ref;
d55e5bfc 19381 }
554f62e9
RD
19382 wxPyEndAllowThreads(__tstate);
19383 if (PyErr_Occurred()) SWIG_fail;
19384 }
19385 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19386 return resultobj;
19387fail:
19388 return NULL;
19389}
19390
19391
19392SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19393 PyObject *obj;
19394 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19395 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19396 return SWIG_Py_Void();
19397}
19398
19399SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19400 return SWIG_Python_InitShadowInstance(args);
19401}
19402
19403SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19404 PyObject *resultobj = 0;
19405 wxWindow *arg1 = (wxWindow *) NULL ;
19406 wxFont const &arg2_defvalue = wxNullFont ;
19407 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19408 wxString const &arg3_defvalue = wxPyEmptyString ;
19409 wxString *arg3 = (wxString *) &arg3_defvalue ;
19410 wxFont result;
19411 void *argp1 = 0 ;
19412 int res1 = 0 ;
19413 void *argp2 = 0 ;
19414 int res2 = 0 ;
19415 bool temp3 = false ;
19416 PyObject * obj0 = 0 ;
19417 PyObject * obj1 = 0 ;
19418 PyObject * obj2 = 0 ;
19419 char * kwnames[] = {
19420 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19421 };
19422
19423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19424 if (obj0) {
19425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19426 if (!SWIG_IsOK(res1)) {
19427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
093d3ff1 19428 }
554f62e9
RD
19429 arg1 = reinterpret_cast< wxWindow * >(argp1);
19430 }
19431 if (obj1) {
19432 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19433 if (!SWIG_IsOK(res2)) {
19434 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
093d3ff1 19435 }
554f62e9
RD
19436 if (!argp2) {
19437 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
d55e5bfc 19438 }
554f62e9
RD
19439 arg2 = reinterpret_cast< wxFont * >(argp2);
19440 }
19441 if (obj2) {
d55e5bfc 19442 {
554f62e9
RD
19443 arg3 = wxString_in_helper(obj2);
19444 if (arg3 == NULL) SWIG_fail;
19445 temp3 = true;
d55e5bfc 19446 }
554f62e9
RD
19447 }
19448 {
19449 PyThreadState* __tstate = wxPyBeginAllowThreads();
19450 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19451 wxPyEndAllowThreads(__tstate);
19452 if (PyErr_Occurred()) SWIG_fail;
19453 }
19454 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19455 {
19456 if (temp3)
19457 delete arg3;
19458 }
19459 return resultobj;
19460fail:
19461 {
19462 if (temp3)
19463 delete arg3;
19464 }
19465 return NULL;
19466}
19467
19468
19469SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19470 PyObject *resultobj = 0;
19471 wxWindow *arg1 = (wxWindow *) 0 ;
19472 wxString *arg2 = 0 ;
19473 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19474 wxString *arg3 = (wxString *) &arg3_defvalue ;
19475 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19476 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19477 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19478 wxMessageDialog *result = 0 ;
19479 void *argp1 = 0 ;
19480 int res1 = 0 ;
19481 bool temp2 = false ;
19482 bool temp3 = false ;
19483 long val4 ;
19484 int ecode4 = 0 ;
19485 wxPoint temp5 ;
19486 PyObject * obj0 = 0 ;
19487 PyObject * obj1 = 0 ;
19488 PyObject * obj2 = 0 ;
19489 PyObject * obj3 = 0 ;
19490 PyObject * obj4 = 0 ;
19491 char * kwnames[] = {
19492 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19493 };
19494
19495 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19496 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19497 if (!SWIG_IsOK(res1)) {
19498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19499 }
19500 arg1 = reinterpret_cast< wxWindow * >(argp1);
19501 {
19502 arg2 = wxString_in_helper(obj1);
19503 if (arg2 == NULL) SWIG_fail;
19504 temp2 = true;
19505 }
19506 if (obj2) {
093d3ff1 19507 {
554f62e9
RD
19508 arg3 = wxString_in_helper(obj2);
19509 if (arg3 == NULL) SWIG_fail;
19510 temp3 = true;
093d3ff1 19511 }
554f62e9
RD
19512 }
19513 if (obj3) {
19514 ecode4 = SWIG_AsVal_long(obj3, &val4);
19515 if (!SWIG_IsOK(ecode4)) {
19516 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19517 }
19518 arg4 = static_cast< long >(val4);
19519 }
19520 if (obj4) {
d55e5bfc 19521 {
554f62e9
RD
19522 arg5 = &temp5;
19523 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19524 }
19525 }
19526 {
19527 if (!wxPyCheckForApp()) SWIG_fail;
19528 PyThreadState* __tstate = wxPyBeginAllowThreads();
19529 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19530 wxPyEndAllowThreads(__tstate);
19531 if (PyErr_Occurred()) SWIG_fail;
19532 }
19533 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19534 {
19535 if (temp2)
19536 delete arg2;
19537 }
19538 {
19539 if (temp3)
19540 delete arg3;
19541 }
19542 return resultobj;
19543fail:
19544 {
19545 if (temp2)
19546 delete arg2;
19547 }
19548 {
19549 if (temp3)
19550 delete arg3;
19551 }
19552 return NULL;
19553}
19554
19555
19556SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19557 PyObject *obj;
19558 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19559 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19560 return SWIG_Py_Void();
19561}
19562
19563SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19564 return SWIG_Python_InitShadowInstance(args);
19565}
19566
19567SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19568 PyObject *resultobj = 0;
19569 wxString *arg1 = 0 ;
19570 wxString *arg2 = 0 ;
19571 int arg3 = (int) 100 ;
19572 wxWindow *arg4 = (wxWindow *) NULL ;
19573 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19574 wxProgressDialog *result = 0 ;
19575 bool temp1 = false ;
19576 bool temp2 = false ;
19577 int val3 ;
19578 int ecode3 = 0 ;
19579 void *argp4 = 0 ;
19580 int res4 = 0 ;
19581 int val5 ;
19582 int ecode5 = 0 ;
19583 PyObject * obj0 = 0 ;
19584 PyObject * obj1 = 0 ;
19585 PyObject * obj2 = 0 ;
19586 PyObject * obj3 = 0 ;
19587 PyObject * obj4 = 0 ;
19588 char * kwnames[] = {
19589 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19590 };
19591
19592 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19593 {
19594 arg1 = wxString_in_helper(obj0);
19595 if (arg1 == NULL) SWIG_fail;
19596 temp1 = true;
19597 }
19598 {
19599 arg2 = wxString_in_helper(obj1);
19600 if (arg2 == NULL) SWIG_fail;
19601 temp2 = true;
19602 }
19603 if (obj2) {
19604 ecode3 = SWIG_AsVal_int(obj2, &val3);
19605 if (!SWIG_IsOK(ecode3)) {
19606 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19607 }
19608 arg3 = static_cast< int >(val3);
19609 }
19610 if (obj3) {
19611 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19612 if (!SWIG_IsOK(res4)) {
19613 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
d55e5bfc 19614 }
554f62e9
RD
19615 arg4 = reinterpret_cast< wxWindow * >(argp4);
19616 }
19617 if (obj4) {
19618 ecode5 = SWIG_AsVal_int(obj4, &val5);
19619 if (!SWIG_IsOK(ecode5)) {
19620 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19621 }
19622 arg5 = static_cast< int >(val5);
19623 }
19624 {
19625 if (!wxPyCheckForApp()) SWIG_fail;
19626 PyThreadState* __tstate = wxPyBeginAllowThreads();
19627 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19628 wxPyEndAllowThreads(__tstate);
19629 if (PyErr_Occurred()) SWIG_fail;
19630 }
19631 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19632 {
19633 if (temp1)
19634 delete arg1;
19635 }
19636 {
19637 if (temp2)
19638 delete arg2;
19639 }
19640 return resultobj;
19641fail:
19642 {
19643 if (temp1)
19644 delete arg1;
19645 }
19646 {
19647 if (temp2)
19648 delete arg2;
19649 }
19650 return NULL;
19651}
19652
19653
19654SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19655 PyObject *resultobj = 0;
19656 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19657 int arg2 ;
19658 wxString const &arg3_defvalue = wxPyEmptyString ;
19659 wxString *arg3 = (wxString *) &arg3_defvalue ;
f460c29d 19660 bool *arg4 = (bool *) 0 ;
554f62e9
RD
19661 bool result;
19662 void *argp1 = 0 ;
19663 int res1 = 0 ;
19664 int val2 ;
19665 int ecode2 = 0 ;
19666 bool temp3 = false ;
f460c29d
RD
19667 bool temp4 ;
19668 int res4 = SWIG_TMPOBJ ;
554f62e9
RD
19669 PyObject * obj0 = 0 ;
19670 PyObject * obj1 = 0 ;
19671 PyObject * obj2 = 0 ;
19672 char * kwnames[] = {
19673 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19674 };
19675
f460c29d 19676 arg4 = &temp4;
554f62e9
RD
19677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19679 if (!SWIG_IsOK(res1)) {
19680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19681 }
19682 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19683 ecode2 = SWIG_AsVal_int(obj1, &val2);
19684 if (!SWIG_IsOK(ecode2)) {
19685 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19686 }
19687 arg2 = static_cast< int >(val2);
19688 if (obj2) {
d55e5bfc 19689 {
554f62e9
RD
19690 arg3 = wxString_in_helper(obj2);
19691 if (arg3 == NULL) SWIG_fail;
19692 temp3 = true;
d55e5bfc 19693 }
554f62e9
RD
19694 }
19695 {
19696 PyThreadState* __tstate = wxPyBeginAllowThreads();
f460c29d 19697 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
554f62e9
RD
19698 wxPyEndAllowThreads(__tstate);
19699 if (PyErr_Occurred()) SWIG_fail;
19700 }
19701 {
19702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19703 }
f460c29d
RD
19704 if (SWIG_IsTmpObj(res4)) {
19705 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19706 } else {
19707 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19708 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19709 }
554f62e9
RD
19710 {
19711 if (temp3)
19712 delete arg3;
19713 }
19714 return resultobj;
19715fail:
19716 {
19717 if (temp3)
19718 delete arg3;
19719 }
19720 return NULL;
d55e5bfc
RD
19721}
19722
19723
554f62e9
RD
19724SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19725 PyObject *resultobj = 0;
19726 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19727 void *argp1 = 0 ;
19728 int res1 = 0 ;
19729 PyObject *swig_obj[1] ;
19730
19731 if (!args) SWIG_fail;
19732 swig_obj[0] = args;
19733 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19734 if (!SWIG_IsOK(res1)) {
19735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19736 }
19737 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19738 {
19739 PyThreadState* __tstate = wxPyBeginAllowThreads();
19740 (arg1)->Resume();
19741 wxPyEndAllowThreads(__tstate);
19742 if (PyErr_Occurred()) SWIG_fail;
19743 }
19744 resultobj = SWIG_Py_Void();
19745 return resultobj;
19746fail:
19747 return NULL;
d55e5bfc
RD
19748}
19749
19750
554f62e9
RD
19751SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19752 PyObject *obj;
19753 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19754 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19755 return SWIG_Py_Void();
d55e5bfc
RD
19756}
19757
554f62e9
RD
19758SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19759 return SWIG_Python_InitShadowInstance(args);
19760}
d55e5bfc 19761
554f62e9
RD
19762SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19763 PyObject *resultobj = 0;
19764 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19765 int arg2 = (int) 0 ;
19766 wxFindDialogEvent *result = 0 ;
19767 int val1 ;
19768 int ecode1 = 0 ;
19769 int val2 ;
19770 int ecode2 = 0 ;
19771 PyObject * obj0 = 0 ;
19772 PyObject * obj1 = 0 ;
19773 char * kwnames[] = {
19774 (char *) "commandType",(char *) "id", NULL
19775 };
19776
19777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19778 if (obj0) {
19779 ecode1 = SWIG_AsVal_int(obj0, &val1);
19780 if (!SWIG_IsOK(ecode1)) {
19781 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19782 }
19783 arg1 = static_cast< wxEventType >(val1);
19784 }
19785 if (obj1) {
19786 ecode2 = SWIG_AsVal_int(obj1, &val2);
19787 if (!SWIG_IsOK(ecode2)) {
19788 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19789 }
19790 arg2 = static_cast< int >(val2);
19791 }
19792 {
19793 PyThreadState* __tstate = wxPyBeginAllowThreads();
19794 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19795 wxPyEndAllowThreads(__tstate);
19796 if (PyErr_Occurred()) SWIG_fail;
19797 }
19798 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19799 return resultobj;
19800fail:
19801 return NULL;
d55e5bfc
RD
19802}
19803
19804
554f62e9
RD
19805SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19806 PyObject *resultobj = 0;
19807 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19808 int result;
19809 void *argp1 = 0 ;
19810 int res1 = 0 ;
19811 PyObject *swig_obj[1] ;
19812
19813 if (!args) SWIG_fail;
19814 swig_obj[0] = args;
19815 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19816 if (!SWIG_IsOK(res1)) {
19817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19818 }
19819 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19820 {
19821 PyThreadState* __tstate = wxPyBeginAllowThreads();
19822 result = (int)(arg1)->GetFlags();
19823 wxPyEndAllowThreads(__tstate);
19824 if (PyErr_Occurred()) SWIG_fail;
19825 }
19826 resultobj = SWIG_From_int(static_cast< int >(result));
19827 return resultobj;
19828fail:
19829 return NULL;
d55e5bfc
RD
19830}
19831
19832
554f62e9
RD
19833SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19834 PyObject *resultobj = 0;
19835 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19836 wxString *result = 0 ;
19837 void *argp1 = 0 ;
19838 int res1 = 0 ;
19839 PyObject *swig_obj[1] ;
19840
19841 if (!args) SWIG_fail;
19842 swig_obj[0] = args;
19843 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19844 if (!SWIG_IsOK(res1)) {
19845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19846 }
19847 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19848 {
19849 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 19850 {
554f62e9
RD
19851 wxString const &_result_ref = (arg1)->GetFindString();
19852 result = (wxString *) &_result_ref;
d55e5bfc 19853 }
554f62e9
RD
19854 wxPyEndAllowThreads(__tstate);
19855 if (PyErr_Occurred()) SWIG_fail;
19856 }
19857 {
19858#if wxUSE_UNICODE
19859 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19860#else
19861 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19862#endif
19863 }
19864 return resultobj;
19865fail:
19866 return NULL;
d55e5bfc
RD
19867}
19868
19869
554f62e9
RD
19870SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19871 PyObject *resultobj = 0;
19872 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19873 wxString *result = 0 ;
19874 void *argp1 = 0 ;
19875 int res1 = 0 ;
19876 PyObject *swig_obj[1] ;
19877
19878 if (!args) SWIG_fail;
19879 swig_obj[0] = args;
19880 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19881 if (!SWIG_IsOK(res1)) {
19882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19883 }
19884 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19885 {
19886 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 19887 {
554f62e9
RD
19888 wxString const &_result_ref = (arg1)->GetReplaceString();
19889 result = (wxString *) &_result_ref;
093d3ff1 19890 }
554f62e9
RD
19891 wxPyEndAllowThreads(__tstate);
19892 if (PyErr_Occurred()) SWIG_fail;
19893 }
19894 {
19895#if wxUSE_UNICODE
19896 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19897#else
19898 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19899#endif
19900 }
19901 return resultobj;
19902fail:
19903 return NULL;
d55e5bfc
RD
19904}
19905
19906
554f62e9
RD
19907SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19908 PyObject *resultobj = 0;
19909 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19910 wxFindReplaceDialog *result = 0 ;
19911 void *argp1 = 0 ;
19912 int res1 = 0 ;
19913 PyObject *swig_obj[1] ;
19914
19915 if (!args) SWIG_fail;
19916 swig_obj[0] = args;
19917 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19918 if (!SWIG_IsOK(res1)) {
19919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19920 }
19921 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19922 {
19923 PyThreadState* __tstate = wxPyBeginAllowThreads();
19924 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19925 wxPyEndAllowThreads(__tstate);
19926 if (PyErr_Occurred()) SWIG_fail;
19927 }
19928 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19929 return resultobj;
19930fail:
19931 return NULL;
19932}
19933
19934
19935SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19936 PyObject *resultobj = 0;
19937 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19938 int arg2 ;
19939 void *argp1 = 0 ;
19940 int res1 = 0 ;
19941 int val2 ;
19942 int ecode2 = 0 ;
19943 PyObject * obj0 = 0 ;
19944 PyObject * obj1 = 0 ;
19945 char * kwnames[] = {
19946 (char *) "self",(char *) "flags", NULL
19947 };
19948
19949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19951 if (!SWIG_IsOK(res1)) {
19952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19953 }
19954 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19955 ecode2 = SWIG_AsVal_int(obj1, &val2);
19956 if (!SWIG_IsOK(ecode2)) {
19957 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19958 }
19959 arg2 = static_cast< int >(val2);
19960 {
19961 PyThreadState* __tstate = wxPyBeginAllowThreads();
19962 (arg1)->SetFlags(arg2);
19963 wxPyEndAllowThreads(__tstate);
19964 if (PyErr_Occurred()) SWIG_fail;
19965 }
19966 resultobj = SWIG_Py_Void();
19967 return resultobj;
19968fail:
19969 return NULL;
19970}
19971
19972
19973SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19974 PyObject *resultobj = 0;
19975 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19976 wxString *arg2 = 0 ;
19977 void *argp1 = 0 ;
19978 int res1 = 0 ;
19979 bool temp2 = false ;
19980 PyObject * obj0 = 0 ;
19981 PyObject * obj1 = 0 ;
19982 char * kwnames[] = {
19983 (char *) "self",(char *) "str", NULL
19984 };
19985
19986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19988 if (!SWIG_IsOK(res1)) {
19989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19990 }
19991 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19992 {
19993 arg2 = wxString_in_helper(obj1);
19994 if (arg2 == NULL) SWIG_fail;
19995 temp2 = true;
19996 }
19997 {
19998 PyThreadState* __tstate = wxPyBeginAllowThreads();
19999 (arg1)->SetFindString((wxString const &)*arg2);
20000 wxPyEndAllowThreads(__tstate);
20001 if (PyErr_Occurred()) SWIG_fail;
20002 }
20003 resultobj = SWIG_Py_Void();
20004 {
20005 if (temp2)
20006 delete arg2;
20007 }
20008 return resultobj;
20009fail:
20010 {
20011 if (temp2)
20012 delete arg2;
20013 }
20014 return NULL;
d55e5bfc
RD
20015}
20016
20017
554f62e9
RD
20018SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20019 PyObject *resultobj = 0;
20020 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20021 wxString *arg2 = 0 ;
20022 void *argp1 = 0 ;
20023 int res1 = 0 ;
20024 bool temp2 = false ;
20025 PyObject * obj0 = 0 ;
20026 PyObject * obj1 = 0 ;
20027 char * kwnames[] = {
20028 (char *) "self",(char *) "str", NULL
20029 };
20030
20031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20033 if (!SWIG_IsOK(res1)) {
20034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20035 }
20036 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20037 {
20038 arg2 = wxString_in_helper(obj1);
20039 if (arg2 == NULL) SWIG_fail;
20040 temp2 = true;
20041 }
20042 {
20043 PyThreadState* __tstate = wxPyBeginAllowThreads();
20044 (arg1)->SetReplaceString((wxString const &)*arg2);
20045 wxPyEndAllowThreads(__tstate);
20046 if (PyErr_Occurred()) SWIG_fail;
20047 }
20048 resultobj = SWIG_Py_Void();
20049 {
20050 if (temp2)
20051 delete arg2;
20052 }
20053 return resultobj;
20054fail:
20055 {
20056 if (temp2)
20057 delete arg2;
20058 }
20059 return NULL;
d55e5bfc
RD
20060}
20061
20062
554f62e9
RD
20063SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20064 PyObject *obj;
20065 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20066 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
20067 return SWIG_Py_Void();
d55e5bfc
RD
20068}
20069
554f62e9
RD
20070SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20071 return SWIG_Python_InitShadowInstance(args);
20072}
d55e5bfc 20073
554f62e9
RD
20074SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20075 PyObject *resultobj = 0;
20076 int arg1 = (int) 0 ;
20077 wxFindReplaceData *result = 0 ;
20078 int val1 ;
20079 int ecode1 = 0 ;
20080 PyObject * obj0 = 0 ;
20081 char * kwnames[] = {
20082 (char *) "flags", NULL
20083 };
20084
20085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
20086 if (obj0) {
20087 ecode1 = SWIG_AsVal_int(obj0, &val1);
20088 if (!SWIG_IsOK(ecode1)) {
20089 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20090 }
20091 arg1 = static_cast< int >(val1);
20092 }
20093 {
20094 PyThreadState* __tstate = wxPyBeginAllowThreads();
20095 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
20096 wxPyEndAllowThreads(__tstate);
20097 if (PyErr_Occurred()) SWIG_fail;
20098 }
20099 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
20100 return resultobj;
20101fail:
20102 return NULL;
d55e5bfc
RD
20103}
20104
20105
554f62e9
RD
20106SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20107 PyObject *resultobj = 0;
20108 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20109 void *argp1 = 0 ;
20110 int res1 = 0 ;
20111 PyObject *swig_obj[1] ;
20112
20113 if (!args) SWIG_fail;
20114 swig_obj[0] = args;
20115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
20116 if (!SWIG_IsOK(res1)) {
20117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20118 }
20119 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20120 {
20121 PyThreadState* __tstate = wxPyBeginAllowThreads();
20122 delete arg1;
d55e5bfc 20123
554f62e9
RD
20124 wxPyEndAllowThreads(__tstate);
20125 if (PyErr_Occurred()) SWIG_fail;
20126 }
20127 resultobj = SWIG_Py_Void();
20128 return resultobj;
20129fail:
20130 return NULL;
d55e5bfc
RD
20131}
20132
20133
554f62e9
RD
20134SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20135 PyObject *resultobj = 0;
20136 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20137 wxString *result = 0 ;
20138 void *argp1 = 0 ;
20139 int res1 = 0 ;
20140 PyObject *swig_obj[1] ;
20141
20142 if (!args) SWIG_fail;
20143 swig_obj[0] = args;
20144 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20145 if (!SWIG_IsOK(res1)) {
20146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20147 }
20148 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20149 {
20150 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 20151 {
554f62e9
RD
20152 wxString const &_result_ref = (arg1)->GetFindString();
20153 result = (wxString *) &_result_ref;
d55e5bfc 20154 }
554f62e9
RD
20155 wxPyEndAllowThreads(__tstate);
20156 if (PyErr_Occurred()) SWIG_fail;
20157 }
20158 {
20159#if wxUSE_UNICODE
20160 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20161#else
20162 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20163#endif
20164 }
20165 return resultobj;
20166fail:
20167 return NULL;
d55e5bfc
RD
20168}
20169
20170
554f62e9
RD
20171SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20172 PyObject *resultobj = 0;
20173 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20174 wxString *result = 0 ;
20175 void *argp1 = 0 ;
20176 int res1 = 0 ;
20177 PyObject *swig_obj[1] ;
20178
20179 if (!args) SWIG_fail;
20180 swig_obj[0] = args;
20181 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20182 if (!SWIG_IsOK(res1)) {
20183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20184 }
20185 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20186 {
20187 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 20188 {
554f62e9
RD
20189 wxString const &_result_ref = (arg1)->GetReplaceString();
20190 result = (wxString *) &_result_ref;
d55e5bfc 20191 }
554f62e9
RD
20192 wxPyEndAllowThreads(__tstate);
20193 if (PyErr_Occurred()) SWIG_fail;
20194 }
20195 {
20196#if wxUSE_UNICODE
20197 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20198#else
20199 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20200#endif
20201 }
20202 return resultobj;
20203fail:
20204 return NULL;
d55e5bfc
RD
20205}
20206
20207
554f62e9
RD
20208SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20209 PyObject *resultobj = 0;
20210 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20211 int result;
20212 void *argp1 = 0 ;
20213 int res1 = 0 ;
20214 PyObject *swig_obj[1] ;
20215
20216 if (!args) SWIG_fail;
20217 swig_obj[0] = args;
20218 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20219 if (!SWIG_IsOK(res1)) {
20220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20221 }
20222 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20223 {
20224 PyThreadState* __tstate = wxPyBeginAllowThreads();
20225 result = (int)(arg1)->GetFlags();
20226 wxPyEndAllowThreads(__tstate);
20227 if (PyErr_Occurred()) SWIG_fail;
20228 }
20229 resultobj = SWIG_From_int(static_cast< int >(result));
20230 return resultobj;
20231fail:
20232 return NULL;
20233}
20234
20235
20236SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20237 PyObject *resultobj = 0;
20238 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20239 int arg2 ;
20240 void *argp1 = 0 ;
20241 int res1 = 0 ;
20242 int val2 ;
20243 int ecode2 = 0 ;
20244 PyObject * obj0 = 0 ;
20245 PyObject * obj1 = 0 ;
20246 char * kwnames[] = {
20247 (char *) "self",(char *) "flags", NULL
20248 };
20249
20250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20252 if (!SWIG_IsOK(res1)) {
20253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20254 }
20255 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20256 ecode2 = SWIG_AsVal_int(obj1, &val2);
20257 if (!SWIG_IsOK(ecode2)) {
20258 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20259 }
20260 arg2 = static_cast< int >(val2);
20261 {
20262 PyThreadState* __tstate = wxPyBeginAllowThreads();
20263 (arg1)->SetFlags(arg2);
20264 wxPyEndAllowThreads(__tstate);
20265 if (PyErr_Occurred()) SWIG_fail;
20266 }
20267 resultobj = SWIG_Py_Void();
20268 return resultobj;
20269fail:
20270 return NULL;
20271}
20272
20273
20274SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20275 PyObject *resultobj = 0;
20276 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20277 wxString *arg2 = 0 ;
20278 void *argp1 = 0 ;
20279 int res1 = 0 ;
20280 bool temp2 = false ;
20281 PyObject * obj0 = 0 ;
20282 PyObject * obj1 = 0 ;
20283 char * kwnames[] = {
20284 (char *) "self",(char *) "str", NULL
20285 };
20286
20287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20289 if (!SWIG_IsOK(res1)) {
20290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20291 }
20292 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20293 {
20294 arg2 = wxString_in_helper(obj1);
20295 if (arg2 == NULL) SWIG_fail;
20296 temp2 = true;
20297 }
20298 {
20299 PyThreadState* __tstate = wxPyBeginAllowThreads();
20300 (arg1)->SetFindString((wxString const &)*arg2);
20301 wxPyEndAllowThreads(__tstate);
20302 if (PyErr_Occurred()) SWIG_fail;
20303 }
20304 resultobj = SWIG_Py_Void();
20305 {
20306 if (temp2)
20307 delete arg2;
20308 }
20309 return resultobj;
20310fail:
20311 {
20312 if (temp2)
20313 delete arg2;
20314 }
20315 return NULL;
d55e5bfc
RD
20316}
20317
20318
554f62e9
RD
20319SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20320 PyObject *resultobj = 0;
20321 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20322 wxString *arg2 = 0 ;
20323 void *argp1 = 0 ;
20324 int res1 = 0 ;
20325 bool temp2 = false ;
20326 PyObject * obj0 = 0 ;
20327 PyObject * obj1 = 0 ;
20328 char * kwnames[] = {
20329 (char *) "self",(char *) "str", NULL
20330 };
20331
20332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20334 if (!SWIG_IsOK(res1)) {
20335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20336 }
20337 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20338 {
20339 arg2 = wxString_in_helper(obj1);
20340 if (arg2 == NULL) SWIG_fail;
20341 temp2 = true;
20342 }
20343 {
20344 PyThreadState* __tstate = wxPyBeginAllowThreads();
20345 (arg1)->SetReplaceString((wxString const &)*arg2);
20346 wxPyEndAllowThreads(__tstate);
20347 if (PyErr_Occurred()) SWIG_fail;
20348 }
20349 resultobj = SWIG_Py_Void();
20350 {
20351 if (temp2)
20352 delete arg2;
20353 }
20354 return resultobj;
20355fail:
20356 {
20357 if (temp2)
20358 delete arg2;
20359 }
20360 return NULL;
20361}
20362
20363
20364SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20365 PyObject *obj;
20366 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20367 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20368 return SWIG_Py_Void();
20369}
20370
20371SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20372 return SWIG_Python_InitShadowInstance(args);
20373}
20374
20375SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20376 PyObject *resultobj = 0;
20377 wxWindow *arg1 = (wxWindow *) 0 ;
20378 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20379 wxString *arg3 = 0 ;
20380 int arg4 = (int) 0 ;
20381 wxFindReplaceDialog *result = 0 ;
20382 void *argp1 = 0 ;
20383 int res1 = 0 ;
20384 void *argp2 = 0 ;
20385 int res2 = 0 ;
20386 bool temp3 = false ;
20387 int val4 ;
20388 int ecode4 = 0 ;
20389 PyObject * obj0 = 0 ;
20390 PyObject * obj1 = 0 ;
20391 PyObject * obj2 = 0 ;
20392 PyObject * obj3 = 0 ;
20393 char * kwnames[] = {
20394 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20395 };
20396
20397 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20398 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20399 if (!SWIG_IsOK(res1)) {
20400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20401 }
20402 arg1 = reinterpret_cast< wxWindow * >(argp1);
20403 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20404 if (!SWIG_IsOK(res2)) {
20405 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20406 }
20407 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20408 {
20409 arg3 = wxString_in_helper(obj2);
20410 if (arg3 == NULL) SWIG_fail;
20411 temp3 = true;
20412 }
20413 if (obj3) {
20414 ecode4 = SWIG_AsVal_int(obj3, &val4);
20415 if (!SWIG_IsOK(ecode4)) {
20416 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20417 }
20418 arg4 = static_cast< int >(val4);
20419 }
20420 {
20421 if (!wxPyCheckForApp()) SWIG_fail;
20422 PyThreadState* __tstate = wxPyBeginAllowThreads();
20423 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20424 wxPyEndAllowThreads(__tstate);
20425 if (PyErr_Occurred()) SWIG_fail;
20426 }
20427 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20428 {
20429 if (temp3)
20430 delete arg3;
20431 }
20432 return resultobj;
20433fail:
20434 {
20435 if (temp3)
20436 delete arg3;
20437 }
20438 return NULL;
d55e5bfc
RD
20439}
20440
20441
554f62e9
RD
20442SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20443 PyObject *resultobj = 0;
20444 wxFindReplaceDialog *result = 0 ;
20445
20446 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20447 {
20448 if (!wxPyCheckForApp()) SWIG_fail;
20449 PyThreadState* __tstate = wxPyBeginAllowThreads();
20450 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20451 wxPyEndAllowThreads(__tstate);
20452 if (PyErr_Occurred()) SWIG_fail;
20453 }
20454 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20455 return resultobj;
20456fail:
20457 return NULL;
20458}
20459
20460
20461SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20462 PyObject *resultobj = 0;
20463 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20464 wxWindow *arg2 = (wxWindow *) 0 ;
20465 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20466 wxString *arg4 = 0 ;
20467 int arg5 = (int) 0 ;
20468 bool result;
20469 void *argp1 = 0 ;
20470 int res1 = 0 ;
20471 void *argp2 = 0 ;
20472 int res2 = 0 ;
20473 void *argp3 = 0 ;
20474 int res3 = 0 ;
20475 bool temp4 = false ;
20476 int val5 ;
20477 int ecode5 = 0 ;
20478 PyObject * obj0 = 0 ;
20479 PyObject * obj1 = 0 ;
20480 PyObject * obj2 = 0 ;
20481 PyObject * obj3 = 0 ;
20482 PyObject * obj4 = 0 ;
20483 char * kwnames[] = {
20484 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20485 };
20486
20487 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20489 if (!SWIG_IsOK(res1)) {
20490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20491 }
20492 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20493 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20494 if (!SWIG_IsOK(res2)) {
20495 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20496 }
20497 arg2 = reinterpret_cast< wxWindow * >(argp2);
20498 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20499 if (!SWIG_IsOK(res3)) {
20500 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20501 }
20502 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20503 {
20504 arg4 = wxString_in_helper(obj3);
20505 if (arg4 == NULL) SWIG_fail;
20506 temp4 = true;
20507 }
20508 if (obj4) {
20509 ecode5 = SWIG_AsVal_int(obj4, &val5);
20510 if (!SWIG_IsOK(ecode5)) {
20511 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20512 }
20513 arg5 = static_cast< int >(val5);
20514 }
20515 {
20516 PyThreadState* __tstate = wxPyBeginAllowThreads();
20517 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20518 wxPyEndAllowThreads(__tstate);
20519 if (PyErr_Occurred()) SWIG_fail;
20520 }
20521 {
20522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20523 }
20524 {
20525 if (temp4)
20526 delete arg4;
20527 }
20528 return resultobj;
20529fail:
20530 {
20531 if (temp4)
20532 delete arg4;
20533 }
20534 return NULL;
d55e5bfc
RD
20535}
20536
20537
554f62e9
RD
20538SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20539 PyObject *resultobj = 0;
20540 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20541 wxFindReplaceData *result = 0 ;
20542 void *argp1 = 0 ;
20543 int res1 = 0 ;
20544 PyObject *swig_obj[1] ;
20545
20546 if (!args) SWIG_fail;
20547 swig_obj[0] = args;
20548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20549 if (!SWIG_IsOK(res1)) {
20550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20551 }
20552 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20553 {
20554 PyThreadState* __tstate = wxPyBeginAllowThreads();
20555 result = (wxFindReplaceData *)(arg1)->GetData();
20556 wxPyEndAllowThreads(__tstate);
20557 if (PyErr_Occurred()) SWIG_fail;
20558 }
20559 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20560 return resultobj;
20561fail:
20562 return NULL;
20563}
20564
20565
20566SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20567 PyObject *resultobj = 0;
20568 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20569 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20570 void *argp1 = 0 ;
20571 int res1 = 0 ;
20572 void *argp2 = 0 ;
20573 int res2 = 0 ;
20574 PyObject * obj0 = 0 ;
20575 PyObject * obj1 = 0 ;
20576 char * kwnames[] = {
20577 (char *) "self",(char *) "data", NULL
20578 };
20579
20580 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20581 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20582 if (!SWIG_IsOK(res1)) {
20583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20584 }
20585 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20586 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20587 if (!SWIG_IsOK(res2)) {
20588 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20589 }
20590 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20591 {
20592 PyThreadState* __tstate = wxPyBeginAllowThreads();
20593 (arg1)->SetData(arg2);
20594 wxPyEndAllowThreads(__tstate);
20595 if (PyErr_Occurred()) SWIG_fail;
20596 }
20597 resultobj = SWIG_Py_Void();
20598 return resultobj;
20599fail:
20600 return NULL;
20601}
20602
20603
20604SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20605 PyObject *obj;
20606 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20607 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20608 return SWIG_Py_Void();
20609}
20610
20611SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20612 return SWIG_Python_InitShadowInstance(args);
20613}
20614
20615SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20616 PyObject *resultobj = 0;
20617 wxWindow *arg1 = (wxWindow *) 0 ;
20618 int arg2 = (int) (int)-1 ;
20619 wxString const &arg3_defvalue = wxPyEmptyString ;
20620 wxString *arg3 = (wxString *) &arg3_defvalue ;
20621 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20622 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20623 wxSize const &arg5_defvalue = wxDefaultSize ;
20624 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20625 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20626 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20627 wxString *arg7 = (wxString *) &arg7_defvalue ;
20628 wxMDIParentFrame *result = 0 ;
20629 void *argp1 = 0 ;
20630 int res1 = 0 ;
20631 int val2 ;
20632 int ecode2 = 0 ;
20633 bool temp3 = false ;
20634 wxPoint temp4 ;
20635 wxSize temp5 ;
20636 long val6 ;
20637 int ecode6 = 0 ;
20638 bool temp7 = false ;
20639 PyObject * obj0 = 0 ;
20640 PyObject * obj1 = 0 ;
20641 PyObject * obj2 = 0 ;
20642 PyObject * obj3 = 0 ;
20643 PyObject * obj4 = 0 ;
20644 PyObject * obj5 = 0 ;
20645 PyObject * obj6 = 0 ;
20646 char * kwnames[] = {
20647 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20648 };
20649
20650 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20651 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20652 if (!SWIG_IsOK(res1)) {
20653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20654 }
20655 arg1 = reinterpret_cast< wxWindow * >(argp1);
20656 if (obj1) {
20657 ecode2 = SWIG_AsVal_int(obj1, &val2);
20658 if (!SWIG_IsOK(ecode2)) {
20659 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20660 }
20661 arg2 = static_cast< int >(val2);
20662 }
20663 if (obj2) {
d55e5bfc 20664 {
554f62e9
RD
20665 arg3 = wxString_in_helper(obj2);
20666 if (arg3 == NULL) SWIG_fail;
20667 temp3 = true;
d55e5bfc 20668 }
554f62e9
RD
20669 }
20670 if (obj3) {
d55e5bfc 20671 {
554f62e9
RD
20672 arg4 = &temp4;
20673 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 20674 }
554f62e9
RD
20675 }
20676 if (obj4) {
d55e5bfc 20677 {
554f62e9
RD
20678 arg5 = &temp5;
20679 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20680 }
20681 }
20682 if (obj5) {
20683 ecode6 = SWIG_AsVal_long(obj5, &val6);
20684 if (!SWIG_IsOK(ecode6)) {
20685 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20686 }
20687 arg6 = static_cast< long >(val6);
20688 }
20689 if (obj6) {
d55e5bfc 20690 {
554f62e9
RD
20691 arg7 = wxString_in_helper(obj6);
20692 if (arg7 == NULL) SWIG_fail;
20693 temp7 = true;
20694 }
20695 }
20696 {
20697 if (!wxPyCheckForApp()) SWIG_fail;
20698 PyThreadState* __tstate = wxPyBeginAllowThreads();
20699 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20700 wxPyEndAllowThreads(__tstate);
20701 if (PyErr_Occurred()) SWIG_fail;
20702 }
20703 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20704 {
20705 if (temp3)
20706 delete arg3;
20707 }
20708 {
20709 if (temp7)
20710 delete arg7;
20711 }
20712 return resultobj;
20713fail:
20714 {
20715 if (temp3)
20716 delete arg3;
20717 }
20718 {
20719 if (temp7)
20720 delete arg7;
20721 }
20722 return NULL;
d55e5bfc
RD
20723}
20724
20725
554f62e9
RD
20726SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20727 PyObject *resultobj = 0;
20728 wxMDIParentFrame *result = 0 ;
20729
20730 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20731 {
20732 if (!wxPyCheckForApp()) SWIG_fail;
20733 PyThreadState* __tstate = wxPyBeginAllowThreads();
20734 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20735 wxPyEndAllowThreads(__tstate);
20736 if (PyErr_Occurred()) SWIG_fail;
20737 }
20738 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20739 return resultobj;
20740fail:
20741 return NULL;
20742}
20743
20744
20745SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20746 PyObject *resultobj = 0;
20747 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20748 wxWindow *arg2 = (wxWindow *) 0 ;
20749 int arg3 = (int) (int)-1 ;
20750 wxString const &arg4_defvalue = wxPyEmptyString ;
20751 wxString *arg4 = (wxString *) &arg4_defvalue ;
20752 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20753 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20754 wxSize const &arg6_defvalue = wxDefaultSize ;
20755 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20756 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20757 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20758 wxString *arg8 = (wxString *) &arg8_defvalue ;
20759 bool result;
20760 void *argp1 = 0 ;
20761 int res1 = 0 ;
20762 void *argp2 = 0 ;
20763 int res2 = 0 ;
20764 int val3 ;
20765 int ecode3 = 0 ;
20766 bool temp4 = false ;
20767 wxPoint temp5 ;
20768 wxSize temp6 ;
20769 long val7 ;
20770 int ecode7 = 0 ;
20771 bool temp8 = false ;
20772 PyObject * obj0 = 0 ;
20773 PyObject * obj1 = 0 ;
20774 PyObject * obj2 = 0 ;
20775 PyObject * obj3 = 0 ;
20776 PyObject * obj4 = 0 ;
20777 PyObject * obj5 = 0 ;
20778 PyObject * obj6 = 0 ;
20779 PyObject * obj7 = 0 ;
20780 char * kwnames[] = {
20781 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20782 };
20783
20784 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20785 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20786 if (!SWIG_IsOK(res1)) {
20787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20788 }
20789 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20790 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20791 if (!SWIG_IsOK(res2)) {
20792 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20793 }
20794 arg2 = reinterpret_cast< wxWindow * >(argp2);
20795 if (obj2) {
20796 ecode3 = SWIG_AsVal_int(obj2, &val3);
20797 if (!SWIG_IsOK(ecode3)) {
20798 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20799 }
20800 arg3 = static_cast< int >(val3);
20801 }
20802 if (obj3) {
d55e5bfc 20803 {
554f62e9
RD
20804 arg4 = wxString_in_helper(obj3);
20805 if (arg4 == NULL) SWIG_fail;
20806 temp4 = true;
d55e5bfc 20807 }
554f62e9
RD
20808 }
20809 if (obj4) {
d55e5bfc 20810 {
554f62e9
RD
20811 arg5 = &temp5;
20812 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 20813 }
554f62e9
RD
20814 }
20815 if (obj5) {
d55e5bfc 20816 {
554f62e9
RD
20817 arg6 = &temp6;
20818 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 20819 }
554f62e9
RD
20820 }
20821 if (obj6) {
20822 ecode7 = SWIG_AsVal_long(obj6, &val7);
20823 if (!SWIG_IsOK(ecode7)) {
20824 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20825 }
20826 arg7 = static_cast< long >(val7);
20827 }
20828 if (obj7) {
d55e5bfc 20829 {
554f62e9
RD
20830 arg8 = wxString_in_helper(obj7);
20831 if (arg8 == NULL) SWIG_fail;
20832 temp8 = true;
d55e5bfc 20833 }
554f62e9
RD
20834 }
20835 {
20836 PyThreadState* __tstate = wxPyBeginAllowThreads();
20837 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20838 wxPyEndAllowThreads(__tstate);
20839 if (PyErr_Occurred()) SWIG_fail;
20840 }
20841 {
20842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20843 }
20844 {
20845 if (temp4)
20846 delete arg4;
20847 }
20848 {
20849 if (temp8)
20850 delete arg8;
20851 }
20852 return resultobj;
20853fail:
20854 {
20855 if (temp4)
20856 delete arg4;
20857 }
20858 {
20859 if (temp8)
20860 delete arg8;
20861 }
20862 return NULL;
d55e5bfc
RD
20863}
20864
20865
554f62e9
RD
20866SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20867 PyObject *resultobj = 0;
20868 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20869 void *argp1 = 0 ;
20870 int res1 = 0 ;
20871 PyObject *swig_obj[1] ;
20872
20873 if (!args) SWIG_fail;
20874 swig_obj[0] = args;
20875 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20876 if (!SWIG_IsOK(res1)) {
20877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20878 }
20879 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20880 {
20881 PyThreadState* __tstate = wxPyBeginAllowThreads();
20882 (arg1)->ActivateNext();
20883 wxPyEndAllowThreads(__tstate);
20884 if (PyErr_Occurred()) SWIG_fail;
20885 }
20886 resultobj = SWIG_Py_Void();
20887 return resultobj;
20888fail:
20889 return NULL;
d55e5bfc
RD
20890}
20891
20892
554f62e9
RD
20893SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20894 PyObject *resultobj = 0;
20895 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20896 void *argp1 = 0 ;
20897 int res1 = 0 ;
20898 PyObject *swig_obj[1] ;
20899
20900 if (!args) SWIG_fail;
20901 swig_obj[0] = args;
20902 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20903 if (!SWIG_IsOK(res1)) {
20904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20905 }
20906 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20907 {
20908 PyThreadState* __tstate = wxPyBeginAllowThreads();
20909 (arg1)->ActivatePrevious();
20910 wxPyEndAllowThreads(__tstate);
20911 if (PyErr_Occurred()) SWIG_fail;
20912 }
20913 resultobj = SWIG_Py_Void();
20914 return resultobj;
20915fail:
20916 return NULL;
d55e5bfc
RD
20917}
20918
20919
554f62e9
RD
20920SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20921 PyObject *resultobj = 0;
20922 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20923 void *argp1 = 0 ;
20924 int res1 = 0 ;
20925 PyObject *swig_obj[1] ;
20926
20927 if (!args) SWIG_fail;
20928 swig_obj[0] = args;
20929 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20930 if (!SWIG_IsOK(res1)) {
20931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20932 }
20933 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20934 {
20935 PyThreadState* __tstate = wxPyBeginAllowThreads();
20936 (arg1)->ArrangeIcons();
20937 wxPyEndAllowThreads(__tstate);
20938 if (PyErr_Occurred()) SWIG_fail;
20939 }
20940 resultobj = SWIG_Py_Void();
20941 return resultobj;
20942fail:
20943 return NULL;
7e08d4ef
RD
20944}
20945
20946
554f62e9
RD
20947SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20948 PyObject *resultobj = 0;
20949 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20950 void *argp1 = 0 ;
20951 int res1 = 0 ;
20952 PyObject *swig_obj[1] ;
20953
20954 if (!args) SWIG_fail;
20955 swig_obj[0] = args;
20956 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20957 if (!SWIG_IsOK(res1)) {
20958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20959 }
20960 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20961 {
20962 PyThreadState* __tstate = wxPyBeginAllowThreads();
20963 (arg1)->Cascade();
20964 wxPyEndAllowThreads(__tstate);
20965 if (PyErr_Occurred()) SWIG_fail;
20966 }
20967 resultobj = SWIG_Py_Void();
20968 return resultobj;
20969fail:
20970 return NULL;
d55e5bfc
RD
20971}
20972
20973
554f62e9
RD
20974SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20975 PyObject *resultobj = 0;
20976 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20977 wxMDIChildFrame *result = 0 ;
20978 void *argp1 = 0 ;
20979 int res1 = 0 ;
20980 PyObject *swig_obj[1] ;
20981
20982 if (!args) SWIG_fail;
20983 swig_obj[0] = args;
20984 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20985 if (!SWIG_IsOK(res1)) {
20986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20987 }
20988 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20989 {
20990 PyThreadState* __tstate = wxPyBeginAllowThreads();
20991 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20992 wxPyEndAllowThreads(__tstate);
20993 if (PyErr_Occurred()) SWIG_fail;
20994 }
20995 {
20996 resultobj = wxPyMake_wxObject(result, (bool)0);
20997 }
20998 return resultobj;
20999fail:
21000 return NULL;
d55e5bfc
RD
21001}
21002
21003
554f62e9
RD
21004SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21005 PyObject *resultobj = 0;
21006 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21007 wxMDIClientWindow *result = 0 ;
21008 void *argp1 = 0 ;
21009 int res1 = 0 ;
21010 PyObject *swig_obj[1] ;
21011
21012 if (!args) SWIG_fail;
21013 swig_obj[0] = args;
21014 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21015 if (!SWIG_IsOK(res1)) {
21016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21017 }
21018 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21019 {
21020 PyThreadState* __tstate = wxPyBeginAllowThreads();
21021 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
21022 wxPyEndAllowThreads(__tstate);
21023 if (PyErr_Occurred()) SWIG_fail;
21024 }
21025 {
21026 resultobj = wxPyMake_wxObject(result, (bool)0);
21027 }
21028 return resultobj;
21029fail:
21030 return NULL;
d55e5bfc
RD
21031}
21032
21033
554f62e9
RD
21034SWIGINTERN PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21035 PyObject *resultobj = 0;
21036 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21037 wxWindow *result = 0 ;
21038 void *argp1 = 0 ;
21039 int res1 = 0 ;
21040 PyObject *swig_obj[1] ;
21041
21042 if (!args) SWIG_fail;
21043 swig_obj[0] = args;
21044 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21045 if (!SWIG_IsOK(res1)) {
21046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21047 }
21048 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21049 {
21050 PyThreadState* __tstate = wxPyBeginAllowThreads();
21051 result = (wxWindow *)(arg1)->GetToolBar();
21052 wxPyEndAllowThreads(__tstate);
21053 if (PyErr_Occurred()) SWIG_fail;
21054 }
21055 {
21056 resultobj = wxPyMake_wxObject(result, 0);
21057 }
21058 return resultobj;
21059fail:
21060 return NULL;
d55e5bfc
RD
21061}
21062
21063
554f62e9
RD
21064SWIGINTERN PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21065 PyObject *resultobj = 0;
21066 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21067 wxMenu *result = 0 ;
21068 void *argp1 = 0 ;
21069 int res1 = 0 ;
21070 PyObject *swig_obj[1] ;
21071
21072 if (!args) SWIG_fail;
21073 swig_obj[0] = args;
21074 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21075 if (!SWIG_IsOK(res1)) {
21076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21077 }
21078 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21079 {
21080 PyThreadState* __tstate = wxPyBeginAllowThreads();
21081 result = (wxMenu *)(arg1)->GetWindowMenu();
21082 wxPyEndAllowThreads(__tstate);
21083 if (PyErr_Occurred()) SWIG_fail;
21084 }
21085 {
21086 resultobj = wxPyMake_wxObject(result, 0);
21087 }
21088 return resultobj;
21089fail:
21090 return NULL;
21091}
21092
21093
21094SWIGINTERN PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21095 PyObject *resultobj = 0;
21096 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21097 wxMenu *arg2 = (wxMenu *) 0 ;
21098 void *argp1 = 0 ;
21099 int res1 = 0 ;
21100 void *argp2 = 0 ;
21101 int res2 = 0 ;
21102 PyObject * obj0 = 0 ;
21103 PyObject * obj1 = 0 ;
21104 char * kwnames[] = {
21105 (char *) "self",(char *) "menu", NULL
21106 };
21107
21108 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",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_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21112 }
21113 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21114 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
21115 if (!SWIG_IsOK(res2)) {
21116 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
21117 }
21118 arg2 = reinterpret_cast< wxMenu * >(argp2);
21119 {
21120 PyThreadState* __tstate = wxPyBeginAllowThreads();
21121 (arg1)->SetWindowMenu(arg2);
21122 wxPyEndAllowThreads(__tstate);
21123 if (PyErr_Occurred()) SWIG_fail;
21124 }
21125 resultobj = SWIG_Py_Void();
21126 return resultobj;
21127fail:
21128 return NULL;
21129}
21130
21131
21132SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21133 PyObject *resultobj = 0;
21134 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21135 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
21136 void *argp1 = 0 ;
21137 int res1 = 0 ;
21138 int val2 ;
21139 int ecode2 = 0 ;
21140 PyObject * obj0 = 0 ;
21141 PyObject * obj1 = 0 ;
21142 char * kwnames[] = {
21143 (char *) "self",(char *) "orient", NULL
21144 };
21145
21146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
21147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21148 if (!SWIG_IsOK(res1)) {
21149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21150 }
21151 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21152 if (obj1) {
21153 ecode2 = SWIG_AsVal_int(obj1, &val2);
21154 if (!SWIG_IsOK(ecode2)) {
21155 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21156 }
21157 arg2 = static_cast< wxOrientation >(val2);
21158 }
21159 {
21160 PyThreadState* __tstate = wxPyBeginAllowThreads();
21161 (arg1)->Tile(arg2);
21162 wxPyEndAllowThreads(__tstate);
21163 if (PyErr_Occurred()) SWIG_fail;
21164 }
21165 resultobj = SWIG_Py_Void();
21166 return resultobj;
21167fail:
21168 return NULL;
21169}
21170
21171
21172SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21173 PyObject *obj;
21174 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21175 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
21176 return SWIG_Py_Void();
21177}
21178
21179SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21180 return SWIG_Python_InitShadowInstance(args);
21181}
21182
21183SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21184 PyObject *resultobj = 0;
21185 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21186 int arg2 = (int) (int)-1 ;
21187 wxString const &arg3_defvalue = wxPyEmptyString ;
21188 wxString *arg3 = (wxString *) &arg3_defvalue ;
21189 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21190 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21191 wxSize const &arg5_defvalue = wxDefaultSize ;
21192 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21193 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21194 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21195 wxString *arg7 = (wxString *) &arg7_defvalue ;
21196 wxMDIChildFrame *result = 0 ;
21197 void *argp1 = 0 ;
21198 int res1 = 0 ;
21199 int val2 ;
21200 int ecode2 = 0 ;
21201 bool temp3 = false ;
21202 wxPoint temp4 ;
21203 wxSize temp5 ;
21204 long val6 ;
21205 int ecode6 = 0 ;
21206 bool temp7 = false ;
21207 PyObject * obj0 = 0 ;
21208 PyObject * obj1 = 0 ;
21209 PyObject * obj2 = 0 ;
21210 PyObject * obj3 = 0 ;
21211 PyObject * obj4 = 0 ;
21212 PyObject * obj5 = 0 ;
21213 PyObject * obj6 = 0 ;
21214 char * kwnames[] = {
21215 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21216 };
21217
21218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21220 if (!SWIG_IsOK(res1)) {
21221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21222 }
21223 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21224 if (obj1) {
21225 ecode2 = SWIG_AsVal_int(obj1, &val2);
21226 if (!SWIG_IsOK(ecode2)) {
21227 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21228 }
21229 arg2 = static_cast< int >(val2);
21230 }
21231 if (obj2) {
d55e5bfc 21232 {
554f62e9
RD
21233 arg3 = wxString_in_helper(obj2);
21234 if (arg3 == NULL) SWIG_fail;
21235 temp3 = true;
d55e5bfc 21236 }
554f62e9
RD
21237 }
21238 if (obj3) {
d55e5bfc 21239 {
554f62e9
RD
21240 arg4 = &temp4;
21241 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 21242 }
554f62e9
RD
21243 }
21244 if (obj4) {
d55e5bfc 21245 {
554f62e9
RD
21246 arg5 = &temp5;
21247 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 21248 }
554f62e9
RD
21249 }
21250 if (obj5) {
21251 ecode6 = SWIG_AsVal_long(obj5, &val6);
21252 if (!SWIG_IsOK(ecode6)) {
21253 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21254 }
21255 arg6 = static_cast< long >(val6);
21256 }
21257 if (obj6) {
d55e5bfc 21258 {
554f62e9
RD
21259 arg7 = wxString_in_helper(obj6);
21260 if (arg7 == NULL) SWIG_fail;
21261 temp7 = true;
d55e5bfc 21262 }
554f62e9
RD
21263 }
21264 {
21265 if (!wxPyCheckForApp()) SWIG_fail;
21266 PyThreadState* __tstate = wxPyBeginAllowThreads();
21267 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21268 wxPyEndAllowThreads(__tstate);
21269 if (PyErr_Occurred()) SWIG_fail;
21270 }
21271 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
21272 {
21273 if (temp3)
21274 delete arg3;
21275 }
21276 {
21277 if (temp7)
21278 delete arg7;
21279 }
21280 return resultobj;
21281fail:
21282 {
21283 if (temp3)
21284 delete arg3;
21285 }
21286 {
21287 if (temp7)
21288 delete arg7;
21289 }
21290 return NULL;
d55e5bfc
RD
21291}
21292
21293
554f62e9
RD
21294SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21295 PyObject *resultobj = 0;
21296 wxMDIChildFrame *result = 0 ;
21297
21298 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
21299 {
21300 if (!wxPyCheckForApp()) SWIG_fail;
21301 PyThreadState* __tstate = wxPyBeginAllowThreads();
21302 result = (wxMDIChildFrame *)new wxMDIChildFrame();
21303 wxPyEndAllowThreads(__tstate);
21304 if (PyErr_Occurred()) SWIG_fail;
21305 }
21306 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
21307 return resultobj;
21308fail:
21309 return NULL;
21310}
21311
21312
21313SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21314 PyObject *resultobj = 0;
21315 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21316 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21317 int arg3 = (int) (int)-1 ;
21318 wxString const &arg4_defvalue = wxPyEmptyString ;
21319 wxString *arg4 = (wxString *) &arg4_defvalue ;
21320 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21321 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21322 wxSize const &arg6_defvalue = wxDefaultSize ;
21323 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21324 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
21325 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21326 wxString *arg8 = (wxString *) &arg8_defvalue ;
21327 bool result;
21328 void *argp1 = 0 ;
21329 int res1 = 0 ;
21330 void *argp2 = 0 ;
21331 int res2 = 0 ;
21332 int val3 ;
21333 int ecode3 = 0 ;
21334 bool temp4 = false ;
21335 wxPoint temp5 ;
21336 wxSize temp6 ;
21337 long val7 ;
21338 int ecode7 = 0 ;
21339 bool temp8 = false ;
21340 PyObject * obj0 = 0 ;
21341 PyObject * obj1 = 0 ;
21342 PyObject * obj2 = 0 ;
21343 PyObject * obj3 = 0 ;
21344 PyObject * obj4 = 0 ;
21345 PyObject * obj5 = 0 ;
21346 PyObject * obj6 = 0 ;
21347 PyObject * obj7 = 0 ;
21348 char * kwnames[] = {
21349 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21350 };
21351
21352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21354 if (!SWIG_IsOK(res1)) {
21355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21356 }
21357 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21358 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21359 if (!SWIG_IsOK(res2)) {
21360 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21361 }
21362 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21363 if (obj2) {
21364 ecode3 = SWIG_AsVal_int(obj2, &val3);
21365 if (!SWIG_IsOK(ecode3)) {
21366 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21367 }
21368 arg3 = static_cast< int >(val3);
21369 }
21370 if (obj3) {
d55e5bfc 21371 {
554f62e9
RD
21372 arg4 = wxString_in_helper(obj3);
21373 if (arg4 == NULL) SWIG_fail;
21374 temp4 = true;
d55e5bfc 21375 }
554f62e9
RD
21376 }
21377 if (obj4) {
d55e5bfc 21378 {
554f62e9
RD
21379 arg5 = &temp5;
21380 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 21381 }
554f62e9
RD
21382 }
21383 if (obj5) {
093d3ff1 21384 {
554f62e9
RD
21385 arg6 = &temp6;
21386 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
093d3ff1 21387 }
554f62e9
RD
21388 }
21389 if (obj6) {
21390 ecode7 = SWIG_AsVal_long(obj6, &val7);
21391 if (!SWIG_IsOK(ecode7)) {
21392 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21393 }
21394 arg7 = static_cast< long >(val7);
21395 }
21396 if (obj7) {
d55e5bfc 21397 {
554f62e9
RD
21398 arg8 = wxString_in_helper(obj7);
21399 if (arg8 == NULL) SWIG_fail;
21400 temp8 = true;
d55e5bfc 21401 }
554f62e9
RD
21402 }
21403 {
21404 PyThreadState* __tstate = wxPyBeginAllowThreads();
21405 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21406 wxPyEndAllowThreads(__tstate);
21407 if (PyErr_Occurred()) SWIG_fail;
21408 }
21409 {
21410 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21411 }
21412 {
21413 if (temp4)
21414 delete arg4;
21415 }
21416 {
21417 if (temp8)
21418 delete arg8;
21419 }
21420 return resultobj;
21421fail:
21422 {
21423 if (temp4)
21424 delete arg4;
21425 }
21426 {
21427 if (temp8)
21428 delete arg8;
21429 }
21430 return NULL;
d55e5bfc
RD
21431}
21432
21433
554f62e9
RD
21434SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21435 PyObject *resultobj = 0;
21436 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21437 void *argp1 = 0 ;
21438 int res1 = 0 ;
21439 PyObject *swig_obj[1] ;
21440
21441 if (!args) SWIG_fail;
21442 swig_obj[0] = args;
21443 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21444 if (!SWIG_IsOK(res1)) {
21445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21446 }
21447 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21448 {
21449 PyThreadState* __tstate = wxPyBeginAllowThreads();
21450 (arg1)->Activate();
21451 wxPyEndAllowThreads(__tstate);
21452 if (PyErr_Occurred()) SWIG_fail;
21453 }
21454 resultobj = SWIG_Py_Void();
21455 return resultobj;
21456fail:
21457 return NULL;
d55e5bfc
RD
21458}
21459
21460
554f62e9
RD
21461SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21462 PyObject *obj;
21463 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21464 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21465 return SWIG_Py_Void();
d55e5bfc
RD
21466}
21467
554f62e9
RD
21468SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21469 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
21470}
21471
554f62e9
RD
21472SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21473 PyObject *resultobj = 0;
21474 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21475 long arg2 = (long) 0 ;
21476 wxMDIClientWindow *result = 0 ;
21477 void *argp1 = 0 ;
21478 int res1 = 0 ;
21479 long val2 ;
21480 int ecode2 = 0 ;
21481 PyObject * obj0 = 0 ;
21482 PyObject * obj1 = 0 ;
21483 char * kwnames[] = {
21484 (char *) "parent",(char *) "style", NULL
21485 };
21486
21487 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21489 if (!SWIG_IsOK(res1)) {
21490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21491 }
21492 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21493 if (obj1) {
21494 ecode2 = SWIG_AsVal_long(obj1, &val2);
21495 if (!SWIG_IsOK(ecode2)) {
21496 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21497 }
21498 arg2 = static_cast< long >(val2);
21499 }
21500 {
21501 if (!wxPyCheckForApp()) SWIG_fail;
21502 PyThreadState* __tstate = wxPyBeginAllowThreads();
21503 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21504 wxPyEndAllowThreads(__tstate);
21505 if (PyErr_Occurred()) SWIG_fail;
21506 }
21507 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21508 return resultobj;
21509fail:
21510 return NULL;
d55e5bfc
RD
21511}
21512
21513
554f62e9
RD
21514SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21515 PyObject *resultobj = 0;
21516 wxMDIClientWindow *result = 0 ;
21517
21518 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21519 {
21520 if (!wxPyCheckForApp()) SWIG_fail;
21521 PyThreadState* __tstate = wxPyBeginAllowThreads();
21522 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21523 wxPyEndAllowThreads(__tstate);
21524 if (PyErr_Occurred()) SWIG_fail;
21525 }
21526 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21527 return resultobj;
21528fail:
21529 return NULL;
21530}
21531
21532
21533SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21534 PyObject *resultobj = 0;
21535 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21536 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21537 long arg3 = (long) 0 ;
21538 bool result;
21539 void *argp1 = 0 ;
21540 int res1 = 0 ;
21541 void *argp2 = 0 ;
21542 int res2 = 0 ;
21543 long val3 ;
21544 int ecode3 = 0 ;
21545 PyObject * obj0 = 0 ;
21546 PyObject * obj1 = 0 ;
21547 PyObject * obj2 = 0 ;
21548 char * kwnames[] = {
21549 (char *) "self",(char *) "parent",(char *) "style", NULL
21550 };
21551
21552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21553 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21554 if (!SWIG_IsOK(res1)) {
21555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21556 }
21557 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21558 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21559 if (!SWIG_IsOK(res2)) {
21560 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21561 }
21562 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21563 if (obj2) {
21564 ecode3 = SWIG_AsVal_long(obj2, &val3);
21565 if (!SWIG_IsOK(ecode3)) {
21566 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21567 }
21568 arg3 = static_cast< long >(val3);
21569 }
21570 {
21571 PyThreadState* __tstate = wxPyBeginAllowThreads();
21572 result = (bool)(arg1)->Create(arg2,arg3);
21573 wxPyEndAllowThreads(__tstate);
21574 if (PyErr_Occurred()) SWIG_fail;
21575 }
21576 {
21577 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21578 }
21579 return resultobj;
21580fail:
21581 return NULL;
21582}
21583
21584
21585SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21586 PyObject *obj;
21587 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21588 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21589 return SWIG_Py_Void();
21590}
21591
21592SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21593 return SWIG_Python_InitShadowInstance(args);
21594}
21595
21596SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21597 PyObject *resultobj = 0;
21598 wxWindow *arg1 = (wxWindow *) 0 ;
21599 int arg2 = (int) (int)-1 ;
21600 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21601 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21602 wxSize const &arg4_defvalue = wxDefaultSize ;
21603 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21604 long arg5 = (long) 0 ;
21605 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21606 wxString *arg6 = (wxString *) &arg6_defvalue ;
21607 wxPyWindow *result = 0 ;
21608 void *argp1 = 0 ;
21609 int res1 = 0 ;
21610 int val2 ;
21611 int ecode2 = 0 ;
21612 wxPoint temp3 ;
21613 wxSize temp4 ;
21614 long val5 ;
21615 int ecode5 = 0 ;
21616 bool temp6 = false ;
21617 PyObject * obj0 = 0 ;
21618 PyObject * obj1 = 0 ;
21619 PyObject * obj2 = 0 ;
21620 PyObject * obj3 = 0 ;
21621 PyObject * obj4 = 0 ;
21622 PyObject * obj5 = 0 ;
21623 char * kwnames[] = {
21624 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21625 };
21626
21627 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21628 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21629 if (!SWIG_IsOK(res1)) {
21630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21631 }
21632 arg1 = reinterpret_cast< wxWindow * >(argp1);
21633 if (obj1) {
21634 ecode2 = SWIG_AsVal_int(obj1, &val2);
21635 if (!SWIG_IsOK(ecode2)) {
21636 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21637 }
21638 arg2 = static_cast< int >(val2);
21639 }
21640 if (obj2) {
d55e5bfc 21641 {
554f62e9
RD
21642 arg3 = &temp3;
21643 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 21644 }
554f62e9
RD
21645 }
21646 if (obj3) {
d55e5bfc 21647 {
554f62e9
RD
21648 arg4 = &temp4;
21649 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 21650 }
554f62e9
RD
21651 }
21652 if (obj4) {
21653 ecode5 = SWIG_AsVal_long(obj4, &val5);
21654 if (!SWIG_IsOK(ecode5)) {
21655 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21656 }
21657 arg5 = static_cast< long >(val5);
21658 }
21659 if (obj5) {
d55e5bfc 21660 {
554f62e9
RD
21661 arg6 = wxString_in_helper(obj5);
21662 if (arg6 == NULL) SWIG_fail;
21663 temp6 = true;
d55e5bfc 21664 }
554f62e9
RD
21665 }
21666 {
21667 if (!wxPyCheckForApp()) SWIG_fail;
21668 PyThreadState* __tstate = wxPyBeginAllowThreads();
21669 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21670 wxPyEndAllowThreads(__tstate);
21671 if (PyErr_Occurred()) SWIG_fail;
21672 }
21673 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21674 {
21675 if (temp6)
21676 delete arg6;
21677 }
21678 return resultobj;
21679fail:
21680 {
21681 if (temp6)
21682 delete arg6;
21683 }
21684 return NULL;
d55e5bfc
RD
21685}
21686
21687
554f62e9
RD
21688SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21689 PyObject *resultobj = 0;
21690 wxPyWindow *result = 0 ;
21691
21692 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21693 {
21694 if (!wxPyCheckForApp()) SWIG_fail;
21695 PyThreadState* __tstate = wxPyBeginAllowThreads();
21696 result = (wxPyWindow *)new wxPyWindow();
21697 wxPyEndAllowThreads(__tstate);
21698 if (PyErr_Occurred()) SWIG_fail;
21699 }
21700 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21701 return resultobj;
21702fail:
21703 return NULL;
21704}
21705
21706
21707SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21708 PyObject *resultobj = 0;
21709 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21710 PyObject *arg2 = (PyObject *) 0 ;
21711 PyObject *arg3 = (PyObject *) 0 ;
21712 void *argp1 = 0 ;
21713 int res1 = 0 ;
21714 PyObject * obj0 = 0 ;
21715 PyObject * obj1 = 0 ;
21716 PyObject * obj2 = 0 ;
21717 char * kwnames[] = {
21718 (char *) "self",(char *) "self",(char *) "_class", NULL
21719 };
21720
21721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21723 if (!SWIG_IsOK(res1)) {
21724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21725 }
21726 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21727 arg2 = obj1;
21728 arg3 = obj2;
21729 {
21730 PyThreadState* __tstate = wxPyBeginAllowThreads();
21731 (arg1)->_setCallbackInfo(arg2,arg3);
21732 wxPyEndAllowThreads(__tstate);
21733 if (PyErr_Occurred()) SWIG_fail;
21734 }
21735 resultobj = SWIG_Py_Void();
21736 return resultobj;
21737fail:
21738 return NULL;
21739}
21740
21741
21742SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21743 PyObject *resultobj = 0;
21744 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21745 wxSize *arg2 = 0 ;
21746 void *argp1 = 0 ;
21747 int res1 = 0 ;
21748 wxSize temp2 ;
21749 PyObject * obj0 = 0 ;
21750 PyObject * obj1 = 0 ;
21751 char * kwnames[] = {
21752 (char *) "self",(char *) "size", NULL
21753 };
21754
21755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21757 if (!SWIG_IsOK(res1)) {
21758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21759 }
21760 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21761 {
21762 arg2 = &temp2;
21763 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21764 }
21765 {
21766 PyThreadState* __tstate = wxPyBeginAllowThreads();
21767 (arg1)->SetBestSize((wxSize const &)*arg2);
21768 wxPyEndAllowThreads(__tstate);
21769 if (PyErr_Occurred()) SWIG_fail;
21770 }
21771 resultobj = SWIG_Py_Void();
21772 return resultobj;
21773fail:
21774 return NULL;
21775}
21776
21777
21778SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21779 PyObject *resultobj = 0;
21780 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21781 wxDC *arg2 = (wxDC *) 0 ;
21782 bool result;
21783 void *argp1 = 0 ;
21784 int res1 = 0 ;
21785 void *argp2 = 0 ;
21786 int res2 = 0 ;
21787 PyObject * obj0 = 0 ;
21788 PyObject * obj1 = 0 ;
21789 char * kwnames[] = {
21790 (char *) "self",(char *) "dc", NULL
21791 };
21792
21793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21794 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21795 if (!SWIG_IsOK(res1)) {
21796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21797 }
21798 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21799 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21800 if (!SWIG_IsOK(res2)) {
21801 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21802 }
21803 arg2 = reinterpret_cast< wxDC * >(argp2);
21804 {
21805 PyThreadState* __tstate = wxPyBeginAllowThreads();
21806 result = (bool)(arg1)->DoEraseBackground(arg2);
21807 wxPyEndAllowThreads(__tstate);
21808 if (PyErr_Occurred()) SWIG_fail;
21809 }
21810 {
21811 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21812 }
21813 return resultobj;
21814fail:
21815 return NULL;
21816}
21817
21818
21819SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21820 PyObject *resultobj = 0;
21821 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21822 int arg2 ;
21823 int arg3 ;
21824 int arg4 ;
21825 int arg5 ;
21826 void *argp1 = 0 ;
21827 int res1 = 0 ;
21828 int val2 ;
21829 int ecode2 = 0 ;
21830 int val3 ;
21831 int ecode3 = 0 ;
21832 int val4 ;
21833 int ecode4 = 0 ;
21834 int val5 ;
21835 int ecode5 = 0 ;
21836 PyObject * obj0 = 0 ;
21837 PyObject * obj1 = 0 ;
21838 PyObject * obj2 = 0 ;
21839 PyObject * obj3 = 0 ;
21840 PyObject * obj4 = 0 ;
21841 char * kwnames[] = {
21842 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21843 };
21844
21845 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21846 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21847 if (!SWIG_IsOK(res1)) {
21848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21849 }
21850 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21851 ecode2 = SWIG_AsVal_int(obj1, &val2);
21852 if (!SWIG_IsOK(ecode2)) {
21853 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21854 }
21855 arg2 = static_cast< int >(val2);
21856 ecode3 = SWIG_AsVal_int(obj2, &val3);
21857 if (!SWIG_IsOK(ecode3)) {
21858 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21859 }
21860 arg3 = static_cast< int >(val3);
21861 ecode4 = SWIG_AsVal_int(obj3, &val4);
21862 if (!SWIG_IsOK(ecode4)) {
21863 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21864 }
21865 arg4 = static_cast< int >(val4);
21866 ecode5 = SWIG_AsVal_int(obj4, &val5);
21867 if (!SWIG_IsOK(ecode5)) {
21868 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21869 }
21870 arg5 = static_cast< int >(val5);
21871 {
21872 PyThreadState* __tstate = wxPyBeginAllowThreads();
21873 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21874 wxPyEndAllowThreads(__tstate);
21875 if (PyErr_Occurred()) SWIG_fail;
21876 }
21877 resultobj = SWIG_Py_Void();
21878 return resultobj;
21879fail:
21880 return NULL;
21881}
21882
21883
21884SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21885 PyObject *resultobj = 0;
21886 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21887 int arg2 ;
21888 int arg3 ;
21889 int arg4 ;
21890 int arg5 ;
21891 int arg6 = (int) wxSIZE_AUTO ;
21892 void *argp1 = 0 ;
21893 int res1 = 0 ;
21894 int val2 ;
21895 int ecode2 = 0 ;
21896 int val3 ;
21897 int ecode3 = 0 ;
21898 int val4 ;
21899 int ecode4 = 0 ;
21900 int val5 ;
21901 int ecode5 = 0 ;
21902 int val6 ;
21903 int ecode6 = 0 ;
21904 PyObject * obj0 = 0 ;
21905 PyObject * obj1 = 0 ;
21906 PyObject * obj2 = 0 ;
21907 PyObject * obj3 = 0 ;
21908 PyObject * obj4 = 0 ;
21909 PyObject * obj5 = 0 ;
21910 char * kwnames[] = {
21911 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21912 };
21913
21914 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21915 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21916 if (!SWIG_IsOK(res1)) {
21917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21918 }
21919 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21920 ecode2 = SWIG_AsVal_int(obj1, &val2);
21921 if (!SWIG_IsOK(ecode2)) {
21922 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21923 }
21924 arg2 = static_cast< int >(val2);
21925 ecode3 = SWIG_AsVal_int(obj2, &val3);
21926 if (!SWIG_IsOK(ecode3)) {
21927 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21928 }
21929 arg3 = static_cast< int >(val3);
21930 ecode4 = SWIG_AsVal_int(obj3, &val4);
21931 if (!SWIG_IsOK(ecode4)) {
21932 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21933 }
21934 arg4 = static_cast< int >(val4);
21935 ecode5 = SWIG_AsVal_int(obj4, &val5);
21936 if (!SWIG_IsOK(ecode5)) {
21937 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21938 }
21939 arg5 = static_cast< int >(val5);
21940 if (obj5) {
21941 ecode6 = SWIG_AsVal_int(obj5, &val6);
21942 if (!SWIG_IsOK(ecode6)) {
21943 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21944 }
21945 arg6 = static_cast< int >(val6);
21946 }
21947 {
21948 PyThreadState* __tstate = wxPyBeginAllowThreads();
21949 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21950 wxPyEndAllowThreads(__tstate);
21951 if (PyErr_Occurred()) SWIG_fail;
21952 }
21953 resultobj = SWIG_Py_Void();
21954 return resultobj;
21955fail:
21956 return NULL;
21957}
21958
21959
21960SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21961 PyObject *resultobj = 0;
21962 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21963 int arg2 ;
21964 int arg3 ;
21965 void *argp1 = 0 ;
21966 int res1 = 0 ;
21967 int val2 ;
21968 int ecode2 = 0 ;
21969 int val3 ;
21970 int ecode3 = 0 ;
21971 PyObject * obj0 = 0 ;
21972 PyObject * obj1 = 0 ;
21973 PyObject * obj2 = 0 ;
21974 char * kwnames[] = {
21975 (char *) "self",(char *) "width",(char *) "height", NULL
21976 };
21977
21978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21980 if (!SWIG_IsOK(res1)) {
21981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21982 }
21983 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21984 ecode2 = SWIG_AsVal_int(obj1, &val2);
21985 if (!SWIG_IsOK(ecode2)) {
21986 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21987 }
21988 arg2 = static_cast< int >(val2);
21989 ecode3 = SWIG_AsVal_int(obj2, &val3);
21990 if (!SWIG_IsOK(ecode3)) {
21991 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21992 }
21993 arg3 = static_cast< int >(val3);
21994 {
21995 PyThreadState* __tstate = wxPyBeginAllowThreads();
21996 (arg1)->DoSetClientSize(arg2,arg3);
21997 wxPyEndAllowThreads(__tstate);
21998 if (PyErr_Occurred()) SWIG_fail;
21999 }
22000 resultobj = SWIG_Py_Void();
22001 return resultobj;
22002fail:
22003 return NULL;
22004}
22005
22006
22007SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22008 PyObject *resultobj = 0;
22009 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22010 int arg2 ;
22011 int arg3 ;
22012 void *argp1 = 0 ;
22013 int res1 = 0 ;
22014 int val2 ;
22015 int ecode2 = 0 ;
22016 int val3 ;
22017 int ecode3 = 0 ;
22018 PyObject * obj0 = 0 ;
22019 PyObject * obj1 = 0 ;
22020 PyObject * obj2 = 0 ;
22021 char * kwnames[] = {
22022 (char *) "self",(char *) "x",(char *) "y", NULL
22023 };
22024
22025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22027 if (!SWIG_IsOK(res1)) {
22028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22029 }
22030 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22031 ecode2 = SWIG_AsVal_int(obj1, &val2);
22032 if (!SWIG_IsOK(ecode2)) {
22033 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22034 }
22035 arg2 = static_cast< int >(val2);
22036 ecode3 = SWIG_AsVal_int(obj2, &val3);
22037 if (!SWIG_IsOK(ecode3)) {
22038 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22039 }
22040 arg3 = static_cast< int >(val3);
22041 {
22042 PyThreadState* __tstate = wxPyBeginAllowThreads();
22043 (arg1)->DoSetVirtualSize(arg2,arg3);
22044 wxPyEndAllowThreads(__tstate);
22045 if (PyErr_Occurred()) SWIG_fail;
22046 }
22047 resultobj = SWIG_Py_Void();
22048 return resultobj;
22049fail:
22050 return NULL;
22051}
22052
22053
22054SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22055 PyObject *resultobj = 0;
22056 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22057 int *arg2 = (int *) 0 ;
22058 int *arg3 = (int *) 0 ;
22059 void *argp1 = 0 ;
22060 int res1 = 0 ;
22061 int temp2 ;
22062 int res2 = SWIG_TMPOBJ ;
22063 int temp3 ;
22064 int res3 = SWIG_TMPOBJ ;
22065 PyObject *swig_obj[1] ;
22066
22067 arg2 = &temp2;
22068 arg3 = &temp3;
22069 if (!args) SWIG_fail;
22070 swig_obj[0] = args;
22071 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22072 if (!SWIG_IsOK(res1)) {
22073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22074 }
22075 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22076 {
22077 PyThreadState* __tstate = wxPyBeginAllowThreads();
22078 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
22079 wxPyEndAllowThreads(__tstate);
22080 if (PyErr_Occurred()) SWIG_fail;
22081 }
22082 resultobj = SWIG_Py_Void();
22083 if (SWIG_IsTmpObj(res2)) {
22084 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22085 } else {
22086 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22087 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22088 }
22089 if (SWIG_IsTmpObj(res3)) {
22090 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22091 } else {
22092 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22093 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22094 }
22095 return resultobj;
22096fail:
22097 return NULL;
22098}
22099
22100
22101SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22102 PyObject *resultobj = 0;
22103 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22104 int *arg2 = (int *) 0 ;
22105 int *arg3 = (int *) 0 ;
22106 void *argp1 = 0 ;
22107 int res1 = 0 ;
22108 int temp2 ;
22109 int res2 = SWIG_TMPOBJ ;
22110 int temp3 ;
22111 int res3 = SWIG_TMPOBJ ;
22112 PyObject *swig_obj[1] ;
22113
22114 arg2 = &temp2;
22115 arg3 = &temp3;
22116 if (!args) SWIG_fail;
22117 swig_obj[0] = args;
22118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22119 if (!SWIG_IsOK(res1)) {
22120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22121 }
22122 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22123 {
22124 PyThreadState* __tstate = wxPyBeginAllowThreads();
22125 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
22126 wxPyEndAllowThreads(__tstate);
22127 if (PyErr_Occurred()) SWIG_fail;
22128 }
22129 resultobj = SWIG_Py_Void();
22130 if (SWIG_IsTmpObj(res2)) {
22131 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22132 } else {
22133 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22134 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22135 }
22136 if (SWIG_IsTmpObj(res3)) {
22137 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22138 } else {
22139 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22140 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22141 }
22142 return resultobj;
22143fail:
22144 return NULL;
22145}
22146
22147
22148SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22149 PyObject *resultobj = 0;
22150 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22151 int *arg2 = (int *) 0 ;
22152 int *arg3 = (int *) 0 ;
22153 void *argp1 = 0 ;
22154 int res1 = 0 ;
22155 int temp2 ;
22156 int res2 = SWIG_TMPOBJ ;
22157 int temp3 ;
22158 int res3 = SWIG_TMPOBJ ;
22159 PyObject *swig_obj[1] ;
22160
22161 arg2 = &temp2;
22162 arg3 = &temp3;
22163 if (!args) SWIG_fail;
22164 swig_obj[0] = args;
22165 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22166 if (!SWIG_IsOK(res1)) {
22167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22168 }
22169 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22170 {
22171 PyThreadState* __tstate = wxPyBeginAllowThreads();
22172 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
22173 wxPyEndAllowThreads(__tstate);
22174 if (PyErr_Occurred()) SWIG_fail;
22175 }
22176 resultobj = SWIG_Py_Void();
22177 if (SWIG_IsTmpObj(res2)) {
22178 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22179 } else {
22180 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22181 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22182 }
22183 if (SWIG_IsTmpObj(res3)) {
22184 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22185 } else {
22186 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22187 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22188 }
22189 return resultobj;
22190fail:
22191 return NULL;
22192}
d55e5bfc 22193
554f62e9
RD
22194
22195SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22196 PyObject *resultobj = 0;
22197 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22198 wxSize result;
22199 void *argp1 = 0 ;
22200 int res1 = 0 ;
22201 PyObject *swig_obj[1] ;
22202
22203 if (!args) SWIG_fail;
22204 swig_obj[0] = args;
22205 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22206 if (!SWIG_IsOK(res1)) {
22207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22208 }
22209 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22210 {
22211 PyThreadState* __tstate = wxPyBeginAllowThreads();
22212 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
22213 wxPyEndAllowThreads(__tstate);
22214 if (PyErr_Occurred()) SWIG_fail;
22215 }
22216 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22217 return resultobj;
22218fail:
22219 return NULL;
d55e5bfc
RD
22220}
22221
22222
554f62e9
RD
22223SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22224 PyObject *resultobj = 0;
22225 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22226 wxSize result;
22227 void *argp1 = 0 ;
22228 int res1 = 0 ;
22229 PyObject *swig_obj[1] ;
22230
22231 if (!args) SWIG_fail;
22232 swig_obj[0] = args;
22233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22234 if (!SWIG_IsOK(res1)) {
22235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22236 }
22237 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22238 {
22239 PyThreadState* __tstate = wxPyBeginAllowThreads();
22240 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
22241 wxPyEndAllowThreads(__tstate);
22242 if (PyErr_Occurred()) SWIG_fail;
22243 }
22244 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22245 return resultobj;
22246fail:
22247 return NULL;
d55e5bfc
RD
22248}
22249
22250
554f62e9
RD
22251SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22252 PyObject *resultobj = 0;
22253 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22254 SwigValueWrapper<wxVisualAttributes > result;
22255 void *argp1 = 0 ;
22256 int res1 = 0 ;
22257 PyObject *swig_obj[1] ;
22258
22259 if (!args) SWIG_fail;
22260 swig_obj[0] = args;
22261 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22262 if (!SWIG_IsOK(res1)) {
22263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22264 }
22265 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22266 {
22267 PyThreadState* __tstate = wxPyBeginAllowThreads();
22268 result = (arg1)->GetDefaultAttributes();
22269 wxPyEndAllowThreads(__tstate);
22270 if (PyErr_Occurred()) SWIG_fail;
22271 }
22272 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22273 return resultobj;
22274fail:
22275 return NULL;
d55e5bfc
RD
22276}
22277
22278
554f62e9
RD
22279SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22280 PyObject *resultobj = 0;
22281 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22282 void *argp1 = 0 ;
22283 int res1 = 0 ;
22284 PyObject *swig_obj[1] ;
22285
22286 if (!args) SWIG_fail;
22287 swig_obj[0] = args;
22288 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22289 if (!SWIG_IsOK(res1)) {
22290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22291 }
22292 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22293 {
22294 PyThreadState* __tstate = wxPyBeginAllowThreads();
22295 (arg1)->OnInternalIdle();
22296 wxPyEndAllowThreads(__tstate);
22297 if (PyErr_Occurred()) SWIG_fail;
22298 }
22299 resultobj = SWIG_Py_Void();
22300 return resultobj;
22301fail:
22302 return NULL;
22303}
22304
22305
22306SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22307 PyObject *obj;
22308 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22309 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
22310 return SWIG_Py_Void();
22311}
22312
22313SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22314 return SWIG_Python_InitShadowInstance(args);
22315}
22316
22317SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22318 PyObject *resultobj = 0;
22319 wxWindow *arg1 = (wxWindow *) 0 ;
22320 int arg2 = (int) (int)-1 ;
22321 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22322 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22323 wxSize const &arg4_defvalue = wxDefaultSize ;
22324 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22325 long arg5 = (long) 0 ;
22326 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22327 wxString *arg6 = (wxString *) &arg6_defvalue ;
22328 wxPyPanel *result = 0 ;
22329 void *argp1 = 0 ;
22330 int res1 = 0 ;
22331 int val2 ;
22332 int ecode2 = 0 ;
22333 wxPoint temp3 ;
22334 wxSize temp4 ;
22335 long val5 ;
22336 int ecode5 = 0 ;
22337 bool temp6 = false ;
22338 PyObject * obj0 = 0 ;
22339 PyObject * obj1 = 0 ;
22340 PyObject * obj2 = 0 ;
22341 PyObject * obj3 = 0 ;
22342 PyObject * obj4 = 0 ;
22343 PyObject * obj5 = 0 ;
22344 char * kwnames[] = {
22345 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22346 };
22347
22348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22349 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22350 if (!SWIG_IsOK(res1)) {
22351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22352 }
22353 arg1 = reinterpret_cast< wxWindow * >(argp1);
22354 if (obj1) {
22355 ecode2 = SWIG_AsVal_int(obj1, &val2);
22356 if (!SWIG_IsOK(ecode2)) {
22357 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22358 }
22359 arg2 = static_cast< int >(val2);
22360 }
22361 if (obj2) {
093d3ff1 22362 {
554f62e9
RD
22363 arg3 = &temp3;
22364 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 22365 }
554f62e9
RD
22366 }
22367 if (obj3) {
d55e5bfc 22368 {
554f62e9
RD
22369 arg4 = &temp4;
22370 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 22371 }
554f62e9
RD
22372 }
22373 if (obj4) {
22374 ecode5 = SWIG_AsVal_long(obj4, &val5);
22375 if (!SWIG_IsOK(ecode5)) {
22376 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22377 }
22378 arg5 = static_cast< long >(val5);
22379 }
22380 if (obj5) {
d55e5bfc 22381 {
554f62e9
RD
22382 arg6 = wxString_in_helper(obj5);
22383 if (arg6 == NULL) SWIG_fail;
22384 temp6 = true;
d55e5bfc 22385 }
554f62e9
RD
22386 }
22387 {
22388 if (!wxPyCheckForApp()) SWIG_fail;
22389 PyThreadState* __tstate = wxPyBeginAllowThreads();
22390 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22391 wxPyEndAllowThreads(__tstate);
22392 if (PyErr_Occurred()) SWIG_fail;
22393 }
22394 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22395 {
22396 if (temp6)
22397 delete arg6;
22398 }
22399 return resultobj;
22400fail:
22401 {
22402 if (temp6)
22403 delete arg6;
22404 }
22405 return NULL;
d55e5bfc
RD
22406}
22407
22408
554f62e9
RD
22409SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22410 PyObject *resultobj = 0;
22411 wxPyPanel *result = 0 ;
22412
22413 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22414 {
22415 if (!wxPyCheckForApp()) SWIG_fail;
22416 PyThreadState* __tstate = wxPyBeginAllowThreads();
22417 result = (wxPyPanel *)new wxPyPanel();
22418 wxPyEndAllowThreads(__tstate);
22419 if (PyErr_Occurred()) SWIG_fail;
22420 }
22421 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22422 return resultobj;
22423fail:
22424 return NULL;
22425}
22426
22427
22428SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22429 PyObject *resultobj = 0;
22430 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22431 PyObject *arg2 = (PyObject *) 0 ;
22432 PyObject *arg3 = (PyObject *) 0 ;
22433 void *argp1 = 0 ;
22434 int res1 = 0 ;
22435 PyObject * obj0 = 0 ;
22436 PyObject * obj1 = 0 ;
22437 PyObject * obj2 = 0 ;
22438 char * kwnames[] = {
22439 (char *) "self",(char *) "self",(char *) "_class", NULL
22440 };
22441
22442 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22443 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22444 if (!SWIG_IsOK(res1)) {
22445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22446 }
22447 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22448 arg2 = obj1;
22449 arg3 = obj2;
22450 {
22451 PyThreadState* __tstate = wxPyBeginAllowThreads();
22452 (arg1)->_setCallbackInfo(arg2,arg3);
22453 wxPyEndAllowThreads(__tstate);
22454 if (PyErr_Occurred()) SWIG_fail;
22455 }
22456 resultobj = SWIG_Py_Void();
22457 return resultobj;
22458fail:
22459 return NULL;
22460}
22461
22462
22463SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22464 PyObject *resultobj = 0;
22465 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22466 wxSize *arg2 = 0 ;
22467 void *argp1 = 0 ;
22468 int res1 = 0 ;
22469 wxSize temp2 ;
22470 PyObject * obj0 = 0 ;
22471 PyObject * obj1 = 0 ;
22472 char * kwnames[] = {
22473 (char *) "self",(char *) "size", NULL
22474 };
22475
22476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22478 if (!SWIG_IsOK(res1)) {
22479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22480 }
22481 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22482 {
22483 arg2 = &temp2;
22484 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22485 }
22486 {
22487 PyThreadState* __tstate = wxPyBeginAllowThreads();
22488 (arg1)->SetBestSize((wxSize const &)*arg2);
22489 wxPyEndAllowThreads(__tstate);
22490 if (PyErr_Occurred()) SWIG_fail;
22491 }
22492 resultobj = SWIG_Py_Void();
22493 return resultobj;
22494fail:
22495 return NULL;
22496}
22497
22498
22499SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22500 PyObject *resultobj = 0;
22501 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22502 wxDC *arg2 = (wxDC *) 0 ;
22503 bool result;
22504 void *argp1 = 0 ;
22505 int res1 = 0 ;
22506 void *argp2 = 0 ;
22507 int res2 = 0 ;
22508 PyObject * obj0 = 0 ;
22509 PyObject * obj1 = 0 ;
22510 char * kwnames[] = {
22511 (char *) "self",(char *) "dc", NULL
22512 };
22513
22514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22516 if (!SWIG_IsOK(res1)) {
22517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22518 }
22519 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22520 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22521 if (!SWIG_IsOK(res2)) {
22522 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22523 }
22524 arg2 = reinterpret_cast< wxDC * >(argp2);
22525 {
22526 PyThreadState* __tstate = wxPyBeginAllowThreads();
22527 result = (bool)(arg1)->DoEraseBackground(arg2);
22528 wxPyEndAllowThreads(__tstate);
22529 if (PyErr_Occurred()) SWIG_fail;
22530 }
22531 {
22532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22533 }
22534 return resultobj;
22535fail:
22536 return NULL;
22537}
22538
22539
22540SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22541 PyObject *resultobj = 0;
22542 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22543 int arg2 ;
22544 int arg3 ;
22545 int arg4 ;
22546 int arg5 ;
22547 void *argp1 = 0 ;
22548 int res1 = 0 ;
22549 int val2 ;
22550 int ecode2 = 0 ;
22551 int val3 ;
22552 int ecode3 = 0 ;
22553 int val4 ;
22554 int ecode4 = 0 ;
22555 int val5 ;
22556 int ecode5 = 0 ;
22557 PyObject * obj0 = 0 ;
22558 PyObject * obj1 = 0 ;
22559 PyObject * obj2 = 0 ;
22560 PyObject * obj3 = 0 ;
22561 PyObject * obj4 = 0 ;
22562 char * kwnames[] = {
22563 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22564 };
22565
22566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22568 if (!SWIG_IsOK(res1)) {
22569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22570 }
22571 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22572 ecode2 = SWIG_AsVal_int(obj1, &val2);
22573 if (!SWIG_IsOK(ecode2)) {
22574 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22575 }
22576 arg2 = static_cast< int >(val2);
22577 ecode3 = SWIG_AsVal_int(obj2, &val3);
22578 if (!SWIG_IsOK(ecode3)) {
22579 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22580 }
22581 arg3 = static_cast< int >(val3);
22582 ecode4 = SWIG_AsVal_int(obj3, &val4);
22583 if (!SWIG_IsOK(ecode4)) {
22584 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22585 }
22586 arg4 = static_cast< int >(val4);
22587 ecode5 = SWIG_AsVal_int(obj4, &val5);
22588 if (!SWIG_IsOK(ecode5)) {
22589 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22590 }
22591 arg5 = static_cast< int >(val5);
22592 {
22593 PyThreadState* __tstate = wxPyBeginAllowThreads();
22594 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22595 wxPyEndAllowThreads(__tstate);
22596 if (PyErr_Occurred()) SWIG_fail;
22597 }
22598 resultobj = SWIG_Py_Void();
22599 return resultobj;
22600fail:
22601 return NULL;
22602}
22603
22604
22605SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22606 PyObject *resultobj = 0;
22607 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22608 int arg2 ;
22609 int arg3 ;
22610 int arg4 ;
22611 int arg5 ;
22612 int arg6 = (int) wxSIZE_AUTO ;
22613 void *argp1 = 0 ;
22614 int res1 = 0 ;
22615 int val2 ;
22616 int ecode2 = 0 ;
22617 int val3 ;
22618 int ecode3 = 0 ;
22619 int val4 ;
22620 int ecode4 = 0 ;
22621 int val5 ;
22622 int ecode5 = 0 ;
22623 int val6 ;
22624 int ecode6 = 0 ;
22625 PyObject * obj0 = 0 ;
22626 PyObject * obj1 = 0 ;
22627 PyObject * obj2 = 0 ;
22628 PyObject * obj3 = 0 ;
22629 PyObject * obj4 = 0 ;
22630 PyObject * obj5 = 0 ;
22631 char * kwnames[] = {
22632 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22633 };
22634
22635 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22637 if (!SWIG_IsOK(res1)) {
22638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22639 }
22640 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22641 ecode2 = SWIG_AsVal_int(obj1, &val2);
22642 if (!SWIG_IsOK(ecode2)) {
22643 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22644 }
22645 arg2 = static_cast< int >(val2);
22646 ecode3 = SWIG_AsVal_int(obj2, &val3);
22647 if (!SWIG_IsOK(ecode3)) {
22648 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22649 }
22650 arg3 = static_cast< int >(val3);
22651 ecode4 = SWIG_AsVal_int(obj3, &val4);
22652 if (!SWIG_IsOK(ecode4)) {
22653 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22654 }
22655 arg4 = static_cast< int >(val4);
22656 ecode5 = SWIG_AsVal_int(obj4, &val5);
22657 if (!SWIG_IsOK(ecode5)) {
22658 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22659 }
22660 arg5 = static_cast< int >(val5);
22661 if (obj5) {
22662 ecode6 = SWIG_AsVal_int(obj5, &val6);
22663 if (!SWIG_IsOK(ecode6)) {
22664 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22665 }
22666 arg6 = static_cast< int >(val6);
22667 }
22668 {
22669 PyThreadState* __tstate = wxPyBeginAllowThreads();
22670 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22671 wxPyEndAllowThreads(__tstate);
22672 if (PyErr_Occurred()) SWIG_fail;
22673 }
22674 resultobj = SWIG_Py_Void();
22675 return resultobj;
22676fail:
22677 return NULL;
22678}
22679
22680
22681SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22682 PyObject *resultobj = 0;
22683 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22684 int arg2 ;
22685 int arg3 ;
22686 void *argp1 = 0 ;
22687 int res1 = 0 ;
22688 int val2 ;
22689 int ecode2 = 0 ;
22690 int val3 ;
22691 int ecode3 = 0 ;
22692 PyObject * obj0 = 0 ;
22693 PyObject * obj1 = 0 ;
22694 PyObject * obj2 = 0 ;
22695 char * kwnames[] = {
22696 (char *) "self",(char *) "width",(char *) "height", NULL
22697 };
22698
22699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22701 if (!SWIG_IsOK(res1)) {
22702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22703 }
22704 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22705 ecode2 = SWIG_AsVal_int(obj1, &val2);
22706 if (!SWIG_IsOK(ecode2)) {
22707 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22708 }
22709 arg2 = static_cast< int >(val2);
22710 ecode3 = SWIG_AsVal_int(obj2, &val3);
22711 if (!SWIG_IsOK(ecode3)) {
22712 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22713 }
22714 arg3 = static_cast< int >(val3);
22715 {
22716 PyThreadState* __tstate = wxPyBeginAllowThreads();
22717 (arg1)->DoSetClientSize(arg2,arg3);
22718 wxPyEndAllowThreads(__tstate);
22719 if (PyErr_Occurred()) SWIG_fail;
22720 }
22721 resultobj = SWIG_Py_Void();
22722 return resultobj;
22723fail:
22724 return NULL;
22725}
22726
22727
22728SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22729 PyObject *resultobj = 0;
22730 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22731 int arg2 ;
22732 int arg3 ;
22733 void *argp1 = 0 ;
22734 int res1 = 0 ;
22735 int val2 ;
22736 int ecode2 = 0 ;
22737 int val3 ;
22738 int ecode3 = 0 ;
22739 PyObject * obj0 = 0 ;
22740 PyObject * obj1 = 0 ;
22741 PyObject * obj2 = 0 ;
22742 char * kwnames[] = {
22743 (char *) "self",(char *) "x",(char *) "y", NULL
22744 };
22745
22746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22747 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22748 if (!SWIG_IsOK(res1)) {
22749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22750 }
22751 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22752 ecode2 = SWIG_AsVal_int(obj1, &val2);
22753 if (!SWIG_IsOK(ecode2)) {
22754 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22755 }
22756 arg2 = static_cast< int >(val2);
22757 ecode3 = SWIG_AsVal_int(obj2, &val3);
22758 if (!SWIG_IsOK(ecode3)) {
22759 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22760 }
22761 arg3 = static_cast< int >(val3);
22762 {
22763 PyThreadState* __tstate = wxPyBeginAllowThreads();
22764 (arg1)->DoSetVirtualSize(arg2,arg3);
22765 wxPyEndAllowThreads(__tstate);
22766 if (PyErr_Occurred()) SWIG_fail;
22767 }
22768 resultobj = SWIG_Py_Void();
22769 return resultobj;
22770fail:
22771 return NULL;
22772}
22773
22774
22775SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22776 PyObject *resultobj = 0;
22777 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22778 int *arg2 = (int *) 0 ;
22779 int *arg3 = (int *) 0 ;
22780 void *argp1 = 0 ;
22781 int res1 = 0 ;
22782 int temp2 ;
22783 int res2 = SWIG_TMPOBJ ;
22784 int temp3 ;
22785 int res3 = SWIG_TMPOBJ ;
22786 PyObject *swig_obj[1] ;
22787
22788 arg2 = &temp2;
22789 arg3 = &temp3;
22790 if (!args) SWIG_fail;
22791 swig_obj[0] = args;
22792 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22793 if (!SWIG_IsOK(res1)) {
22794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22795 }
22796 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22797 {
22798 PyThreadState* __tstate = wxPyBeginAllowThreads();
22799 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22800 wxPyEndAllowThreads(__tstate);
22801 if (PyErr_Occurred()) SWIG_fail;
22802 }
22803 resultobj = SWIG_Py_Void();
22804 if (SWIG_IsTmpObj(res2)) {
22805 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22806 } else {
22807 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22808 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22809 }
22810 if (SWIG_IsTmpObj(res3)) {
22811 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22812 } else {
22813 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22814 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22815 }
22816 return resultobj;
22817fail:
22818 return NULL;
22819}
22820
22821
22822SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22823 PyObject *resultobj = 0;
22824 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22825 int *arg2 = (int *) 0 ;
22826 int *arg3 = (int *) 0 ;
22827 void *argp1 = 0 ;
22828 int res1 = 0 ;
22829 int temp2 ;
22830 int res2 = SWIG_TMPOBJ ;
22831 int temp3 ;
22832 int res3 = SWIG_TMPOBJ ;
22833 PyObject *swig_obj[1] ;
22834
22835 arg2 = &temp2;
22836 arg3 = &temp3;
22837 if (!args) SWIG_fail;
22838 swig_obj[0] = args;
22839 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22840 if (!SWIG_IsOK(res1)) {
22841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22842 }
22843 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22844 {
22845 PyThreadState* __tstate = wxPyBeginAllowThreads();
22846 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22847 wxPyEndAllowThreads(__tstate);
22848 if (PyErr_Occurred()) SWIG_fail;
22849 }
22850 resultobj = SWIG_Py_Void();
22851 if (SWIG_IsTmpObj(res2)) {
22852 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22853 } else {
22854 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22855 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22856 }
22857 if (SWIG_IsTmpObj(res3)) {
22858 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22859 } else {
22860 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22861 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22862 }
22863 return resultobj;
22864fail:
22865 return NULL;
22866}
22867
22868
22869SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22870 PyObject *resultobj = 0;
22871 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22872 int *arg2 = (int *) 0 ;
22873 int *arg3 = (int *) 0 ;
22874 void *argp1 = 0 ;
22875 int res1 = 0 ;
22876 int temp2 ;
22877 int res2 = SWIG_TMPOBJ ;
22878 int temp3 ;
22879 int res3 = SWIG_TMPOBJ ;
22880 PyObject *swig_obj[1] ;
22881
22882 arg2 = &temp2;
22883 arg3 = &temp3;
22884 if (!args) SWIG_fail;
22885 swig_obj[0] = args;
22886 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22887 if (!SWIG_IsOK(res1)) {
22888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22889 }
22890 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22891 {
22892 PyThreadState* __tstate = wxPyBeginAllowThreads();
22893 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22894 wxPyEndAllowThreads(__tstate);
22895 if (PyErr_Occurred()) SWIG_fail;
22896 }
22897 resultobj = SWIG_Py_Void();
22898 if (SWIG_IsTmpObj(res2)) {
22899 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22900 } else {
22901 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22902 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22903 }
22904 if (SWIG_IsTmpObj(res3)) {
22905 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22906 } else {
22907 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22908 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22909 }
22910 return resultobj;
22911fail:
22912 return NULL;
d55e5bfc
RD
22913}
22914
22915
554f62e9
RD
22916SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22917 PyObject *resultobj = 0;
22918 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22919 wxSize result;
22920 void *argp1 = 0 ;
22921 int res1 = 0 ;
22922 PyObject *swig_obj[1] ;
22923
22924 if (!args) SWIG_fail;
22925 swig_obj[0] = args;
22926 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22927 if (!SWIG_IsOK(res1)) {
22928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22929 }
22930 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22931 {
22932 PyThreadState* __tstate = wxPyBeginAllowThreads();
22933 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22934 wxPyEndAllowThreads(__tstate);
22935 if (PyErr_Occurred()) SWIG_fail;
22936 }
22937 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22938 return resultobj;
22939fail:
22940 return NULL;
d55e5bfc
RD
22941}
22942
22943
554f62e9
RD
22944SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22945 PyObject *resultobj = 0;
22946 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22947 wxSize result;
22948 void *argp1 = 0 ;
22949 int res1 = 0 ;
22950 PyObject *swig_obj[1] ;
22951
22952 if (!args) SWIG_fail;
22953 swig_obj[0] = args;
22954 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22955 if (!SWIG_IsOK(res1)) {
22956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22957 }
22958 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22959 {
22960 PyThreadState* __tstate = wxPyBeginAllowThreads();
22961 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22962 wxPyEndAllowThreads(__tstate);
22963 if (PyErr_Occurred()) SWIG_fail;
22964 }
22965 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22966 return resultobj;
22967fail:
22968 return NULL;
d55e5bfc
RD
22969}
22970
22971
554f62e9
RD
22972SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22973 PyObject *resultobj = 0;
22974 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22975 SwigValueWrapper<wxVisualAttributes > result;
22976 void *argp1 = 0 ;
22977 int res1 = 0 ;
22978 PyObject *swig_obj[1] ;
22979
22980 if (!args) SWIG_fail;
22981 swig_obj[0] = args;
22982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22983 if (!SWIG_IsOK(res1)) {
22984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22985 }
22986 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22987 {
22988 PyThreadState* __tstate = wxPyBeginAllowThreads();
22989 result = (arg1)->GetDefaultAttributes();
22990 wxPyEndAllowThreads(__tstate);
22991 if (PyErr_Occurred()) SWIG_fail;
22992 }
22993 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22994 return resultobj;
22995fail:
22996 return NULL;
d55e5bfc
RD
22997}
22998
22999
554f62e9
RD
23000SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23001 PyObject *resultobj = 0;
23002 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23003 void *argp1 = 0 ;
23004 int res1 = 0 ;
23005 PyObject *swig_obj[1] ;
23006
23007 if (!args) SWIG_fail;
23008 swig_obj[0] = args;
23009 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23010 if (!SWIG_IsOK(res1)) {
23011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
23012 }
23013 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23014 {
23015 PyThreadState* __tstate = wxPyBeginAllowThreads();
23016 (arg1)->OnInternalIdle();
23017 wxPyEndAllowThreads(__tstate);
23018 if (PyErr_Occurred()) SWIG_fail;
23019 }
23020 resultobj = SWIG_Py_Void();
23021 return resultobj;
23022fail:
23023 return NULL;
23024}
23025
23026
23027SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23028 PyObject *obj;
23029 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23030 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
23031 return SWIG_Py_Void();
23032}
23033
23034SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23035 return SWIG_Python_InitShadowInstance(args);
23036}
23037
23038SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23039 PyObject *resultobj = 0;
23040 wxWindow *arg1 = (wxWindow *) 0 ;
23041 int arg2 = (int) (int)-1 ;
23042 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23043 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23044 wxSize const &arg4_defvalue = wxDefaultSize ;
23045 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23046 long arg5 = (long) 0 ;
23047 wxString const &arg6_defvalue = wxPyPanelNameStr ;
23048 wxString *arg6 = (wxString *) &arg6_defvalue ;
23049 wxPyScrolledWindow *result = 0 ;
23050 void *argp1 = 0 ;
23051 int res1 = 0 ;
23052 int val2 ;
23053 int ecode2 = 0 ;
23054 wxPoint temp3 ;
23055 wxSize temp4 ;
23056 long val5 ;
23057 int ecode5 = 0 ;
23058 bool temp6 = false ;
23059 PyObject * obj0 = 0 ;
23060 PyObject * obj1 = 0 ;
23061 PyObject * obj2 = 0 ;
23062 PyObject * obj3 = 0 ;
23063 PyObject * obj4 = 0 ;
23064 PyObject * obj5 = 0 ;
23065 char * kwnames[] = {
23066 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23067 };
23068
23069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
23071 if (!SWIG_IsOK(res1)) {
23072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23073 }
23074 arg1 = reinterpret_cast< wxWindow * >(argp1);
23075 if (obj1) {
23076 ecode2 = SWIG_AsVal_int(obj1, &val2);
23077 if (!SWIG_IsOK(ecode2)) {
23078 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
23079 }
23080 arg2 = static_cast< int >(val2);
23081 }
23082 if (obj2) {
d55e5bfc 23083 {
554f62e9
RD
23084 arg3 = &temp3;
23085 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7449af73 23086 }
554f62e9
RD
23087 }
23088 if (obj3) {
7449af73 23089 {
554f62e9
RD
23090 arg4 = &temp4;
23091 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7449af73 23092 }
554f62e9
RD
23093 }
23094 if (obj4) {
23095 ecode5 = SWIG_AsVal_long(obj4, &val5);
23096 if (!SWIG_IsOK(ecode5)) {
23097 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
23098 }
23099 arg5 = static_cast< long >(val5);
23100 }
23101 if (obj5) {
7449af73 23102 {
554f62e9
RD
23103 arg6 = wxString_in_helper(obj5);
23104 if (arg6 == NULL) SWIG_fail;
23105 temp6 = true;
7449af73 23106 }
554f62e9
RD
23107 }
23108 {
23109 if (!wxPyCheckForApp()) SWIG_fail;
23110 PyThreadState* __tstate = wxPyBeginAllowThreads();
23111 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
23112 wxPyEndAllowThreads(__tstate);
23113 if (PyErr_Occurred()) SWIG_fail;
23114 }
23115 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
23116 {
23117 if (temp6)
23118 delete arg6;
23119 }
23120 return resultobj;
23121fail:
23122 {
23123 if (temp6)
23124 delete arg6;
23125 }
23126 return NULL;
7449af73
RD
23127}
23128
23129
554f62e9
RD
23130SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23131 PyObject *resultobj = 0;
23132 wxPyScrolledWindow *result = 0 ;
23133
23134 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
23135 {
23136 if (!wxPyCheckForApp()) SWIG_fail;
23137 PyThreadState* __tstate = wxPyBeginAllowThreads();
23138 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
23139 wxPyEndAllowThreads(__tstate);
23140 if (PyErr_Occurred()) SWIG_fail;
23141 }
23142 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
23143 return resultobj;
23144fail:
23145 return NULL;
23146}
23147
23148
23149SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23150 PyObject *resultobj = 0;
23151 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23152 PyObject *arg2 = (PyObject *) 0 ;
23153 PyObject *arg3 = (PyObject *) 0 ;
23154 void *argp1 = 0 ;
23155 int res1 = 0 ;
23156 PyObject * obj0 = 0 ;
23157 PyObject * obj1 = 0 ;
23158 PyObject * obj2 = 0 ;
23159 char * kwnames[] = {
23160 (char *) "self",(char *) "self",(char *) "_class", NULL
23161 };
23162
23163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23165 if (!SWIG_IsOK(res1)) {
23166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23167 }
23168 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23169 arg2 = obj1;
23170 arg3 = obj2;
23171 {
23172 PyThreadState* __tstate = wxPyBeginAllowThreads();
23173 (arg1)->_setCallbackInfo(arg2,arg3);
23174 wxPyEndAllowThreads(__tstate);
23175 if (PyErr_Occurred()) SWIG_fail;
23176 }
23177 resultobj = SWIG_Py_Void();
23178 return resultobj;
23179fail:
23180 return NULL;
23181}
23182
23183
23184SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23185 PyObject *resultobj = 0;
23186 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23187 wxSize *arg2 = 0 ;
23188 void *argp1 = 0 ;
23189 int res1 = 0 ;
23190 wxSize temp2 ;
23191 PyObject * obj0 = 0 ;
23192 PyObject * obj1 = 0 ;
23193 char * kwnames[] = {
23194 (char *) "self",(char *) "size", NULL
23195 };
23196
23197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
23198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23199 if (!SWIG_IsOK(res1)) {
23200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23201 }
23202 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23203 {
23204 arg2 = &temp2;
23205 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23206 }
23207 {
23208 PyThreadState* __tstate = wxPyBeginAllowThreads();
23209 (arg1)->SetBestSize((wxSize const &)*arg2);
23210 wxPyEndAllowThreads(__tstate);
23211 if (PyErr_Occurred()) SWIG_fail;
23212 }
23213 resultobj = SWIG_Py_Void();
23214 return resultobj;
23215fail:
23216 return NULL;
23217}
23218
23219
23220SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23221 PyObject *resultobj = 0;
23222 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23223 wxDC *arg2 = (wxDC *) 0 ;
23224 bool result;
23225 void *argp1 = 0 ;
23226 int res1 = 0 ;
23227 void *argp2 = 0 ;
23228 int res2 = 0 ;
23229 PyObject * obj0 = 0 ;
23230 PyObject * obj1 = 0 ;
23231 char * kwnames[] = {
23232 (char *) "self",(char *) "dc", NULL
23233 };
23234
23235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
23236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23237 if (!SWIG_IsOK(res1)) {
23238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23239 }
23240 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23241 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
23242 if (!SWIG_IsOK(res2)) {
23243 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23244 }
23245 arg2 = reinterpret_cast< wxDC * >(argp2);
23246 {
23247 PyThreadState* __tstate = wxPyBeginAllowThreads();
23248 result = (bool)(arg1)->DoEraseBackground(arg2);
23249 wxPyEndAllowThreads(__tstate);
23250 if (PyErr_Occurred()) SWIG_fail;
23251 }
23252 {
23253 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23254 }
23255 return resultobj;
23256fail:
23257 return NULL;
23258}
23259
23260
23261SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23262 PyObject *resultobj = 0;
23263 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23264 int arg2 ;
23265 int arg3 ;
23266 int arg4 ;
23267 int arg5 ;
23268 void *argp1 = 0 ;
23269 int res1 = 0 ;
23270 int val2 ;
23271 int ecode2 = 0 ;
23272 int val3 ;
23273 int ecode3 = 0 ;
23274 int val4 ;
23275 int ecode4 = 0 ;
23276 int val5 ;
23277 int ecode5 = 0 ;
23278 PyObject * obj0 = 0 ;
23279 PyObject * obj1 = 0 ;
23280 PyObject * obj2 = 0 ;
23281 PyObject * obj3 = 0 ;
23282 PyObject * obj4 = 0 ;
23283 char * kwnames[] = {
23284 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23285 };
23286
23287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
23288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23289 if (!SWIG_IsOK(res1)) {
23290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23291 }
23292 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23293 ecode2 = SWIG_AsVal_int(obj1, &val2);
23294 if (!SWIG_IsOK(ecode2)) {
23295 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23296 }
23297 arg2 = static_cast< int >(val2);
23298 ecode3 = SWIG_AsVal_int(obj2, &val3);
23299 if (!SWIG_IsOK(ecode3)) {
23300 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23301 }
23302 arg3 = static_cast< int >(val3);
23303 ecode4 = SWIG_AsVal_int(obj3, &val4);
23304 if (!SWIG_IsOK(ecode4)) {
23305 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23306 }
23307 arg4 = static_cast< int >(val4);
23308 ecode5 = SWIG_AsVal_int(obj4, &val5);
23309 if (!SWIG_IsOK(ecode5)) {
23310 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23311 }
23312 arg5 = static_cast< int >(val5);
23313 {
23314 PyThreadState* __tstate = wxPyBeginAllowThreads();
23315 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
23316 wxPyEndAllowThreads(__tstate);
23317 if (PyErr_Occurred()) SWIG_fail;
23318 }
23319 resultobj = SWIG_Py_Void();
23320 return resultobj;
23321fail:
23322 return NULL;
23323}
23324
23325
23326SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23327 PyObject *resultobj = 0;
23328 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23329 int arg2 ;
23330 int arg3 ;
23331 int arg4 ;
23332 int arg5 ;
23333 int arg6 = (int) wxSIZE_AUTO ;
23334 void *argp1 = 0 ;
23335 int res1 = 0 ;
23336 int val2 ;
23337 int ecode2 = 0 ;
23338 int val3 ;
23339 int ecode3 = 0 ;
23340 int val4 ;
23341 int ecode4 = 0 ;
23342 int val5 ;
23343 int ecode5 = 0 ;
23344 int val6 ;
23345 int ecode6 = 0 ;
23346 PyObject * obj0 = 0 ;
23347 PyObject * obj1 = 0 ;
23348 PyObject * obj2 = 0 ;
23349 PyObject * obj3 = 0 ;
23350 PyObject * obj4 = 0 ;
23351 PyObject * obj5 = 0 ;
23352 char * kwnames[] = {
23353 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23354 };
23355
23356 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23357 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23358 if (!SWIG_IsOK(res1)) {
23359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23360 }
23361 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23362 ecode2 = SWIG_AsVal_int(obj1, &val2);
23363 if (!SWIG_IsOK(ecode2)) {
23364 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23365 }
23366 arg2 = static_cast< int >(val2);
23367 ecode3 = SWIG_AsVal_int(obj2, &val3);
23368 if (!SWIG_IsOK(ecode3)) {
23369 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23370 }
23371 arg3 = static_cast< int >(val3);
23372 ecode4 = SWIG_AsVal_int(obj3, &val4);
23373 if (!SWIG_IsOK(ecode4)) {
23374 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23375 }
23376 arg4 = static_cast< int >(val4);
23377 ecode5 = SWIG_AsVal_int(obj4, &val5);
23378 if (!SWIG_IsOK(ecode5)) {
23379 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23380 }
23381 arg5 = static_cast< int >(val5);
23382 if (obj5) {
23383 ecode6 = SWIG_AsVal_int(obj5, &val6);
23384 if (!SWIG_IsOK(ecode6)) {
23385 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23386 }
23387 arg6 = static_cast< int >(val6);
23388 }
23389 {
23390 PyThreadState* __tstate = wxPyBeginAllowThreads();
23391 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23392 wxPyEndAllowThreads(__tstate);
23393 if (PyErr_Occurred()) SWIG_fail;
23394 }
23395 resultobj = SWIG_Py_Void();
23396 return resultobj;
23397fail:
23398 return NULL;
23399}
23400
23401
23402SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23403 PyObject *resultobj = 0;
23404 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23405 int arg2 ;
23406 int arg3 ;
23407 void *argp1 = 0 ;
23408 int res1 = 0 ;
23409 int val2 ;
23410 int ecode2 = 0 ;
23411 int val3 ;
23412 int ecode3 = 0 ;
23413 PyObject * obj0 = 0 ;
23414 PyObject * obj1 = 0 ;
23415 PyObject * obj2 = 0 ;
23416 char * kwnames[] = {
23417 (char *) "self",(char *) "width",(char *) "height", NULL
23418 };
23419
23420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23422 if (!SWIG_IsOK(res1)) {
23423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23424 }
23425 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23426 ecode2 = SWIG_AsVal_int(obj1, &val2);
23427 if (!SWIG_IsOK(ecode2)) {
23428 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23429 }
23430 arg2 = static_cast< int >(val2);
23431 ecode3 = SWIG_AsVal_int(obj2, &val3);
23432 if (!SWIG_IsOK(ecode3)) {
23433 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23434 }
23435 arg3 = static_cast< int >(val3);
23436 {
23437 PyThreadState* __tstate = wxPyBeginAllowThreads();
23438 (arg1)->DoSetClientSize(arg2,arg3);
23439 wxPyEndAllowThreads(__tstate);
23440 if (PyErr_Occurred()) SWIG_fail;
23441 }
23442 resultobj = SWIG_Py_Void();
23443 return resultobj;
23444fail:
23445 return NULL;
23446}
23447
23448
23449SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23450 PyObject *resultobj = 0;
23451 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23452 int arg2 ;
23453 int arg3 ;
23454 void *argp1 = 0 ;
23455 int res1 = 0 ;
23456 int val2 ;
23457 int ecode2 = 0 ;
23458 int val3 ;
23459 int ecode3 = 0 ;
23460 PyObject * obj0 = 0 ;
23461 PyObject * obj1 = 0 ;
23462 PyObject * obj2 = 0 ;
23463 char * kwnames[] = {
23464 (char *) "self",(char *) "x",(char *) "y", NULL
23465 };
23466
23467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23469 if (!SWIG_IsOK(res1)) {
23470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23471 }
23472 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23473 ecode2 = SWIG_AsVal_int(obj1, &val2);
23474 if (!SWIG_IsOK(ecode2)) {
23475 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23476 }
23477 arg2 = static_cast< int >(val2);
23478 ecode3 = SWIG_AsVal_int(obj2, &val3);
23479 if (!SWIG_IsOK(ecode3)) {
23480 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23481 }
23482 arg3 = static_cast< int >(val3);
23483 {
23484 PyThreadState* __tstate = wxPyBeginAllowThreads();
23485 (arg1)->DoSetVirtualSize(arg2,arg3);
23486 wxPyEndAllowThreads(__tstate);
23487 if (PyErr_Occurred()) SWIG_fail;
23488 }
23489 resultobj = SWIG_Py_Void();
23490 return resultobj;
23491fail:
23492 return NULL;
23493}
23494
23495
23496SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23497 PyObject *resultobj = 0;
23498 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23499 int *arg2 = (int *) 0 ;
23500 int *arg3 = (int *) 0 ;
23501 void *argp1 = 0 ;
23502 int res1 = 0 ;
23503 int temp2 ;
23504 int res2 = SWIG_TMPOBJ ;
23505 int temp3 ;
23506 int res3 = SWIG_TMPOBJ ;
23507 PyObject *swig_obj[1] ;
23508
23509 arg2 = &temp2;
23510 arg3 = &temp3;
23511 if (!args) SWIG_fail;
23512 swig_obj[0] = args;
23513 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23514 if (!SWIG_IsOK(res1)) {
23515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23516 }
23517 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23518 {
23519 PyThreadState* __tstate = wxPyBeginAllowThreads();
23520 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23521 wxPyEndAllowThreads(__tstate);
23522 if (PyErr_Occurred()) SWIG_fail;
23523 }
23524 resultobj = SWIG_Py_Void();
23525 if (SWIG_IsTmpObj(res2)) {
23526 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23527 } else {
23528 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23529 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23530 }
23531 if (SWIG_IsTmpObj(res3)) {
23532 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23533 } else {
23534 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23535 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23536 }
23537 return resultobj;
23538fail:
23539 return NULL;
23540}
23541
23542
23543SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23544 PyObject *resultobj = 0;
23545 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23546 int *arg2 = (int *) 0 ;
23547 int *arg3 = (int *) 0 ;
23548 void *argp1 = 0 ;
23549 int res1 = 0 ;
23550 int temp2 ;
23551 int res2 = SWIG_TMPOBJ ;
23552 int temp3 ;
23553 int res3 = SWIG_TMPOBJ ;
23554 PyObject *swig_obj[1] ;
23555
23556 arg2 = &temp2;
23557 arg3 = &temp3;
23558 if (!args) SWIG_fail;
23559 swig_obj[0] = args;
23560 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23561 if (!SWIG_IsOK(res1)) {
23562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23563 }
23564 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23565 {
23566 PyThreadState* __tstate = wxPyBeginAllowThreads();
23567 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23568 wxPyEndAllowThreads(__tstate);
23569 if (PyErr_Occurred()) SWIG_fail;
23570 }
23571 resultobj = SWIG_Py_Void();
23572 if (SWIG_IsTmpObj(res2)) {
23573 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23574 } else {
23575 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23576 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23577 }
23578 if (SWIG_IsTmpObj(res3)) {
23579 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23580 } else {
23581 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23582 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23583 }
23584 return resultobj;
23585fail:
23586 return NULL;
23587}
23588
23589
23590SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23591 PyObject *resultobj = 0;
23592 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23593 int *arg2 = (int *) 0 ;
23594 int *arg3 = (int *) 0 ;
23595 void *argp1 = 0 ;
23596 int res1 = 0 ;
23597 int temp2 ;
23598 int res2 = SWIG_TMPOBJ ;
23599 int temp3 ;
23600 int res3 = SWIG_TMPOBJ ;
23601 PyObject *swig_obj[1] ;
23602
23603 arg2 = &temp2;
23604 arg3 = &temp3;
23605 if (!args) SWIG_fail;
23606 swig_obj[0] = args;
23607 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23608 if (!SWIG_IsOK(res1)) {
23609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23610 }
23611 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23612 {
23613 PyThreadState* __tstate = wxPyBeginAllowThreads();
23614 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23615 wxPyEndAllowThreads(__tstate);
23616 if (PyErr_Occurred()) SWIG_fail;
23617 }
23618 resultobj = SWIG_Py_Void();
23619 if (SWIG_IsTmpObj(res2)) {
23620 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23621 } else {
23622 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23623 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23624 }
23625 if (SWIG_IsTmpObj(res3)) {
23626 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23627 } else {
23628 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23629 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23630 }
23631 return resultobj;
23632fail:
23633 return NULL;
d55e5bfc
RD
23634}
23635
23636
554f62e9
RD
23637SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23638 PyObject *resultobj = 0;
23639 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23640 wxSize result;
23641 void *argp1 = 0 ;
23642 int res1 = 0 ;
23643 PyObject *swig_obj[1] ;
23644
23645 if (!args) SWIG_fail;
23646 swig_obj[0] = args;
23647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23648 if (!SWIG_IsOK(res1)) {
23649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23650 }
23651 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23652 {
23653 PyThreadState* __tstate = wxPyBeginAllowThreads();
23654 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23655 wxPyEndAllowThreads(__tstate);
23656 if (PyErr_Occurred()) SWIG_fail;
23657 }
23658 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23659 return resultobj;
23660fail:
23661 return NULL;
d55e5bfc
RD
23662}
23663
23664
554f62e9
RD
23665SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23666 PyObject *resultobj = 0;
23667 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23668 wxSize result;
23669 void *argp1 = 0 ;
23670 int res1 = 0 ;
23671 PyObject *swig_obj[1] ;
23672
23673 if (!args) SWIG_fail;
23674 swig_obj[0] = args;
23675 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23676 if (!SWIG_IsOK(res1)) {
23677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23678 }
23679 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23680 {
23681 PyThreadState* __tstate = wxPyBeginAllowThreads();
23682 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23683 wxPyEndAllowThreads(__tstate);
23684 if (PyErr_Occurred()) SWIG_fail;
23685 }
23686 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23687 return resultobj;
23688fail:
23689 return NULL;
d55e5bfc
RD
23690}
23691
23692
554f62e9
RD
23693SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23694 PyObject *resultobj = 0;
23695 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23696 SwigValueWrapper<wxVisualAttributes > result;
23697 void *argp1 = 0 ;
23698 int res1 = 0 ;
23699 PyObject *swig_obj[1] ;
23700
23701 if (!args) SWIG_fail;
23702 swig_obj[0] = args;
23703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23704 if (!SWIG_IsOK(res1)) {
23705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23706 }
23707 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23708 {
23709 PyThreadState* __tstate = wxPyBeginAllowThreads();
23710 result = (arg1)->GetDefaultAttributes();
23711 wxPyEndAllowThreads(__tstate);
23712 if (PyErr_Occurred()) SWIG_fail;
23713 }
23714 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23715 return resultobj;
23716fail:
23717 return NULL;
d55e5bfc
RD
23718}
23719
23720
554f62e9
RD
23721SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23722 PyObject *resultobj = 0;
23723 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23724 void *argp1 = 0 ;
23725 int res1 = 0 ;
23726 PyObject *swig_obj[1] ;
23727
23728 if (!args) SWIG_fail;
23729 swig_obj[0] = args;
23730 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23731 if (!SWIG_IsOK(res1)) {
23732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23733 }
23734 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23735 {
23736 PyThreadState* __tstate = wxPyBeginAllowThreads();
23737 (arg1)->OnInternalIdle();
23738 wxPyEndAllowThreads(__tstate);
23739 if (PyErr_Occurred()) SWIG_fail;
23740 }
23741 resultobj = SWIG_Py_Void();
23742 return resultobj;
23743fail:
23744 return NULL;
d55e5bfc
RD
23745}
23746
23747
554f62e9
RD
23748SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23749 PyObject *obj;
23750 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23751 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23752 return SWIG_Py_Void();
d55e5bfc
RD
23753}
23754
554f62e9
RD
23755SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23756 return SWIG_Python_InitShadowInstance(args);
23757}
d55e5bfc 23758
554f62e9
RD
23759SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23760 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23761 return 1;
d55e5bfc
RD
23762}
23763
23764
554f62e9
RD
23765SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23766 PyObject *pyobj = 0;
23767
23768 {
23769#if wxUSE_UNICODE
23770 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23771#else
23772 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23773#endif
23774 }
23775 return pyobj;
d55e5bfc
RD
23776}
23777
23778
554f62e9
RD
23779SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23780 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23781 return 1;
d55e5bfc
RD
23782}
23783
23784
554f62e9
RD
23785SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23786 PyObject *pyobj = 0;
23787
23788 {
23789#if wxUSE_UNICODE
23790 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23791#else
23792 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23793#endif
23794 }
23795 return pyobj;
d55e5bfc
RD
23796}
23797
23798
554f62e9
RD
23799SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23800 PyObject *resultobj = 0;
23801 wxPrintData *result = 0 ;
23802
23803 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23804 {
23805 PyThreadState* __tstate = wxPyBeginAllowThreads();
23806 result = (wxPrintData *)new wxPrintData();
23807 wxPyEndAllowThreads(__tstate);
23808 if (PyErr_Occurred()) SWIG_fail;
23809 }
23810 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23811 return resultobj;
23812fail:
23813 return NULL;
d55e5bfc
RD
23814}
23815
23816
554f62e9
RD
23817SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23818 PyObject *resultobj = 0;
23819 wxPrintData *arg1 = 0 ;
23820 wxPrintData *result = 0 ;
23821 void *argp1 = 0 ;
23822 int res1 = 0 ;
23823
23824 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23825 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23826 if (!SWIG_IsOK(res1)) {
23827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23828 }
23829 if (!argp1) {
23830 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23831 }
23832 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23833 {
23834 PyThreadState* __tstate = wxPyBeginAllowThreads();
23835 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23836 wxPyEndAllowThreads(__tstate);
23837 if (PyErr_Occurred()) SWIG_fail;
23838 }
23839 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23840 return resultobj;
23841fail:
23842 return NULL;
d55e5bfc
RD
23843}
23844
23845
554f62e9
RD
23846SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23847 int argc;
23848 PyObject *argv[2];
23849
23850 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23851 --argc;
23852 if (argc == 0) {
23853 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23854 }
23855 if (argc == 1) {
23856 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23857 }
23858
23859fail:
23860 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23861 return NULL;
d55e5bfc
RD
23862}
23863
23864
554f62e9
RD
23865SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23866 PyObject *resultobj = 0;
23867 wxPrintData *arg1 = (wxPrintData *) 0 ;
23868 void *argp1 = 0 ;
23869 int res1 = 0 ;
23870 PyObject *swig_obj[1] ;
23871
23872 if (!args) SWIG_fail;
23873 swig_obj[0] = args;
23874 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23875 if (!SWIG_IsOK(res1)) {
23876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23877 }
23878 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23879 {
23880 PyThreadState* __tstate = wxPyBeginAllowThreads();
23881 delete arg1;
d55e5bfc 23882
554f62e9
RD
23883 wxPyEndAllowThreads(__tstate);
23884 if (PyErr_Occurred()) SWIG_fail;
23885 }
23886 resultobj = SWIG_Py_Void();
23887 return resultobj;
23888fail:
23889 return NULL;
d55e5bfc
RD
23890}
23891
23892
554f62e9
RD
23893SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23894 PyObject *resultobj = 0;
23895 wxPrintData *arg1 = (wxPrintData *) 0 ;
23896 int result;
23897 void *argp1 = 0 ;
23898 int res1 = 0 ;
23899 PyObject *swig_obj[1] ;
23900
23901 if (!args) SWIG_fail;
23902 swig_obj[0] = args;
23903 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23904 if (!SWIG_IsOK(res1)) {
23905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23906 }
23907 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23908 {
23909 PyThreadState* __tstate = wxPyBeginAllowThreads();
23910 result = (int)(arg1)->GetNoCopies();
23911 wxPyEndAllowThreads(__tstate);
23912 if (PyErr_Occurred()) SWIG_fail;
23913 }
23914 resultobj = SWIG_From_int(static_cast< int >(result));
23915 return resultobj;
23916fail:
23917 return NULL;
d55e5bfc
RD
23918}
23919
23920
554f62e9
RD
23921SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23922 PyObject *resultobj = 0;
23923 wxPrintData *arg1 = (wxPrintData *) 0 ;
23924 bool result;
23925 void *argp1 = 0 ;
23926 int res1 = 0 ;
23927 PyObject *swig_obj[1] ;
23928
23929 if (!args) SWIG_fail;
23930 swig_obj[0] = args;
23931 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23932 if (!SWIG_IsOK(res1)) {
23933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23934 }
23935 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23936 {
23937 PyThreadState* __tstate = wxPyBeginAllowThreads();
23938 result = (bool)(arg1)->GetCollate();
23939 wxPyEndAllowThreads(__tstate);
23940 if (PyErr_Occurred()) SWIG_fail;
23941 }
23942 {
23943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23944 }
23945 return resultobj;
23946fail:
23947 return NULL;
d55e5bfc
RD
23948}
23949
23950
554f62e9
RD
23951SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23952 PyObject *resultobj = 0;
23953 wxPrintData *arg1 = (wxPrintData *) 0 ;
23954 int result;
23955 void *argp1 = 0 ;
23956 int res1 = 0 ;
23957 PyObject *swig_obj[1] ;
23958
23959 if (!args) SWIG_fail;
23960 swig_obj[0] = args;
23961 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23962 if (!SWIG_IsOK(res1)) {
23963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23964 }
23965 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23966 {
23967 PyThreadState* __tstate = wxPyBeginAllowThreads();
23968 result = (int)(arg1)->GetOrientation();
23969 wxPyEndAllowThreads(__tstate);
23970 if (PyErr_Occurred()) SWIG_fail;
23971 }
23972 resultobj = SWIG_From_int(static_cast< int >(result));
23973 return resultobj;
23974fail:
23975 return NULL;
d55e5bfc
RD
23976}
23977
23978
554f62e9
RD
23979SWIGINTERN PyObject *_wrap_PrintData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23980 PyObject *resultobj = 0;
23981 wxPrintData *arg1 = (wxPrintData *) 0 ;
23982 bool result;
23983 void *argp1 = 0 ;
23984 int res1 = 0 ;
23985 PyObject *swig_obj[1] ;
23986
23987 if (!args) SWIG_fail;
23988 swig_obj[0] = args;
23989 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23990 if (!SWIG_IsOK(res1)) {
23991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23992 }
23993 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23994 {
23995 PyThreadState* __tstate = wxPyBeginAllowThreads();
23996 result = (bool)(arg1)->Ok();
23997 wxPyEndAllowThreads(__tstate);
23998 if (PyErr_Occurred()) SWIG_fail;
23999 }
24000 {
24001 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24002 }
24003 return resultobj;
24004fail:
24005 return NULL;
d55e5bfc
RD
24006}
24007
24008
554f62e9
RD
24009SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24010 PyObject *resultobj = 0;
24011 wxPrintData *arg1 = (wxPrintData *) 0 ;
24012 wxString *result = 0 ;
24013 void *argp1 = 0 ;
24014 int res1 = 0 ;
24015 PyObject *swig_obj[1] ;
24016
24017 if (!args) SWIG_fail;
24018 swig_obj[0] = args;
24019 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24020 if (!SWIG_IsOK(res1)) {
24021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24022 }
24023 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24024 {
24025 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 24026 {
554f62e9
RD
24027 wxString const &_result_ref = (arg1)->GetPrinterName();
24028 result = (wxString *) &_result_ref;
d55e5bfc 24029 }
554f62e9
RD
24030 wxPyEndAllowThreads(__tstate);
24031 if (PyErr_Occurred()) SWIG_fail;
24032 }
24033 {
d55e5bfc 24034#if wxUSE_UNICODE
554f62e9 24035 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d55e5bfc 24036#else
554f62e9 24037 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d55e5bfc 24038#endif
554f62e9
RD
24039 }
24040 return resultobj;
24041fail:
24042 return NULL;
d55e5bfc
RD
24043}
24044
24045
554f62e9
RD
24046SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24047 PyObject *resultobj = 0;
24048 wxPrintData *arg1 = (wxPrintData *) 0 ;
24049 bool result;
24050 void *argp1 = 0 ;
24051 int res1 = 0 ;
24052 PyObject *swig_obj[1] ;
24053
24054 if (!args) SWIG_fail;
24055 swig_obj[0] = args;
24056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24057 if (!SWIG_IsOK(res1)) {
24058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24059 }
24060 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24061 {
24062 PyThreadState* __tstate = wxPyBeginAllowThreads();
24063 result = (bool)(arg1)->GetColour();
24064 wxPyEndAllowThreads(__tstate);
24065 if (PyErr_Occurred()) SWIG_fail;
24066 }
24067 {
24068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24069 }
24070 return resultobj;
24071fail:
24072 return NULL;
d55e5bfc
RD
24073}
24074
24075
554f62e9
RD
24076SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24077 PyObject *resultobj = 0;
24078 wxPrintData *arg1 = (wxPrintData *) 0 ;
24079 wxDuplexMode result;
24080 void *argp1 = 0 ;
24081 int res1 = 0 ;
24082 PyObject *swig_obj[1] ;
24083
24084 if (!args) SWIG_fail;
24085 swig_obj[0] = args;
24086 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24087 if (!SWIG_IsOK(res1)) {
24088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24089 }
24090 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24091 {
24092 PyThreadState* __tstate = wxPyBeginAllowThreads();
24093 result = (wxDuplexMode)(arg1)->GetDuplex();
24094 wxPyEndAllowThreads(__tstate);
24095 if (PyErr_Occurred()) SWIG_fail;
24096 }
24097 resultobj = SWIG_From_int(static_cast< int >(result));
24098 return resultobj;
24099fail:
24100 return NULL;
d55e5bfc
RD
24101}
24102
24103
554f62e9
RD
24104SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24105 PyObject *resultobj = 0;
24106 wxPrintData *arg1 = (wxPrintData *) 0 ;
24107 wxPaperSize result;
24108 void *argp1 = 0 ;
24109 int res1 = 0 ;
24110 PyObject *swig_obj[1] ;
24111
24112 if (!args) SWIG_fail;
24113 swig_obj[0] = args;
24114 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24115 if (!SWIG_IsOK(res1)) {
24116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24117 }
24118 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24119 {
24120 PyThreadState* __tstate = wxPyBeginAllowThreads();
24121 result = (wxPaperSize)(arg1)->GetPaperId();
24122 wxPyEndAllowThreads(__tstate);
24123 if (PyErr_Occurred()) SWIG_fail;
24124 }
24125 resultobj = SWIG_From_int(static_cast< int >(result));
24126 return resultobj;
24127fail:
24128 return NULL;
d55e5bfc
RD
24129}
24130
24131
554f62e9
RD
24132SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24133 PyObject *resultobj = 0;
24134 wxPrintData *arg1 = (wxPrintData *) 0 ;
24135 wxSize *result = 0 ;
24136 void *argp1 = 0 ;
24137 int res1 = 0 ;
24138 PyObject *swig_obj[1] ;
24139
24140 if (!args) SWIG_fail;
24141 swig_obj[0] = args;
24142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24143 if (!SWIG_IsOK(res1)) {
24144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24145 }
24146 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24147 {
24148 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 24149 {
554f62e9
RD
24150 wxSize const &_result_ref = (arg1)->GetPaperSize();
24151 result = (wxSize *) &_result_ref;
d55e5bfc 24152 }
554f62e9
RD
24153 wxPyEndAllowThreads(__tstate);
24154 if (PyErr_Occurred()) SWIG_fail;
24155 }
24156 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
24157 return resultobj;
24158fail:
24159 return NULL;
d55e5bfc
RD
24160}
24161
24162
554f62e9
RD
24163SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24164 PyObject *resultobj = 0;
24165 wxPrintData *arg1 = (wxPrintData *) 0 ;
24166 int result;
24167 void *argp1 = 0 ;
24168 int res1 = 0 ;
24169 PyObject *swig_obj[1] ;
24170
24171 if (!args) SWIG_fail;
24172 swig_obj[0] = args;
24173 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24174 if (!SWIG_IsOK(res1)) {
24175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24176 }
24177 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24178 {
24179 PyThreadState* __tstate = wxPyBeginAllowThreads();
24180 result = (int)(arg1)->GetQuality();
24181 wxPyEndAllowThreads(__tstate);
24182 if (PyErr_Occurred()) SWIG_fail;
24183 }
24184 resultobj = SWIG_From_int(static_cast< int >(result));
24185 return resultobj;
24186fail:
24187 return NULL;
d55e5bfc
RD
24188}
24189
24190
554f62e9
RD
24191SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24192 PyObject *resultobj = 0;
24193 wxPrintData *arg1 = (wxPrintData *) 0 ;
24194 wxPrintBin result;
24195 void *argp1 = 0 ;
24196 int res1 = 0 ;
24197 PyObject *swig_obj[1] ;
24198
24199 if (!args) SWIG_fail;
24200 swig_obj[0] = args;
24201 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24202 if (!SWIG_IsOK(res1)) {
24203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24204 }
24205 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24206 {
24207 PyThreadState* __tstate = wxPyBeginAllowThreads();
24208 result = (wxPrintBin)(arg1)->GetBin();
24209 wxPyEndAllowThreads(__tstate);
24210 if (PyErr_Occurred()) SWIG_fail;
24211 }
24212 resultobj = SWIG_From_int(static_cast< int >(result));
24213 return resultobj;
24214fail:
24215 return NULL;
d55e5bfc
RD
24216}
24217
24218
554f62e9
RD
24219SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24220 PyObject *resultobj = 0;
24221 wxPrintData *arg1 = (wxPrintData *) 0 ;
24222 wxPrintMode result;
24223 void *argp1 = 0 ;
24224 int res1 = 0 ;
24225 PyObject *swig_obj[1] ;
24226
24227 if (!args) SWIG_fail;
24228 swig_obj[0] = args;
24229 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24230 if (!SWIG_IsOK(res1)) {
24231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24232 }
24233 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24234 {
24235 PyThreadState* __tstate = wxPyBeginAllowThreads();
24236 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
24237 wxPyEndAllowThreads(__tstate);
24238 if (PyErr_Occurred()) SWIG_fail;
24239 }
24240 resultobj = SWIG_From_int(static_cast< int >(result));
24241 return resultobj;
24242fail:
24243 return NULL;
24244}
24245
24246
24247SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24248 PyObject *resultobj = 0;
24249 wxPrintData *arg1 = (wxPrintData *) 0 ;
24250 int arg2 ;
24251 void *argp1 = 0 ;
24252 int res1 = 0 ;
24253 int val2 ;
24254 int ecode2 = 0 ;
24255 PyObject * obj0 = 0 ;
24256 PyObject * obj1 = 0 ;
24257 char * kwnames[] = {
24258 (char *) "self",(char *) "v", NULL
24259 };
24260
24261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
24262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24263 if (!SWIG_IsOK(res1)) {
24264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24265 }
24266 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24267 ecode2 = SWIG_AsVal_int(obj1, &val2);
24268 if (!SWIG_IsOK(ecode2)) {
24269 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24270 }
24271 arg2 = static_cast< int >(val2);
24272 {
24273 PyThreadState* __tstate = wxPyBeginAllowThreads();
24274 (arg1)->SetNoCopies(arg2);
24275 wxPyEndAllowThreads(__tstate);
24276 if (PyErr_Occurred()) SWIG_fail;
24277 }
24278 resultobj = SWIG_Py_Void();
24279 return resultobj;
24280fail:
24281 return NULL;
24282}
24283
24284
24285SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24286 PyObject *resultobj = 0;
24287 wxPrintData *arg1 = (wxPrintData *) 0 ;
24288 bool arg2 ;
24289 void *argp1 = 0 ;
24290 int res1 = 0 ;
24291 bool val2 ;
24292 int ecode2 = 0 ;
24293 PyObject * obj0 = 0 ;
24294 PyObject * obj1 = 0 ;
24295 char * kwnames[] = {
24296 (char *) "self",(char *) "flag", NULL
24297 };
24298
24299 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
24300 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24301 if (!SWIG_IsOK(res1)) {
24302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24303 }
24304 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24305 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24306 if (!SWIG_IsOK(ecode2)) {
24307 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24308 }
24309 arg2 = static_cast< bool >(val2);
24310 {
24311 PyThreadState* __tstate = wxPyBeginAllowThreads();
24312 (arg1)->SetCollate(arg2);
24313 wxPyEndAllowThreads(__tstate);
24314 if (PyErr_Occurred()) SWIG_fail;
24315 }
24316 resultobj = SWIG_Py_Void();
24317 return resultobj;
24318fail:
24319 return NULL;
24320}
24321
24322
24323SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24324 PyObject *resultobj = 0;
24325 wxPrintData *arg1 = (wxPrintData *) 0 ;
24326 int arg2 ;
24327 void *argp1 = 0 ;
24328 int res1 = 0 ;
24329 int val2 ;
24330 int ecode2 = 0 ;
24331 PyObject * obj0 = 0 ;
24332 PyObject * obj1 = 0 ;
24333 char * kwnames[] = {
24334 (char *) "self",(char *) "orient", NULL
24335 };
24336
24337 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24338 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24339 if (!SWIG_IsOK(res1)) {
24340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24341 }
24342 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24343 ecode2 = SWIG_AsVal_int(obj1, &val2);
24344 if (!SWIG_IsOK(ecode2)) {
24345 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24346 }
24347 arg2 = static_cast< int >(val2);
24348 {
24349 PyThreadState* __tstate = wxPyBeginAllowThreads();
24350 (arg1)->SetOrientation(arg2);
24351 wxPyEndAllowThreads(__tstate);
24352 if (PyErr_Occurred()) SWIG_fail;
24353 }
24354 resultobj = SWIG_Py_Void();
24355 return resultobj;
24356fail:
24357 return NULL;
24358}
24359
24360
24361SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24362 PyObject *resultobj = 0;
24363 wxPrintData *arg1 = (wxPrintData *) 0 ;
24364 wxString *arg2 = 0 ;
24365 void *argp1 = 0 ;
24366 int res1 = 0 ;
24367 bool temp2 = false ;
24368 PyObject * obj0 = 0 ;
24369 PyObject * obj1 = 0 ;
24370 char * kwnames[] = {
24371 (char *) "self",(char *) "name", NULL
24372 };
24373
24374 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24375 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24376 if (!SWIG_IsOK(res1)) {
24377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24378 }
24379 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24380 {
24381 arg2 = wxString_in_helper(obj1);
24382 if (arg2 == NULL) SWIG_fail;
24383 temp2 = true;
24384 }
24385 {
24386 PyThreadState* __tstate = wxPyBeginAllowThreads();
24387 (arg1)->SetPrinterName((wxString const &)*arg2);
24388 wxPyEndAllowThreads(__tstate);
24389 if (PyErr_Occurred()) SWIG_fail;
24390 }
24391 resultobj = SWIG_Py_Void();
24392 {
24393 if (temp2)
24394 delete arg2;
24395 }
24396 return resultobj;
24397fail:
24398 {
24399 if (temp2)
24400 delete arg2;
24401 }
24402 return NULL;
24403}
24404
24405
24406SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24407 PyObject *resultobj = 0;
24408 wxPrintData *arg1 = (wxPrintData *) 0 ;
24409 bool arg2 ;
24410 void *argp1 = 0 ;
24411 int res1 = 0 ;
24412 bool val2 ;
24413 int ecode2 = 0 ;
24414 PyObject * obj0 = 0 ;
24415 PyObject * obj1 = 0 ;
24416 char * kwnames[] = {
24417 (char *) "self",(char *) "colour", NULL
24418 };
24419
24420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24422 if (!SWIG_IsOK(res1)) {
24423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24424 }
24425 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24426 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24427 if (!SWIG_IsOK(ecode2)) {
24428 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24429 }
24430 arg2 = static_cast< bool >(val2);
24431 {
24432 PyThreadState* __tstate = wxPyBeginAllowThreads();
24433 (arg1)->SetColour(arg2);
24434 wxPyEndAllowThreads(__tstate);
24435 if (PyErr_Occurred()) SWIG_fail;
24436 }
24437 resultobj = SWIG_Py_Void();
24438 return resultobj;
24439fail:
24440 return NULL;
24441}
24442
24443
24444SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24445 PyObject *resultobj = 0;
24446 wxPrintData *arg1 = (wxPrintData *) 0 ;
24447 wxDuplexMode arg2 ;
24448 void *argp1 = 0 ;
24449 int res1 = 0 ;
24450 int val2 ;
24451 int ecode2 = 0 ;
24452 PyObject * obj0 = 0 ;
24453 PyObject * obj1 = 0 ;
24454 char * kwnames[] = {
24455 (char *) "self",(char *) "duplex", NULL
24456 };
24457
24458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24460 if (!SWIG_IsOK(res1)) {
24461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24462 }
24463 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24464 ecode2 = SWIG_AsVal_int(obj1, &val2);
24465 if (!SWIG_IsOK(ecode2)) {
24466 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24467 }
24468 arg2 = static_cast< wxDuplexMode >(val2);
24469 {
24470 PyThreadState* __tstate = wxPyBeginAllowThreads();
24471 (arg1)->SetDuplex(arg2);
24472 wxPyEndAllowThreads(__tstate);
24473 if (PyErr_Occurred()) SWIG_fail;
24474 }
24475 resultobj = SWIG_Py_Void();
24476 return resultobj;
24477fail:
24478 return NULL;
24479}
24480
24481
24482SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24483 PyObject *resultobj = 0;
24484 wxPrintData *arg1 = (wxPrintData *) 0 ;
24485 wxPaperSize arg2 ;
24486 void *argp1 = 0 ;
24487 int res1 = 0 ;
24488 int val2 ;
24489 int ecode2 = 0 ;
24490 PyObject * obj0 = 0 ;
24491 PyObject * obj1 = 0 ;
24492 char * kwnames[] = {
24493 (char *) "self",(char *) "sizeId", NULL
24494 };
24495
24496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24498 if (!SWIG_IsOK(res1)) {
24499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24500 }
24501 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24502 ecode2 = SWIG_AsVal_int(obj1, &val2);
24503 if (!SWIG_IsOK(ecode2)) {
24504 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24505 }
24506 arg2 = static_cast< wxPaperSize >(val2);
24507 {
24508 PyThreadState* __tstate = wxPyBeginAllowThreads();
24509 (arg1)->SetPaperId(arg2);
24510 wxPyEndAllowThreads(__tstate);
24511 if (PyErr_Occurred()) SWIG_fail;
24512 }
24513 resultobj = SWIG_Py_Void();
24514 return resultobj;
24515fail:
24516 return NULL;
24517}
24518
24519
24520SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24521 PyObject *resultobj = 0;
24522 wxPrintData *arg1 = (wxPrintData *) 0 ;
24523 wxSize *arg2 = 0 ;
24524 void *argp1 = 0 ;
24525 int res1 = 0 ;
24526 wxSize temp2 ;
24527 PyObject * obj0 = 0 ;
24528 PyObject * obj1 = 0 ;
24529 char * kwnames[] = {
24530 (char *) "self",(char *) "sz", NULL
24531 };
24532
24533 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24534 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24535 if (!SWIG_IsOK(res1)) {
24536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24537 }
24538 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24539 {
24540 arg2 = &temp2;
24541 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24542 }
24543 {
24544 PyThreadState* __tstate = wxPyBeginAllowThreads();
24545 (arg1)->SetPaperSize((wxSize const &)*arg2);
24546 wxPyEndAllowThreads(__tstate);
24547 if (PyErr_Occurred()) SWIG_fail;
24548 }
24549 resultobj = SWIG_Py_Void();
24550 return resultobj;
24551fail:
24552 return NULL;
24553}
24554
24555
24556SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24557 PyObject *resultobj = 0;
24558 wxPrintData *arg1 = (wxPrintData *) 0 ;
24559 int arg2 ;
24560 void *argp1 = 0 ;
24561 int res1 = 0 ;
24562 int val2 ;
24563 int ecode2 = 0 ;
24564 PyObject * obj0 = 0 ;
24565 PyObject * obj1 = 0 ;
24566 char * kwnames[] = {
24567 (char *) "self",(char *) "quality", NULL
24568 };
24569
24570 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24571 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24572 if (!SWIG_IsOK(res1)) {
24573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24574 }
24575 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24576 ecode2 = SWIG_AsVal_int(obj1, &val2);
24577 if (!SWIG_IsOK(ecode2)) {
24578 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24579 }
24580 arg2 = static_cast< int >(val2);
24581 {
24582 PyThreadState* __tstate = wxPyBeginAllowThreads();
24583 (arg1)->SetQuality(arg2);
24584 wxPyEndAllowThreads(__tstate);
24585 if (PyErr_Occurred()) SWIG_fail;
24586 }
24587 resultobj = SWIG_Py_Void();
24588 return resultobj;
24589fail:
24590 return NULL;
24591}
24592
24593
24594SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24595 PyObject *resultobj = 0;
24596 wxPrintData *arg1 = (wxPrintData *) 0 ;
24597 wxPrintBin arg2 ;
24598 void *argp1 = 0 ;
24599 int res1 = 0 ;
24600 int val2 ;
24601 int ecode2 = 0 ;
24602 PyObject * obj0 = 0 ;
24603 PyObject * obj1 = 0 ;
24604 char * kwnames[] = {
24605 (char *) "self",(char *) "bin", NULL
24606 };
24607
24608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24610 if (!SWIG_IsOK(res1)) {
24611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24612 }
24613 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24614 ecode2 = SWIG_AsVal_int(obj1, &val2);
24615 if (!SWIG_IsOK(ecode2)) {
24616 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24617 }
24618 arg2 = static_cast< wxPrintBin >(val2);
24619 {
24620 PyThreadState* __tstate = wxPyBeginAllowThreads();
24621 (arg1)->SetBin(arg2);
24622 wxPyEndAllowThreads(__tstate);
24623 if (PyErr_Occurred()) SWIG_fail;
24624 }
24625 resultobj = SWIG_Py_Void();
24626 return resultobj;
24627fail:
24628 return NULL;
24629}
24630
24631
24632SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24633 PyObject *resultobj = 0;
24634 wxPrintData *arg1 = (wxPrintData *) 0 ;
24635 wxPrintMode arg2 ;
24636 void *argp1 = 0 ;
24637 int res1 = 0 ;
24638 int val2 ;
24639 int ecode2 = 0 ;
24640 PyObject * obj0 = 0 ;
24641 PyObject * obj1 = 0 ;
24642 char * kwnames[] = {
24643 (char *) "self",(char *) "printMode", NULL
24644 };
24645
24646 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24647 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24648 if (!SWIG_IsOK(res1)) {
24649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24650 }
24651 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24652 ecode2 = SWIG_AsVal_int(obj1, &val2);
24653 if (!SWIG_IsOK(ecode2)) {
24654 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24655 }
24656 arg2 = static_cast< wxPrintMode >(val2);
24657 {
24658 PyThreadState* __tstate = wxPyBeginAllowThreads();
24659 (arg1)->SetPrintMode(arg2);
24660 wxPyEndAllowThreads(__tstate);
24661 if (PyErr_Occurred()) SWIG_fail;
24662 }
24663 resultobj = SWIG_Py_Void();
24664 return resultobj;
24665fail:
24666 return NULL;
d55e5bfc
RD
24667}
24668
24669
554f62e9
RD
24670SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24671 PyObject *resultobj = 0;
24672 wxPrintData *arg1 = (wxPrintData *) 0 ;
24673 wxString result;
24674 void *argp1 = 0 ;
24675 int res1 = 0 ;
24676 PyObject *swig_obj[1] ;
24677
24678 if (!args) SWIG_fail;
24679 swig_obj[0] = args;
24680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24681 if (!SWIG_IsOK(res1)) {
24682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24683 }
24684 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24685 {
24686 PyThreadState* __tstate = wxPyBeginAllowThreads();
24687 result = ((wxPrintData const *)arg1)->GetFilename();
24688 wxPyEndAllowThreads(__tstate);
24689 if (PyErr_Occurred()) SWIG_fail;
24690 }
24691 {
d55e5bfc 24692#if wxUSE_UNICODE
554f62e9 24693 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 24694#else
554f62e9 24695 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc 24696#endif
554f62e9
RD
24697 }
24698 return resultobj;
24699fail:
24700 return NULL;
24701}
24702
24703
24704SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24705 PyObject *resultobj = 0;
24706 wxPrintData *arg1 = (wxPrintData *) 0 ;
24707 wxString *arg2 = 0 ;
24708 void *argp1 = 0 ;
24709 int res1 = 0 ;
24710 bool temp2 = false ;
24711 PyObject * obj0 = 0 ;
24712 PyObject * obj1 = 0 ;
24713 char * kwnames[] = {
24714 (char *) "self",(char *) "filename", NULL
24715 };
24716
24717 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24718 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24719 if (!SWIG_IsOK(res1)) {
24720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24721 }
24722 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24723 {
24724 arg2 = wxString_in_helper(obj1);
24725 if (arg2 == NULL) SWIG_fail;
24726 temp2 = true;
24727 }
24728 {
24729 PyThreadState* __tstate = wxPyBeginAllowThreads();
24730 (arg1)->SetFilename((wxString const &)*arg2);
24731 wxPyEndAllowThreads(__tstate);
24732 if (PyErr_Occurred()) SWIG_fail;
24733 }
24734 resultobj = SWIG_Py_Void();
24735 {
24736 if (temp2)
24737 delete arg2;
24738 }
24739 return resultobj;
24740fail:
24741 {
24742 if (temp2)
24743 delete arg2;
24744 }
24745 return NULL;
d55e5bfc
RD
24746}
24747
24748
554f62e9
RD
24749SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24750 PyObject *resultobj = 0;
24751 wxPrintData *arg1 = (wxPrintData *) 0 ;
24752 PyObject *result = 0 ;
24753 void *argp1 = 0 ;
24754 int res1 = 0 ;
24755 PyObject *swig_obj[1] ;
24756
24757 if (!args) SWIG_fail;
24758 swig_obj[0] = args;
24759 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24760 if (!SWIG_IsOK(res1)) {
24761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24762 }
24763 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24764 {
24765 PyThreadState* __tstate = wxPyBeginAllowThreads();
24766 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24767 wxPyEndAllowThreads(__tstate);
24768 if (PyErr_Occurred()) SWIG_fail;
24769 }
24770 resultobj = result;
24771 return resultobj;
24772fail:
24773 return NULL;
24774}
24775
24776
24777SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24778 PyObject *resultobj = 0;
24779 wxPrintData *arg1 = (wxPrintData *) 0 ;
24780 PyObject *arg2 = (PyObject *) 0 ;
24781 void *argp1 = 0 ;
24782 int res1 = 0 ;
24783 PyObject * obj0 = 0 ;
24784 PyObject * obj1 = 0 ;
24785 char * kwnames[] = {
24786 (char *) "self",(char *) "data", NULL
24787 };
24788
24789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24791 if (!SWIG_IsOK(res1)) {
24792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24793 }
24794 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24795 arg2 = obj1;
24796 {
24797 PyThreadState* __tstate = wxPyBeginAllowThreads();
24798 wxPrintData_SetPrivData(arg1,arg2);
24799 wxPyEndAllowThreads(__tstate);
24800 if (PyErr_Occurred()) SWIG_fail;
24801 }
24802 resultobj = SWIG_Py_Void();
24803 return resultobj;
24804fail:
24805 return NULL;
d55e5bfc
RD
24806}
24807
24808
554f62e9
RD
24809SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24810 PyObject *obj;
24811 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24812 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24813 return SWIG_Py_Void();
c1cb24a4
RD
24814}
24815
554f62e9
RD
24816SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24817 return SWIG_Python_InitShadowInstance(args);
c1cb24a4
RD
24818}
24819
554f62e9
RD
24820SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24821 PyObject *resultobj = 0;
24822 wxPageSetupDialogData *result = 0 ;
24823
24824 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24825 {
24826 PyThreadState* __tstate = wxPyBeginAllowThreads();
24827 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24828 wxPyEndAllowThreads(__tstate);
24829 if (PyErr_Occurred()) SWIG_fail;
24830 }
24831 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24832 return resultobj;
24833fail:
24834 return NULL;
d55e5bfc
RD
24835}
24836
24837
554f62e9
RD
24838SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24839 PyObject *resultobj = 0;
24840 wxPageSetupDialogData *arg1 = 0 ;
24841 wxPageSetupDialogData *result = 0 ;
24842 void *argp1 = 0 ;
24843 int res1 = 0 ;
24844
24845 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24846 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24847 if (!SWIG_IsOK(res1)) {
24848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24849 }
24850 if (!argp1) {
24851 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24852 }
24853 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24854 {
24855 PyThreadState* __tstate = wxPyBeginAllowThreads();
24856 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24857 wxPyEndAllowThreads(__tstate);
24858 if (PyErr_Occurred()) SWIG_fail;
24859 }
24860 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24861 return resultobj;
24862fail:
24863 return NULL;
d55e5bfc
RD
24864}
24865
24866
554f62e9
RD
24867SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24868 PyObject *resultobj = 0;
24869 wxPrintData *arg1 = 0 ;
24870 wxPageSetupDialogData *result = 0 ;
24871 void *argp1 = 0 ;
24872 int res1 = 0 ;
24873
24874 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24875 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24876 if (!SWIG_IsOK(res1)) {
24877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24878 }
24879 if (!argp1) {
24880 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24881 }
24882 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24883 {
24884 PyThreadState* __tstate = wxPyBeginAllowThreads();
24885 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24886 wxPyEndAllowThreads(__tstate);
24887 if (PyErr_Occurred()) SWIG_fail;
24888 }
24889 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24890 return resultobj;
24891fail:
24892 return NULL;
d55e5bfc
RD
24893}
24894
24895
554f62e9
RD
24896SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24897 int argc;
24898 PyObject *argv[2];
24899
24900 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24901 --argc;
24902 if (argc == 0) {
24903 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24904 }
24905 if (argc == 1) {
24906 int _v = 0;
d55e5bfc 24907 {
554f62e9
RD
24908 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24909 _v = SWIG_CheckState(res);
d55e5bfc 24910 }
554f62e9
RD
24911 if (!_v) goto check_2;
24912 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24913 }
24914check_2:
24915
24916 if (argc == 1) {
24917 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24918 }
24919
24920fail:
24921 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24922 return NULL;
d55e5bfc
RD
24923}
24924
24925
554f62e9
RD
24926SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24927 PyObject *resultobj = 0;
24928 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24929 void *argp1 = 0 ;
24930 int res1 = 0 ;
24931 PyObject *swig_obj[1] ;
24932
24933 if (!args) SWIG_fail;
24934 swig_obj[0] = args;
24935 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24936 if (!SWIG_IsOK(res1)) {
24937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24938 }
24939 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24940 {
24941 PyThreadState* __tstate = wxPyBeginAllowThreads();
24942 delete arg1;
d55e5bfc 24943
554f62e9
RD
24944 wxPyEndAllowThreads(__tstate);
24945 if (PyErr_Occurred()) SWIG_fail;
24946 }
24947 resultobj = SWIG_Py_Void();
24948 return resultobj;
24949fail:
24950 return NULL;
24951}
24952
24953
24954SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24955 PyObject *resultobj = 0;
24956 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24957 bool arg2 ;
24958 void *argp1 = 0 ;
24959 int res1 = 0 ;
24960 bool val2 ;
24961 int ecode2 = 0 ;
24962 PyObject * obj0 = 0 ;
24963 PyObject * obj1 = 0 ;
24964 char * kwnames[] = {
24965 (char *) "self",(char *) "flag", NULL
24966 };
24967
24968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24970 if (!SWIG_IsOK(res1)) {
24971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24972 }
24973 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24974 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24975 if (!SWIG_IsOK(ecode2)) {
24976 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24977 }
24978 arg2 = static_cast< bool >(val2);
24979 {
24980 PyThreadState* __tstate = wxPyBeginAllowThreads();
24981 (arg1)->EnableHelp(arg2);
24982 wxPyEndAllowThreads(__tstate);
24983 if (PyErr_Occurred()) SWIG_fail;
24984 }
24985 resultobj = SWIG_Py_Void();
24986 return resultobj;
24987fail:
24988 return NULL;
24989}
24990
24991
24992SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24993 PyObject *resultobj = 0;
24994 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24995 bool arg2 ;
24996 void *argp1 = 0 ;
24997 int res1 = 0 ;
24998 bool val2 ;
24999 int ecode2 = 0 ;
25000 PyObject * obj0 = 0 ;
25001 PyObject * obj1 = 0 ;
25002 char * kwnames[] = {
25003 (char *) "self",(char *) "flag", NULL
25004 };
25005
25006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25008 if (!SWIG_IsOK(res1)) {
25009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25010 }
25011 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25012 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25013 if (!SWIG_IsOK(ecode2)) {
25014 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
25015 }
25016 arg2 = static_cast< bool >(val2);
25017 {
25018 PyThreadState* __tstate = wxPyBeginAllowThreads();
25019 (arg1)->EnableMargins(arg2);
25020 wxPyEndAllowThreads(__tstate);
25021 if (PyErr_Occurred()) SWIG_fail;
25022 }
25023 resultobj = SWIG_Py_Void();
25024 return resultobj;
25025fail:
25026 return NULL;
25027}
25028
25029
25030SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25031 PyObject *resultobj = 0;
25032 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25033 bool arg2 ;
25034 void *argp1 = 0 ;
25035 int res1 = 0 ;
25036 bool val2 ;
25037 int ecode2 = 0 ;
25038 PyObject * obj0 = 0 ;
25039 PyObject * obj1 = 0 ;
25040 char * kwnames[] = {
25041 (char *) "self",(char *) "flag", NULL
25042 };
25043
25044 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
25045 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25046 if (!SWIG_IsOK(res1)) {
25047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25048 }
25049 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25050 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25051 if (!SWIG_IsOK(ecode2)) {
25052 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
25053 }
25054 arg2 = static_cast< bool >(val2);
25055 {
25056 PyThreadState* __tstate = wxPyBeginAllowThreads();
25057 (arg1)->EnableOrientation(arg2);
25058 wxPyEndAllowThreads(__tstate);
25059 if (PyErr_Occurred()) SWIG_fail;
25060 }
25061 resultobj = SWIG_Py_Void();
25062 return resultobj;
25063fail:
25064 return NULL;
25065}
25066
25067
25068SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25069 PyObject *resultobj = 0;
25070 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25071 bool arg2 ;
25072 void *argp1 = 0 ;
25073 int res1 = 0 ;
25074 bool val2 ;
25075 int ecode2 = 0 ;
25076 PyObject * obj0 = 0 ;
25077 PyObject * obj1 = 0 ;
25078 char * kwnames[] = {
25079 (char *) "self",(char *) "flag", NULL
25080 };
25081
25082 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
25083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25084 if (!SWIG_IsOK(res1)) {
25085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25086 }
25087 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25088 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25089 if (!SWIG_IsOK(ecode2)) {
25090 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
25091 }
25092 arg2 = static_cast< bool >(val2);
25093 {
25094 PyThreadState* __tstate = wxPyBeginAllowThreads();
25095 (arg1)->EnablePaper(arg2);
25096 wxPyEndAllowThreads(__tstate);
25097 if (PyErr_Occurred()) SWIG_fail;
25098 }
25099 resultobj = SWIG_Py_Void();
25100 return resultobj;
25101fail:
25102 return NULL;
25103}
25104
25105
25106SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25107 PyObject *resultobj = 0;
25108 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25109 bool arg2 ;
25110 void *argp1 = 0 ;
25111 int res1 = 0 ;
25112 bool val2 ;
25113 int ecode2 = 0 ;
25114 PyObject * obj0 = 0 ;
25115 PyObject * obj1 = 0 ;
25116 char * kwnames[] = {
25117 (char *) "self",(char *) "flag", NULL
25118 };
25119
25120 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
25121 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25122 if (!SWIG_IsOK(res1)) {
25123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25124 }
25125 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25126 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25127 if (!SWIG_IsOK(ecode2)) {
25128 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
25129 }
25130 arg2 = static_cast< bool >(val2);
25131 {
25132 PyThreadState* __tstate = wxPyBeginAllowThreads();
25133 (arg1)->EnablePrinter(arg2);
25134 wxPyEndAllowThreads(__tstate);
25135 if (PyErr_Occurred()) SWIG_fail;
25136 }
25137 resultobj = SWIG_Py_Void();
25138 return resultobj;
25139fail:
25140 return NULL;
d55e5bfc
RD
25141}
25142
25143
554f62e9
RD
25144SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25145 PyObject *resultobj = 0;
25146 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25147 bool result;
25148 void *argp1 = 0 ;
25149 int res1 = 0 ;
25150 PyObject *swig_obj[1] ;
25151
25152 if (!args) SWIG_fail;
25153 swig_obj[0] = args;
25154 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25155 if (!SWIG_IsOK(res1)) {
25156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25157 }
25158 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25159 {
25160 PyThreadState* __tstate = wxPyBeginAllowThreads();
25161 result = (bool)(arg1)->GetDefaultMinMargins();
25162 wxPyEndAllowThreads(__tstate);
25163 if (PyErr_Occurred()) SWIG_fail;
25164 }
25165 {
25166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25167 }
25168 return resultobj;
25169fail:
25170 return NULL;
d55e5bfc
RD
25171}
25172
25173
554f62e9
RD
25174SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25175 PyObject *resultobj = 0;
25176 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25177 bool result;
25178 void *argp1 = 0 ;
25179 int res1 = 0 ;
25180 PyObject *swig_obj[1] ;
25181
25182 if (!args) SWIG_fail;
25183 swig_obj[0] = args;
25184 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25185 if (!SWIG_IsOK(res1)) {
25186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25187 }
25188 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25189 {
25190 PyThreadState* __tstate = wxPyBeginAllowThreads();
25191 result = (bool)(arg1)->GetEnableMargins();
25192 wxPyEndAllowThreads(__tstate);
25193 if (PyErr_Occurred()) SWIG_fail;
25194 }
25195 {
25196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25197 }
25198 return resultobj;
25199fail:
25200 return NULL;
d55e5bfc
RD
25201}
25202
25203
554f62e9
RD
25204SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25205 PyObject *resultobj = 0;
25206 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25207 bool result;
25208 void *argp1 = 0 ;
25209 int res1 = 0 ;
25210 PyObject *swig_obj[1] ;
25211
25212 if (!args) SWIG_fail;
25213 swig_obj[0] = args;
25214 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25215 if (!SWIG_IsOK(res1)) {
25216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25217 }
25218 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25219 {
25220 PyThreadState* __tstate = wxPyBeginAllowThreads();
25221 result = (bool)(arg1)->GetEnableOrientation();
25222 wxPyEndAllowThreads(__tstate);
25223 if (PyErr_Occurred()) SWIG_fail;
25224 }
25225 {
25226 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25227 }
25228 return resultobj;
25229fail:
25230 return NULL;
d55e5bfc
RD
25231}
25232
25233
554f62e9
RD
25234SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25235 PyObject *resultobj = 0;
25236 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25237 bool result;
25238 void *argp1 = 0 ;
25239 int res1 = 0 ;
25240 PyObject *swig_obj[1] ;
25241
25242 if (!args) SWIG_fail;
25243 swig_obj[0] = args;
25244 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25245 if (!SWIG_IsOK(res1)) {
25246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25247 }
25248 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25249 {
25250 PyThreadState* __tstate = wxPyBeginAllowThreads();
25251 result = (bool)(arg1)->GetEnablePaper();
25252 wxPyEndAllowThreads(__tstate);
25253 if (PyErr_Occurred()) SWIG_fail;
25254 }
25255 {
25256 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25257 }
25258 return resultobj;
25259fail:
25260 return NULL;
d55e5bfc
RD
25261}
25262
25263
554f62e9
RD
25264SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25265 PyObject *resultobj = 0;
25266 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25267 bool result;
25268 void *argp1 = 0 ;
25269 int res1 = 0 ;
25270 PyObject *swig_obj[1] ;
25271
25272 if (!args) SWIG_fail;
25273 swig_obj[0] = args;
25274 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25275 if (!SWIG_IsOK(res1)) {
25276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25277 }
25278 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25279 {
25280 PyThreadState* __tstate = wxPyBeginAllowThreads();
25281 result = (bool)(arg1)->GetEnablePrinter();
25282 wxPyEndAllowThreads(__tstate);
25283 if (PyErr_Occurred()) SWIG_fail;
25284 }
25285 {
25286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25287 }
25288 return resultobj;
25289fail:
25290 return NULL;
d55e5bfc
RD
25291}
25292
25293
554f62e9
RD
25294SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25295 PyObject *resultobj = 0;
25296 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25297 bool result;
25298 void *argp1 = 0 ;
25299 int res1 = 0 ;
25300 PyObject *swig_obj[1] ;
25301
25302 if (!args) SWIG_fail;
25303 swig_obj[0] = args;
25304 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25305 if (!SWIG_IsOK(res1)) {
25306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25307 }
25308 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25309 {
25310 PyThreadState* __tstate = wxPyBeginAllowThreads();
25311 result = (bool)(arg1)->GetEnableHelp();
25312 wxPyEndAllowThreads(__tstate);
25313 if (PyErr_Occurred()) SWIG_fail;
25314 }
25315 {
25316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25317 }
25318 return resultobj;
25319fail:
25320 return NULL;
d55e5bfc
RD
25321}
25322
25323
554f62e9
RD
25324SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25325 PyObject *resultobj = 0;
25326 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25327 bool result;
25328 void *argp1 = 0 ;
25329 int res1 = 0 ;
25330 PyObject *swig_obj[1] ;
25331
25332 if (!args) SWIG_fail;
25333 swig_obj[0] = args;
25334 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25335 if (!SWIG_IsOK(res1)) {
25336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25337 }
25338 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25339 {
25340 PyThreadState* __tstate = wxPyBeginAllowThreads();
25341 result = (bool)(arg1)->GetDefaultInfo();
25342 wxPyEndAllowThreads(__tstate);
25343 if (PyErr_Occurred()) SWIG_fail;
25344 }
25345 {
25346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25347 }
25348 return resultobj;
25349fail:
25350 return NULL;
d55e5bfc
RD
25351}
25352
25353
554f62e9
RD
25354SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25355 PyObject *resultobj = 0;
25356 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25357 wxPoint result;
25358 void *argp1 = 0 ;
25359 int res1 = 0 ;
25360 PyObject *swig_obj[1] ;
25361
25362 if (!args) SWIG_fail;
25363 swig_obj[0] = args;
25364 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25365 if (!SWIG_IsOK(res1)) {
25366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25367 }
25368 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25369 {
25370 PyThreadState* __tstate = wxPyBeginAllowThreads();
25371 result = (arg1)->GetMarginTopLeft();
25372 wxPyEndAllowThreads(__tstate);
25373 if (PyErr_Occurred()) SWIG_fail;
25374 }
25375 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25376 return resultobj;
25377fail:
25378 return NULL;
d55e5bfc
RD
25379}
25380
25381
554f62e9
RD
25382SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25383 PyObject *resultobj = 0;
25384 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25385 wxPoint result;
25386 void *argp1 = 0 ;
25387 int res1 = 0 ;
25388 PyObject *swig_obj[1] ;
25389
25390 if (!args) SWIG_fail;
25391 swig_obj[0] = args;
25392 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25393 if (!SWIG_IsOK(res1)) {
25394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25395 }
25396 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25397 {
25398 PyThreadState* __tstate = wxPyBeginAllowThreads();
25399 result = (arg1)->GetMarginBottomRight();
25400 wxPyEndAllowThreads(__tstate);
25401 if (PyErr_Occurred()) SWIG_fail;
25402 }
25403 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25404 return resultobj;
25405fail:
25406 return NULL;
d55e5bfc
RD
25407}
25408
25409
554f62e9
RD
25410SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25411 PyObject *resultobj = 0;
25412 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25413 wxPoint result;
25414 void *argp1 = 0 ;
25415 int res1 = 0 ;
25416 PyObject *swig_obj[1] ;
25417
25418 if (!args) SWIG_fail;
25419 swig_obj[0] = args;
25420 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25421 if (!SWIG_IsOK(res1)) {
25422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25423 }
25424 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25425 {
25426 PyThreadState* __tstate = wxPyBeginAllowThreads();
25427 result = (arg1)->GetMinMarginTopLeft();
25428 wxPyEndAllowThreads(__tstate);
25429 if (PyErr_Occurred()) SWIG_fail;
25430 }
25431 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25432 return resultobj;
25433fail:
25434 return NULL;
d55e5bfc
RD
25435}
25436
25437
554f62e9
RD
25438SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25439 PyObject *resultobj = 0;
25440 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25441 wxPoint result;
25442 void *argp1 = 0 ;
25443 int res1 = 0 ;
25444 PyObject *swig_obj[1] ;
25445
25446 if (!args) SWIG_fail;
25447 swig_obj[0] = args;
25448 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25449 if (!SWIG_IsOK(res1)) {
25450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25451 }
25452 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25453 {
25454 PyThreadState* __tstate = wxPyBeginAllowThreads();
25455 result = (arg1)->GetMinMarginBottomRight();
25456 wxPyEndAllowThreads(__tstate);
25457 if (PyErr_Occurred()) SWIG_fail;
25458 }
25459 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25460 return resultobj;
25461fail:
25462 return NULL;
d55e5bfc
RD
25463}
25464
25465
554f62e9
RD
25466SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25467 PyObject *resultobj = 0;
25468 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25469 wxPaperSize result;
25470 void *argp1 = 0 ;
25471 int res1 = 0 ;
25472 PyObject *swig_obj[1] ;
25473
25474 if (!args) SWIG_fail;
25475 swig_obj[0] = args;
25476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25477 if (!SWIG_IsOK(res1)) {
25478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25479 }
25480 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25481 {
25482 PyThreadState* __tstate = wxPyBeginAllowThreads();
25483 result = (wxPaperSize)(arg1)->GetPaperId();
25484 wxPyEndAllowThreads(__tstate);
25485 if (PyErr_Occurred()) SWIG_fail;
25486 }
25487 resultobj = SWIG_From_int(static_cast< int >(result));
25488 return resultobj;
25489fail:
25490 return NULL;
d55e5bfc
RD
25491}
25492
25493
554f62e9
RD
25494SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25495 PyObject *resultobj = 0;
25496 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25497 wxSize result;
25498 void *argp1 = 0 ;
25499 int res1 = 0 ;
25500 PyObject *swig_obj[1] ;
25501
25502 if (!args) SWIG_fail;
25503 swig_obj[0] = args;
25504 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25505 if (!SWIG_IsOK(res1)) {
25506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25507 }
25508 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25509 {
25510 PyThreadState* __tstate = wxPyBeginAllowThreads();
25511 result = (arg1)->GetPaperSize();
25512 wxPyEndAllowThreads(__tstate);
25513 if (PyErr_Occurred()) SWIG_fail;
25514 }
25515 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25516 return resultobj;
25517fail:
25518 return NULL;
7449af73
RD
25519}
25520
25521
554f62e9
RD
25522SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25523 PyObject *resultobj = 0;
25524 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25525 wxPrintData *result = 0 ;
25526 void *argp1 = 0 ;
25527 int res1 = 0 ;
25528 PyObject *swig_obj[1] ;
25529
25530 if (!args) SWIG_fail;
25531 swig_obj[0] = args;
25532 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25533 if (!SWIG_IsOK(res1)) {
25534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25535 }
25536 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25537 {
25538 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 25539 {
554f62e9
RD
25540 wxPrintData &_result_ref = (arg1)->GetPrintData();
25541 result = (wxPrintData *) &_result_ref;
d55e5bfc 25542 }
554f62e9
RD
25543 wxPyEndAllowThreads(__tstate);
25544 if (PyErr_Occurred()) SWIG_fail;
25545 }
25546 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25547 return resultobj;
25548fail:
25549 return NULL;
d55e5bfc
RD
25550}
25551
25552
554f62e9
RD
25553SWIGINTERN PyObject *_wrap_PageSetupDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25554 PyObject *resultobj = 0;
25555 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25556 bool result;
25557 void *argp1 = 0 ;
25558 int res1 = 0 ;
25559 PyObject *swig_obj[1] ;
25560
25561 if (!args) SWIG_fail;
25562 swig_obj[0] = args;
25563 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25564 if (!SWIG_IsOK(res1)) {
25565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25566 }
25567 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25568 {
25569 PyThreadState* __tstate = wxPyBeginAllowThreads();
25570 result = (bool)(arg1)->Ok();
25571 wxPyEndAllowThreads(__tstate);
25572 if (PyErr_Occurred()) SWIG_fail;
25573 }
25574 {
25575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25576 }
25577 return resultobj;
25578fail:
25579 return NULL;
25580}
25581
25582
25583SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25584 PyObject *resultobj = 0;
25585 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25586 bool arg2 ;
25587 void *argp1 = 0 ;
25588 int res1 = 0 ;
25589 bool val2 ;
25590 int ecode2 = 0 ;
25591 PyObject * obj0 = 0 ;
25592 PyObject * obj1 = 0 ;
25593 char * kwnames[] = {
25594 (char *) "self",(char *) "flag", NULL
25595 };
25596
25597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25599 if (!SWIG_IsOK(res1)) {
25600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25601 }
25602 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25603 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25604 if (!SWIG_IsOK(ecode2)) {
25605 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25606 }
25607 arg2 = static_cast< bool >(val2);
25608 {
25609 PyThreadState* __tstate = wxPyBeginAllowThreads();
25610 (arg1)->SetDefaultInfo(arg2);
25611 wxPyEndAllowThreads(__tstate);
25612 if (PyErr_Occurred()) SWIG_fail;
25613 }
25614 resultobj = SWIG_Py_Void();
25615 return resultobj;
25616fail:
25617 return NULL;
25618}
25619
25620
25621SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25622 PyObject *resultobj = 0;
25623 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25624 bool arg2 ;
25625 void *argp1 = 0 ;
25626 int res1 = 0 ;
25627 bool val2 ;
25628 int ecode2 = 0 ;
25629 PyObject * obj0 = 0 ;
25630 PyObject * obj1 = 0 ;
25631 char * kwnames[] = {
25632 (char *) "self",(char *) "flag", NULL
25633 };
25634
25635 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25637 if (!SWIG_IsOK(res1)) {
25638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25639 }
25640 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25641 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25642 if (!SWIG_IsOK(ecode2)) {
25643 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25644 }
25645 arg2 = static_cast< bool >(val2);
25646 {
25647 PyThreadState* __tstate = wxPyBeginAllowThreads();
25648 (arg1)->SetDefaultMinMargins(arg2);
25649 wxPyEndAllowThreads(__tstate);
25650 if (PyErr_Occurred()) SWIG_fail;
25651 }
25652 resultobj = SWIG_Py_Void();
25653 return resultobj;
25654fail:
25655 return NULL;
25656}
25657
25658
25659SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25660 PyObject *resultobj = 0;
25661 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25662 wxPoint *arg2 = 0 ;
25663 void *argp1 = 0 ;
25664 int res1 = 0 ;
25665 wxPoint temp2 ;
25666 PyObject * obj0 = 0 ;
25667 PyObject * obj1 = 0 ;
25668 char * kwnames[] = {
25669 (char *) "self",(char *) "pt", NULL
25670 };
25671
25672 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25673 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25674 if (!SWIG_IsOK(res1)) {
25675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25676 }
25677 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25678 {
25679 arg2 = &temp2;
25680 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25681 }
25682 {
25683 PyThreadState* __tstate = wxPyBeginAllowThreads();
25684 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25685 wxPyEndAllowThreads(__tstate);
25686 if (PyErr_Occurred()) SWIG_fail;
25687 }
25688 resultobj = SWIG_Py_Void();
25689 return resultobj;
25690fail:
25691 return NULL;
25692}
25693
25694
25695SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25696 PyObject *resultobj = 0;
25697 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25698 wxPoint *arg2 = 0 ;
25699 void *argp1 = 0 ;
25700 int res1 = 0 ;
25701 wxPoint temp2 ;
25702 PyObject * obj0 = 0 ;
25703 PyObject * obj1 = 0 ;
25704 char * kwnames[] = {
25705 (char *) "self",(char *) "pt", NULL
25706 };
25707
25708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25710 if (!SWIG_IsOK(res1)) {
25711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25712 }
25713 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25714 {
25715 arg2 = &temp2;
25716 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25717 }
25718 {
25719 PyThreadState* __tstate = wxPyBeginAllowThreads();
25720 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25721 wxPyEndAllowThreads(__tstate);
25722 if (PyErr_Occurred()) SWIG_fail;
25723 }
25724 resultobj = SWIG_Py_Void();
25725 return resultobj;
25726fail:
25727 return NULL;
25728}
25729
25730
25731SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25732 PyObject *resultobj = 0;
25733 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25734 wxPoint *arg2 = 0 ;
25735 void *argp1 = 0 ;
25736 int res1 = 0 ;
25737 wxPoint temp2 ;
25738 PyObject * obj0 = 0 ;
25739 PyObject * obj1 = 0 ;
25740 char * kwnames[] = {
25741 (char *) "self",(char *) "pt", NULL
25742 };
25743
25744 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25745 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25746 if (!SWIG_IsOK(res1)) {
25747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25748 }
25749 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25750 {
25751 arg2 = &temp2;
25752 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25753 }
25754 {
25755 PyThreadState* __tstate = wxPyBeginAllowThreads();
25756 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25757 wxPyEndAllowThreads(__tstate);
25758 if (PyErr_Occurred()) SWIG_fail;
25759 }
25760 resultobj = SWIG_Py_Void();
25761 return resultobj;
25762fail:
25763 return NULL;
25764}
25765
25766
25767SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25768 PyObject *resultobj = 0;
25769 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25770 wxPoint *arg2 = 0 ;
25771 void *argp1 = 0 ;
25772 int res1 = 0 ;
25773 wxPoint temp2 ;
25774 PyObject * obj0 = 0 ;
25775 PyObject * obj1 = 0 ;
25776 char * kwnames[] = {
25777 (char *) "self",(char *) "pt", NULL
25778 };
25779
25780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25782 if (!SWIG_IsOK(res1)) {
25783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25784 }
25785 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25786 {
25787 arg2 = &temp2;
25788 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25789 }
25790 {
25791 PyThreadState* __tstate = wxPyBeginAllowThreads();
25792 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25793 wxPyEndAllowThreads(__tstate);
25794 if (PyErr_Occurred()) SWIG_fail;
25795 }
25796 resultobj = SWIG_Py_Void();
25797 return resultobj;
25798fail:
25799 return NULL;
25800}
25801
25802
25803SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25804 PyObject *resultobj = 0;
25805 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25806 wxPaperSize arg2 ;
25807 void *argp1 = 0 ;
25808 int res1 = 0 ;
25809 int val2 ;
25810 int ecode2 = 0 ;
25811 PyObject * obj0 = 0 ;
25812 PyObject * obj1 = 0 ;
25813 char * kwnames[] = {
25814 (char *) "self",(char *) "id", NULL
25815 };
25816
25817 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25818 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25819 if (!SWIG_IsOK(res1)) {
25820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25821 }
25822 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25823 ecode2 = SWIG_AsVal_int(obj1, &val2);
25824 if (!SWIG_IsOK(ecode2)) {
25825 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25826 }
25827 arg2 = static_cast< wxPaperSize >(val2);
25828 {
25829 PyThreadState* __tstate = wxPyBeginAllowThreads();
25830 (arg1)->SetPaperId(arg2);
25831 wxPyEndAllowThreads(__tstate);
25832 if (PyErr_Occurred()) SWIG_fail;
25833 }
25834 resultobj = SWIG_Py_Void();
25835 return resultobj;
25836fail:
25837 return NULL;
25838}
25839
25840
25841SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25842 PyObject *resultobj = 0;
25843 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25844 wxSize *arg2 = 0 ;
25845 void *argp1 = 0 ;
25846 int res1 = 0 ;
25847 wxSize temp2 ;
25848 PyObject * obj0 = 0 ;
25849 PyObject * obj1 = 0 ;
25850 char * kwnames[] = {
25851 (char *) "self",(char *) "size", NULL
25852 };
25853
25854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25856 if (!SWIG_IsOK(res1)) {
25857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25858 }
25859 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25860 {
25861 arg2 = &temp2;
25862 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25863 }
25864 {
25865 PyThreadState* __tstate = wxPyBeginAllowThreads();
25866 (arg1)->SetPaperSize((wxSize const &)*arg2);
25867 wxPyEndAllowThreads(__tstate);
25868 if (PyErr_Occurred()) SWIG_fail;
25869 }
25870 resultobj = SWIG_Py_Void();
25871 return resultobj;
25872fail:
25873 return NULL;
25874}
25875
25876
25877SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25878 PyObject *resultobj = 0;
25879 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25880 wxPrintData *arg2 = 0 ;
25881 void *argp1 = 0 ;
25882 int res1 = 0 ;
25883 void *argp2 = 0 ;
25884 int res2 = 0 ;
25885 PyObject * obj0 = 0 ;
25886 PyObject * obj1 = 0 ;
25887 char * kwnames[] = {
25888 (char *) "self",(char *) "printData", NULL
25889 };
25890
25891 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25893 if (!SWIG_IsOK(res1)) {
25894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25895 }
25896 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25897 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25898 if (!SWIG_IsOK(res2)) {
25899 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25900 }
25901 if (!argp2) {
25902 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25903 }
25904 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25905 {
25906 PyThreadState* __tstate = wxPyBeginAllowThreads();
25907 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25908 wxPyEndAllowThreads(__tstate);
25909 if (PyErr_Occurred()) SWIG_fail;
25910 }
25911 resultobj = SWIG_Py_Void();
25912 return resultobj;
25913fail:
25914 return NULL;
d55e5bfc
RD
25915}
25916
25917
554f62e9
RD
25918SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25919 PyObject *resultobj = 0;
25920 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25921 void *argp1 = 0 ;
25922 int res1 = 0 ;
25923 PyObject *swig_obj[1] ;
25924
25925 if (!args) SWIG_fail;
25926 swig_obj[0] = args;
25927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25928 if (!SWIG_IsOK(res1)) {
25929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25930 }
25931 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25932 {
25933 PyThreadState* __tstate = wxPyBeginAllowThreads();
25934 (arg1)->CalculateIdFromPaperSize();
25935 wxPyEndAllowThreads(__tstate);
25936 if (PyErr_Occurred()) SWIG_fail;
25937 }
25938 resultobj = SWIG_Py_Void();
25939 return resultobj;
25940fail:
25941 return NULL;
d55e5bfc
RD
25942}
25943
25944
554f62e9
RD
25945SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25946 PyObject *resultobj = 0;
25947 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 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_wxPageSetupDialogData, 0 | 0 );
25955 if (!SWIG_IsOK(res1)) {
25956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25957 }
25958 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25959 {
25960 PyThreadState* __tstate = wxPyBeginAllowThreads();
25961 (arg1)->CalculatePaperSizeFromId();
25962 wxPyEndAllowThreads(__tstate);
25963 if (PyErr_Occurred()) SWIG_fail;
25964 }
25965 resultobj = SWIG_Py_Void();
25966 return resultobj;
25967fail:
25968 return NULL;
d55e5bfc
RD
25969}
25970
25971
554f62e9
RD
25972SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25973 PyObject *obj;
25974 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25975 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25976 return SWIG_Py_Void();
d55e5bfc
RD
25977}
25978
554f62e9
RD
25979SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25980 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
25981}
25982
554f62e9
RD
25983SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25984 PyObject *resultobj = 0;
25985 wxWindow *arg1 = (wxWindow *) 0 ;
25986 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25987 wxPageSetupDialog *result = 0 ;
25988 void *argp1 = 0 ;
25989 int res1 = 0 ;
25990 void *argp2 = 0 ;
25991 int res2 = 0 ;
25992 PyObject * obj0 = 0 ;
25993 PyObject * obj1 = 0 ;
25994 char * kwnames[] = {
25995 (char *) "parent",(char *) "data", NULL
25996 };
25997
25998 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26000 if (!SWIG_IsOK(res1)) {
26001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26002 }
26003 arg1 = reinterpret_cast< wxWindow * >(argp1);
26004 if (obj1) {
26005 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26006 if (!SWIG_IsOK(res2)) {
26007 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
d55e5bfc 26008 }
554f62e9
RD
26009 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
26010 }
26011 {
26012 if (!wxPyCheckForApp()) SWIG_fail;
26013 PyThreadState* __tstate = wxPyBeginAllowThreads();
26014 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
26015 wxPyEndAllowThreads(__tstate);
26016 if (PyErr_Occurred()) SWIG_fail;
26017 }
26018 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
26019 return resultobj;
26020fail:
26021 return NULL;
d55e5bfc
RD
26022}
26023
26024
f05326ba
RD
26025SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26026 PyObject *resultobj = 0;
26027 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26028 void *argp1 = 0 ;
26029 int res1 = 0 ;
26030 PyObject *swig_obj[1] ;
26031
26032 if (!args) SWIG_fail;
26033 swig_obj[0] = args;
26034 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
26035 if (!SWIG_IsOK(res1)) {
26036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26037 }
26038 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26039 {
26040 PyThreadState* __tstate = wxPyBeginAllowThreads();
26041 delete arg1;
26042
26043 wxPyEndAllowThreads(__tstate);
26044 if (PyErr_Occurred()) SWIG_fail;
26045 }
26046 resultobj = SWIG_Py_Void();
26047 return resultobj;
26048fail:
26049 return NULL;
26050}
26051
26052
554f62e9
RD
26053SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26054 PyObject *resultobj = 0;
26055 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26056 wxPageSetupDialogData *result = 0 ;
26057 void *argp1 = 0 ;
26058 int res1 = 0 ;
26059 PyObject *swig_obj[1] ;
26060
26061 if (!args) SWIG_fail;
26062 swig_obj[0] = args;
26063 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26064 if (!SWIG_IsOK(res1)) {
26065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26066 }
26067 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26068 {
26069 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 26070 {
554f62e9
RD
26071 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
26072 result = (wxPageSetupDialogData *) &_result_ref;
d55e5bfc 26073 }
554f62e9
RD
26074 wxPyEndAllowThreads(__tstate);
26075 if (PyErr_Occurred()) SWIG_fail;
26076 }
26077 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26078 return resultobj;
26079fail:
26080 return NULL;
d55e5bfc
RD
26081}
26082
26083
554f62e9
RD
26084SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26085 PyObject *resultobj = 0;
26086 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26087 wxPageSetupDialogData *result = 0 ;
26088 void *argp1 = 0 ;
26089 int res1 = 0 ;
26090 PyObject *swig_obj[1] ;
26091
26092 if (!args) SWIG_fail;
26093 swig_obj[0] = args;
26094 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26095 if (!SWIG_IsOK(res1)) {
26096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26097 }
26098 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26099 {
26100 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 26101 {
554f62e9
RD
26102 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
26103 result = (wxPageSetupDialogData *) &_result_ref;
093d3ff1 26104 }
554f62e9
RD
26105 wxPyEndAllowThreads(__tstate);
26106 if (PyErr_Occurred()) SWIG_fail;
26107 }
26108 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26109 return resultobj;
26110fail:
26111 return NULL;
d55e5bfc
RD
26112}
26113
26114
554f62e9
RD
26115SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26116 PyObject *resultobj = 0;
26117 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26118 int result;
26119 void *argp1 = 0 ;
26120 int res1 = 0 ;
26121 PyObject *swig_obj[1] ;
26122
26123 if (!args) SWIG_fail;
26124 swig_obj[0] = args;
26125 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26126 if (!SWIG_IsOK(res1)) {
26127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26128 }
26129 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26130 {
26131 PyThreadState* __tstate = wxPyBeginAllowThreads();
26132 result = (int)(arg1)->ShowModal();
26133 wxPyEndAllowThreads(__tstate);
26134 if (PyErr_Occurred()) SWIG_fail;
26135 }
26136 resultobj = SWIG_From_int(static_cast< int >(result));
26137 return resultobj;
26138fail:
26139 return NULL;
d55e5bfc
RD
26140}
26141
26142
554f62e9
RD
26143SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26144 PyObject *obj;
26145 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26146 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
26147 return SWIG_Py_Void();
d55e5bfc
RD
26148}
26149
554f62e9
RD
26150SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26151 return SWIG_Python_InitShadowInstance(args);
d55e5bfc 26152}
554f62e9
RD
26153
26154SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
26155 PyObject *resultobj = 0;
26156 wxPrintDialogData *result = 0 ;
26157
26158 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
26159 {
26160 PyThreadState* __tstate = wxPyBeginAllowThreads();
26161 result = (wxPrintDialogData *)new wxPrintDialogData();
26162 wxPyEndAllowThreads(__tstate);
26163 if (PyErr_Occurred()) SWIG_fail;
26164 }
26165 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26166 return resultobj;
26167fail:
26168 return NULL;
d55e5bfc
RD
26169}
26170
26171
554f62e9
RD
26172SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26173 PyObject *resultobj = 0;
26174 wxPrintData *arg1 = 0 ;
26175 wxPrintDialogData *result = 0 ;
26176 void *argp1 = 0 ;
26177 int res1 = 0 ;
26178
26179 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
26181 if (!SWIG_IsOK(res1)) {
26182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26183 }
26184 if (!argp1) {
26185 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26186 }
26187 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26188 {
26189 PyThreadState* __tstate = wxPyBeginAllowThreads();
26190 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
26191 wxPyEndAllowThreads(__tstate);
26192 if (PyErr_Occurred()) SWIG_fail;
26193 }
26194 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26195 return resultobj;
26196fail:
26197 return NULL;
d55e5bfc
RD
26198}
26199
26200
554f62e9
RD
26201SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26202 PyObject *resultobj = 0;
26203 wxPrintDialogData *arg1 = 0 ;
26204 wxPrintDialogData *result = 0 ;
26205 void *argp1 = 0 ;
26206 int res1 = 0 ;
26207
26208 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
26210 if (!SWIG_IsOK(res1)) {
26211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26212 }
26213 if (!argp1) {
26214 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26215 }
26216 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26217 {
26218 PyThreadState* __tstate = wxPyBeginAllowThreads();
26219 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
26220 wxPyEndAllowThreads(__tstate);
26221 if (PyErr_Occurred()) SWIG_fail;
26222 }
26223 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26224 return resultobj;
26225fail:
26226 return NULL;
d55e5bfc
RD
26227}
26228
26229
554f62e9
RD
26230SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
26231 int argc;
26232 PyObject *argv[2];
26233
26234 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
26235 --argc;
26236 if (argc == 0) {
26237 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
26238 }
26239 if (argc == 1) {
26240 int _v = 0;
d55e5bfc 26241 {
554f62e9
RD
26242 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
26243 _v = SWIG_CheckState(res);
d55e5bfc 26244 }
554f62e9
RD
26245 if (!_v) goto check_2;
26246 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
26247 }
26248check_2:
26249
26250 if (argc == 1) {
26251 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
26252 }
26253
26254fail:
26255 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
26256 return NULL;
d55e5bfc
RD
26257}
26258
26259
554f62e9
RD
26260SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26261 PyObject *resultobj = 0;
26262 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26263 void *argp1 = 0 ;
26264 int res1 = 0 ;
26265 PyObject *swig_obj[1] ;
26266
26267 if (!args) SWIG_fail;
26268 swig_obj[0] = args;
26269 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
26270 if (!SWIG_IsOK(res1)) {
26271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26272 }
26273 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26274 {
26275 PyThreadState* __tstate = wxPyBeginAllowThreads();
26276 delete arg1;
d55e5bfc 26277
554f62e9
RD
26278 wxPyEndAllowThreads(__tstate);
26279 if (PyErr_Occurred()) SWIG_fail;
26280 }
26281 resultobj = SWIG_Py_Void();
26282 return resultobj;
26283fail:
26284 return NULL;
d55e5bfc
RD
26285}
26286
26287
554f62e9
RD
26288SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26289 PyObject *resultobj = 0;
26290 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26291 int result;
26292 void *argp1 = 0 ;
26293 int res1 = 0 ;
26294 PyObject *swig_obj[1] ;
26295
26296 if (!args) SWIG_fail;
26297 swig_obj[0] = args;
26298 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26299 if (!SWIG_IsOK(res1)) {
26300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26301 }
26302 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26303 {
26304 PyThreadState* __tstate = wxPyBeginAllowThreads();
26305 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
26306 wxPyEndAllowThreads(__tstate);
26307 if (PyErr_Occurred()) SWIG_fail;
26308 }
26309 resultobj = SWIG_From_int(static_cast< int >(result));
26310 return resultobj;
26311fail:
26312 return NULL;
d55e5bfc
RD
26313}
26314
26315
554f62e9
RD
26316SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26317 PyObject *resultobj = 0;
26318 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26319 int result;
26320 void *argp1 = 0 ;
26321 int res1 = 0 ;
26322 PyObject *swig_obj[1] ;
26323
26324 if (!args) SWIG_fail;
26325 swig_obj[0] = args;
26326 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26327 if (!SWIG_IsOK(res1)) {
26328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26329 }
26330 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26331 {
26332 PyThreadState* __tstate = wxPyBeginAllowThreads();
26333 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
26334 wxPyEndAllowThreads(__tstate);
26335 if (PyErr_Occurred()) SWIG_fail;
26336 }
26337 resultobj = SWIG_From_int(static_cast< int >(result));
26338 return resultobj;
26339fail:
26340 return NULL;
d55e5bfc
RD
26341}
26342
26343
554f62e9
RD
26344SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26345 PyObject *resultobj = 0;
26346 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26347 int result;
26348 void *argp1 = 0 ;
26349 int res1 = 0 ;
26350 PyObject *swig_obj[1] ;
26351
26352 if (!args) SWIG_fail;
26353 swig_obj[0] = args;
26354 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26355 if (!SWIG_IsOK(res1)) {
26356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26357 }
26358 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26359 {
26360 PyThreadState* __tstate = wxPyBeginAllowThreads();
26361 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
26362 wxPyEndAllowThreads(__tstate);
26363 if (PyErr_Occurred()) SWIG_fail;
26364 }
26365 resultobj = SWIG_From_int(static_cast< int >(result));
26366 return resultobj;
26367fail:
26368 return NULL;
d55e5bfc
RD
26369}
26370
26371
554f62e9
RD
26372SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26373 PyObject *resultobj = 0;
26374 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26375 int result;
26376 void *argp1 = 0 ;
26377 int res1 = 0 ;
26378 PyObject *swig_obj[1] ;
26379
26380 if (!args) SWIG_fail;
26381 swig_obj[0] = args;
26382 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26383 if (!SWIG_IsOK(res1)) {
26384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26385 }
26386 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26387 {
26388 PyThreadState* __tstate = wxPyBeginAllowThreads();
26389 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26390 wxPyEndAllowThreads(__tstate);
26391 if (PyErr_Occurred()) SWIG_fail;
26392 }
26393 resultobj = SWIG_From_int(static_cast< int >(result));
26394 return resultobj;
26395fail:
26396 return NULL;
d55e5bfc
RD
26397}
26398
26399
554f62e9
RD
26400SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26401 PyObject *resultobj = 0;
26402 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26403 int result;
26404 void *argp1 = 0 ;
26405 int res1 = 0 ;
26406 PyObject *swig_obj[1] ;
26407
26408 if (!args) SWIG_fail;
26409 swig_obj[0] = args;
26410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26411 if (!SWIG_IsOK(res1)) {
26412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26413 }
26414 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26415 {
26416 PyThreadState* __tstate = wxPyBeginAllowThreads();
26417 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26418 wxPyEndAllowThreads(__tstate);
26419 if (PyErr_Occurred()) SWIG_fail;
26420 }
26421 resultobj = SWIG_From_int(static_cast< int >(result));
26422 return resultobj;
26423fail:
26424 return NULL;
d55e5bfc
RD
26425}
26426
26427
554f62e9
RD
26428SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26429 PyObject *resultobj = 0;
26430 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26431 bool result;
26432 void *argp1 = 0 ;
26433 int res1 = 0 ;
26434 PyObject *swig_obj[1] ;
26435
26436 if (!args) SWIG_fail;
26437 swig_obj[0] = args;
26438 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26439 if (!SWIG_IsOK(res1)) {
26440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26441 }
26442 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26443 {
26444 PyThreadState* __tstate = wxPyBeginAllowThreads();
26445 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26446 wxPyEndAllowThreads(__tstate);
26447 if (PyErr_Occurred()) SWIG_fail;
26448 }
26449 {
26450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26451 }
26452 return resultobj;
26453fail:
26454 return NULL;
d55e5bfc
RD
26455}
26456
26457
554f62e9
RD
26458SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26459 PyObject *resultobj = 0;
26460 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26461 bool result;
26462 void *argp1 = 0 ;
26463 int res1 = 0 ;
26464 PyObject *swig_obj[1] ;
26465
26466 if (!args) SWIG_fail;
26467 swig_obj[0] = args;
26468 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26469 if (!SWIG_IsOK(res1)) {
26470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26471 }
26472 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26473 {
26474 PyThreadState* __tstate = wxPyBeginAllowThreads();
26475 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26476 wxPyEndAllowThreads(__tstate);
26477 if (PyErr_Occurred()) SWIG_fail;
26478 }
26479 {
26480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26481 }
26482 return resultobj;
26483fail:
26484 return NULL;
d55e5bfc
RD
26485}
26486
26487
554f62e9
RD
26488SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26489 PyObject *resultobj = 0;
26490 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26491 bool result;
26492 void *argp1 = 0 ;
26493 int res1 = 0 ;
26494 PyObject *swig_obj[1] ;
26495
26496 if (!args) SWIG_fail;
26497 swig_obj[0] = args;
26498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26499 if (!SWIG_IsOK(res1)) {
26500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26501 }
26502 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26503 {
26504 PyThreadState* __tstate = wxPyBeginAllowThreads();
26505 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26506 wxPyEndAllowThreads(__tstate);
26507 if (PyErr_Occurred()) SWIG_fail;
26508 }
26509 {
26510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26511 }
26512 return resultobj;
26513fail:
26514 return NULL;
d55e5bfc
RD
26515}
26516
26517
554f62e9
RD
26518SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26519 PyObject *resultobj = 0;
26520 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26521 bool result;
26522 void *argp1 = 0 ;
26523 int res1 = 0 ;
26524 PyObject *swig_obj[1] ;
26525
26526 if (!args) SWIG_fail;
26527 swig_obj[0] = args;
26528 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26529 if (!SWIG_IsOK(res1)) {
26530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26531 }
26532 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26533 {
26534 PyThreadState* __tstate = wxPyBeginAllowThreads();
26535 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26536 wxPyEndAllowThreads(__tstate);
26537 if (PyErr_Occurred()) SWIG_fail;
26538 }
26539 {
26540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26541 }
26542 return resultobj;
26543fail:
26544 return NULL;
26545}
26546
26547
26548SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26549 PyObject *resultobj = 0;
26550 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26551 int arg2 ;
26552 void *argp1 = 0 ;
26553 int res1 = 0 ;
26554 int val2 ;
26555 int ecode2 = 0 ;
26556 PyObject * obj0 = 0 ;
26557 PyObject * obj1 = 0 ;
26558 char * kwnames[] = {
26559 (char *) "self",(char *) "v", NULL
26560 };
26561
26562 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26563 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26564 if (!SWIG_IsOK(res1)) {
26565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26566 }
26567 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26568 ecode2 = SWIG_AsVal_int(obj1, &val2);
26569 if (!SWIG_IsOK(ecode2)) {
26570 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26571 }
26572 arg2 = static_cast< int >(val2);
26573 {
26574 PyThreadState* __tstate = wxPyBeginAllowThreads();
26575 (arg1)->SetFromPage(arg2);
26576 wxPyEndAllowThreads(__tstate);
26577 if (PyErr_Occurred()) SWIG_fail;
26578 }
26579 resultobj = SWIG_Py_Void();
26580 return resultobj;
26581fail:
26582 return NULL;
26583}
26584
26585
26586SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26587 PyObject *resultobj = 0;
26588 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26589 int arg2 ;
26590 void *argp1 = 0 ;
26591 int res1 = 0 ;
26592 int val2 ;
26593 int ecode2 = 0 ;
26594 PyObject * obj0 = 0 ;
26595 PyObject * obj1 = 0 ;
26596 char * kwnames[] = {
26597 (char *) "self",(char *) "v", NULL
26598 };
26599
26600 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26601 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26602 if (!SWIG_IsOK(res1)) {
26603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26604 }
26605 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26606 ecode2 = SWIG_AsVal_int(obj1, &val2);
26607 if (!SWIG_IsOK(ecode2)) {
26608 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26609 }
26610 arg2 = static_cast< int >(val2);
26611 {
26612 PyThreadState* __tstate = wxPyBeginAllowThreads();
26613 (arg1)->SetToPage(arg2);
26614 wxPyEndAllowThreads(__tstate);
26615 if (PyErr_Occurred()) SWIG_fail;
26616 }
26617 resultobj = SWIG_Py_Void();
26618 return resultobj;
26619fail:
26620 return NULL;
26621}
26622
26623
26624SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26625 PyObject *resultobj = 0;
26626 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26627 int arg2 ;
26628 void *argp1 = 0 ;
26629 int res1 = 0 ;
26630 int val2 ;
26631 int ecode2 = 0 ;
26632 PyObject * obj0 = 0 ;
26633 PyObject * obj1 = 0 ;
26634 char * kwnames[] = {
26635 (char *) "self",(char *) "v", NULL
26636 };
26637
26638 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26639 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26640 if (!SWIG_IsOK(res1)) {
26641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26642 }
26643 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26644 ecode2 = SWIG_AsVal_int(obj1, &val2);
26645 if (!SWIG_IsOK(ecode2)) {
26646 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26647 }
26648 arg2 = static_cast< int >(val2);
26649 {
26650 PyThreadState* __tstate = wxPyBeginAllowThreads();
26651 (arg1)->SetMinPage(arg2);
26652 wxPyEndAllowThreads(__tstate);
26653 if (PyErr_Occurred()) SWIG_fail;
26654 }
26655 resultobj = SWIG_Py_Void();
26656 return resultobj;
26657fail:
26658 return NULL;
26659}
26660
26661
26662SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26663 PyObject *resultobj = 0;
26664 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26665 int arg2 ;
26666 void *argp1 = 0 ;
26667 int res1 = 0 ;
26668 int val2 ;
26669 int ecode2 = 0 ;
26670 PyObject * obj0 = 0 ;
26671 PyObject * obj1 = 0 ;
26672 char * kwnames[] = {
26673 (char *) "self",(char *) "v", NULL
26674 };
26675
26676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26678 if (!SWIG_IsOK(res1)) {
26679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26680 }
26681 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26682 ecode2 = SWIG_AsVal_int(obj1, &val2);
26683 if (!SWIG_IsOK(ecode2)) {
26684 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26685 }
26686 arg2 = static_cast< int >(val2);
26687 {
26688 PyThreadState* __tstate = wxPyBeginAllowThreads();
26689 (arg1)->SetMaxPage(arg2);
26690 wxPyEndAllowThreads(__tstate);
26691 if (PyErr_Occurred()) SWIG_fail;
26692 }
26693 resultobj = SWIG_Py_Void();
26694 return resultobj;
26695fail:
26696 return NULL;
26697}
26698
26699
26700SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26701 PyObject *resultobj = 0;
26702 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26703 int arg2 ;
26704 void *argp1 = 0 ;
26705 int res1 = 0 ;
26706 int val2 ;
26707 int ecode2 = 0 ;
26708 PyObject * obj0 = 0 ;
26709 PyObject * obj1 = 0 ;
26710 char * kwnames[] = {
26711 (char *) "self",(char *) "v", NULL
26712 };
26713
26714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26716 if (!SWIG_IsOK(res1)) {
26717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26718 }
26719 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26720 ecode2 = SWIG_AsVal_int(obj1, &val2);
26721 if (!SWIG_IsOK(ecode2)) {
26722 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26723 }
26724 arg2 = static_cast< int >(val2);
26725 {
26726 PyThreadState* __tstate = wxPyBeginAllowThreads();
26727 (arg1)->SetNoCopies(arg2);
26728 wxPyEndAllowThreads(__tstate);
26729 if (PyErr_Occurred()) SWIG_fail;
26730 }
26731 resultobj = SWIG_Py_Void();
26732 return resultobj;
26733fail:
26734 return NULL;
26735}
26736
26737
26738SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26739 PyObject *resultobj = 0;
26740 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26741 bool arg2 ;
26742 void *argp1 = 0 ;
26743 int res1 = 0 ;
26744 bool val2 ;
26745 int ecode2 = 0 ;
26746 PyObject * obj0 = 0 ;
26747 PyObject * obj1 = 0 ;
26748 char * kwnames[] = {
26749 (char *) "self",(char *) "flag", NULL
26750 };
26751
26752 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26753 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26754 if (!SWIG_IsOK(res1)) {
26755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26756 }
26757 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26758 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26759 if (!SWIG_IsOK(ecode2)) {
26760 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26761 }
26762 arg2 = static_cast< bool >(val2);
26763 {
26764 PyThreadState* __tstate = wxPyBeginAllowThreads();
26765 (arg1)->SetAllPages(arg2);
26766 wxPyEndAllowThreads(__tstate);
26767 if (PyErr_Occurred()) SWIG_fail;
26768 }
26769 resultobj = SWIG_Py_Void();
26770 return resultobj;
26771fail:
26772 return NULL;
26773}
26774
26775
26776SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26777 PyObject *resultobj = 0;
26778 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26779 bool arg2 ;
26780 void *argp1 = 0 ;
26781 int res1 = 0 ;
26782 bool val2 ;
26783 int ecode2 = 0 ;
26784 PyObject * obj0 = 0 ;
26785 PyObject * obj1 = 0 ;
26786 char * kwnames[] = {
26787 (char *) "self",(char *) "flag", NULL
26788 };
26789
26790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26792 if (!SWIG_IsOK(res1)) {
26793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26794 }
26795 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26796 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26797 if (!SWIG_IsOK(ecode2)) {
26798 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26799 }
26800 arg2 = static_cast< bool >(val2);
26801 {
26802 PyThreadState* __tstate = wxPyBeginAllowThreads();
26803 (arg1)->SetSelection(arg2);
26804 wxPyEndAllowThreads(__tstate);
26805 if (PyErr_Occurred()) SWIG_fail;
26806 }
26807 resultobj = SWIG_Py_Void();
26808 return resultobj;
26809fail:
26810 return NULL;
26811}
26812
26813
26814SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26815 PyObject *resultobj = 0;
26816 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26817 bool arg2 ;
26818 void *argp1 = 0 ;
26819 int res1 = 0 ;
26820 bool val2 ;
26821 int ecode2 = 0 ;
26822 PyObject * obj0 = 0 ;
26823 PyObject * obj1 = 0 ;
26824 char * kwnames[] = {
26825 (char *) "self",(char *) "flag", NULL
26826 };
26827
26828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26830 if (!SWIG_IsOK(res1)) {
26831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26832 }
26833 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26834 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26835 if (!SWIG_IsOK(ecode2)) {
26836 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26837 }
26838 arg2 = static_cast< bool >(val2);
26839 {
26840 PyThreadState* __tstate = wxPyBeginAllowThreads();
26841 (arg1)->SetCollate(arg2);
26842 wxPyEndAllowThreads(__tstate);
26843 if (PyErr_Occurred()) SWIG_fail;
26844 }
26845 resultobj = SWIG_Py_Void();
26846 return resultobj;
26847fail:
26848 return NULL;
26849}
26850
26851
26852SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26853 PyObject *resultobj = 0;
26854 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26855 bool arg2 ;
26856 void *argp1 = 0 ;
26857 int res1 = 0 ;
26858 bool val2 ;
26859 int ecode2 = 0 ;
26860 PyObject * obj0 = 0 ;
26861 PyObject * obj1 = 0 ;
26862 char * kwnames[] = {
26863 (char *) "self",(char *) "flag", NULL
26864 };
26865
26866 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26867 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26868 if (!SWIG_IsOK(res1)) {
26869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26870 }
26871 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26872 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26873 if (!SWIG_IsOK(ecode2)) {
26874 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26875 }
26876 arg2 = static_cast< bool >(val2);
26877 {
26878 PyThreadState* __tstate = wxPyBeginAllowThreads();
26879 (arg1)->SetPrintToFile(arg2);
26880 wxPyEndAllowThreads(__tstate);
26881 if (PyErr_Occurred()) SWIG_fail;
26882 }
26883 resultobj = SWIG_Py_Void();
26884 return resultobj;
26885fail:
26886 return NULL;
26887}
26888
26889
26890SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26891 PyObject *resultobj = 0;
26892 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26893 bool arg2 ;
26894 void *argp1 = 0 ;
26895 int res1 = 0 ;
26896 bool val2 ;
26897 int ecode2 = 0 ;
26898 PyObject * obj0 = 0 ;
26899 PyObject * obj1 = 0 ;
26900 char * kwnames[] = {
26901 (char *) "self",(char *) "flag", NULL
26902 };
26903
26904 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26905 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26906 if (!SWIG_IsOK(res1)) {
26907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26908 }
26909 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26910 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26911 if (!SWIG_IsOK(ecode2)) {
26912 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26913 }
26914 arg2 = static_cast< bool >(val2);
26915 {
26916 PyThreadState* __tstate = wxPyBeginAllowThreads();
26917 (arg1)->EnablePrintToFile(arg2);
26918 wxPyEndAllowThreads(__tstate);
26919 if (PyErr_Occurred()) SWIG_fail;
26920 }
26921 resultobj = SWIG_Py_Void();
26922 return resultobj;
26923fail:
26924 return NULL;
26925}
26926
26927
26928SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26929 PyObject *resultobj = 0;
26930 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26931 bool arg2 ;
26932 void *argp1 = 0 ;
26933 int res1 = 0 ;
26934 bool val2 ;
26935 int ecode2 = 0 ;
26936 PyObject * obj0 = 0 ;
26937 PyObject * obj1 = 0 ;
26938 char * kwnames[] = {
26939 (char *) "self",(char *) "flag", NULL
26940 };
26941
26942 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26943 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26944 if (!SWIG_IsOK(res1)) {
26945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26946 }
26947 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26948 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26949 if (!SWIG_IsOK(ecode2)) {
26950 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26951 }
26952 arg2 = static_cast< bool >(val2);
26953 {
26954 PyThreadState* __tstate = wxPyBeginAllowThreads();
26955 (arg1)->EnableSelection(arg2);
26956 wxPyEndAllowThreads(__tstate);
26957 if (PyErr_Occurred()) SWIG_fail;
26958 }
26959 resultobj = SWIG_Py_Void();
26960 return resultobj;
26961fail:
26962 return NULL;
26963}
26964
26965
26966SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26967 PyObject *resultobj = 0;
26968 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26969 bool arg2 ;
26970 void *argp1 = 0 ;
26971 int res1 = 0 ;
26972 bool val2 ;
26973 int ecode2 = 0 ;
26974 PyObject * obj0 = 0 ;
26975 PyObject * obj1 = 0 ;
26976 char * kwnames[] = {
26977 (char *) "self",(char *) "flag", NULL
26978 };
26979
26980 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26981 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26982 if (!SWIG_IsOK(res1)) {
26983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26984 }
26985 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26986 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26987 if (!SWIG_IsOK(ecode2)) {
26988 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26989 }
26990 arg2 = static_cast< bool >(val2);
26991 {
26992 PyThreadState* __tstate = wxPyBeginAllowThreads();
26993 (arg1)->EnablePageNumbers(arg2);
26994 wxPyEndAllowThreads(__tstate);
26995 if (PyErr_Occurred()) SWIG_fail;
26996 }
26997 resultobj = SWIG_Py_Void();
26998 return resultobj;
26999fail:
27000 return NULL;
27001}
27002
27003
27004SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27005 PyObject *resultobj = 0;
27006 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27007 bool arg2 ;
27008 void *argp1 = 0 ;
27009 int res1 = 0 ;
27010 bool val2 ;
27011 int ecode2 = 0 ;
27012 PyObject * obj0 = 0 ;
27013 PyObject * obj1 = 0 ;
27014 char * kwnames[] = {
27015 (char *) "self",(char *) "flag", NULL
27016 };
27017
27018 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
27019 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27020 if (!SWIG_IsOK(res1)) {
27021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27022 }
27023 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27024 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27025 if (!SWIG_IsOK(ecode2)) {
27026 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27027 }
27028 arg2 = static_cast< bool >(val2);
27029 {
27030 PyThreadState* __tstate = wxPyBeginAllowThreads();
27031 (arg1)->EnableHelp(arg2);
27032 wxPyEndAllowThreads(__tstate);
27033 if (PyErr_Occurred()) SWIG_fail;
27034 }
27035 resultobj = SWIG_Py_Void();
27036 return resultobj;
27037fail:
27038 return NULL;
d55e5bfc
RD
27039}
27040
27041
554f62e9
RD
27042SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27043 PyObject *resultobj = 0;
27044 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27045 bool result;
27046 void *argp1 = 0 ;
27047 int res1 = 0 ;
27048 PyObject *swig_obj[1] ;
27049
27050 if (!args) SWIG_fail;
27051 swig_obj[0] = args;
27052 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27053 if (!SWIG_IsOK(res1)) {
27054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27055 }
27056 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27057 {
27058 PyThreadState* __tstate = wxPyBeginAllowThreads();
27059 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
27060 wxPyEndAllowThreads(__tstate);
27061 if (PyErr_Occurred()) SWIG_fail;
27062 }
27063 {
27064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27065 }
27066 return resultobj;
27067fail:
27068 return NULL;
d55e5bfc
RD
27069}
27070
27071
554f62e9
RD
27072SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27073 PyObject *resultobj = 0;
27074 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27075 bool result;
27076 void *argp1 = 0 ;
27077 int res1 = 0 ;
27078 PyObject *swig_obj[1] ;
27079
27080 if (!args) SWIG_fail;
27081 swig_obj[0] = args;
27082 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27083 if (!SWIG_IsOK(res1)) {
27084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27085 }
27086 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27087 {
27088 PyThreadState* __tstate = wxPyBeginAllowThreads();
27089 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
27090 wxPyEndAllowThreads(__tstate);
27091 if (PyErr_Occurred()) SWIG_fail;
27092 }
27093 {
27094 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27095 }
27096 return resultobj;
27097fail:
27098 return NULL;
d55e5bfc
RD
27099}
27100
27101
554f62e9
RD
27102SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27103 PyObject *resultobj = 0;
27104 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27105 bool result;
27106 void *argp1 = 0 ;
27107 int res1 = 0 ;
27108 PyObject *swig_obj[1] ;
27109
27110 if (!args) SWIG_fail;
27111 swig_obj[0] = args;
27112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27113 if (!SWIG_IsOK(res1)) {
27114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27115 }
27116 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27117 {
27118 PyThreadState* __tstate = wxPyBeginAllowThreads();
27119 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
27120 wxPyEndAllowThreads(__tstate);
27121 if (PyErr_Occurred()) SWIG_fail;
27122 }
27123 {
27124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27125 }
27126 return resultobj;
27127fail:
27128 return NULL;
d55e5bfc
RD
27129}
27130
27131
554f62e9
RD
27132SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27133 PyObject *resultobj = 0;
27134 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27135 bool result;
27136 void *argp1 = 0 ;
27137 int res1 = 0 ;
27138 PyObject *swig_obj[1] ;
27139
27140 if (!args) SWIG_fail;
27141 swig_obj[0] = args;
27142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27143 if (!SWIG_IsOK(res1)) {
27144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27145 }
27146 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27147 {
27148 PyThreadState* __tstate = wxPyBeginAllowThreads();
27149 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
27150 wxPyEndAllowThreads(__tstate);
27151 if (PyErr_Occurred()) SWIG_fail;
27152 }
27153 {
27154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27155 }
27156 return resultobj;
27157fail:
27158 return NULL;
d55e5bfc
RD
27159}
27160
27161
554f62e9
RD
27162SWIGINTERN PyObject *_wrap_PrintDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27163 PyObject *resultobj = 0;
27164 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27165 bool result;
27166 void *argp1 = 0 ;
27167 int res1 = 0 ;
27168 PyObject *swig_obj[1] ;
27169
27170 if (!args) SWIG_fail;
27171 swig_obj[0] = args;
27172 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27173 if (!SWIG_IsOK(res1)) {
27174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27175 }
27176 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27177 {
27178 PyThreadState* __tstate = wxPyBeginAllowThreads();
27179 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
27180 wxPyEndAllowThreads(__tstate);
27181 if (PyErr_Occurred()) SWIG_fail;
27182 }
27183 {
27184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27185 }
27186 return resultobj;
27187fail:
27188 return NULL;
d55e5bfc
RD
27189}
27190
27191
554f62e9
RD
27192SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27193 PyObject *resultobj = 0;
27194 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27195 wxPrintData *result = 0 ;
27196 void *argp1 = 0 ;
27197 int res1 = 0 ;
27198 PyObject *swig_obj[1] ;
27199
27200 if (!args) SWIG_fail;
27201 swig_obj[0] = args;
27202 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27203 if (!SWIG_IsOK(res1)) {
27204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27205 }
27206 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27207 {
27208 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 27209 {
554f62e9
RD
27210 wxPrintData &_result_ref = (arg1)->GetPrintData();
27211 result = (wxPrintData *) &_result_ref;
27212 }
27213 wxPyEndAllowThreads(__tstate);
27214 if (PyErr_Occurred()) SWIG_fail;
27215 }
27216 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27217 return resultobj;
27218fail:
27219 return NULL;
27220}
27221
27222
27223SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27224 PyObject *resultobj = 0;
27225 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27226 wxPrintData *arg2 = 0 ;
27227 void *argp1 = 0 ;
27228 int res1 = 0 ;
27229 void *argp2 = 0 ;
27230 int res2 = 0 ;
27231 PyObject * obj0 = 0 ;
27232 PyObject * obj1 = 0 ;
27233 char * kwnames[] = {
27234 (char *) "self",(char *) "printData", NULL
27235 };
27236
27237 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
27238 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27239 if (!SWIG_IsOK(res1)) {
27240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27241 }
27242 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27243 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
27244 if (!SWIG_IsOK(res2)) {
27245 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27246 }
27247 if (!argp2) {
27248 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27249 }
27250 arg2 = reinterpret_cast< wxPrintData * >(argp2);
27251 {
27252 PyThreadState* __tstate = wxPyBeginAllowThreads();
27253 (arg1)->SetPrintData((wxPrintData const &)*arg2);
27254 wxPyEndAllowThreads(__tstate);
27255 if (PyErr_Occurred()) SWIG_fail;
27256 }
27257 resultobj = SWIG_Py_Void();
27258 return resultobj;
27259fail:
27260 return NULL;
d55e5bfc
RD
27261}
27262
27263
554f62e9
RD
27264SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27265 PyObject *obj;
27266 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27267 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
27268 return SWIG_Py_Void();
d55e5bfc
RD
27269}
27270
554f62e9
RD
27271SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27272 return SWIG_Python_InitShadowInstance(args);
27273}
d55e5bfc 27274
554f62e9
RD
27275SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27276 PyObject *resultobj = 0;
27277 wxWindow *arg1 = (wxWindow *) 0 ;
27278 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
27279 wxPrintDialog *result = 0 ;
27280 void *argp1 = 0 ;
27281 int res1 = 0 ;
27282 void *argp2 = 0 ;
27283 int res2 = 0 ;
27284 PyObject * obj0 = 0 ;
27285 PyObject * obj1 = 0 ;
27286 char * kwnames[] = {
27287 (char *) "parent",(char *) "data", NULL
27288 };
27289
27290 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27291 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
27292 if (!SWIG_IsOK(res1)) {
27293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27294 }
27295 arg1 = reinterpret_cast< wxWindow * >(argp1);
27296 if (obj1) {
27297 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27298 if (!SWIG_IsOK(res2)) {
27299 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
d55e5bfc 27300 }
554f62e9
RD
27301 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
27302 }
27303 {
27304 if (!wxPyCheckForApp()) SWIG_fail;
27305 PyThreadState* __tstate = wxPyBeginAllowThreads();
27306 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
27307 wxPyEndAllowThreads(__tstate);
27308 if (PyErr_Occurred()) SWIG_fail;
27309 }
27310 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
27311 return resultobj;
27312fail:
27313 return NULL;
d55e5bfc
RD
27314}
27315
27316
f05326ba
RD
27317SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27318 PyObject *resultobj = 0;
27319 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27320 void *argp1 = 0 ;
27321 int res1 = 0 ;
27322 PyObject *swig_obj[1] ;
27323
27324 if (!args) SWIG_fail;
27325 swig_obj[0] = args;
27326 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
27327 if (!SWIG_IsOK(res1)) {
27328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27329 }
27330 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27331 {
27332 PyThreadState* __tstate = wxPyBeginAllowThreads();
27333 delete arg1;
27334
27335 wxPyEndAllowThreads(__tstate);
27336 if (PyErr_Occurred()) SWIG_fail;
27337 }
27338 resultobj = SWIG_Py_Void();
27339 return resultobj;
27340fail:
27341 return NULL;
27342}
27343
27344
554f62e9
RD
27345SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27346 PyObject *resultobj = 0;
27347 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27348 int result;
27349 void *argp1 = 0 ;
27350 int res1 = 0 ;
27351 PyObject *swig_obj[1] ;
27352
27353 if (!args) SWIG_fail;
27354 swig_obj[0] = args;
27355 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27356 if (!SWIG_IsOK(res1)) {
27357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27358 }
27359 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27360 {
27361 PyThreadState* __tstate = wxPyBeginAllowThreads();
27362 result = (int)(arg1)->ShowModal();
27363 wxPyEndAllowThreads(__tstate);
27364 if (PyErr_Occurred()) SWIG_fail;
27365 }
27366 resultobj = SWIG_From_int(static_cast< int >(result));
27367 return resultobj;
27368fail:
27369 return NULL;
d55e5bfc
RD
27370}
27371
27372
554f62e9
RD
27373SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27374 PyObject *resultobj = 0;
27375 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27376 wxPrintDialogData *result = 0 ;
27377 void *argp1 = 0 ;
27378 int res1 = 0 ;
27379 PyObject *swig_obj[1] ;
27380
27381 if (!args) SWIG_fail;
27382 swig_obj[0] = args;
27383 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27384 if (!SWIG_IsOK(res1)) {
27385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27386 }
27387 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27388 {
27389 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 27390 {
554f62e9
RD
27391 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27392 result = (wxPrintDialogData *) &_result_ref;
d55e5bfc 27393 }
554f62e9
RD
27394 wxPyEndAllowThreads(__tstate);
27395 if (PyErr_Occurred()) SWIG_fail;
27396 }
27397 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27398 return resultobj;
27399fail:
27400 return NULL;
27401}
27402
27403
27404SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27405 PyObject *resultobj = 0;
27406 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27407 wxPrintData *result = 0 ;
27408 void *argp1 = 0 ;
27409 int res1 = 0 ;
27410 PyObject *swig_obj[1] ;
27411
27412 if (!args) SWIG_fail;
27413 swig_obj[0] = args;
27414 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27415 if (!SWIG_IsOK(res1)) {
27416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27417 }
27418 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27419 {
27420 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 27421 {
554f62e9
RD
27422 wxPrintData &_result_ref = (arg1)->GetPrintData();
27423 result = (wxPrintData *) &_result_ref;
d55e5bfc 27424 }
554f62e9
RD
27425 wxPyEndAllowThreads(__tstate);
27426 if (PyErr_Occurred()) SWIG_fail;
27427 }
27428 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27429 return resultobj;
27430fail:
27431 return NULL;
d55e5bfc
RD
27432}
27433
27434
554f62e9
RD
27435SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27436 PyObject *resultobj = 0;
27437 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27438 wxDC *result = 0 ;
27439 void *argp1 = 0 ;
27440 int res1 = 0 ;
27441 PyObject *swig_obj[1] ;
27442
27443 if (!args) SWIG_fail;
27444 swig_obj[0] = args;
27445 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27446 if (!SWIG_IsOK(res1)) {
27447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27448 }
27449 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27450 {
27451 PyThreadState* __tstate = wxPyBeginAllowThreads();
27452 result = (wxDC *)(arg1)->GetPrintDC();
27453 wxPyEndAllowThreads(__tstate);
27454 if (PyErr_Occurred()) SWIG_fail;
27455 }
27456 {
27457 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27458 }
27459 return resultobj;
27460fail:
27461 return NULL;
d55e5bfc
RD
27462}
27463
27464
554f62e9
RD
27465SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27466 PyObject *obj;
27467 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27468 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27469 return SWIG_Py_Void();
d55e5bfc
RD
27470}
27471
554f62e9
RD
27472SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27473 return SWIG_Python_InitShadowInstance(args);
27474}
d55e5bfc 27475
554f62e9
RD
27476SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27477 PyObject *resultobj = 0;
27478 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27479 wxPrinter *result = 0 ;
27480 void *argp1 = 0 ;
27481 int res1 = 0 ;
27482 PyObject * obj0 = 0 ;
27483 char * kwnames[] = {
27484 (char *) "data", NULL
27485 };
27486
27487 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27488 if (obj0) {
27489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27490 if (!SWIG_IsOK(res1)) {
27491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
396fb509 27492 }
554f62e9
RD
27493 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27494 }
27495 {
27496 if (!wxPyCheckForApp()) SWIG_fail;
27497 PyThreadState* __tstate = wxPyBeginAllowThreads();
27498 result = (wxPrinter *)new wxPrinter(arg1);
27499 wxPyEndAllowThreads(__tstate);
27500 if (PyErr_Occurred()) SWIG_fail;
27501 }
27502 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27503 return resultobj;
27504fail:
27505 return NULL;
d55e5bfc
RD
27506}
27507
27508
554f62e9
RD
27509SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27510 PyObject *resultobj = 0;
27511 wxPrinter *arg1 = (wxPrinter *) 0 ;
27512 void *argp1 = 0 ;
27513 int res1 = 0 ;
27514 PyObject *swig_obj[1] ;
27515
27516 if (!args) SWIG_fail;
27517 swig_obj[0] = args;
27518 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27519 if (!SWIG_IsOK(res1)) {
27520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27521 }
27522 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27523 {
27524 PyThreadState* __tstate = wxPyBeginAllowThreads();
27525 delete arg1;
d55e5bfc 27526
554f62e9
RD
27527 wxPyEndAllowThreads(__tstate);
27528 if (PyErr_Occurred()) SWIG_fail;
27529 }
27530 resultobj = SWIG_Py_Void();
27531 return resultobj;
27532fail:
27533 return NULL;
27534}
27535
27536
27537SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27538 PyObject *resultobj = 0;
27539 wxPrinter *arg1 = (wxPrinter *) 0 ;
27540 wxWindow *arg2 = (wxWindow *) 0 ;
27541 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27542 wxWindow *result = 0 ;
27543 void *argp1 = 0 ;
27544 int res1 = 0 ;
27545 void *argp2 = 0 ;
27546 int res2 = 0 ;
27547 void *argp3 = 0 ;
27548 int res3 = 0 ;
27549 PyObject * obj0 = 0 ;
27550 PyObject * obj1 = 0 ;
27551 PyObject * obj2 = 0 ;
27552 char * kwnames[] = {
27553 (char *) "self",(char *) "parent",(char *) "printout", NULL
27554 };
27555
27556 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27557 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27558 if (!SWIG_IsOK(res1)) {
27559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27560 }
27561 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27562 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27563 if (!SWIG_IsOK(res2)) {
27564 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27565 }
27566 arg2 = reinterpret_cast< wxWindow * >(argp2);
27567 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27568 if (!SWIG_IsOK(res3)) {
27569 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27570 }
27571 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27572 {
27573 PyThreadState* __tstate = wxPyBeginAllowThreads();
27574 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27575 wxPyEndAllowThreads(__tstate);
27576 if (PyErr_Occurred()) SWIG_fail;
27577 }
27578 {
27579 resultobj = wxPyMake_wxObject(result, 0);
27580 }
27581 return resultobj;
27582fail:
27583 return NULL;
27584}
27585
27586
27587SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27588 PyObject *resultobj = 0;
27589 wxPrinter *arg1 = (wxPrinter *) 0 ;
27590 wxWindow *arg2 = (wxWindow *) 0 ;
27591 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27592 wxString *arg4 = 0 ;
27593 void *argp1 = 0 ;
27594 int res1 = 0 ;
27595 void *argp2 = 0 ;
27596 int res2 = 0 ;
27597 void *argp3 = 0 ;
27598 int res3 = 0 ;
27599 bool temp4 = false ;
27600 PyObject * obj0 = 0 ;
27601 PyObject * obj1 = 0 ;
27602 PyObject * obj2 = 0 ;
27603 PyObject * obj3 = 0 ;
27604 char * kwnames[] = {
27605 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27606 };
27607
27608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27610 if (!SWIG_IsOK(res1)) {
27611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27612 }
27613 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27614 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27615 if (!SWIG_IsOK(res2)) {
27616 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27617 }
27618 arg2 = reinterpret_cast< wxWindow * >(argp2);
27619 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27620 if (!SWIG_IsOK(res3)) {
27621 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27622 }
27623 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27624 {
27625 arg4 = wxString_in_helper(obj3);
27626 if (arg4 == NULL) SWIG_fail;
27627 temp4 = true;
27628 }
27629 {
27630 PyThreadState* __tstate = wxPyBeginAllowThreads();
27631 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27632 wxPyEndAllowThreads(__tstate);
27633 if (PyErr_Occurred()) SWIG_fail;
27634 }
27635 resultobj = SWIG_Py_Void();
27636 {
27637 if (temp4)
27638 delete arg4;
27639 }
27640 return resultobj;
27641fail:
27642 {
27643 if (temp4)
27644 delete arg4;
27645 }
27646 return NULL;
27647}
27648
27649
27650SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27651 PyObject *resultobj = 0;
27652 wxPrinter *arg1 = (wxPrinter *) 0 ;
27653 wxWindow *arg2 = (wxWindow *) 0 ;
27654 bool result;
27655 void *argp1 = 0 ;
27656 int res1 = 0 ;
27657 void *argp2 = 0 ;
27658 int res2 = 0 ;
27659 PyObject * obj0 = 0 ;
27660 PyObject * obj1 = 0 ;
27661 char * kwnames[] = {
27662 (char *) "self",(char *) "parent", NULL
27663 };
27664
27665 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27666 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27667 if (!SWIG_IsOK(res1)) {
27668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27669 }
27670 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27671 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27672 if (!SWIG_IsOK(res2)) {
27673 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27674 }
27675 arg2 = reinterpret_cast< wxWindow * >(argp2);
27676 {
27677 PyThreadState* __tstate = wxPyBeginAllowThreads();
27678 result = (bool)(arg1)->Setup(arg2);
27679 wxPyEndAllowThreads(__tstate);
27680 if (PyErr_Occurred()) SWIG_fail;
27681 }
27682 {
27683 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27684 }
27685 return resultobj;
27686fail:
27687 return NULL;
27688}
27689
27690
27691SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27692 PyObject *resultobj = 0;
27693 wxPrinter *arg1 = (wxPrinter *) 0 ;
27694 wxWindow *arg2 = (wxWindow *) 0 ;
27695 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27696 bool arg4 = (bool) true ;
27697 bool result;
27698 void *argp1 = 0 ;
27699 int res1 = 0 ;
27700 void *argp2 = 0 ;
27701 int res2 = 0 ;
27702 void *argp3 = 0 ;
27703 int res3 = 0 ;
27704 bool val4 ;
27705 int ecode4 = 0 ;
27706 PyObject * obj0 = 0 ;
27707 PyObject * obj1 = 0 ;
27708 PyObject * obj2 = 0 ;
27709 PyObject * obj3 = 0 ;
27710 char * kwnames[] = {
27711 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27712 };
27713
27714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27716 if (!SWIG_IsOK(res1)) {
27717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27718 }
27719 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27720 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27721 if (!SWIG_IsOK(res2)) {
27722 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27723 }
27724 arg2 = reinterpret_cast< wxWindow * >(argp2);
27725 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27726 if (!SWIG_IsOK(res3)) {
27727 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27728 }
27729 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27730 if (obj3) {
27731 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27732 if (!SWIG_IsOK(ecode4)) {
27733 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27734 }
27735 arg4 = static_cast< bool >(val4);
27736 }
27737 {
27738 PyThreadState* __tstate = wxPyBeginAllowThreads();
27739 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27740 wxPyEndAllowThreads(__tstate);
27741 if (PyErr_Occurred()) SWIG_fail;
27742 }
27743 {
27744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27745 }
27746 return resultobj;
27747fail:
27748 return NULL;
27749}
27750
27751
27752SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27753 PyObject *resultobj = 0;
27754 wxPrinter *arg1 = (wxPrinter *) 0 ;
27755 wxWindow *arg2 = (wxWindow *) 0 ;
27756 wxDC *result = 0 ;
27757 void *argp1 = 0 ;
27758 int res1 = 0 ;
27759 void *argp2 = 0 ;
27760 int res2 = 0 ;
27761 PyObject * obj0 = 0 ;
27762 PyObject * obj1 = 0 ;
27763 char * kwnames[] = {
27764 (char *) "self",(char *) "parent", NULL
27765 };
27766
27767 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27768 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27769 if (!SWIG_IsOK(res1)) {
27770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27771 }
27772 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27773 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27774 if (!SWIG_IsOK(res2)) {
27775 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27776 }
27777 arg2 = reinterpret_cast< wxWindow * >(argp2);
27778 {
27779 PyThreadState* __tstate = wxPyBeginAllowThreads();
27780 result = (wxDC *)(arg1)->PrintDialog(arg2);
27781 wxPyEndAllowThreads(__tstate);
27782 if (PyErr_Occurred()) SWIG_fail;
27783 }
27784 {
27785 resultobj = wxPyMake_wxObject(result, (bool)0);
27786 }
27787 return resultobj;
27788fail:
27789 return NULL;
d55e5bfc
RD
27790}
27791
27792
554f62e9
RD
27793SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27794 PyObject *resultobj = 0;
27795 wxPrinter *arg1 = (wxPrinter *) 0 ;
27796 wxPrintDialogData *result = 0 ;
27797 void *argp1 = 0 ;
27798 int res1 = 0 ;
27799 PyObject *swig_obj[1] ;
27800
27801 if (!args) SWIG_fail;
27802 swig_obj[0] = args;
27803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27804 if (!SWIG_IsOK(res1)) {
27805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27806 }
27807 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27808 {
27809 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 27810 {
554f62e9
RD
27811 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27812 result = (wxPrintDialogData *) &_result_ref;
d55e5bfc 27813 }
554f62e9
RD
27814 wxPyEndAllowThreads(__tstate);
27815 if (PyErr_Occurred()) SWIG_fail;
27816 }
27817 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27818 return resultobj;
27819fail:
27820 return NULL;
d55e5bfc
RD
27821}
27822
27823
554f62e9
RD
27824SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27825 PyObject *resultobj = 0;
27826 wxPrinter *arg1 = (wxPrinter *) 0 ;
27827 bool result;
27828 void *argp1 = 0 ;
27829 int res1 = 0 ;
27830 PyObject *swig_obj[1] ;
27831
27832 if (!args) SWIG_fail;
27833 swig_obj[0] = args;
27834 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27835 if (!SWIG_IsOK(res1)) {
27836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27837 }
27838 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27839 {
27840 PyThreadState* __tstate = wxPyBeginAllowThreads();
27841 result = (bool)(arg1)->GetAbort();
27842 wxPyEndAllowThreads(__tstate);
27843 if (PyErr_Occurred()) SWIG_fail;
27844 }
27845 {
27846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27847 }
27848 return resultobj;
27849fail:
27850 return NULL;
d55e5bfc
RD
27851}
27852
27853
554f62e9
RD
27854SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27855 PyObject *resultobj = 0;
27856 wxPrinterError result;
27857
27858 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27859 {
27860 PyThreadState* __tstate = wxPyBeginAllowThreads();
27861 result = (wxPrinterError)wxPrinter::GetLastError();
27862 wxPyEndAllowThreads(__tstate);
27863 if (PyErr_Occurred()) SWIG_fail;
27864 }
27865 resultobj = SWIG_From_int(static_cast< int >(result));
27866 return resultobj;
27867fail:
27868 return NULL;
d55e5bfc
RD
27869}
27870
27871
554f62e9
RD
27872SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27873 PyObject *obj;
27874 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27875 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27876 return SWIG_Py_Void();
d55e5bfc
RD
27877}
27878
554f62e9
RD
27879SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27880 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
27881}
27882
554f62e9
RD
27883SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27884 PyObject *resultobj = 0;
27885 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27886 wxString *arg1 = (wxString *) &arg1_defvalue ;
27887 wxPyPrintout *result = 0 ;
27888 bool temp1 = false ;
27889 PyObject * obj0 = 0 ;
27890 char * kwnames[] = {
27891 (char *) "title", NULL
27892 };
27893
27894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27895 if (obj0) {
d55e5bfc 27896 {
554f62e9
RD
27897 arg1 = wxString_in_helper(obj0);
27898 if (arg1 == NULL) SWIG_fail;
27899 temp1 = true;
27900 }
27901 }
27902 {
27903 if (!wxPyCheckForApp()) SWIG_fail;
27904 PyThreadState* __tstate = wxPyBeginAllowThreads();
27905 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27906 wxPyEndAllowThreads(__tstate);
27907 if (PyErr_Occurred()) SWIG_fail;
27908 }
27909 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27910 {
27911 if (temp1)
27912 delete arg1;
27913 }
27914 return resultobj;
27915fail:
27916 {
27917 if (temp1)
27918 delete arg1;
27919 }
27920 return NULL;
d55e5bfc
RD
27921}
27922
27923
554f62e9
RD
27924SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27925 PyObject *resultobj = 0;
27926 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27927 void *argp1 = 0 ;
27928 int res1 = 0 ;
27929 PyObject *swig_obj[1] ;
27930
27931 if (!args) SWIG_fail;
27932 swig_obj[0] = args;
27933 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27934 if (!SWIG_IsOK(res1)) {
27935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27936 }
27937 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27938 {
27939 PyThreadState* __tstate = wxPyBeginAllowThreads();
27940 delete arg1;
d55e5bfc 27941
554f62e9
RD
27942 wxPyEndAllowThreads(__tstate);
27943 if (PyErr_Occurred()) SWIG_fail;
27944 }
27945 resultobj = SWIG_Py_Void();
27946 return resultobj;
27947fail:
27948 return NULL;
27949}
27950
27951
27952SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27953 PyObject *resultobj = 0;
27954 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27955 PyObject *arg2 = (PyObject *) 0 ;
27956 PyObject *arg3 = (PyObject *) 0 ;
27957 void *argp1 = 0 ;
27958 int res1 = 0 ;
27959 PyObject * obj0 = 0 ;
27960 PyObject * obj1 = 0 ;
27961 PyObject * obj2 = 0 ;
27962 char * kwnames[] = {
27963 (char *) "self",(char *) "self",(char *) "_class", NULL
27964 };
27965
27966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27968 if (!SWIG_IsOK(res1)) {
27969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27970 }
27971 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27972 arg2 = obj1;
27973 arg3 = obj2;
27974 {
27975 PyThreadState* __tstate = wxPyBeginAllowThreads();
27976 (arg1)->_setCallbackInfo(arg2,arg3);
27977 wxPyEndAllowThreads(__tstate);
27978 if (PyErr_Occurred()) SWIG_fail;
27979 }
27980 resultobj = SWIG_Py_Void();
27981 return resultobj;
27982fail:
27983 return NULL;
d55e5bfc
RD
27984}
27985
27986
554f62e9
RD
27987SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27988 PyObject *resultobj = 0;
27989 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27990 wxString result;
27991 void *argp1 = 0 ;
27992 int res1 = 0 ;
27993 PyObject *swig_obj[1] ;
27994
27995 if (!args) SWIG_fail;
27996 swig_obj[0] = args;
27997 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27998 if (!SWIG_IsOK(res1)) {
27999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28000 }
28001 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28002 {
28003 PyThreadState* __tstate = wxPyBeginAllowThreads();
28004 result = ((wxPyPrintout const *)arg1)->GetTitle();
28005 wxPyEndAllowThreads(__tstate);
28006 if (PyErr_Occurred()) SWIG_fail;
28007 }
28008 {
28009#if wxUSE_UNICODE
28010 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28011#else
28012 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28013#endif
28014 }
28015 return resultobj;
28016fail:
28017 return NULL;
d55e5bfc
RD
28018}
28019
28020
554f62e9
RD
28021SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28022 PyObject *resultobj = 0;
28023 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28024 wxDC *result = 0 ;
28025 void *argp1 = 0 ;
28026 int res1 = 0 ;
28027 PyObject *swig_obj[1] ;
28028
28029 if (!args) SWIG_fail;
28030 swig_obj[0] = args;
28031 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28032 if (!SWIG_IsOK(res1)) {
28033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28034 }
28035 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28036 {
28037 PyThreadState* __tstate = wxPyBeginAllowThreads();
28038 result = (wxDC *)(arg1)->GetDC();
28039 wxPyEndAllowThreads(__tstate);
28040 if (PyErr_Occurred()) SWIG_fail;
28041 }
28042 {
28043 resultobj = wxPyMake_wxObject(result, (bool)0);
28044 }
28045 return resultobj;
28046fail:
28047 return NULL;
28048}
28049
28050
28051SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28052 PyObject *resultobj = 0;
28053 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28054 wxDC *arg2 = (wxDC *) 0 ;
28055 void *argp1 = 0 ;
28056 int res1 = 0 ;
28057 void *argp2 = 0 ;
28058 int res2 = 0 ;
28059 PyObject * obj0 = 0 ;
28060 PyObject * obj1 = 0 ;
28061 char * kwnames[] = {
28062 (char *) "self",(char *) "dc", NULL
28063 };
28064
28065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
28066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28067 if (!SWIG_IsOK(res1)) {
28068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28069 }
28070 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28071 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
28072 if (!SWIG_IsOK(res2)) {
28073 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
28074 }
28075 arg2 = reinterpret_cast< wxDC * >(argp2);
28076 {
28077 PyThreadState* __tstate = wxPyBeginAllowThreads();
28078 (arg1)->SetDC(arg2);
28079 wxPyEndAllowThreads(__tstate);
28080 if (PyErr_Occurred()) SWIG_fail;
28081 }
28082 resultobj = SWIG_Py_Void();
28083 return resultobj;
28084fail:
28085 return NULL;
28086}
28087
28088
28089SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28090 PyObject *resultobj = 0;
28091 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28092 int arg2 ;
28093 int arg3 ;
28094 void *argp1 = 0 ;
28095 int res1 = 0 ;
28096 int val2 ;
28097 int ecode2 = 0 ;
28098 int val3 ;
28099 int ecode3 = 0 ;
28100 PyObject * obj0 = 0 ;
28101 PyObject * obj1 = 0 ;
28102 PyObject * obj2 = 0 ;
28103 char * kwnames[] = {
28104 (char *) "self",(char *) "w",(char *) "h", NULL
28105 };
28106
28107 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28108 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28109 if (!SWIG_IsOK(res1)) {
28110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28111 }
28112 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28113 ecode2 = SWIG_AsVal_int(obj1, &val2);
28114 if (!SWIG_IsOK(ecode2)) {
28115 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28116 }
28117 arg2 = static_cast< int >(val2);
28118 ecode3 = SWIG_AsVal_int(obj2, &val3);
28119 if (!SWIG_IsOK(ecode3)) {
28120 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28121 }
28122 arg3 = static_cast< int >(val3);
28123 {
28124 PyThreadState* __tstate = wxPyBeginAllowThreads();
28125 (arg1)->SetPageSizePixels(arg2,arg3);
28126 wxPyEndAllowThreads(__tstate);
28127 if (PyErr_Occurred()) SWIG_fail;
28128 }
28129 resultobj = SWIG_Py_Void();
28130 return resultobj;
28131fail:
28132 return NULL;
28133}
28134
28135
28136SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28137 PyObject *resultobj = 0;
28138 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28139 int *arg2 = (int *) 0 ;
28140 int *arg3 = (int *) 0 ;
28141 void *argp1 = 0 ;
28142 int res1 = 0 ;
28143 int temp2 ;
28144 int res2 = SWIG_TMPOBJ ;
28145 int temp3 ;
28146 int res3 = SWIG_TMPOBJ ;
28147 PyObject *swig_obj[1] ;
28148
28149 arg2 = &temp2;
28150 arg3 = &temp3;
28151 if (!args) SWIG_fail;
28152 swig_obj[0] = args;
28153 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28154 if (!SWIG_IsOK(res1)) {
28155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28156 }
28157 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28158 {
28159 PyThreadState* __tstate = wxPyBeginAllowThreads();
28160 (arg1)->GetPageSizePixels(arg2,arg3);
28161 wxPyEndAllowThreads(__tstate);
28162 if (PyErr_Occurred()) SWIG_fail;
28163 }
28164 resultobj = SWIG_Py_Void();
28165 if (SWIG_IsTmpObj(res2)) {
28166 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28167 } else {
28168 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28169 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28170 }
28171 if (SWIG_IsTmpObj(res3)) {
28172 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28173 } else {
28174 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28175 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28176 }
28177 return resultobj;
28178fail:
28179 return NULL;
28180}
28181
28182
28183SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28184 PyObject *resultobj = 0;
28185 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28186 int arg2 ;
28187 int arg3 ;
28188 void *argp1 = 0 ;
28189 int res1 = 0 ;
28190 int val2 ;
28191 int ecode2 = 0 ;
28192 int val3 ;
28193 int ecode3 = 0 ;
28194 PyObject * obj0 = 0 ;
28195 PyObject * obj1 = 0 ;
28196 PyObject * obj2 = 0 ;
28197 char * kwnames[] = {
28198 (char *) "self",(char *) "w",(char *) "h", NULL
28199 };
28200
28201 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28202 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28203 if (!SWIG_IsOK(res1)) {
28204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28205 }
28206 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28207 ecode2 = SWIG_AsVal_int(obj1, &val2);
28208 if (!SWIG_IsOK(ecode2)) {
28209 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28210 }
28211 arg2 = static_cast< int >(val2);
28212 ecode3 = SWIG_AsVal_int(obj2, &val3);
28213 if (!SWIG_IsOK(ecode3)) {
28214 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28215 }
28216 arg3 = static_cast< int >(val3);
28217 {
28218 PyThreadState* __tstate = wxPyBeginAllowThreads();
28219 (arg1)->SetPageSizeMM(arg2,arg3);
28220 wxPyEndAllowThreads(__tstate);
28221 if (PyErr_Occurred()) SWIG_fail;
28222 }
28223 resultobj = SWIG_Py_Void();
28224 return resultobj;
28225fail:
28226 return NULL;
28227}
28228
28229
28230SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28231 PyObject *resultobj = 0;
28232 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28233 int *arg2 = (int *) 0 ;
28234 int *arg3 = (int *) 0 ;
28235 void *argp1 = 0 ;
28236 int res1 = 0 ;
28237 int temp2 ;
28238 int res2 = SWIG_TMPOBJ ;
28239 int temp3 ;
28240 int res3 = SWIG_TMPOBJ ;
28241 PyObject *swig_obj[1] ;
28242
28243 arg2 = &temp2;
28244 arg3 = &temp3;
28245 if (!args) SWIG_fail;
28246 swig_obj[0] = args;
28247 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28248 if (!SWIG_IsOK(res1)) {
28249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28250 }
28251 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28252 {
28253 PyThreadState* __tstate = wxPyBeginAllowThreads();
28254 (arg1)->GetPageSizeMM(arg2,arg3);
28255 wxPyEndAllowThreads(__tstate);
28256 if (PyErr_Occurred()) SWIG_fail;
28257 }
28258 resultobj = SWIG_Py_Void();
28259 if (SWIG_IsTmpObj(res2)) {
28260 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28261 } else {
28262 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28263 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28264 }
28265 if (SWIG_IsTmpObj(res3)) {
28266 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28267 } else {
28268 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28269 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28270 }
28271 return resultobj;
28272fail:
28273 return NULL;
28274}
28275
28276
28277SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28278 PyObject *resultobj = 0;
28279 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28280 int arg2 ;
28281 int arg3 ;
28282 void *argp1 = 0 ;
28283 int res1 = 0 ;
28284 int val2 ;
28285 int ecode2 = 0 ;
28286 int val3 ;
28287 int ecode3 = 0 ;
28288 PyObject * obj0 = 0 ;
28289 PyObject * obj1 = 0 ;
28290 PyObject * obj2 = 0 ;
28291 char * kwnames[] = {
28292 (char *) "self",(char *) "x",(char *) "y", NULL
28293 };
28294
28295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28297 if (!SWIG_IsOK(res1)) {
28298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28299 }
28300 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28301 ecode2 = SWIG_AsVal_int(obj1, &val2);
28302 if (!SWIG_IsOK(ecode2)) {
28303 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28304 }
28305 arg2 = static_cast< int >(val2);
28306 ecode3 = SWIG_AsVal_int(obj2, &val3);
28307 if (!SWIG_IsOK(ecode3)) {
28308 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28309 }
28310 arg3 = static_cast< int >(val3);
28311 {
28312 PyThreadState* __tstate = wxPyBeginAllowThreads();
28313 (arg1)->SetPPIScreen(arg2,arg3);
28314 wxPyEndAllowThreads(__tstate);
28315 if (PyErr_Occurred()) SWIG_fail;
28316 }
28317 resultobj = SWIG_Py_Void();
28318 return resultobj;
28319fail:
28320 return NULL;
28321}
28322
28323
28324SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28325 PyObject *resultobj = 0;
28326 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28327 int *arg2 = (int *) 0 ;
28328 int *arg3 = (int *) 0 ;
28329 void *argp1 = 0 ;
28330 int res1 = 0 ;
28331 int temp2 ;
28332 int res2 = SWIG_TMPOBJ ;
28333 int temp3 ;
28334 int res3 = SWIG_TMPOBJ ;
28335 PyObject *swig_obj[1] ;
28336
28337 arg2 = &temp2;
28338 arg3 = &temp3;
28339 if (!args) SWIG_fail;
28340 swig_obj[0] = args;
28341 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28342 if (!SWIG_IsOK(res1)) {
28343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28344 }
28345 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28346 {
28347 PyThreadState* __tstate = wxPyBeginAllowThreads();
28348 (arg1)->GetPPIScreen(arg2,arg3);
28349 wxPyEndAllowThreads(__tstate);
28350 if (PyErr_Occurred()) SWIG_fail;
28351 }
28352 resultobj = SWIG_Py_Void();
28353 if (SWIG_IsTmpObj(res2)) {
28354 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28355 } else {
28356 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28357 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28358 }
28359 if (SWIG_IsTmpObj(res3)) {
28360 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28361 } else {
28362 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28363 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28364 }
28365 return resultobj;
28366fail:
28367 return NULL;
28368}
28369
28370
28371SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28372 PyObject *resultobj = 0;
28373 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28374 int arg2 ;
28375 int arg3 ;
28376 void *argp1 = 0 ;
28377 int res1 = 0 ;
28378 int val2 ;
28379 int ecode2 = 0 ;
28380 int val3 ;
28381 int ecode3 = 0 ;
28382 PyObject * obj0 = 0 ;
28383 PyObject * obj1 = 0 ;
28384 PyObject * obj2 = 0 ;
28385 char * kwnames[] = {
28386 (char *) "self",(char *) "x",(char *) "y", NULL
28387 };
28388
28389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28390 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28391 if (!SWIG_IsOK(res1)) {
28392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28393 }
28394 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28395 ecode2 = SWIG_AsVal_int(obj1, &val2);
28396 if (!SWIG_IsOK(ecode2)) {
28397 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28398 }
28399 arg2 = static_cast< int >(val2);
28400 ecode3 = SWIG_AsVal_int(obj2, &val3);
28401 if (!SWIG_IsOK(ecode3)) {
28402 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28403 }
28404 arg3 = static_cast< int >(val3);
28405 {
28406 PyThreadState* __tstate = wxPyBeginAllowThreads();
28407 (arg1)->SetPPIPrinter(arg2,arg3);
28408 wxPyEndAllowThreads(__tstate);
28409 if (PyErr_Occurred()) SWIG_fail;
28410 }
28411 resultobj = SWIG_Py_Void();
28412 return resultobj;
28413fail:
28414 return NULL;
28415}
28416
28417
28418SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28419 PyObject *resultobj = 0;
28420 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28421 int *arg2 = (int *) 0 ;
28422 int *arg3 = (int *) 0 ;
28423 void *argp1 = 0 ;
28424 int res1 = 0 ;
28425 int temp2 ;
28426 int res2 = SWIG_TMPOBJ ;
28427 int temp3 ;
28428 int res3 = SWIG_TMPOBJ ;
28429 PyObject *swig_obj[1] ;
28430
28431 arg2 = &temp2;
28432 arg3 = &temp3;
28433 if (!args) SWIG_fail;
28434 swig_obj[0] = args;
28435 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28436 if (!SWIG_IsOK(res1)) {
28437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28438 }
28439 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28440 {
28441 PyThreadState* __tstate = wxPyBeginAllowThreads();
28442 (arg1)->GetPPIPrinter(arg2,arg3);
28443 wxPyEndAllowThreads(__tstate);
28444 if (PyErr_Occurred()) SWIG_fail;
28445 }
28446 resultobj = SWIG_Py_Void();
28447 if (SWIG_IsTmpObj(res2)) {
28448 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28449 } else {
28450 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28451 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28452 }
28453 if (SWIG_IsTmpObj(res3)) {
28454 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28455 } else {
28456 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28457 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28458 }
28459 return resultobj;
28460fail:
28461 return NULL;
d55e5bfc
RD
28462}
28463
28464
554f62e9
RD
28465SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28466 PyObject *resultobj = 0;
28467 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28468 bool result;
28469 void *argp1 = 0 ;
28470 int res1 = 0 ;
28471 PyObject *swig_obj[1] ;
28472
28473 if (!args) SWIG_fail;
28474 swig_obj[0] = args;
28475 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28476 if (!SWIG_IsOK(res1)) {
28477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28478 }
28479 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28480 {
28481 PyThreadState* __tstate = wxPyBeginAllowThreads();
28482 result = (bool)(arg1)->IsPreview();
28483 wxPyEndAllowThreads(__tstate);
28484 if (PyErr_Occurred()) SWIG_fail;
28485 }
28486 {
28487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28488 }
28489 return resultobj;
28490fail:
28491 return NULL;
28492}
28493
28494
28495SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28496 PyObject *resultobj = 0;
28497 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28498 bool arg2 ;
28499 void *argp1 = 0 ;
28500 int res1 = 0 ;
28501 bool val2 ;
28502 int ecode2 = 0 ;
28503 PyObject * obj0 = 0 ;
28504 PyObject * obj1 = 0 ;
28505 char * kwnames[] = {
28506 (char *) "self",(char *) "p", NULL
28507 };
28508
28509 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
28510 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28511 if (!SWIG_IsOK(res1)) {
28512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28513 }
28514 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28515 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28516 if (!SWIG_IsOK(ecode2)) {
28517 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28518 }
28519 arg2 = static_cast< bool >(val2);
28520 {
28521 PyThreadState* __tstate = wxPyBeginAllowThreads();
28522 (arg1)->SetIsPreview(arg2);
28523 wxPyEndAllowThreads(__tstate);
28524 if (PyErr_Occurred()) SWIG_fail;
28525 }
28526 resultobj = SWIG_Py_Void();
28527 return resultobj;
28528fail:
28529 return NULL;
28530}
28531
28532
28533SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28534 PyObject *resultobj = 0;
28535 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28536 int arg2 ;
28537 int arg3 ;
28538 bool result;
28539 void *argp1 = 0 ;
28540 int res1 = 0 ;
28541 int val2 ;
28542 int ecode2 = 0 ;
28543 int val3 ;
28544 int ecode3 = 0 ;
28545 PyObject * obj0 = 0 ;
28546 PyObject * obj1 = 0 ;
28547 PyObject * obj2 = 0 ;
28548 char * kwnames[] = {
28549 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28550 };
28551
28552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28553 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28554 if (!SWIG_IsOK(res1)) {
28555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28556 }
28557 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28558 ecode2 = SWIG_AsVal_int(obj1, &val2);
28559 if (!SWIG_IsOK(ecode2)) {
28560 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28561 }
28562 arg2 = static_cast< int >(val2);
28563 ecode3 = SWIG_AsVal_int(obj2, &val3);
28564 if (!SWIG_IsOK(ecode3)) {
28565 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28566 }
28567 arg3 = static_cast< int >(val3);
28568 {
28569 PyThreadState* __tstate = wxPyBeginAllowThreads();
28570 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28571 wxPyEndAllowThreads(__tstate);
28572 if (PyErr_Occurred()) SWIG_fail;
28573 }
28574 {
28575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28576 }
28577 return resultobj;
28578fail:
28579 return NULL;
d55e5bfc
RD
28580}
28581
28582
554f62e9
RD
28583SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28584 PyObject *resultobj = 0;
28585 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28586 void *argp1 = 0 ;
28587 int res1 = 0 ;
28588 PyObject *swig_obj[1] ;
28589
28590 if (!args) SWIG_fail;
28591 swig_obj[0] = args;
28592 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28593 if (!SWIG_IsOK(res1)) {
28594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28595 }
28596 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28597 {
28598 PyThreadState* __tstate = wxPyBeginAllowThreads();
28599 (arg1)->OnEndDocument();
28600 wxPyEndAllowThreads(__tstate);
28601 if (PyErr_Occurred()) SWIG_fail;
28602 }
28603 resultobj = SWIG_Py_Void();
28604 return resultobj;
28605fail:
28606 return NULL;
caef1a4d
RD
28607}
28608
28609
554f62e9
RD
28610SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28611 PyObject *resultobj = 0;
28612 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28613 void *argp1 = 0 ;
28614 int res1 = 0 ;
28615 PyObject *swig_obj[1] ;
28616
28617 if (!args) SWIG_fail;
28618 swig_obj[0] = args;
28619 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28620 if (!SWIG_IsOK(res1)) {
28621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28622 }
28623 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28624 {
28625 PyThreadState* __tstate = wxPyBeginAllowThreads();
28626 (arg1)->OnBeginPrinting();
28627 wxPyEndAllowThreads(__tstate);
28628 if (PyErr_Occurred()) SWIG_fail;
28629 }
28630 resultobj = SWIG_Py_Void();
28631 return resultobj;
28632fail:
28633 return NULL;
60d5fcc1
RD
28634}
28635
28636
554f62e9
RD
28637SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28638 PyObject *resultobj = 0;
28639 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28640 void *argp1 = 0 ;
28641 int res1 = 0 ;
28642 PyObject *swig_obj[1] ;
28643
28644 if (!args) SWIG_fail;
28645 swig_obj[0] = args;
28646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28647 if (!SWIG_IsOK(res1)) {
28648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28649 }
28650 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28651 {
28652 PyThreadState* __tstate = wxPyBeginAllowThreads();
28653 (arg1)->OnEndPrinting();
28654 wxPyEndAllowThreads(__tstate);
28655 if (PyErr_Occurred()) SWIG_fail;
28656 }
28657 resultobj = SWIG_Py_Void();
28658 return resultobj;
28659fail:
28660 return NULL;
d55e5bfc
RD
28661}
28662
28663
554f62e9
RD
28664SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28665 PyObject *resultobj = 0;
28666 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28667 void *argp1 = 0 ;
28668 int res1 = 0 ;
28669 PyObject *swig_obj[1] ;
28670
28671 if (!args) SWIG_fail;
28672 swig_obj[0] = args;
28673 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28674 if (!SWIG_IsOK(res1)) {
28675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28676 }
28677 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28678 {
28679 PyThreadState* __tstate = wxPyBeginAllowThreads();
28680 (arg1)->OnPreparePrinting();
28681 wxPyEndAllowThreads(__tstate);
28682 if (PyErr_Occurred()) SWIG_fail;
28683 }
28684 resultobj = SWIG_Py_Void();
28685 return resultobj;
28686fail:
28687 return NULL;
28688}
28689
28690
28691SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28692 PyObject *resultobj = 0;
28693 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28694 int arg2 ;
28695 bool result;
28696 void *argp1 = 0 ;
28697 int res1 = 0 ;
28698 int val2 ;
28699 int ecode2 = 0 ;
28700 PyObject * obj0 = 0 ;
28701 PyObject * obj1 = 0 ;
28702 char * kwnames[] = {
28703 (char *) "self",(char *) "page", NULL
28704 };
28705
28706 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28707 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28708 if (!SWIG_IsOK(res1)) {
28709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28710 }
28711 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28712 ecode2 = SWIG_AsVal_int(obj1, &val2);
28713 if (!SWIG_IsOK(ecode2)) {
28714 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28715 }
28716 arg2 = static_cast< int >(val2);
28717 {
28718 PyThreadState* __tstate = wxPyBeginAllowThreads();
28719 result = (bool)(arg1)->HasPage(arg2);
28720 wxPyEndAllowThreads(__tstate);
28721 if (PyErr_Occurred()) SWIG_fail;
28722 }
28723 {
28724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28725 }
28726 return resultobj;
28727fail:
28728 return NULL;
28729}
28730
28731
28732SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28733 PyObject *resultobj = 0;
28734 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28735 int *arg2 = (int *) 0 ;
28736 int *arg3 = (int *) 0 ;
28737 int *arg4 = (int *) 0 ;
28738 int *arg5 = (int *) 0 ;
28739 void *argp1 = 0 ;
28740 int res1 = 0 ;
28741 int temp2 ;
28742 int res2 = SWIG_TMPOBJ ;
28743 int temp3 ;
28744 int res3 = SWIG_TMPOBJ ;
28745 int temp4 ;
28746 int res4 = SWIG_TMPOBJ ;
28747 int temp5 ;
28748 int res5 = SWIG_TMPOBJ ;
28749 PyObject *swig_obj[1] ;
28750
28751 arg2 = &temp2;
28752 arg3 = &temp3;
28753 arg4 = &temp4;
28754 arg5 = &temp5;
28755 if (!args) SWIG_fail;
28756 swig_obj[0] = args;
28757 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28758 if (!SWIG_IsOK(res1)) {
28759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28760 }
28761 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28762 {
28763 PyThreadState* __tstate = wxPyBeginAllowThreads();
28764 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28765 wxPyEndAllowThreads(__tstate);
28766 if (PyErr_Occurred()) SWIG_fail;
28767 }
28768 resultobj = SWIG_Py_Void();
28769 if (SWIG_IsTmpObj(res2)) {
28770 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28771 } else {
28772 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28773 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28774 }
28775 if (SWIG_IsTmpObj(res3)) {
28776 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28777 } else {
28778 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28779 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28780 }
28781 if (SWIG_IsTmpObj(res4)) {
28782 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28783 } else {
28784 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28785 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28786 }
28787 if (SWIG_IsTmpObj(res5)) {
28788 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28789 } else {
28790 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28791 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28792 }
28793 return resultobj;
28794fail:
28795 return NULL;
28796}
28797
28798
28799SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28800 PyObject *obj;
28801 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28802 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28803 return SWIG_Py_Void();
28804}
28805
28806SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28807 return SWIG_Python_InitShadowInstance(args);
28808}
28809
28810SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28811 PyObject *resultobj = 0;
28812 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28813 wxWindow *arg2 = (wxWindow *) 0 ;
28814 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28815 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28816 wxSize const &arg4_defvalue = wxDefaultSize ;
28817 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28818 long arg5 = (long) 0 ;
28819 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28820 wxString *arg6 = (wxString *) &arg6_defvalue ;
28821 wxPreviewCanvas *result = 0 ;
28822 void *argp1 = 0 ;
28823 int res1 = 0 ;
28824 void *argp2 = 0 ;
28825 int res2 = 0 ;
28826 wxPoint temp3 ;
28827 wxSize temp4 ;
28828 long val5 ;
28829 int ecode5 = 0 ;
28830 bool temp6 = false ;
28831 PyObject * obj0 = 0 ;
28832 PyObject * obj1 = 0 ;
28833 PyObject * obj2 = 0 ;
28834 PyObject * obj3 = 0 ;
28835 PyObject * obj4 = 0 ;
28836 PyObject * obj5 = 0 ;
28837 char * kwnames[] = {
28838 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28839 };
28840
28841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28842 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28843 if (!SWIG_IsOK(res1)) {
28844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28845 }
28846 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28847 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28848 if (!SWIG_IsOK(res2)) {
28849 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28850 }
28851 arg2 = reinterpret_cast< wxWindow * >(argp2);
28852 if (obj2) {
093d3ff1 28853 {
554f62e9
RD
28854 arg3 = &temp3;
28855 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 28856 }
554f62e9
RD
28857 }
28858 if (obj3) {
093d3ff1 28859 {
554f62e9
RD
28860 arg4 = &temp4;
28861 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 28862 }
554f62e9
RD
28863 }
28864 if (obj4) {
28865 ecode5 = SWIG_AsVal_long(obj4, &val5);
28866 if (!SWIG_IsOK(ecode5)) {
28867 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28868 }
28869 arg5 = static_cast< long >(val5);
28870 }
28871 if (obj5) {
093d3ff1 28872 {
554f62e9
RD
28873 arg6 = wxString_in_helper(obj5);
28874 if (arg6 == NULL) SWIG_fail;
28875 temp6 = true;
093d3ff1 28876 }
554f62e9
RD
28877 }
28878 {
28879 if (!wxPyCheckForApp()) SWIG_fail;
28880 PyThreadState* __tstate = wxPyBeginAllowThreads();
28881 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
28882 wxPyEndAllowThreads(__tstate);
28883 if (PyErr_Occurred()) SWIG_fail;
28884 }
28885 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
28886 {
28887 if (temp6)
28888 delete arg6;
28889 }
28890 return resultobj;
28891fail:
28892 {
28893 if (temp6)
28894 delete arg6;
28895 }
28896 return NULL;
28897}
28898
28899
28900SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28901 PyObject *obj;
28902 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28903 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
28904 return SWIG_Py_Void();
28905}
28906
28907SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28908 return SWIG_Python_InitShadowInstance(args);
28909}
28910
28911SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28912 PyObject *resultobj = 0;
28913 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28914 wxFrame *arg2 = (wxFrame *) 0 ;
28915 wxString *arg3 = 0 ;
28916 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28917 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28918 wxSize const &arg5_defvalue = wxDefaultSize ;
28919 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28920 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
28921 wxString const &arg7_defvalue = wxPyFrameNameStr ;
28922 wxString *arg7 = (wxString *) &arg7_defvalue ;
28923 wxPreviewFrame *result = 0 ;
28924 int res1 = 0 ;
28925 void *argp2 = 0 ;
28926 int res2 = 0 ;
28927 bool temp3 = false ;
28928 wxPoint temp4 ;
28929 wxSize temp5 ;
28930 long val6 ;
28931 int ecode6 = 0 ;
28932 bool temp7 = false ;
28933 PyObject * obj0 = 0 ;
28934 PyObject * obj1 = 0 ;
28935 PyObject * obj2 = 0 ;
28936 PyObject * obj3 = 0 ;
28937 PyObject * obj4 = 0 ;
28938 PyObject * obj5 = 0 ;
28939 PyObject * obj6 = 0 ;
28940 char * kwnames[] = {
28941 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28942 };
28943
28944 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28945 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28946 if (!SWIG_IsOK(res1)) {
28947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28948 }
28949 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28950 if (!SWIG_IsOK(res2)) {
28951 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28952 }
28953 arg2 = reinterpret_cast< wxFrame * >(argp2);
28954 {
28955 arg3 = wxString_in_helper(obj2);
28956 if (arg3 == NULL) SWIG_fail;
28957 temp3 = true;
28958 }
28959 if (obj3) {
093d3ff1 28960 {
554f62e9
RD
28961 arg4 = &temp4;
28962 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 28963 }
554f62e9
RD
28964 }
28965 if (obj4) {
d55e5bfc 28966 {
554f62e9
RD
28967 arg5 = &temp5;
28968 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 28969 }
554f62e9
RD
28970 }
28971 if (obj5) {
28972 ecode6 = SWIG_AsVal_long(obj5, &val6);
28973 if (!SWIG_IsOK(ecode6)) {
28974 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28975 }
28976 arg6 = static_cast< long >(val6);
28977 }
28978 if (obj6) {
093d3ff1 28979 {
554f62e9
RD
28980 arg7 = wxString_in_helper(obj6);
28981 if (arg7 == NULL) SWIG_fail;
28982 temp7 = true;
093d3ff1 28983 }
554f62e9
RD
28984 }
28985 {
28986 if (!wxPyCheckForApp()) SWIG_fail;
28987 PyThreadState* __tstate = wxPyBeginAllowThreads();
28988 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28989 wxPyEndAllowThreads(__tstate);
28990 if (PyErr_Occurred()) SWIG_fail;
28991 }
28992 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
28993 {
28994 if (temp3)
28995 delete arg3;
28996 }
28997 {
28998 if (temp7)
28999 delete arg7;
29000 }
29001 return resultobj;
29002fail:
29003 {
29004 if (temp3)
29005 delete arg3;
29006 }
29007 {
29008 if (temp7)
29009 delete arg7;
29010 }
29011 return NULL;
d55e5bfc
RD
29012}
29013
29014
554f62e9
RD
29015SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29016 PyObject *resultobj = 0;
29017 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29018 void *argp1 = 0 ;
29019 int res1 = 0 ;
29020 PyObject *swig_obj[1] ;
29021
29022 if (!args) SWIG_fail;
29023 swig_obj[0] = args;
29024 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29025 if (!SWIG_IsOK(res1)) {
29026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29027 }
29028 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29029 {
29030 PyThreadState* __tstate = wxPyBeginAllowThreads();
29031 (arg1)->Initialize();
29032 wxPyEndAllowThreads(__tstate);
29033 if (PyErr_Occurred()) SWIG_fail;
29034 }
29035 resultobj = SWIG_Py_Void();
29036 return resultobj;
29037fail:
29038 return NULL;
d55e5bfc
RD
29039}
29040
29041
554f62e9
RD
29042SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29043 PyObject *resultobj = 0;
29044 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29045 void *argp1 = 0 ;
29046 int res1 = 0 ;
29047 PyObject *swig_obj[1] ;
29048
29049 if (!args) SWIG_fail;
29050 swig_obj[0] = args;
29051 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29052 if (!SWIG_IsOK(res1)) {
29053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29054 }
29055 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29056 {
29057 PyThreadState* __tstate = wxPyBeginAllowThreads();
29058 (arg1)->CreateControlBar();
29059 wxPyEndAllowThreads(__tstate);
29060 if (PyErr_Occurred()) SWIG_fail;
29061 }
29062 resultobj = SWIG_Py_Void();
29063 return resultobj;
29064fail:
29065 return NULL;
d55e5bfc
RD
29066}
29067
29068
554f62e9
RD
29069SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29070 PyObject *resultobj = 0;
29071 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29072 void *argp1 = 0 ;
29073 int res1 = 0 ;
29074 PyObject *swig_obj[1] ;
29075
29076 if (!args) SWIG_fail;
29077 swig_obj[0] = args;
29078 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29079 if (!SWIG_IsOK(res1)) {
29080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29081 }
29082 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29083 {
29084 PyThreadState* __tstate = wxPyBeginAllowThreads();
29085 (arg1)->CreateCanvas();
29086 wxPyEndAllowThreads(__tstate);
29087 if (PyErr_Occurred()) SWIG_fail;
29088 }
29089 resultobj = SWIG_Py_Void();
29090 return resultobj;
29091fail:
29092 return NULL;
d55e5bfc
RD
29093}
29094
29095
554f62e9
RD
29096SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29097 PyObject *resultobj = 0;
29098 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29099 wxPreviewControlBar *result = 0 ;
29100 void *argp1 = 0 ;
29101 int res1 = 0 ;
29102 PyObject *swig_obj[1] ;
29103
29104 if (!args) SWIG_fail;
29105 swig_obj[0] = args;
29106 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29107 if (!SWIG_IsOK(res1)) {
29108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29109 }
29110 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29111 {
29112 PyThreadState* __tstate = wxPyBeginAllowThreads();
29113 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
29114 wxPyEndAllowThreads(__tstate);
29115 if (PyErr_Occurred()) SWIG_fail;
29116 }
29117 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29118 return resultobj;
29119fail:
29120 return NULL;
29121}
29122
29123
29124SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29125 PyObject *obj;
29126 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29127 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
29128 return SWIG_Py_Void();
29129}
29130
29131SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29132 return SWIG_Python_InitShadowInstance(args);
29133}
29134
29135SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29136 PyObject *resultobj = 0;
29137 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29138 long arg2 ;
29139 wxWindow *arg3 = (wxWindow *) 0 ;
29140 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29141 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29142 wxSize const &arg5_defvalue = wxDefaultSize ;
29143 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29144 long arg6 = (long) wxTAB_TRAVERSAL ;
29145 wxString const &arg7_defvalue = wxPyPanelNameStr ;
29146 wxString *arg7 = (wxString *) &arg7_defvalue ;
29147 wxPreviewControlBar *result = 0 ;
29148 void *argp1 = 0 ;
29149 int res1 = 0 ;
29150 long val2 ;
29151 int ecode2 = 0 ;
29152 void *argp3 = 0 ;
29153 int res3 = 0 ;
29154 wxPoint temp4 ;
29155 wxSize temp5 ;
29156 long val6 ;
29157 int ecode6 = 0 ;
29158 bool temp7 = false ;
29159 PyObject * obj0 = 0 ;
29160 PyObject * obj1 = 0 ;
29161 PyObject * obj2 = 0 ;
29162 PyObject * obj3 = 0 ;
29163 PyObject * obj4 = 0 ;
29164 PyObject * obj5 = 0 ;
29165 PyObject * obj6 = 0 ;
29166 char * kwnames[] = {
29167 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29168 };
29169
29170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29171 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29172 if (!SWIG_IsOK(res1)) {
29173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29174 }
29175 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29176 ecode2 = SWIG_AsVal_long(obj1, &val2);
29177 if (!SWIG_IsOK(ecode2)) {
29178 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29179 }
29180 arg2 = static_cast< long >(val2);
29181 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
29182 if (!SWIG_IsOK(res3)) {
29183 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29184 }
29185 arg3 = reinterpret_cast< wxWindow * >(argp3);
29186 if (obj3) {
d55e5bfc 29187 {
554f62e9
RD
29188 arg4 = &temp4;
29189 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29190 }
29191 }
29192 if (obj4) {
d55e5bfc 29193 {
554f62e9
RD
29194 arg5 = &temp5;
29195 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 29196 }
554f62e9
RD
29197 }
29198 if (obj5) {
29199 ecode6 = SWIG_AsVal_long(obj5, &val6);
29200 if (!SWIG_IsOK(ecode6)) {
29201 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29202 }
29203 arg6 = static_cast< long >(val6);
29204 }
29205 if (obj6) {
d55e5bfc 29206 {
554f62e9
RD
29207 arg7 = wxString_in_helper(obj6);
29208 if (arg7 == NULL) SWIG_fail;
29209 temp7 = true;
d55e5bfc 29210 }
554f62e9
RD
29211 }
29212 {
29213 if (!wxPyCheckForApp()) SWIG_fail;
29214 PyThreadState* __tstate = wxPyBeginAllowThreads();
29215 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29216 wxPyEndAllowThreads(__tstate);
29217 if (PyErr_Occurred()) SWIG_fail;
29218 }
29219 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
29220 {
29221 if (temp7)
29222 delete arg7;
29223 }
29224 return resultobj;
29225fail:
29226 {
29227 if (temp7)
29228 delete arg7;
29229 }
29230 return NULL;
d55e5bfc
RD
29231}
29232
29233
554f62e9
RD
29234SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29235 PyObject *resultobj = 0;
29236 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29237 int result;
29238 void *argp1 = 0 ;
29239 int res1 = 0 ;
29240 PyObject *swig_obj[1] ;
29241
29242 if (!args) SWIG_fail;
29243 swig_obj[0] = args;
29244 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29245 if (!SWIG_IsOK(res1)) {
29246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29247 }
29248 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29249 {
29250 PyThreadState* __tstate = wxPyBeginAllowThreads();
29251 result = (int)(arg1)->GetZoomControl();
29252 wxPyEndAllowThreads(__tstate);
29253 if (PyErr_Occurred()) SWIG_fail;
29254 }
29255 resultobj = SWIG_From_int(static_cast< int >(result));
29256 return resultobj;
29257fail:
29258 return NULL;
29259}
29260
29261
29262SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29263 PyObject *resultobj = 0;
29264 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29265 int arg2 ;
29266 void *argp1 = 0 ;
29267 int res1 = 0 ;
29268 int val2 ;
29269 int ecode2 = 0 ;
29270 PyObject * obj0 = 0 ;
29271 PyObject * obj1 = 0 ;
29272 char * kwnames[] = {
29273 (char *) "self",(char *) "zoom", NULL
29274 };
29275
29276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
29277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29278 if (!SWIG_IsOK(res1)) {
29279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29280 }
29281 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29282 ecode2 = SWIG_AsVal_int(obj1, &val2);
29283 if (!SWIG_IsOK(ecode2)) {
29284 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29285 }
29286 arg2 = static_cast< int >(val2);
29287 {
29288 PyThreadState* __tstate = wxPyBeginAllowThreads();
29289 (arg1)->SetZoomControl(arg2);
29290 wxPyEndAllowThreads(__tstate);
29291 if (PyErr_Occurred()) SWIG_fail;
29292 }
29293 resultobj = SWIG_Py_Void();
29294 return resultobj;
29295fail:
29296 return NULL;
d55e5bfc
RD
29297}
29298
29299
554f62e9
RD
29300SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29301 PyObject *resultobj = 0;
29302 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29303 wxPrintPreview *result = 0 ;
29304 void *argp1 = 0 ;
29305 int res1 = 0 ;
29306 PyObject *swig_obj[1] ;
29307
29308 if (!args) SWIG_fail;
29309 swig_obj[0] = args;
29310 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29311 if (!SWIG_IsOK(res1)) {
29312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29313 }
29314 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29315 {
29316 PyThreadState* __tstate = wxPyBeginAllowThreads();
29317 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
29318 wxPyEndAllowThreads(__tstate);
29319 if (PyErr_Occurred()) SWIG_fail;
29320 }
29321 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29322 return resultobj;
29323fail:
29324 return NULL;
d55e5bfc
RD
29325}
29326
29327
554f62e9
RD
29328SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29329 PyObject *resultobj = 0;
29330 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29331 void *argp1 = 0 ;
29332 int res1 = 0 ;
29333 PyObject *swig_obj[1] ;
29334
29335 if (!args) SWIG_fail;
29336 swig_obj[0] = args;
29337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29338 if (!SWIG_IsOK(res1)) {
29339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29340 }
29341 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29342 {
29343 PyThreadState* __tstate = wxPyBeginAllowThreads();
29344 (arg1)->OnNext();
29345 wxPyEndAllowThreads(__tstate);
29346 if (PyErr_Occurred()) SWIG_fail;
29347 }
29348 resultobj = SWIG_Py_Void();
29349 return resultobj;
29350fail:
29351 return NULL;
d55e5bfc
RD
29352}
29353
29354
554f62e9
RD
29355SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29356 PyObject *resultobj = 0;
29357 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29358 void *argp1 = 0 ;
29359 int res1 = 0 ;
29360 PyObject *swig_obj[1] ;
29361
29362 if (!args) SWIG_fail;
29363 swig_obj[0] = args;
29364 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29365 if (!SWIG_IsOK(res1)) {
29366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29367 }
29368 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29369 {
29370 PyThreadState* __tstate = wxPyBeginAllowThreads();
29371 (arg1)->OnPrevious();
29372 wxPyEndAllowThreads(__tstate);
29373 if (PyErr_Occurred()) SWIG_fail;
29374 }
29375 resultobj = SWIG_Py_Void();
29376 return resultobj;
29377fail:
29378 return NULL;
d55e5bfc
RD
29379}
29380
29381
554f62e9
RD
29382SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29383 PyObject *resultobj = 0;
29384 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29385 void *argp1 = 0 ;
29386 int res1 = 0 ;
29387 PyObject *swig_obj[1] ;
29388
29389 if (!args) SWIG_fail;
29390 swig_obj[0] = args;
29391 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29392 if (!SWIG_IsOK(res1)) {
29393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29394 }
29395 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29396 {
29397 PyThreadState* __tstate = wxPyBeginAllowThreads();
29398 (arg1)->OnFirst();
29399 wxPyEndAllowThreads(__tstate);
29400 if (PyErr_Occurred()) SWIG_fail;
29401 }
29402 resultobj = SWIG_Py_Void();
29403 return resultobj;
29404fail:
29405 return NULL;
d55e5bfc
RD
29406}
29407
29408
554f62e9
RD
29409SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29410 PyObject *resultobj = 0;
29411 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29412 void *argp1 = 0 ;
29413 int res1 = 0 ;
29414 PyObject *swig_obj[1] ;
29415
29416 if (!args) SWIG_fail;
29417 swig_obj[0] = args;
29418 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29419 if (!SWIG_IsOK(res1)) {
29420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29421 }
29422 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29423 {
29424 PyThreadState* __tstate = wxPyBeginAllowThreads();
29425 (arg1)->OnLast();
29426 wxPyEndAllowThreads(__tstate);
29427 if (PyErr_Occurred()) SWIG_fail;
29428 }
29429 resultobj = SWIG_Py_Void();
29430 return resultobj;
29431fail:
29432 return NULL;
d55e5bfc
RD
29433}
29434
29435
554f62e9
RD
29436SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29437 PyObject *resultobj = 0;
29438 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29439 void *argp1 = 0 ;
29440 int res1 = 0 ;
29441 PyObject *swig_obj[1] ;
29442
29443 if (!args) SWIG_fail;
29444 swig_obj[0] = args;
29445 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29446 if (!SWIG_IsOK(res1)) {
29447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29448 }
29449 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29450 {
29451 PyThreadState* __tstate = wxPyBeginAllowThreads();
29452 (arg1)->OnGoto();
29453 wxPyEndAllowThreads(__tstate);
29454 if (PyErr_Occurred()) SWIG_fail;
29455 }
29456 resultobj = SWIG_Py_Void();
29457 return resultobj;
29458fail:
29459 return NULL;
d55e5bfc
RD
29460}
29461
29462
554f62e9
RD
29463SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29464 PyObject *obj;
29465 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29466 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
29467 return SWIG_Py_Void();
d55e5bfc
RD
29468}
29469
554f62e9
RD
29470SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29471 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
29472}
29473
554f62e9
RD
29474SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29475 PyObject *resultobj = 0;
29476 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29477 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29478 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29479 wxPrintPreview *result = 0 ;
29480 int res1 = 0 ;
29481 int res2 = 0 ;
29482 void *argp3 = 0 ;
29483 int res3 = 0 ;
29484
29485 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29486 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29487 if (!SWIG_IsOK(res1)) {
29488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29489 }
29490 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29491 if (!SWIG_IsOK(res2)) {
29492 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29493 }
29494 if (swig_obj[2]) {
29495 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29496 if (!SWIG_IsOK(res3)) {
29497 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29498 }
29499 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29500 }
29501 {
29502 if (!wxPyCheckForApp()) SWIG_fail;
29503 PyThreadState* __tstate = wxPyBeginAllowThreads();
29504 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29505 wxPyEndAllowThreads(__tstate);
29506 if (PyErr_Occurred()) SWIG_fail;
29507 }
29508 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29509 return resultobj;
29510fail:
29511 return NULL;
29512}
29513
29514
29515SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29516 PyObject *resultobj = 0;
29517 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29518 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29519 wxPrintData *arg3 = (wxPrintData *) 0 ;
29520 wxPrintPreview *result = 0 ;
29521 int res1 = 0 ;
29522 int res2 = 0 ;
29523 void *argp3 = 0 ;
29524 int res3 = 0 ;
29525
29526 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29527 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29528 if (!SWIG_IsOK(res1)) {
29529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29530 }
29531 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29532 if (!SWIG_IsOK(res2)) {
29533 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29534 }
29535 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29536 if (!SWIG_IsOK(res3)) {
29537 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29538 }
29539 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29540 {
29541 if (!wxPyCheckForApp()) SWIG_fail;
29542 PyThreadState* __tstate = wxPyBeginAllowThreads();
29543 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29544 wxPyEndAllowThreads(__tstate);
29545 if (PyErr_Occurred()) SWIG_fail;
29546 }
29547 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29548 return resultobj;
29549fail:
29550 return NULL;
d55e5bfc
RD
29551}
29552
29553
554f62e9
RD
29554SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
29555 int argc;
29556 PyObject *argv[4];
29557
29558 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
29559 --argc;
29560 if ((argc >= 2) && (argc <= 3)) {
29561 int _v = 0;
29562 if (argc > 2) {
29563 {
29564 void *vptr = 0;
29565 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29566 _v = SWIG_CheckState(res);
29567 }
29568 if (!_v) goto check_1;
d55e5bfc 29569 }
554f62e9
RD
29570 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29571 }
29572check_1:
29573
29574 if (argc == 3) {
29575 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29576 }
29577
29578fail:
29579 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29580 return NULL;
d55e5bfc
RD
29581}
29582
29583
554f62e9
RD
29584SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29585 PyObject *resultobj = 0;
29586 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29587 void *argp1 = 0 ;
29588 int res1 = 0 ;
29589 PyObject *swig_obj[1] ;
29590
29591 if (!args) SWIG_fail;
29592 swig_obj[0] = args;
29593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29594 if (!SWIG_IsOK(res1)) {
29595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29596 }
29597 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29598 {
29599 PyThreadState* __tstate = wxPyBeginAllowThreads();
29600 delete arg1;
caef1a4d 29601
554f62e9
RD
29602 wxPyEndAllowThreads(__tstate);
29603 if (PyErr_Occurred()) SWIG_fail;
29604 }
29605 resultobj = SWIG_Py_Void();
29606 return resultobj;
29607fail:
29608 return NULL;
29609}
29610
29611
29612SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29613 PyObject *resultobj = 0;
29614 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29615 int arg2 ;
29616 bool result;
29617 void *argp1 = 0 ;
29618 int res1 = 0 ;
29619 int val2 ;
29620 int ecode2 = 0 ;
29621 PyObject * obj0 = 0 ;
29622 PyObject * obj1 = 0 ;
29623 char * kwnames[] = {
29624 (char *) "self",(char *) "pageNum", NULL
29625 };
29626
29627 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
29628 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29629 if (!SWIG_IsOK(res1)) {
29630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29631 }
29632 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29633 ecode2 = SWIG_AsVal_int(obj1, &val2);
29634 if (!SWIG_IsOK(ecode2)) {
29635 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29636 }
29637 arg2 = static_cast< int >(val2);
29638 {
29639 PyThreadState* __tstate = wxPyBeginAllowThreads();
29640 result = (bool)(arg1)->SetCurrentPage(arg2);
29641 wxPyEndAllowThreads(__tstate);
29642 if (PyErr_Occurred()) SWIG_fail;
29643 }
29644 {
29645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29646 }
29647 return resultobj;
29648fail:
29649 return NULL;
caef1a4d
RD
29650}
29651
29652
554f62e9
RD
29653SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29654 PyObject *resultobj = 0;
29655 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29656 int result;
29657 void *argp1 = 0 ;
29658 int res1 = 0 ;
29659 PyObject *swig_obj[1] ;
29660
29661 if (!args) SWIG_fail;
29662 swig_obj[0] = args;
29663 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29664 if (!SWIG_IsOK(res1)) {
29665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29666 }
29667 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29668 {
29669 PyThreadState* __tstate = wxPyBeginAllowThreads();
29670 result = (int)(arg1)->GetCurrentPage();
29671 wxPyEndAllowThreads(__tstate);
29672 if (PyErr_Occurred()) SWIG_fail;
29673 }
29674 resultobj = SWIG_From_int(static_cast< int >(result));
29675 return resultobj;
29676fail:
29677 return NULL;
29678}
29679
29680
29681SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29682 PyObject *resultobj = 0;
29683 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29684 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29685 void *argp1 = 0 ;
29686 int res1 = 0 ;
29687 int res2 = 0 ;
29688 PyObject * obj0 = 0 ;
29689 PyObject * obj1 = 0 ;
29690 char * kwnames[] = {
29691 (char *) "self",(char *) "printout", NULL
29692 };
29693
29694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29696 if (!SWIG_IsOK(res1)) {
29697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29698 }
29699 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29700 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29701 if (!SWIG_IsOK(res2)) {
29702 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29703 }
29704 {
29705 PyThreadState* __tstate = wxPyBeginAllowThreads();
29706 (arg1)->SetPrintout(arg2);
29707 wxPyEndAllowThreads(__tstate);
29708 if (PyErr_Occurred()) SWIG_fail;
29709 }
29710 resultobj = SWIG_Py_Void();
29711 return resultobj;
29712fail:
29713 return NULL;
8d38bd1d
RD
29714}
29715
29716
554f62e9
RD
29717SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29718 PyObject *resultobj = 0;
29719 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29720 wxPyPrintout *result = 0 ;
29721 void *argp1 = 0 ;
29722 int res1 = 0 ;
29723 PyObject *swig_obj[1] ;
29724
29725 if (!args) SWIG_fail;
29726 swig_obj[0] = args;
29727 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29728 if (!SWIG_IsOK(res1)) {
29729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29730 }
29731 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29732 {
29733 PyThreadState* __tstate = wxPyBeginAllowThreads();
29734 result = (wxPyPrintout *)(arg1)->GetPrintout();
29735 wxPyEndAllowThreads(__tstate);
29736 if (PyErr_Occurred()) SWIG_fail;
29737 }
29738 {
29739 resultobj = wxPyMake_wxObject(result, 0);
29740 }
29741 return resultobj;
29742fail:
29743 return NULL;
d55e5bfc
RD
29744}
29745
29746
554f62e9
RD
29747SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29748 PyObject *resultobj = 0;
29749 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29750 wxPyPrintout *result = 0 ;
29751 void *argp1 = 0 ;
29752 int res1 = 0 ;
29753 PyObject *swig_obj[1] ;
29754
29755 if (!args) SWIG_fail;
29756 swig_obj[0] = args;
29757 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29758 if (!SWIG_IsOK(res1)) {
29759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29760 }
29761 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29762 {
29763 PyThreadState* __tstate = wxPyBeginAllowThreads();
29764 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29765 wxPyEndAllowThreads(__tstate);
29766 if (PyErr_Occurred()) SWIG_fail;
29767 }
29768 {
29769 resultobj = wxPyMake_wxObject(result, 0);
29770 }
29771 return resultobj;
29772fail:
29773 return NULL;
29774}
29775
29776
29777SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29778 PyObject *resultobj = 0;
29779 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29780 wxFrame *arg2 = (wxFrame *) 0 ;
29781 void *argp1 = 0 ;
29782 int res1 = 0 ;
29783 void *argp2 = 0 ;
29784 int res2 = 0 ;
29785 PyObject * obj0 = 0 ;
29786 PyObject * obj1 = 0 ;
29787 char * kwnames[] = {
29788 (char *) "self",(char *) "frame", NULL
29789 };
29790
29791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29793 if (!SWIG_IsOK(res1)) {
29794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29795 }
29796 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29797 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29798 if (!SWIG_IsOK(res2)) {
29799 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29800 }
29801 arg2 = reinterpret_cast< wxFrame * >(argp2);
29802 {
29803 PyThreadState* __tstate = wxPyBeginAllowThreads();
29804 (arg1)->SetFrame(arg2);
29805 wxPyEndAllowThreads(__tstate);
29806 if (PyErr_Occurred()) SWIG_fail;
29807 }
29808 resultobj = SWIG_Py_Void();
29809 return resultobj;
29810fail:
29811 return NULL;
29812}
29813
29814
29815SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29816 PyObject *resultobj = 0;
29817 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29818 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29819 void *argp1 = 0 ;
29820 int res1 = 0 ;
29821 void *argp2 = 0 ;
29822 int res2 = 0 ;
29823 PyObject * obj0 = 0 ;
29824 PyObject * obj1 = 0 ;
29825 char * kwnames[] = {
29826 (char *) "self",(char *) "canvas", NULL
29827 };
29828
29829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29831 if (!SWIG_IsOK(res1)) {
29832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29833 }
29834 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29835 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29836 if (!SWIG_IsOK(res2)) {
29837 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29838 }
29839 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29840 {
29841 PyThreadState* __tstate = wxPyBeginAllowThreads();
29842 (arg1)->SetCanvas(arg2);
29843 wxPyEndAllowThreads(__tstate);
29844 if (PyErr_Occurred()) SWIG_fail;
29845 }
29846 resultobj = SWIG_Py_Void();
29847 return resultobj;
29848fail:
29849 return NULL;
d55e5bfc
RD
29850}
29851
29852
554f62e9
RD
29853SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29854 PyObject *resultobj = 0;
29855 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29856 wxFrame *result = 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_wxPrintPreview, 0 | 0 );
29864 if (!SWIG_IsOK(res1)) {
29865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29866 }
29867 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29868 {
29869 PyThreadState* __tstate = wxPyBeginAllowThreads();
29870 result = (wxFrame *)(arg1)->GetFrame();
29871 wxPyEndAllowThreads(__tstate);
29872 if (PyErr_Occurred()) SWIG_fail;
29873 }
29874 {
29875 resultobj = wxPyMake_wxObject(result, 0);
29876 }
29877 return resultobj;
29878fail:
29879 return NULL;
d55e5bfc
RD
29880}
29881
29882
554f62e9
RD
29883SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29884 PyObject *resultobj = 0;
29885 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29886 wxPreviewCanvas *result = 0 ;
29887 void *argp1 = 0 ;
29888 int res1 = 0 ;
29889 PyObject *swig_obj[1] ;
29890
29891 if (!args) SWIG_fail;
29892 swig_obj[0] = args;
29893 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29894 if (!SWIG_IsOK(res1)) {
29895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29896 }
29897 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29898 {
29899 PyThreadState* __tstate = wxPyBeginAllowThreads();
29900 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
29901 wxPyEndAllowThreads(__tstate);
29902 if (PyErr_Occurred()) SWIG_fail;
29903 }
29904 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29905 return resultobj;
29906fail:
29907 return NULL;
29908}
29909
29910
29911SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29912 PyObject *resultobj = 0;
29913 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29914 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29915 wxDC *arg3 = 0 ;
29916 bool result;
29917 void *argp1 = 0 ;
29918 int res1 = 0 ;
29919 void *argp2 = 0 ;
29920 int res2 = 0 ;
29921 void *argp3 = 0 ;
29922 int res3 = 0 ;
29923 PyObject * obj0 = 0 ;
29924 PyObject * obj1 = 0 ;
29925 PyObject * obj2 = 0 ;
29926 char * kwnames[] = {
29927 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29928 };
29929
29930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29932 if (!SWIG_IsOK(res1)) {
29933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29934 }
29935 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29936 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29937 if (!SWIG_IsOK(res2)) {
29938 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29939 }
29940 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29941 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29942 if (!SWIG_IsOK(res3)) {
29943 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29944 }
29945 if (!argp3) {
29946 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29947 }
29948 arg3 = reinterpret_cast< wxDC * >(argp3);
29949 {
29950 PyThreadState* __tstate = wxPyBeginAllowThreads();
29951 result = (bool)(arg1)->PaintPage(arg2,*arg3);
29952 wxPyEndAllowThreads(__tstate);
29953 if (PyErr_Occurred()) SWIG_fail;
29954 }
29955 {
29956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29957 }
29958 return resultobj;
29959fail:
29960 return NULL;
29961}
29962
29963
29964SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29965 PyObject *resultobj = 0;
29966 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29967 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29968 wxDC *arg3 = 0 ;
29969 bool result;
29970 void *argp1 = 0 ;
29971 int res1 = 0 ;
29972 void *argp2 = 0 ;
29973 int res2 = 0 ;
29974 void *argp3 = 0 ;
29975 int res3 = 0 ;
29976 PyObject * obj0 = 0 ;
29977 PyObject * obj1 = 0 ;
29978 PyObject * obj2 = 0 ;
29979 char * kwnames[] = {
29980 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29981 };
29982
29983 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29984 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29985 if (!SWIG_IsOK(res1)) {
29986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29987 }
29988 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29989 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29990 if (!SWIG_IsOK(res2)) {
29991 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29992 }
29993 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29994 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29995 if (!SWIG_IsOK(res3)) {
29996 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29997 }
29998 if (!argp3) {
29999 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30000 }
30001 arg3 = reinterpret_cast< wxDC * >(argp3);
30002 {
30003 PyThreadState* __tstate = wxPyBeginAllowThreads();
30004 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
30005 wxPyEndAllowThreads(__tstate);
30006 if (PyErr_Occurred()) SWIG_fail;
30007 }
30008 {
30009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30010 }
30011 return resultobj;
30012fail:
30013 return NULL;
30014}
30015
30016
30017SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30018 PyObject *resultobj = 0;
30019 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30020 int arg2 ;
30021 bool result;
30022 void *argp1 = 0 ;
30023 int res1 = 0 ;
30024 int val2 ;
30025 int ecode2 = 0 ;
30026 PyObject * obj0 = 0 ;
30027 PyObject * obj1 = 0 ;
30028 char * kwnames[] = {
30029 (char *) "self",(char *) "pageNum", NULL
30030 };
30031
30032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
30033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30034 if (!SWIG_IsOK(res1)) {
30035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30036 }
30037 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30038 ecode2 = SWIG_AsVal_int(obj1, &val2);
30039 if (!SWIG_IsOK(ecode2)) {
30040 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30041 }
30042 arg2 = static_cast< int >(val2);
30043 {
30044 PyThreadState* __tstate = wxPyBeginAllowThreads();
30045 result = (bool)(arg1)->RenderPage(arg2);
30046 wxPyEndAllowThreads(__tstate);
30047 if (PyErr_Occurred()) SWIG_fail;
30048 }
30049 {
30050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30051 }
30052 return resultobj;
30053fail:
30054 return NULL;
30055}
30056
30057
30058SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30059 PyObject *resultobj = 0;
30060 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30061 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30062 void *argp1 = 0 ;
30063 int res1 = 0 ;
30064 void *argp2 = 0 ;
30065 int res2 = 0 ;
30066 PyObject * obj0 = 0 ;
30067 PyObject * obj1 = 0 ;
30068 char * kwnames[] = {
30069 (char *) "self",(char *) "canvas", NULL
30070 };
30071
30072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
30073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30074 if (!SWIG_IsOK(res1)) {
30075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30076 }
30077 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30078 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30079 if (!SWIG_IsOK(res2)) {
30080 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30081 }
30082 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30083 {
30084 PyThreadState* __tstate = wxPyBeginAllowThreads();
30085 (arg1)->AdjustScrollbars(arg2);
30086 wxPyEndAllowThreads(__tstate);
30087 if (PyErr_Occurred()) SWIG_fail;
30088 }
30089 resultobj = SWIG_Py_Void();
30090 return resultobj;
30091fail:
30092 return NULL;
caef1a4d
RD
30093}
30094
30095
554f62e9
RD
30096SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30097 PyObject *resultobj = 0;
30098 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30099 wxPrintDialogData *result = 0 ;
30100 void *argp1 = 0 ;
30101 int res1 = 0 ;
30102 PyObject *swig_obj[1] ;
30103
30104 if (!args) SWIG_fail;
30105 swig_obj[0] = args;
30106 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30107 if (!SWIG_IsOK(res1)) {
30108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30109 }
30110 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30111 {
30112 PyThreadState* __tstate = wxPyBeginAllowThreads();
60d5fcc1 30113 {
554f62e9
RD
30114 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
30115 result = (wxPrintDialogData *) &_result_ref;
60d5fcc1 30116 }
554f62e9
RD
30117 wxPyEndAllowThreads(__tstate);
30118 if (PyErr_Occurred()) SWIG_fail;
30119 }
30120 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30121 return resultobj;
30122fail:
30123 return NULL;
30124}
30125
30126
30127SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30128 PyObject *resultobj = 0;
30129 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30130 int arg2 ;
30131 void *argp1 = 0 ;
30132 int res1 = 0 ;
30133 int val2 ;
30134 int ecode2 = 0 ;
30135 PyObject * obj0 = 0 ;
30136 PyObject * obj1 = 0 ;
30137 char * kwnames[] = {
30138 (char *) "self",(char *) "percent", NULL
30139 };
30140
30141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
30142 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30143 if (!SWIG_IsOK(res1)) {
30144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30145 }
30146 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30147 ecode2 = SWIG_AsVal_int(obj1, &val2);
30148 if (!SWIG_IsOK(ecode2)) {
30149 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30150 }
30151 arg2 = static_cast< int >(val2);
30152 {
30153 PyThreadState* __tstate = wxPyBeginAllowThreads();
30154 (arg1)->SetZoom(arg2);
30155 wxPyEndAllowThreads(__tstate);
30156 if (PyErr_Occurred()) SWIG_fail;
30157 }
30158 resultobj = SWIG_Py_Void();
30159 return resultobj;
30160fail:
30161 return NULL;
60d5fcc1
RD
30162}
30163
30164
554f62e9
RD
30165SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30166 PyObject *resultobj = 0;
30167 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30168 int result;
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_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30178 }
30179 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30180 {
30181 PyThreadState* __tstate = wxPyBeginAllowThreads();
30182 result = (int)(arg1)->GetZoom();
30183 wxPyEndAllowThreads(__tstate);
30184 if (PyErr_Occurred()) SWIG_fail;
30185 }
30186 resultobj = SWIG_From_int(static_cast< int >(result));
30187 return resultobj;
30188fail:
30189 return NULL;
d55e5bfc
RD
30190}
30191
30192
554f62e9
RD
30193SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30194 PyObject *resultobj = 0;
30195 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30196 int result;
30197 void *argp1 = 0 ;
30198 int res1 = 0 ;
30199 PyObject *swig_obj[1] ;
30200
30201 if (!args) SWIG_fail;
30202 swig_obj[0] = args;
30203 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30204 if (!SWIG_IsOK(res1)) {
30205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30206 }
30207 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30208 {
30209 PyThreadState* __tstate = wxPyBeginAllowThreads();
30210 result = (int)(arg1)->GetMaxPage();
30211 wxPyEndAllowThreads(__tstate);
30212 if (PyErr_Occurred()) SWIG_fail;
30213 }
30214 resultobj = SWIG_From_int(static_cast< int >(result));
30215 return resultobj;
30216fail:
30217 return NULL;
d55e5bfc
RD
30218}
30219
30220
554f62e9
RD
30221SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30222 PyObject *resultobj = 0;
30223 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30224 int result;
30225 void *argp1 = 0 ;
30226 int res1 = 0 ;
30227 PyObject *swig_obj[1] ;
30228
30229 if (!args) SWIG_fail;
30230 swig_obj[0] = args;
30231 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30232 if (!SWIG_IsOK(res1)) {
30233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30234 }
30235 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30236 {
30237 PyThreadState* __tstate = wxPyBeginAllowThreads();
30238 result = (int)(arg1)->GetMinPage();
30239 wxPyEndAllowThreads(__tstate);
30240 if (PyErr_Occurred()) SWIG_fail;
30241 }
30242 resultobj = SWIG_From_int(static_cast< int >(result));
30243 return resultobj;
30244fail:
30245 return NULL;
d55e5bfc
RD
30246}
30247
30248
554f62e9
RD
30249SWIGINTERN PyObject *_wrap_PrintPreview_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30250 PyObject *resultobj = 0;
30251 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30252 bool result;
30253 void *argp1 = 0 ;
30254 int res1 = 0 ;
30255 PyObject *swig_obj[1] ;
30256
30257 if (!args) SWIG_fail;
30258 swig_obj[0] = args;
30259 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30260 if (!SWIG_IsOK(res1)) {
30261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30262 }
30263 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30264 {
30265 PyThreadState* __tstate = wxPyBeginAllowThreads();
30266 result = (bool)(arg1)->Ok();
30267 wxPyEndAllowThreads(__tstate);
30268 if (PyErr_Occurred()) SWIG_fail;
30269 }
30270 {
30271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30272 }
30273 return resultobj;
30274fail:
30275 return NULL;
30276}
30277
30278
30279SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30280 PyObject *resultobj = 0;
30281 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30282 bool arg2 ;
30283 void *argp1 = 0 ;
30284 int res1 = 0 ;
30285 bool val2 ;
30286 int ecode2 = 0 ;
30287 PyObject * obj0 = 0 ;
30288 PyObject * obj1 = 0 ;
30289 char * kwnames[] = {
30290 (char *) "self",(char *) "ok", NULL
30291 };
30292
30293 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
30294 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30295 if (!SWIG_IsOK(res1)) {
30296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30297 }
30298 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30299 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30300 if (!SWIG_IsOK(ecode2)) {
30301 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30302 }
30303 arg2 = static_cast< bool >(val2);
30304 {
30305 PyThreadState* __tstate = wxPyBeginAllowThreads();
30306 (arg1)->SetOk(arg2);
30307 wxPyEndAllowThreads(__tstate);
30308 if (PyErr_Occurred()) SWIG_fail;
30309 }
30310 resultobj = SWIG_Py_Void();
30311 return resultobj;
30312fail:
30313 return NULL;
30314}
30315
30316
30317SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30318 PyObject *resultobj = 0;
30319 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30320 bool arg2 ;
30321 bool result;
30322 void *argp1 = 0 ;
30323 int res1 = 0 ;
30324 bool val2 ;
30325 int ecode2 = 0 ;
30326 PyObject * obj0 = 0 ;
30327 PyObject * obj1 = 0 ;
30328 char * kwnames[] = {
30329 (char *) "self",(char *) "interactive", NULL
30330 };
30331
30332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
30333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30334 if (!SWIG_IsOK(res1)) {
30335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30336 }
30337 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30338 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30339 if (!SWIG_IsOK(ecode2)) {
30340 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30341 }
30342 arg2 = static_cast< bool >(val2);
30343 {
30344 PyThreadState* __tstate = wxPyBeginAllowThreads();
30345 result = (bool)(arg1)->Print(arg2);
30346 wxPyEndAllowThreads(__tstate);
30347 if (PyErr_Occurred()) SWIG_fail;
30348 }
30349 {
30350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30351 }
30352 return resultobj;
30353fail:
30354 return NULL;
d55e5bfc
RD
30355}
30356
30357
554f62e9
RD
30358SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30359 PyObject *resultobj = 0;
30360 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30361 void *argp1 = 0 ;
30362 int res1 = 0 ;
30363 PyObject *swig_obj[1] ;
30364
30365 if (!args) SWIG_fail;
30366 swig_obj[0] = args;
30367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30368 if (!SWIG_IsOK(res1)) {
30369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30370 }
30371 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30372 {
30373 PyThreadState* __tstate = wxPyBeginAllowThreads();
30374 (arg1)->DetermineScaling();
30375 wxPyEndAllowThreads(__tstate);
30376 if (PyErr_Occurred()) SWIG_fail;
30377 }
30378 resultobj = SWIG_Py_Void();
30379 return resultobj;
30380fail:
30381 return NULL;
d55e5bfc
RD
30382}
30383
30384
554f62e9
RD
30385SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30386 PyObject *obj;
30387 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30388 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
30389 return SWIG_Py_Void();
d55e5bfc
RD
30390}
30391
554f62e9
RD
30392SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30393 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
30394}
30395
554f62e9
RD
30396SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30397 PyObject *resultobj = 0;
30398 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30399 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30400 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30401 wxPyPrintPreview *result = 0 ;
30402 int res1 = 0 ;
30403 int res2 = 0 ;
30404 void *argp3 = 0 ;
30405 int res3 = 0 ;
30406
30407 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30408 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30409 if (!SWIG_IsOK(res1)) {
30410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30411 }
30412 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30413 if (!SWIG_IsOK(res2)) {
30414 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30415 }
30416 if (swig_obj[2]) {
30417 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30418 if (!SWIG_IsOK(res3)) {
30419 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
d55e5bfc 30420 }
554f62e9
RD
30421 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30422 }
30423 {
30424 if (!wxPyCheckForApp()) SWIG_fail;
30425 PyThreadState* __tstate = wxPyBeginAllowThreads();
30426 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30427 wxPyEndAllowThreads(__tstate);
30428 if (PyErr_Occurred()) SWIG_fail;
30429 }
30430 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30431 return resultobj;
30432fail:
30433 return NULL;
30434}
30435
30436
30437SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30438 PyObject *resultobj = 0;
30439 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30440 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30441 wxPrintData *arg3 = (wxPrintData *) 0 ;
30442 wxPyPrintPreview *result = 0 ;
30443 int res1 = 0 ;
30444 int res2 = 0 ;
30445 void *argp3 = 0 ;
30446 int res3 = 0 ;
30447
30448 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30449 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30450 if (!SWIG_IsOK(res1)) {
30451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30452 }
30453 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30454 if (!SWIG_IsOK(res2)) {
30455 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30456 }
30457 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30458 if (!SWIG_IsOK(res3)) {
30459 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30460 }
30461 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30462 {
30463 if (!wxPyCheckForApp()) SWIG_fail;
30464 PyThreadState* __tstate = wxPyBeginAllowThreads();
30465 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30466 wxPyEndAllowThreads(__tstate);
30467 if (PyErr_Occurred()) SWIG_fail;
30468 }
30469 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30470 return resultobj;
30471fail:
30472 return NULL;
d55e5bfc
RD
30473}
30474
30475
554f62e9
RD
30476SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
30477 int argc;
30478 PyObject *argv[4];
30479
30480 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
30481 --argc;
30482 if ((argc >= 2) && (argc <= 3)) {
30483 int _v = 0;
30484 if (argc > 2) {
30485 {
30486 void *vptr = 0;
30487 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30488 _v = SWIG_CheckState(res);
30489 }
30490 if (!_v) goto check_1;
d55e5bfc 30491 }
554f62e9
RD
30492 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
30493 }
30494check_1:
30495
30496 if (argc == 3) {
30497 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
30498 }
30499
30500fail:
30501 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
30502 return NULL;
30503}
30504
30505
30506SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30507 PyObject *resultobj = 0;
30508 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
30509 PyObject *arg2 = (PyObject *) 0 ;
30510 PyObject *arg3 = (PyObject *) 0 ;
30511 void *argp1 = 0 ;
30512 int res1 = 0 ;
30513 PyObject * obj0 = 0 ;
30514 PyObject * obj1 = 0 ;
30515 PyObject * obj2 = 0 ;
30516 char * kwnames[] = {
30517 (char *) "self",(char *) "self",(char *) "_class", NULL
30518 };
30519
30520 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30521 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
30522 if (!SWIG_IsOK(res1)) {
30523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30524 }
30525 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
30526 arg2 = obj1;
30527 arg3 = obj2;
30528 {
30529 PyThreadState* __tstate = wxPyBeginAllowThreads();
30530 (arg1)->_setCallbackInfo(arg2,arg3);
30531 wxPyEndAllowThreads(__tstate);
30532 if (PyErr_Occurred()) SWIG_fail;
30533 }
30534 resultobj = SWIG_Py_Void();
30535 return resultobj;
30536fail:
30537 return NULL;
30538}
30539
30540
30541SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30542 PyObject *obj;
30543 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30544 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
30545 return SWIG_Py_Void();
30546}
30547
30548SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30549 return SWIG_Python_InitShadowInstance(args);
30550}
30551
30552SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30553 PyObject *resultobj = 0;
30554 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30555 wxFrame *arg2 = (wxFrame *) 0 ;
30556 wxString *arg3 = 0 ;
30557 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30558 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30559 wxSize const &arg5_defvalue = wxDefaultSize ;
30560 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30561 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
30562 wxString const &arg7_defvalue = wxPyFrameNameStr ;
30563 wxString *arg7 = (wxString *) &arg7_defvalue ;
30564 wxPyPreviewFrame *result = 0 ;
30565 void *argp1 = 0 ;
30566 int res1 = 0 ;
30567 void *argp2 = 0 ;
30568 int res2 = 0 ;
30569 bool temp3 = false ;
30570 wxPoint temp4 ;
30571 wxSize temp5 ;
30572 long val6 ;
30573 int ecode6 = 0 ;
30574 bool temp7 = false ;
30575 PyObject * obj0 = 0 ;
30576 PyObject * obj1 = 0 ;
30577 PyObject * obj2 = 0 ;
30578 PyObject * obj3 = 0 ;
30579 PyObject * obj4 = 0 ;
30580 PyObject * obj5 = 0 ;
30581 PyObject * obj6 = 0 ;
30582 char * kwnames[] = {
30583 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30584 };
30585
30586 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30587 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30588 if (!SWIG_IsOK(res1)) {
30589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30590 }
30591 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30592 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30593 if (!SWIG_IsOK(res2)) {
30594 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30595 }
30596 arg2 = reinterpret_cast< wxFrame * >(argp2);
30597 {
30598 arg3 = wxString_in_helper(obj2);
30599 if (arg3 == NULL) SWIG_fail;
30600 temp3 = true;
30601 }
30602 if (obj3) {
d55e5bfc 30603 {
554f62e9
RD
30604 arg4 = &temp4;
30605 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 30606 }
554f62e9
RD
30607 }
30608 if (obj4) {
d55e5bfc 30609 {
554f62e9
RD
30610 arg5 = &temp5;
30611 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 30612 }
554f62e9
RD
30613 }
30614 if (obj5) {
30615 ecode6 = SWIG_AsVal_long(obj5, &val6);
30616 if (!SWIG_IsOK(ecode6)) {
30617 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30618 }
30619 arg6 = static_cast< long >(val6);
30620 }
30621 if (obj6) {
d55e5bfc 30622 {
554f62e9
RD
30623 arg7 = wxString_in_helper(obj6);
30624 if (arg7 == NULL) SWIG_fail;
30625 temp7 = true;
d55e5bfc 30626 }
554f62e9
RD
30627 }
30628 {
30629 if (!wxPyCheckForApp()) SWIG_fail;
30630 PyThreadState* __tstate = wxPyBeginAllowThreads();
30631 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30632 wxPyEndAllowThreads(__tstate);
30633 if (PyErr_Occurred()) SWIG_fail;
30634 }
30635 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30636 {
30637 if (temp3)
30638 delete arg3;
30639 }
30640 {
30641 if (temp7)
30642 delete arg7;
30643 }
30644 return resultobj;
30645fail:
30646 {
30647 if (temp3)
30648 delete arg3;
30649 }
30650 {
30651 if (temp7)
30652 delete arg7;
30653 }
30654 return NULL;
30655}
30656
30657
30658SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30659 PyObject *resultobj = 0;
30660 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30661 PyObject *arg2 = (PyObject *) 0 ;
30662 PyObject *arg3 = (PyObject *) 0 ;
30663 void *argp1 = 0 ;
30664 int res1 = 0 ;
30665 PyObject * obj0 = 0 ;
30666 PyObject * obj1 = 0 ;
30667 PyObject * obj2 = 0 ;
30668 char * kwnames[] = {
30669 (char *) "self",(char *) "self",(char *) "_class", NULL
30670 };
30671
30672 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30673 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30674 if (!SWIG_IsOK(res1)) {
30675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30676 }
30677 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30678 arg2 = obj1;
30679 arg3 = obj2;
30680 {
30681 PyThreadState* __tstate = wxPyBeginAllowThreads();
30682 (arg1)->_setCallbackInfo(arg2,arg3);
30683 wxPyEndAllowThreads(__tstate);
30684 if (PyErr_Occurred()) SWIG_fail;
30685 }
30686 resultobj = SWIG_Py_Void();
30687 return resultobj;
30688fail:
30689 return NULL;
30690}
30691
30692
30693SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30694 PyObject *resultobj = 0;
30695 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30696 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30697 void *argp1 = 0 ;
30698 int res1 = 0 ;
30699 void *argp2 = 0 ;
30700 int res2 = 0 ;
30701 PyObject * obj0 = 0 ;
30702 PyObject * obj1 = 0 ;
30703 char * kwnames[] = {
30704 (char *) "self",(char *) "canvas", NULL
30705 };
30706
30707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30709 if (!SWIG_IsOK(res1)) {
30710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30711 }
30712 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30713 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30714 if (!SWIG_IsOK(res2)) {
30715 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30716 }
30717 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30718 {
30719 PyThreadState* __tstate = wxPyBeginAllowThreads();
30720 (arg1)->SetPreviewCanvas(arg2);
30721 wxPyEndAllowThreads(__tstate);
30722 if (PyErr_Occurred()) SWIG_fail;
30723 }
30724 resultobj = SWIG_Py_Void();
30725 return resultobj;
30726fail:
30727 return NULL;
30728}
30729
30730
30731SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30732 PyObject *resultobj = 0;
30733 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30734 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30735 void *argp1 = 0 ;
30736 int res1 = 0 ;
30737 void *argp2 = 0 ;
30738 int res2 = 0 ;
30739 PyObject * obj0 = 0 ;
30740 PyObject * obj1 = 0 ;
30741 char * kwnames[] = {
30742 (char *) "self",(char *) "bar", NULL
30743 };
30744
30745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30746 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30747 if (!SWIG_IsOK(res1)) {
30748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30749 }
30750 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30751 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30752 if (!SWIG_IsOK(res2)) {
30753 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30754 }
30755 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30756 {
30757 PyThreadState* __tstate = wxPyBeginAllowThreads();
30758 (arg1)->SetControlBar(arg2);
30759 wxPyEndAllowThreads(__tstate);
30760 if (PyErr_Occurred()) SWIG_fail;
30761 }
30762 resultobj = SWIG_Py_Void();
30763 return resultobj;
30764fail:
30765 return NULL;
d55e5bfc
RD
30766}
30767
30768
554f62e9
RD
30769SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30770 PyObject *resultobj = 0;
30771 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30772 void *argp1 = 0 ;
30773 int res1 = 0 ;
30774 PyObject *swig_obj[1] ;
30775
30776 if (!args) SWIG_fail;
30777 swig_obj[0] = args;
30778 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30779 if (!SWIG_IsOK(res1)) {
30780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30781 }
30782 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30783 {
30784 PyThreadState* __tstate = wxPyBeginAllowThreads();
30785 (arg1)->Initialize();
30786 wxPyEndAllowThreads(__tstate);
30787 if (PyErr_Occurred()) SWIG_fail;
30788 }
30789 resultobj = SWIG_Py_Void();
30790 return resultobj;
30791fail:
30792 return NULL;
d55e5bfc
RD
30793}
30794
30795
554f62e9
RD
30796SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30797 PyObject *resultobj = 0;
30798 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30799 void *argp1 = 0 ;
30800 int res1 = 0 ;
30801 PyObject *swig_obj[1] ;
30802
30803 if (!args) SWIG_fail;
30804 swig_obj[0] = args;
30805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30806 if (!SWIG_IsOK(res1)) {
30807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30808 }
30809 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30810 {
30811 PyThreadState* __tstate = wxPyBeginAllowThreads();
30812 (arg1)->CreateCanvas();
30813 wxPyEndAllowThreads(__tstate);
30814 if (PyErr_Occurred()) SWIG_fail;
30815 }
30816 resultobj = SWIG_Py_Void();
30817 return resultobj;
30818fail:
30819 return NULL;
caef1a4d
RD
30820}
30821
30822
554f62e9
RD
30823SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30824 PyObject *resultobj = 0;
30825 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30826 void *argp1 = 0 ;
30827 int res1 = 0 ;
30828 PyObject *swig_obj[1] ;
30829
30830 if (!args) SWIG_fail;
30831 swig_obj[0] = args;
30832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30833 if (!SWIG_IsOK(res1)) {
30834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30835 }
30836 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30837 {
30838 PyThreadState* __tstate = wxPyBeginAllowThreads();
30839 (arg1)->CreateControlBar();
30840 wxPyEndAllowThreads(__tstate);
30841 if (PyErr_Occurred()) SWIG_fail;
30842 }
30843 resultobj = SWIG_Py_Void();
30844 return resultobj;
30845fail:
30846 return NULL;
30847}
30848
30849
30850SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30851 PyObject *obj;
30852 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30853 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
30854 return SWIG_Py_Void();
30855}
30856
30857SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30858 return SWIG_Python_InitShadowInstance(args);
30859}
30860
30861SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30862 PyObject *resultobj = 0;
30863 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30864 long arg2 ;
30865 wxWindow *arg3 = (wxWindow *) 0 ;
30866 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30867 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30868 wxSize const &arg5_defvalue = wxDefaultSize ;
30869 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30870 long arg6 = (long) 0 ;
30871 wxString const &arg7_defvalue = wxPyPanelNameStr ;
30872 wxString *arg7 = (wxString *) &arg7_defvalue ;
30873 wxPyPreviewControlBar *result = 0 ;
30874 void *argp1 = 0 ;
30875 int res1 = 0 ;
30876 long val2 ;
30877 int ecode2 = 0 ;
30878 void *argp3 = 0 ;
30879 int res3 = 0 ;
30880 wxPoint temp4 ;
30881 wxSize temp5 ;
30882 long val6 ;
30883 int ecode6 = 0 ;
30884 bool temp7 = false ;
30885 PyObject * obj0 = 0 ;
30886 PyObject * obj1 = 0 ;
30887 PyObject * obj2 = 0 ;
30888 PyObject * obj3 = 0 ;
30889 PyObject * obj4 = 0 ;
30890 PyObject * obj5 = 0 ;
30891 PyObject * obj6 = 0 ;
30892 char * kwnames[] = {
30893 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30894 };
30895
30896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30898 if (!SWIG_IsOK(res1)) {
30899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30900 }
30901 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30902 ecode2 = SWIG_AsVal_long(obj1, &val2);
30903 if (!SWIG_IsOK(ecode2)) {
30904 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30905 }
30906 arg2 = static_cast< long >(val2);
30907 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30908 if (!SWIG_IsOK(res3)) {
30909 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30910 }
30911 arg3 = reinterpret_cast< wxWindow * >(argp3);
30912 if (obj3) {
8d38bd1d 30913 {
554f62e9
RD
30914 arg4 = &temp4;
30915 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 30916 }
554f62e9
RD
30917 }
30918 if (obj4) {
d55e5bfc 30919 {
554f62e9
RD
30920 arg5 = &temp5;
30921 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 30922 }
554f62e9
RD
30923 }
30924 if (obj5) {
30925 ecode6 = SWIG_AsVal_long(obj5, &val6);
30926 if (!SWIG_IsOK(ecode6)) {
30927 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30928 }
30929 arg6 = static_cast< long >(val6);
30930 }
30931 if (obj6) {
d55e5bfc 30932 {
554f62e9
RD
30933 arg7 = wxString_in_helper(obj6);
30934 if (arg7 == NULL) SWIG_fail;
30935 temp7 = true;
d55e5bfc 30936 }
554f62e9
RD
30937 }
30938 {
30939 if (!wxPyCheckForApp()) SWIG_fail;
30940 PyThreadState* __tstate = wxPyBeginAllowThreads();
30941 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30942 wxPyEndAllowThreads(__tstate);
30943 if (PyErr_Occurred()) SWIG_fail;
30944 }
30945 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
30946 {
30947 if (temp7)
30948 delete arg7;
30949 }
30950 return resultobj;
30951fail:
30952 {
30953 if (temp7)
30954 delete arg7;
30955 }
30956 return NULL;
30957}
30958
30959
30960SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30961 PyObject *resultobj = 0;
30962 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30963 PyObject *arg2 = (PyObject *) 0 ;
30964 PyObject *arg3 = (PyObject *) 0 ;
30965 void *argp1 = 0 ;
30966 int res1 = 0 ;
30967 PyObject * obj0 = 0 ;
30968 PyObject * obj1 = 0 ;
30969 PyObject * obj2 = 0 ;
30970 char * kwnames[] = {
30971 (char *) "self",(char *) "self",(char *) "_class", NULL
30972 };
30973
30974 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30975 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30976 if (!SWIG_IsOK(res1)) {
30977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30978 }
30979 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30980 arg2 = obj1;
30981 arg3 = obj2;
30982 {
30983 PyThreadState* __tstate = wxPyBeginAllowThreads();
30984 (arg1)->_setCallbackInfo(arg2,arg3);
30985 wxPyEndAllowThreads(__tstate);
30986 if (PyErr_Occurred()) SWIG_fail;
30987 }
30988 resultobj = SWIG_Py_Void();
30989 return resultobj;
30990fail:
30991 return NULL;
30992}
30993
30994
30995SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30996 PyObject *resultobj = 0;
30997 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30998 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
30999 void *argp1 = 0 ;
31000 int res1 = 0 ;
31001 void *argp2 = 0 ;
31002 int res2 = 0 ;
31003 PyObject * obj0 = 0 ;
31004 PyObject * obj1 = 0 ;
31005 char * kwnames[] = {
31006 (char *) "self",(char *) "preview", NULL
31007 };
31008
31009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
31010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31011 if (!SWIG_IsOK(res1)) {
31012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31013 }
31014 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31015 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31016 if (!SWIG_IsOK(res2)) {
31017 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31018 }
31019 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
31020 {
31021 PyThreadState* __tstate = wxPyBeginAllowThreads();
31022 (arg1)->SetPrintPreview(arg2);
31023 wxPyEndAllowThreads(__tstate);
31024 if (PyErr_Occurred()) SWIG_fail;
31025 }
31026 resultobj = SWIG_Py_Void();
31027 return resultobj;
31028fail:
31029 return NULL;
d55e5bfc
RD
31030}
31031
31032
554f62e9
RD
31033SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31034 PyObject *resultobj = 0;
31035 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31036 void *argp1 = 0 ;
31037 int res1 = 0 ;
31038 PyObject *swig_obj[1] ;
31039
31040 if (!args) SWIG_fail;
31041 swig_obj[0] = args;
31042 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31043 if (!SWIG_IsOK(res1)) {
31044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31045 }
31046 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31047 {
31048 PyThreadState* __tstate = wxPyBeginAllowThreads();
31049 (arg1)->CreateButtons();
31050 wxPyEndAllowThreads(__tstate);
31051 if (PyErr_Occurred()) SWIG_fail;
31052 }
31053 resultobj = SWIG_Py_Void();
31054 return resultobj;
31055fail:
31056 return NULL;
31057}
31058
31059
31060SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31061 PyObject *resultobj = 0;
31062 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31063 int arg2 ;
31064 void *argp1 = 0 ;
31065 int res1 = 0 ;
31066 int val2 ;
31067 int ecode2 = 0 ;
31068 PyObject * obj0 = 0 ;
31069 PyObject * obj1 = 0 ;
31070 char * kwnames[] = {
31071 (char *) "self",(char *) "zoom", NULL
31072 };
31073
31074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
31075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31076 if (!SWIG_IsOK(res1)) {
31077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31078 }
31079 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31080 ecode2 = SWIG_AsVal_int(obj1, &val2);
31081 if (!SWIG_IsOK(ecode2)) {
31082 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31083 }
31084 arg2 = static_cast< int >(val2);
31085 {
31086 PyThreadState* __tstate = wxPyBeginAllowThreads();
31087 (arg1)->SetZoomControl(arg2);
31088 wxPyEndAllowThreads(__tstate);
31089 if (PyErr_Occurred()) SWIG_fail;
31090 }
31091 resultobj = SWIG_Py_Void();
31092 return resultobj;
31093fail:
31094 return NULL;
caef1a4d
RD
31095}
31096
31097
554f62e9
RD
31098SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31099 PyObject *obj;
31100 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31101 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
31102 return SWIG_Py_Void();
60d5fcc1
RD
31103}
31104
554f62e9
RD
31105SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31106 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
31107}
31108
d55e5bfc 31109static PyMethodDef SwigMethods[] = {
093d3ff1 31110 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31111 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
093d3ff1 31112 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31113 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
093d3ff1
RD
31114 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31115 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
554f62e9 31116 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
093d3ff1 31117 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31118 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
093d3ff1
RD
31119 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31120 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31121 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
31122 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31123 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31124 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31125 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
093d3ff1 31126 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31127 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
093d3ff1 31128 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31129 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
31130 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
093d3ff1
RD
31131 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
31132 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
554f62e9 31133 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
093d3ff1
RD
31134 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
31135 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31136 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
093d3ff1 31137 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31138 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
093d3ff1
RD
31139 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
31140 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31141 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
554f62e9 31142 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 31143 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31144 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
093d3ff1 31145 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31146 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
f460c29d 31147 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
554f62e9
RD
31148 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
31149 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
093d3ff1
RD
31150 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31151 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
31152 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31153 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
093d3ff1 31154 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31155 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
093d3ff1
RD
31156 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
31157 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31158 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
093d3ff1 31159 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31160 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
b1fcee84 31161 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
10044bf1
RD
31162 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
31163 { (char *)"TopLevelWindow_SetTransparent", (PyCFunction) _wrap_TopLevelWindow_SetTransparent, METH_VARARGS | METH_KEYWORDS, NULL},
31164 { (char *)"TopLevelWindow_CanSetTransparent", (PyCFunction)_wrap_TopLevelWindow_CanSetTransparent, METH_O, NULL},
1eeb270e
RD
31165 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
31166 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31167 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31168 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
093d3ff1
RD
31169 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
31170 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31171 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
093d3ff1 31172 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31173 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
093d3ff1 31174 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31175 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
093d3ff1
RD
31176 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31177 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31178 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
093d3ff1
RD
31179 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31180 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31181 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31182 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31183 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31184 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31185 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
093d3ff1 31186 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31187 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
093d3ff1
RD
31188 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31189 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31190 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
31191 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31192 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
554f62e9 31193 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
093d3ff1 31194 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31195 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
093d3ff1
RD
31196 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31197 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31198 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
b1fcee84 31199 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31200 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
b1fcee84 31201 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31202 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
093d3ff1
RD
31203 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31204 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
62d32a5f 31205 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31206 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
31207 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
093d3ff1
RD
31208 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
31209 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31210 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
554f62e9 31211 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31212 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31213 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
093d3ff1
RD
31214 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31215 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
554f62e9 31216 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31217 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31218 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31219 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
093d3ff1 31220 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
554f62e9 31221 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 31222 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31223 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
31224 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
31225 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
093d3ff1 31226 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
554f62e9 31227 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
093d3ff1 31228 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31229 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
093d3ff1
RD
31230 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31231 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31232 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
093d3ff1
RD
31233 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31234 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31235 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31236 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31237 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31238 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
31239 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
31240 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31241 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
31242 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
093d3ff1
RD
31243 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31244 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
554f62e9 31245 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
093d3ff1 31246 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31247 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
093d3ff1 31248 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31249 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
31250 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
093d3ff1 31251 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31252 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
093d3ff1
RD
31253 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
31254 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
31255 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
31256 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
31257 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31258 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
31259 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
093d3ff1
RD
31260 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
31261 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31262 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
31263 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
093d3ff1 31264 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31265 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
093d3ff1 31266 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31267 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
093d3ff1 31268 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31269 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
093d3ff1 31270 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31271 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
093d3ff1 31272 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31273 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
093d3ff1
RD
31274 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31275 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
554f62e9 31276 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31277 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31278 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31279 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
31280 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
31281 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
31282 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
093d3ff1 31283 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
554f62e9 31284 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
093d3ff1 31285 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31286 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
093d3ff1
RD
31287 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31288 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31289 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31290 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31291 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31292 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
31293 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31294 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
093d3ff1 31295 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31296 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
093d3ff1
RD
31297 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31298 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31299 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
31300 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
093d3ff1
RD
31301 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31302 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31303 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
31304 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
093d3ff1 31305 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31306 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
093d3ff1 31307 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
554f62e9 31308 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31309 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31310 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31311 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
093d3ff1 31312 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31313 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
093d3ff1 31314 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31315 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
093d3ff1 31316 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
554f62e9 31317 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31318 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31319 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31320 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
093d3ff1 31321 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31322 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
093d3ff1 31323 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31324 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
093d3ff1 31325 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31326 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
093d3ff1 31327 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31328 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
093d3ff1 31329 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
554f62e9 31330 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31331 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31332 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31333 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
093d3ff1 31334 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31335 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
093d3ff1 31336 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
554f62e9 31337 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
093d3ff1 31338 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31339 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
093d3ff1 31340 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31341 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
31342 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
093d3ff1
RD
31343 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31344 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
31345 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31346 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
554f62e9
RD
31347 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
31348 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
31349 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
093d3ff1
RD
31350 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31351 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31352 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31353 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
554f62e9 31354 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
093d3ff1 31355 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31356 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
093d3ff1
RD
31357 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31358 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
31359 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
554f62e9 31360 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 31361 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31362 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
093d3ff1
RD
31363 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31364 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31365 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
093d3ff1 31366 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
554f62e9 31367 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31368 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31369 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31370 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
093d3ff1 31371 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
554f62e9 31372 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 31373 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31374 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
093d3ff1
RD
31375 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31376 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31377 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
31378 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31379 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
31380 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
31381 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
31382 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31383 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
31384 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
31385 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
31386 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
70b7a5fe 31387 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31388 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
31389 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
31390 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
31391 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31392 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
554f62e9 31393 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 31394 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31395 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
093d3ff1
RD
31396 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31397 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31398 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
31399 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
31400 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
093d3ff1
RD
31401 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
31402 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31403 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
31404 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
093d3ff1 31405 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31406 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
31407 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
093d3ff1 31408 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31409 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
093d3ff1
RD
31410 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31411 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
31412 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
31413 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31414 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
31415 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
093d3ff1
RD
31416 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31417 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
31418 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
1c71765a
RD
31419 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
31420 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31421 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
554f62e9 31422 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
093d3ff1 31423 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31424 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
093d3ff1
RD
31425 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31426 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31427 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31428 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
e9d6f3a4 31429 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31430 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
554f62e9
RD
31431 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
31432 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
31433 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
093d3ff1 31434 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31435 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
31436 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
31437 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
093d3ff1 31438 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31439 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
093d3ff1
RD
31440 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31441 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
554f62e9 31442 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31443 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31444 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
554f62e9
RD
31445 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
31446 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
31447 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
31448 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
31449 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
093d3ff1
RD
31450 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31451 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
31452 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31453 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31454 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
554f62e9 31455 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
093d3ff1 31456 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31457 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
093d3ff1 31458 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31459 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
7449af73 31460 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31461 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31462 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
31463 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
093d3ff1
RD
31464 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31465 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31466 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31467 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31468 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31469 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31470 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31471 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
31472 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31473 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31474 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31475 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
31476 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
31477 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
31478 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
31479 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
554f62e9
RD
31480 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
31481 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
31482 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
093d3ff1 31483 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31484 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31485 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31486 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31487 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
093d3ff1 31488 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31489 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31490 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31491 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
31492 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
093d3ff1
RD
31493 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31494 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31495 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31496 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31497 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
093d3ff1
RD
31498 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
31499 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31500 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31501 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31502 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31503 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
27e45892
RD
31504 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31505 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
31506 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
31507 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
554f62e9
RD
31508 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
31509 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
093d3ff1 31510 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31511 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
31512 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
31513 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
31514 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
31515 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
31516 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
093d3ff1
RD
31517 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
31518 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
31519 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31520 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
31521 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
31522 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31523 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
554f62e9 31524 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
093d3ff1 31525 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31526 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
093d3ff1 31527 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31528 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
7449af73 31529 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31530 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31531 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31532 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31533 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31534 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31535 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
093d3ff1 31536 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31537 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31538 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31539 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
31540 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
31541 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
31542 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
093d3ff1
RD
31543 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31544 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31545 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31546 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
554f62e9 31547 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
093d3ff1 31548 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31549 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
31550 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
31551 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
31552 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
093d3ff1
RD
31553 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31554 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31555 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31556 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
554f62e9 31557 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
093d3ff1 31558 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31559 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
093d3ff1 31560 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31561 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
093d3ff1
RD
31562 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
31563 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31564 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31565 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31566 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
093d3ff1 31567 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31568 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
31569 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
31570 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
31571 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
31572 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
31573 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
31574 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction)_wrap_MDIParentFrame_GetToolBar, METH_O, NULL},
31575 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction)_wrap_MDIParentFrame_GetWindowMenu, METH_O, NULL},
093d3ff1 31576 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31577 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
31578 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
554f62e9 31579 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
093d3ff1 31580 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31581 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
093d3ff1 31582 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31583 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
093d3ff1 31584 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
554f62e9 31585 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
093d3ff1 31586 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31587 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
093d3ff1
RD
31588 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31589 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
554f62e9 31590 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 31591 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31592 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
093d3ff1
RD
31593 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31594 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
60d5fcc1 31595 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70
RD
31596 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31597 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31598 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31599 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31600 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
31601 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
31602 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
31603 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
31604 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
31605 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
31606 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
093d3ff1 31607 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
554f62e9 31608 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 31609 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31610 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
093d3ff1
RD
31611 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31612 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
60d5fcc1 31613 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70
RD
31614 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31615 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31616 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31617 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31618 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
31619 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
31620 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
31621 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
31622 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
31623 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
31624 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
093d3ff1 31625 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
554f62e9 31626 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
093d3ff1 31627 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31628 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
093d3ff1
RD
31629 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31630 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
60d5fcc1 31631 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70
RD
31632 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31633 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31634 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31635 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31636 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
31637 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
31638 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
31639 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
31640 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
31641 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
31642 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
093d3ff1 31643 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
554f62e9 31644 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 31645 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
554f62e9
RD
31646 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
31647 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
31648 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
31649 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
31650 { (char *)"PrintData_Ok", (PyCFunction)_wrap_PrintData_Ok, METH_O, NULL},
31651 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31652 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31653 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31654 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31655 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31656 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31657 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31658 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
093d3ff1
RD
31659 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31660 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31661 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31662 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31663 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31664 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31665 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31666 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31667 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31668 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31669 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31670 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
093d3ff1 31671 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31672 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
b9d6a5f3 31673 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31674 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
554f62e9 31675 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
093d3ff1 31676 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
554f62e9 31677 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
093d3ff1
RD
31678 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31679 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31680 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31681 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31682 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31683 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31684 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31685 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31686 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31687 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31688 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31689 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31690 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31691 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31692 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31693 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31694 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31695 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31696 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
31697 { (char *)"PageSetupDialogData_Ok", (PyCFunction)_wrap_PageSetupDialogData_Ok, METH_O, NULL},
093d3ff1
RD
31698 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31699 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31700 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31701 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31702 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31703 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31704 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31705 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31706 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31707 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31708 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
093d3ff1 31709 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
554f62e9 31710 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
093d3ff1 31711 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
f05326ba 31712 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
554f62e9
RD
31713 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31714 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31715 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
093d3ff1 31716 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31717 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31718 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
554f62e9
RD
31719 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31720 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31721 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31722 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31723 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31724 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31725 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31726 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31727 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31728 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
093d3ff1
RD
31729 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31730 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31731 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31732 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31733 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31734 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31735 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31736 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31737 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31738 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31739 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31740 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31741 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31742 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31743 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31744 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31745 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
31746 { (char *)"PrintDialogData_Ok", (PyCFunction)_wrap_PrintDialogData_Ok, METH_O, NULL},
31747 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
093d3ff1
RD
31748 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31749 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
554f62e9 31750 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
093d3ff1 31751 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
f05326ba 31752 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
554f62e9
RD
31753 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31754 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31755 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31756 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
093d3ff1 31757 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31758 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31759 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31760 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
093d3ff1
RD
31761 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31762 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31763 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31764 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31765 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31766 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31767 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31768 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
093d3ff1 31769 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
554f62e9 31770 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
093d3ff1 31771 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31772 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
093d3ff1 31773 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31774 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31775 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
093d3ff1
RD
31776 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
31777 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31778 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
093d3ff1 31779 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31780 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
093d3ff1 31781 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31782 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
093d3ff1 31783 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31784 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
31785 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
093d3ff1 31786 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70 31787 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31788 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31789 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31790 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31791 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
b06b3e70 31792 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31793 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
093d3ff1 31794 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
554f62e9 31795 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31796 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31797 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
554f62e9 31798 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
093d3ff1 31799 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31800 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31801 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31802 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
31803 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
093d3ff1 31804 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
554f62e9 31805 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
093d3ff1 31806 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31807 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
093d3ff1 31808 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31809 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31810 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31811 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31812 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31813 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31814 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
093d3ff1 31815 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
554f62e9 31816 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
093d3ff1 31817 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
554f62e9 31818 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
093d3ff1 31819 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31820 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
093d3ff1 31821 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31822 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31823 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
093d3ff1
RD
31824 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31825 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31826 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31827 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
093d3ff1
RD
31828 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31829 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31830 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31831 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31832 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
093d3ff1 31833 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31834 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31835 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31836 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
31837 { (char *)"PrintPreview_Ok", (PyCFunction)_wrap_PrintPreview_Ok, METH_O, NULL},
093d3ff1
RD
31838 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31839 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31840 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
093d3ff1 31841 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
554f62e9 31842 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31843 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31844 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31845 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
554f62e9 31846 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31847 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31848 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31849 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31850 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31851 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
31852 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
31853 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
093d3ff1 31854 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
554f62e9 31855 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31856 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31857 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31858 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31859 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
b06b3e70 31860 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31861 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
554f62e9 31862 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
c32bde28 31863 { NULL, NULL, 0, NULL }
d55e5bfc
RD
31864};
31865
31866
31867/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31868
31869static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
31870 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31871}
31872static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31873 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31874}
31875static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31876 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31877}
31878static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31879 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31880}
31881static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31882 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31883}
31884static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31885 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31886}
31887static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31888 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31889}
31890static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
31891 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31892}
31893static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31894 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31895}
31896static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31897 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31898}
31899static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
31900 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
31901}
d55e5bfc
RD
31902static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31903 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31904}
0f83f5da
RD
31905static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
31906 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
31907}
2131d850
RD
31908static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31909 return (void *)((wxEvent *) ((wxPyEvent *) x));
31910}
d55e5bfc
RD
31911static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
31912 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
31913}
31914static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31915 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31916}
31917static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31918 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31919}
31920static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31921 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31922}
31923static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31924 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31925}
31926static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31927 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31928}
31929static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31930 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31931}
31932static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31933 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31934}
31935static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31936 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31937}
53aa7709
RD
31938static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31939 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31940}
d55e5bfc
RD
31941static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31942 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31943}
31944static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31945 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31946}
0f83f5da
RD
31947static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
31948 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
31949}
d55e5bfc
RD
31950static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31951 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31952}
31953static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31954 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31955}
31956static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31957 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31958}
31959static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31960 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31961}
31962static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31963 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31964}
31965static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31966 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31967}
31968static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31969 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31970}
31971static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31972 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31973}
31974static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31975 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31976}
31977static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31978 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31979}
31980static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31981 return (void *)((wxEvent *) ((wxShowEvent *) x));
31982}
31983static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31984 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31985}
31986static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31987 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31988}
31989static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31990 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31991}
31992static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31993 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31994}
31995static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31996 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31997}
31998static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31999 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32000}
32001static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
32002 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
32003}
32004static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
32005 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
32006}
c1cb24a4
RD
32007static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
32008 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32009}
d55e5bfc
RD
32010static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
32011 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32012}
32013static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
32014 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32015}
32016static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
32017 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32018}
32019static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32020 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32021}
32022static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32023 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32024}
32025static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32026 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32027}
32028static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32029 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32030}
c1cb24a4
RD
32031static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
32032 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32033}
d55e5bfc
RD
32034static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
32035 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32036}
32037static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
32038 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32039}
32040static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
32041 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32042}
32043static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
32044 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32045}
27e45892
RD
32046static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
32047 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32048}
d55e5bfc
RD
32049static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
32050 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32051}
32052static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
32053 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32054}
32055static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
32056 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32057}
32058static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
32059 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
32060}
32061static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
32062 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
32063}
32064static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
32065 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32066}
32067static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
32068 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32069}
32070static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
32071 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32072}
32073static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
32074 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
32075}
32076static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
32077 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32078}
32079static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
32080 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
32081}
32082static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
32083 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
32084}
32085static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
32086 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
32087}
32088static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32089 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32090}
32091static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
32092 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32093}
32094static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
32095 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
32096}
32097static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
32098 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
32099}
32100static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
32101 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32102}
32103static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32104 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32105}
32106static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
32107 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32108}
32109static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
32110 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32111}
32112static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
32113 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32114}
32115static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32116 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32117}
32118static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32119 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32120}
32121static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
32122 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
32123}
32124static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
32125 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32126}
32127static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
32128 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32129}
32130static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
32131 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32132}
32133static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
32134 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32135}
32136static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
32137 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32138}
5e483524
RD
32139static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
32140 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
32141}
32142static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
32143 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32144}
d55e5bfc
RD
32145static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
32146 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32147}
32148static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
32149 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32150}
32151static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
32152 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32153}
c1cb24a4
RD
32154static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
32155 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32156}
d55e5bfc
RD
32157static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
32158 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32159}
32160static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
32161 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
32162}
32163static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
32164 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
32165}
32166static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
32167 return (void *)((wxFrame *) ((wxProgressDialog *) x));
32168}
32169static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
32170 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
32171}
32172static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
32173 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32174}
32175static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
32176 return (void *)((wxFrame *) ((wxMiniFrame *) x));
32177}
32178static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
32179 return (void *)((wxFrame *) ((wxSplashScreen *) x));
32180}
32181static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
32182 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
32183}
32184static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32185 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32186}
32187static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
32188 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32189}
32190static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
32191 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32192}
32193static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
32194 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32195}
d55e5bfc
RD
32196static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32197 return (void *)((wxObject *) ((wxSizerItem *) x));
32198}
0f83f5da
RD
32199static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32200 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32201}
d55e5bfc
RD
32202static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32203 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32204}
32205static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32206 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32207}
32208static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32209 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32210}
32211static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32212 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32213}
32214static void *_p_wxSizerTo_p_wxObject(void *x) {
32215 return (void *)((wxObject *) ((wxSizer *) x));
32216}
32217static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32218 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32219}
32220static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32221 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32222}
32223static void *_p_wxPyPanelTo_p_wxObject(void *x) {
32224 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32225}
32226static void *_p_wxEventTo_p_wxObject(void *x) {
32227 return (void *)((wxObject *) ((wxEvent *) x));
32228}
32229static void *_p_wxFontDataTo_p_wxObject(void *x) {
32230 return (void *)((wxObject *) ((wxFontData *) x));
32231}
32232static void *_p_wxPrintDataTo_p_wxObject(void *x) {
32233 return (void *)((wxObject *) ((wxPrintData *) x));
32234}
32235static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32236 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32237}
32238static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32239 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32240}
32241static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32242 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32243}
32244static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
32245 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
32246}
5e483524
RD
32247static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
32248 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
32249}
32250static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
32251 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
32252}
2131d850
RD
32253static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
32254 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
32255}
d55e5bfc
RD
32256static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32257 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32258}
32259static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32260 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32261}
32262static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32263 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32264}
32265static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32266 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32267}
32268static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32269 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32270}
32271static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32272 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32273}
32274static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
32275 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32276}
32277static void *_p_wxControlTo_p_wxObject(void *x) {
32278 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32279}
32280static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32281 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32282}
32283static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
32284 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32285}
32286static void *_p_wxFSFileTo_p_wxObject(void *x) {
32287 return (void *)((wxObject *) ((wxFSFile *) x));
32288}
32289static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
32290 return (void *)((wxObject *) ((wxFindReplaceData *) x));
32291}
32292static void *_p_wxPySizerTo_p_wxObject(void *x) {
32293 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32294}
32295static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
32296 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32297}
32298static void *_p_wxColourDataTo_p_wxObject(void *x) {
32299 return (void *)((wxObject *) ((wxColourData *) x));
32300}
32301static void *_p_wxPyEventTo_p_wxObject(void *x) {
32302 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32303}
32304static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32305 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32306}
32307static void *_p_wxPyWindowTo_p_wxObject(void *x) {
32308 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
32309}
32310static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
32311 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32312}
32313static void *_p_wxFileDialogTo_p_wxObject(void *x) {
32314 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32315}
32316static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
32317 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32318}
32319static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
32320 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32321}
32322static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
32323 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32324}
c1cb24a4
RD
32325static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
32326 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32327}
27e45892
RD
32328static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
32329 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32330}
d55e5bfc
RD
32331static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
32332 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32333}
32334static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
32335 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32336}
32337static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
32338 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32339}
32340static void *_p_wxShowEventTo_p_wxObject(void *x) {
32341 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32342}
32343static void *_p_wxPrinterTo_p_wxObject(void *x) {
32344 return (void *)((wxObject *) ((wxPrinter *) x));
32345}
32346static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32347 return (void *)((wxObject *) ((wxMenuItem *) x));
32348}
53aa7709
RD
32349static void *_p_wxDateEventTo_p_wxObject(void *x) {
32350 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
32351}
d55e5bfc
RD
32352static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32353 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32354}
32355static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32356 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32357}
32358static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32359 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32360}
32361static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32362 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32363}
32364static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32365 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32366}
32367static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32368 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32369}
32370static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32371 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32372}
32373static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32374 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32375}
d55e5bfc
RD
32376static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32377 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32378}
32379static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32380 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32381}
32382static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32383 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32384}
32385static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32386 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32387}
32388static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32389 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32390}
32391static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32392 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32393}
32394static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32395 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32396}
32397static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32398 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32399}
32400static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32401 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32402}
9d7dfdff
RD
32403static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
32404 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
32405}
d55e5bfc
RD
32406static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32407 return (void *)((wxObject *) ((wxImageHandler *) x));
32408}
9d7dfdff
RD
32409static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32410 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32411}
d55e5bfc
RD
32412static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32413 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32414}
32415static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32416 return (void *)((wxObject *) ((wxEvtHandler *) x));
32417}
0f83f5da
RD
32418static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
32419 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
32420}
d55e5bfc
RD
32421static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
32422 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
32423}
32424static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
32425 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32426}
32427static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
32428 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32429}
62d32a5f
RD
32430static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
32431 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
32432}
d55e5bfc
RD
32433static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32434 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32435}
32436static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
32437 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32438}
32439static void *_p_wxImageTo_p_wxObject(void *x) {
32440 return (void *)((wxObject *) ((wxImage *) x));
32441}
32442static void *_p_wxFrameTo_p_wxObject(void *x) {
32443 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32444}
32445static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
32446 return (void *)((wxObject *) ((wxPyPrintout *) x));
32447}
32448static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32449 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32450}
32451static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
32452 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
32453}
32454static void *_p_wxStatusBarTo_p_wxObject(void *x) {
32455 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
32456}
32457static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
32458 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32459}
32460static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32461 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32462}
32463static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32464 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32465}
32466static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32467 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32468}
32469static void *_p_wxWindowTo_p_wxObject(void *x) {
32470 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32471}
32472static void *_p_wxMenuTo_p_wxObject(void *x) {
32473 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32474}
32475static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32476 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32477}
32478static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
32479 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32480}
32481static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
32482 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
32483}
32484static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
32485 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
32486}
32487static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
32488 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
32489}
32490static void *_p_wxSashWindowTo_p_wxObject(void *x) {
32491 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
32492}
32493static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
32494 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32495}
32496static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
32497 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
32498}
32499static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
32500 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32501}
32502static void *_p_wxTipWindowTo_p_wxObject(void *x) {
32503 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32504}
32505static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
32506 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32507}
32508static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
32509 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
32510}
32511static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
32512 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32513}
32514static void *_p_wxSashEventTo_p_wxObject(void *x) {
32515 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
32516}
32517static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
32518 return (void *)((wxObject *) ((wxPrintPreview *) x));
32519}
32520static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
32521 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
32522}
32523static void *_p_wxPanelTo_p_wxObject(void *x) {
32524 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
32525}
32526static void *_p_wxDialogTo_p_wxObject(void *x) {
32527 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32528}
32529static void *_p_wxColourDialogTo_p_wxObject(void *x) {
32530 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32531}
32532static void *_p_wxDirDialogTo_p_wxObject(void *x) {
32533 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32534}
32535static void *_p_wxFontDialogTo_p_wxObject(void *x) {
32536 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32537}
32538static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
8ac8dba0 32539 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d55e5bfc
RD
32540}
32541static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
c1cb24a4 32542 return (void *)((wxObject *) ((wxPrintDialog *) x));
d55e5bfc
RD
32543}
32544static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32545 return (void *)((wxObject *) ((wxFileSystem *) x));
32546}
32547static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32548 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32549}
32550static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32551 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32552}
32553static void *_p_wxPyAppTo_p_wxObject(void *x) {
32554 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32555}
32556static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32557 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32558}
32559static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32560 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32561}
32562static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32563 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32564}
32565static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32566 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32567}
32568static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32569 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32570}
32571static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
32572 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32573}
32574static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
32575 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32576}
32577static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32578 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32579}
32580static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32581 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32582}
32583static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32584 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32585}
32586static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32587 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32588}
32589static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
32590 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
32591}
32592static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
32593 return (void *)((wxObject *) ((wxPrintDialogData *) x));
32594}
32595static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32596 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32597}
32598static void *_p_wxValidatorTo_p_wxObject(void *x) {
32599 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32600}
32601static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
32602 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32603}
32604static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
32605 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
32606}
32607static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
32608 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32609}
32610static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
32611 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32612}
32613static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
32614 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32615}
32616static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
32617 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
32618}
32619static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
32620 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
32621}
32622static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
32623 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
32624}
32625static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
32626 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
32627}
32628static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
32629 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
32630}
32631static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
32632 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
32633}
32634static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
32635 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
32636}
d55e5bfc
RD
32637static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
32638 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
32639}
32640static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
32641 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
32642}
32643static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
32644 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
32645}
d55e5bfc
RD
32646static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
32647 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
32648}
27e45892
RD
32649static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
32650 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
32651}
c1cb24a4
RD
32652static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
32653 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32654}
d55e5bfc
RD
32655static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
32656 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
32657}
32658static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32659 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
32660}
32661static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32662 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
32663}
32664static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
32665 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
32666}
27e45892
RD
32667static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
32668 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
32669}
c1cb24a4
RD
32670static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
32671 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
32672}
d55e5bfc
RD
32673static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32674 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
32675}
32676static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32677 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32678}
32679static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32680 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32681}
32682static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32683 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32684}
32685static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32686 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32687}
32688static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32689 return (void *)((wxWindow *) ((wxMenuBar *) x));
32690}
32691static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32692 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32693}
32694static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32695 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32696}
32697static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32698 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32699}
27e45892
RD
32700static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
32701 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32702}
c1cb24a4
RD
32703static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32704 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32705}
d55e5bfc
RD
32706static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
32707 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32708}
32709static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
32710 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32711}
32712static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
32713 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32714}
32715static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
32716 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32717}
32718static void *_p_wxPanelTo_p_wxWindow(void *x) {
32719 return (void *)((wxWindow *) ((wxPanel *) x));
32720}
32721static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
32722 return (void *)((wxWindow *) ((wxStatusBar *) x));
32723}
d55e5bfc
RD
32724static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
32725 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
32726}
32727static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
32728 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32729}
32730static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32731 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32732}
32733static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32734 return (void *)((wxWindow *) ((wxPopupWindow *) x));
32735}
32736static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32737 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32738}
32739static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32740 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32741}
32742static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32743 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32744}
32745static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32746 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32747}
32748static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32749 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32750}
32751static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32752 return (void *)((wxWindow *) ((wxSashWindow *) x));
32753}
c1cb24a4
RD
32754static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32755 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32756}
d55e5bfc
RD
32757static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32758 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32759}
32760static void *_p_wxControlTo_p_wxWindow(void *x) {
32761 return (void *)((wxWindow *) ((wxControl *) x));
32762}
32763static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32764 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32765}
32766static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32767 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32768}
32769static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32770 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32771}
32772static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32773 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32774}
32775static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32776 return (void *)((wxWindow *) ((wxPyWindow *) x));
32777}
32778static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32779 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32780}
32781static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32782 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32783}
32784static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32785 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32786}
32787static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32788 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32789}
32790static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32791 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32792}
32793static void *_p_wxFrameTo_p_wxWindow(void *x) {
32794 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32795}
32796static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32797 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32798}
32799static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32800 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32801}
32802static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32803 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32804}
32805static void *_p_wxDialogTo_p_wxWindow(void *x) {
32806 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32807}
d55e5bfc
RD
32808static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32809 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32810}
32811static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
32812 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32813}
32814static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
32815 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
32816}
32817static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
32818 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
32819}
32820static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
32821 return (void *)((wxDialog *) ((wxColourDialog *) x));
32822}
32823static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
32824 return (void *)((wxDialog *) ((wxDirDialog *) x));
32825}
32826static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
32827 return (void *)((wxDialog *) ((wxFontDialog *) x));
32828}
d55e5bfc
RD
32829static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
32830 return (void *)((wxDialog *) ((wxFileDialog *) x));
32831}
32832static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32833 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32834}
32835static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32836 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32837}
32838static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32839 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32840}
c1cb24a4
RD
32841static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32842 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32843}
27e45892
RD
32844static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
32845 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
32846}
d55e5bfc
RD
32847static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
32848 return (void *)((wxDialog *) ((wxMessageDialog *) x));
32849}
32850static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
32851 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
32852}
32853static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
32854 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
32855}
32856static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
32857 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
32858}
32859static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
32860 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32861}
32862static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
32863 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32864}
32865static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
32866 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32867}
32868static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
32869 return (void *)((wxPanel *) ((wxPyPanel *) x));
32870}
32871static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
32872 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
32873}
32874static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
32875 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
32876}
32877static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
32878 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32879}
32880static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32881 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32882}
32883static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32884 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32885}
32886static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32887 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32888}
53aa7709
RD
32889static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
32890 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
32891}
d55e5bfc
RD
32892static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32893 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32894}
2131d850
RD
32895static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
32896 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
32897}
d55e5bfc
RD
32898static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
32899 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
32900}
32901static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32902 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32903}
32904static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32905 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32906}
32907static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
32908 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
32909}
32910static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32911 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32912}
32913static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32914 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32915}
32916static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
32917 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
32918}
32919static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
32920 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32921}
f460c29d 32922static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
554f62e9
RD
32923static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
32924static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
32925static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
32926static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32927static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32928static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32929static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32930static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32931static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32932static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32933static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32934static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32935static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
2131d850
RD
32936static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32937static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
554f62e9 32938static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
2131d850
RD
32939static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32940static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32941static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
554f62e9
RD
32942static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32943static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32944static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
554f62e9
RD
32945static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32946static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32947static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32948static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32949static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32950static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32951static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32952static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32953static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32954static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32955static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32956static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
0f83f5da 32957static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
554f62e9
RD
32958static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32959static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32960static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32961static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32962static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32963static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32964static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32965static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32966static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32967static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32968static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32969static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32970static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32971static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32972static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32973static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32974static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32975static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32976static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32977static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
32978static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32979static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
32980static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32981static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32982static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32983static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32984static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32985static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32986static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32987static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32988static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32989static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32990static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
e9d6f3a4 32991static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
554f62e9
RD
32992static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32993static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32994static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32995static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32996static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32997static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32998static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32999static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33000static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33001static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33002static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33003static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
27e45892 33004static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
554f62e9
RD
33005static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33006static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
554f62e9 33007static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
0f83f5da 33008static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
554f62e9
RD
33009static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33010static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33011static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33012static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
33013static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33014static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33015static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33016static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
33017static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
33018static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
554f62e9
RD
33019static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33020static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33021static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33022static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33023static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33024static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33025static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33026static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33027static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
27e45892 33028static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
2131d850 33029static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
554f62e9
RD
33030static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33031static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33032static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33033static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
33034static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33035static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33036static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33037static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33038static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33039static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33040static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33041static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33042static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33043static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33044static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33045static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33046static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33047static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33048static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33049static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33050static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33051static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33052static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33053static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33054static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33055static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33056static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33057static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33058static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33059static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33060static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33061static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33062static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33063static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33064static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33065static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33066static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33067static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33068static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33069static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33070static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33071static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33072static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33073static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33074static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33075static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33076static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33077static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33078static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33079static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33080static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33081static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33082static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33083static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33084static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33085static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33086static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
7449af73
RD
33087
33088static swig_type_info *swig_type_initial[] = {
f460c29d 33089 &_swigt__p_bool,
7449af73
RD
33090 &_swigt__p_char,
33091 &_swigt__p_form_ops_t,
33092 &_swigt__p_int,
33093 &_swigt__p_unsigned_char,
33094 &_swigt__p_unsigned_int,
33095 &_swigt__p_unsigned_long,
33096 &_swigt__p_wxANIHandler,
33097 &_swigt__p_wxAcceleratorTable,
33098 &_swigt__p_wxActivateEvent,
33099 &_swigt__p_wxArrayInt,
33100 &_swigt__p_wxBMPHandler,
33101 &_swigt__p_wxBitmap,
33102 &_swigt__p_wxBoxSizer,
33103 &_swigt__p_wxCURHandler,
33104 &_swigt__p_wxCalculateLayoutEvent,
33105 &_swigt__p_wxChildFocusEvent,
2131d850 33106 &_swigt__p_wxClipboardTextEvent,
7449af73
RD
33107 &_swigt__p_wxCloseEvent,
33108 &_swigt__p_wxColour,
33109 &_swigt__p_wxColourData,
33110 &_swigt__p_wxColourDialog,
33111 &_swigt__p_wxCommandEvent,
33112 &_swigt__p_wxContextMenuEvent,
33113 &_swigt__p_wxControl,
33114 &_swigt__p_wxControlWithItems,
33115 &_swigt__p_wxDC,
33116 &_swigt__p_wxDateEvent,
33117 &_swigt__p_wxDialog,
33118 &_swigt__p_wxDirDialog,
33119 &_swigt__p_wxDisplayChangedEvent,
33120 &_swigt__p_wxDropFilesEvent,
33121 &_swigt__p_wxDuplexMode,
33122 &_swigt__p_wxEraseEvent,
33123 &_swigt__p_wxEvent,
33124 &_swigt__p_wxEvtHandler,
33125 &_swigt__p_wxFSFile,
33126 &_swigt__p_wxFileDialog,
33127 &_swigt__p_wxFileSystem,
33128 &_swigt__p_wxFindDialogEvent,
33129 &_swigt__p_wxFindReplaceData,
33130 &_swigt__p_wxFindReplaceDialog,
33131 &_swigt__p_wxFlexGridSizer,
33132 &_swigt__p_wxFocusEvent,
33133 &_swigt__p_wxFont,
33134 &_swigt__p_wxFontData,
33135 &_swigt__p_wxFontDialog,
33136 &_swigt__p_wxFrame,
33137 &_swigt__p_wxGBSizerItem,
33138 &_swigt__p_wxGIFHandler,
33139 &_swigt__p_wxGridBagSizer,
33140 &_swigt__p_wxGridSizer,
e9d6f3a4 33141 &_swigt__p_wxHtmlLinkInfo,
7449af73
RD
33142 &_swigt__p_wxICOHandler,
33143 &_swigt__p_wxIcon,
33144 &_swigt__p_wxIconBundle,
33145 &_swigt__p_wxIconizeEvent,
33146 &_swigt__p_wxIdleEvent,
33147 &_swigt__p_wxImage,
33148 &_swigt__p_wxImageHandler,
33149 &_swigt__p_wxIndividualLayoutConstraint,
33150 &_swigt__p_wxInitDialogEvent,
33151 &_swigt__p_wxJPEGHandler,
33152 &_swigt__p_wxKeyEvent,
33153 &_swigt__p_wxLayoutAlgorithm,
33154 &_swigt__p_wxLayoutConstraints,
33155 &_swigt__p_wxMDIChildFrame,
33156 &_swigt__p_wxMDIClientWindow,
33157 &_swigt__p_wxMDIParentFrame,
33158 &_swigt__p_wxMaximizeEvent,
33159 &_swigt__p_wxMenu,
33160 &_swigt__p_wxMenuBar,
33161 &_swigt__p_wxMenuEvent,
33162 &_swigt__p_wxMenuItem,
33163 &_swigt__p_wxMessageDialog,
33164 &_swigt__p_wxMiniFrame,
33165 &_swigt__p_wxMouseCaptureChangedEvent,
0f83f5da 33166 &_swigt__p_wxMouseCaptureLostEvent,
7449af73
RD
33167 &_swigt__p_wxMouseEvent,
33168 &_swigt__p_wxMoveEvent,
33169 &_swigt__p_wxMultiChoiceDialog,
33170 &_swigt__p_wxNavigationKeyEvent,
33171 &_swigt__p_wxNcPaintEvent,
33172 &_swigt__p_wxNotifyEvent,
27e45892 33173 &_swigt__p_wxNumberEntryDialog,
7449af73
RD
33174 &_swigt__p_wxObject,
33175 &_swigt__p_wxPCXHandler,
33176 &_swigt__p_wxPNGHandler,
33177 &_swigt__p_wxPNMHandler,
33178 &_swigt__p_wxPageSetupDialog,
33179 &_swigt__p_wxPageSetupDialogData,
33180 &_swigt__p_wxPaintEvent,
33181 &_swigt__p_wxPaletteChangedEvent,
33182 &_swigt__p_wxPanel,
33183 &_swigt__p_wxPaperSize,
33184 &_swigt__p_wxPasswordEntryDialog,
33185 &_swigt__p_wxPoint,
33186 &_swigt__p_wxPopupWindow,
33187 &_swigt__p_wxPreviewCanvas,
33188 &_swigt__p_wxPreviewControlBar,
33189 &_swigt__p_wxPreviewFrame,
33190 &_swigt__p_wxPrintData,
33191 &_swigt__p_wxPrintDialog,
33192 &_swigt__p_wxPrintDialogData,
33193 &_swigt__p_wxPrintPreview,
33194 &_swigt__p_wxPrinter,
33195 &_swigt__p_wxProgressDialog,
33196 &_swigt__p_wxPyApp,
33197 &_swigt__p_wxPyCommandEvent,
33198 &_swigt__p_wxPyEvent,
33199 &_swigt__p_wxPyHtmlListBox,
33200 &_swigt__p_wxPyImageHandler,
33201 &_swigt__p_wxPyPanel,
33202 &_swigt__p_wxPyPopupTransientWindow,
33203 &_swigt__p_wxPyPreviewControlBar,
33204 &_swigt__p_wxPyPreviewFrame,
33205 &_swigt__p_wxPyPrintPreview,
33206 &_swigt__p_wxPyPrintout,
33207 &_swigt__p_wxPyScrolledWindow,
33208 &_swigt__p_wxPySizer,
33209 &_swigt__p_wxPyTaskBarIcon,
33210 &_swigt__p_wxPyVListBox,
33211 &_swigt__p_wxPyVScrolledWindow,
33212 &_swigt__p_wxPyValidator,
33213 &_swigt__p_wxPyWindow,
33214 &_swigt__p_wxQueryLayoutInfoEvent,
33215 &_swigt__p_wxQueryNewPaletteEvent,
33216 &_swigt__p_wxRect,
33217 &_swigt__p_wxRegion,
33218 &_swigt__p_wxSashEvent,
33219 &_swigt__p_wxSashLayoutWindow,
33220 &_swigt__p_wxSashWindow,
33221 &_swigt__p_wxScrollEvent,
33222 &_swigt__p_wxScrollWinEvent,
33223 &_swigt__p_wxScrolledWindow,
33224 &_swigt__p_wxSetCursorEvent,
33225 &_swigt__p_wxShowEvent,
33226 &_swigt__p_wxSingleChoiceDialog,
33227 &_swigt__p_wxSize,
33228 &_swigt__p_wxSizeEvent,
33229 &_swigt__p_wxSizer,
33230 &_swigt__p_wxSizerItem,
33231 &_swigt__p_wxSplashScreen,
33232 &_swigt__p_wxSplashScreenWindow,
33233 &_swigt__p_wxSplitterEvent,
33234 &_swigt__p_wxSplitterWindow,
33235 &_swigt__p_wxStaticBoxSizer,
33236 &_swigt__p_wxStatusBar,
33237 &_swigt__p_wxStdDialogButtonSizer,
33238 &_swigt__p_wxString,
33239 &_swigt__p_wxSysColourChangedEvent,
33240 &_swigt__p_wxTIFFHandler,
33241 &_swigt__p_wxTaskBarIcon,
33242 &_swigt__p_wxTaskBarIconEvent,
33243 &_swigt__p_wxTextEntryDialog,
33244 &_swigt__p_wxTipWindow,
33245 &_swigt__p_wxToolBar,
33246 &_swigt__p_wxTopLevelWindow,
33247 &_swigt__p_wxUpdateUIEvent,
33248 &_swigt__p_wxValidator,
33249 &_swigt__p_wxVisualAttributes,
33250 &_swigt__p_wxWindow,
33251 &_swigt__p_wxWindowCreateEvent,
33252 &_swigt__p_wxWindowDestroyEvent,
33253 &_swigt__p_wxXPMHandler,
7449af73
RD
33254};
33255
f460c29d 33256static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
33257static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
33258static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
33259static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
33260static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
33261static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
33262static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
33263static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
33264static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
33265static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
33266static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
33267static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
33268static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
2131d850
RD
33269static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
33270static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
7449af73 33271static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850
RD
33272static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
33273static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33274static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
33275static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
33276static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
33277static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 33278static 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 33279static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
27e45892 33280static 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
33281static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
33282static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
33283static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33284static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
33285static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
33286static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
33287static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
33288static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33289static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
0f83f5da 33290static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
33291static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
33292static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
33293static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33294static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33295static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
33296static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33297static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
33298static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33299static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33300static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33301static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33302static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33303static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33304static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
33305static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33306static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
33307static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33308static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
0f83f5da 33309static 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
33310static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
33311static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
33312static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
33313static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
33314static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
27e45892 33315static 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
33316static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
33317static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
33318static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33319static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
33320static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
33321static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
33322static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
33323static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
33324static 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 33325static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
33326static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
33327static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
33328static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
33329static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
33330static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
33331static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
33332static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
33333static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
33334static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
33335static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
33336static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33337static 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 33338static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
7449af73 33339static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
7449af73 33340static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
0f83f5da 33341static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
33342static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
33343static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33344static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33345static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
33346static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
33347static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33348static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33349static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
33350static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
33351static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
33352static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
33353static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
33354static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
33355static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
33356static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
33357static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
33358static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
33359static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
33360static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
27e45892 33361static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
2131d850 33362static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
33363static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
33364static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
33365static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
33366static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
0f83f5da 33367static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_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
33368static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
33369static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
33370static 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}};
33371static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
33372static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33373static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
33374static 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}};
33375static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
33376static 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}};
33377static 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}};
33378static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
33379static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
33380static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
33381static 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}};
33382static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
33383static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
33384static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
33385static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
33386static 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}};
33387static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
33388static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
33389static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
33390static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
33391static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
33392static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33393static 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}};
33394static 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}};
33395static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
33396static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
33397static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
33398static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
33399static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
33400static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
33401static 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}};
33402static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
33403static 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}};
33404static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33405static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
33406static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
33407static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
33408static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
33409static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
33410static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
33411static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
33412static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
33413static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33414static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
33415static 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}};
33416static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
33417static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
27e45892 33418static 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 33419static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
27e45892 33420static 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
33421
33422static swig_cast_info *swig_cast_initial[] = {
f460c29d 33423 _swigc__p_bool,
7449af73
RD
33424 _swigc__p_char,
33425 _swigc__p_form_ops_t,
33426 _swigc__p_int,
33427 _swigc__p_unsigned_char,
33428 _swigc__p_unsigned_int,
33429 _swigc__p_unsigned_long,
33430 _swigc__p_wxANIHandler,
33431 _swigc__p_wxAcceleratorTable,
33432 _swigc__p_wxActivateEvent,
33433 _swigc__p_wxArrayInt,
33434 _swigc__p_wxBMPHandler,
33435 _swigc__p_wxBitmap,
33436 _swigc__p_wxBoxSizer,
33437 _swigc__p_wxCURHandler,
33438 _swigc__p_wxCalculateLayoutEvent,
33439 _swigc__p_wxChildFocusEvent,
2131d850 33440 _swigc__p_wxClipboardTextEvent,
7449af73
RD
33441 _swigc__p_wxCloseEvent,
33442 _swigc__p_wxColour,
33443 _swigc__p_wxColourData,
33444 _swigc__p_wxColourDialog,
33445 _swigc__p_wxCommandEvent,
33446 _swigc__p_wxContextMenuEvent,
33447 _swigc__p_wxControl,
33448 _swigc__p_wxControlWithItems,
33449 _swigc__p_wxDC,
33450 _swigc__p_wxDateEvent,
33451 _swigc__p_wxDialog,
33452 _swigc__p_wxDirDialog,
33453 _swigc__p_wxDisplayChangedEvent,
33454 _swigc__p_wxDropFilesEvent,
33455 _swigc__p_wxDuplexMode,
33456 _swigc__p_wxEraseEvent,
33457 _swigc__p_wxEvent,
33458 _swigc__p_wxEvtHandler,
33459 _swigc__p_wxFSFile,
33460 _swigc__p_wxFileDialog,
33461 _swigc__p_wxFileSystem,
33462 _swigc__p_wxFindDialogEvent,
33463 _swigc__p_wxFindReplaceData,
33464 _swigc__p_wxFindReplaceDialog,
33465 _swigc__p_wxFlexGridSizer,
33466 _swigc__p_wxFocusEvent,
33467 _swigc__p_wxFont,
33468 _swigc__p_wxFontData,
33469 _swigc__p_wxFontDialog,
33470 _swigc__p_wxFrame,
33471 _swigc__p_wxGBSizerItem,
33472 _swigc__p_wxGIFHandler,
33473 _swigc__p_wxGridBagSizer,
33474 _swigc__p_wxGridSizer,
e9d6f3a4 33475 _swigc__p_wxHtmlLinkInfo,
7449af73
RD
33476 _swigc__p_wxICOHandler,
33477 _swigc__p_wxIcon,
33478 _swigc__p_wxIconBundle,
33479 _swigc__p_wxIconizeEvent,
33480 _swigc__p_wxIdleEvent,
33481 _swigc__p_wxImage,
33482 _swigc__p_wxImageHandler,
33483 _swigc__p_wxIndividualLayoutConstraint,
33484 _swigc__p_wxInitDialogEvent,
33485 _swigc__p_wxJPEGHandler,
33486 _swigc__p_wxKeyEvent,
33487 _swigc__p_wxLayoutAlgorithm,
33488 _swigc__p_wxLayoutConstraints,
33489 _swigc__p_wxMDIChildFrame,
33490 _swigc__p_wxMDIClientWindow,
33491 _swigc__p_wxMDIParentFrame,
33492 _swigc__p_wxMaximizeEvent,
33493 _swigc__p_wxMenu,
33494 _swigc__p_wxMenuBar,
33495 _swigc__p_wxMenuEvent,
33496 _swigc__p_wxMenuItem,
33497 _swigc__p_wxMessageDialog,
33498 _swigc__p_wxMiniFrame,
33499 _swigc__p_wxMouseCaptureChangedEvent,
0f83f5da 33500 _swigc__p_wxMouseCaptureLostEvent,
7449af73
RD
33501 _swigc__p_wxMouseEvent,
33502 _swigc__p_wxMoveEvent,
33503 _swigc__p_wxMultiChoiceDialog,
33504 _swigc__p_wxNavigationKeyEvent,
33505 _swigc__p_wxNcPaintEvent,
33506 _swigc__p_wxNotifyEvent,
27e45892 33507 _swigc__p_wxNumberEntryDialog,
7449af73
RD
33508 _swigc__p_wxObject,
33509 _swigc__p_wxPCXHandler,
33510 _swigc__p_wxPNGHandler,
33511 _swigc__p_wxPNMHandler,
33512 _swigc__p_wxPageSetupDialog,
33513 _swigc__p_wxPageSetupDialogData,
33514 _swigc__p_wxPaintEvent,
33515 _swigc__p_wxPaletteChangedEvent,
33516 _swigc__p_wxPanel,
33517 _swigc__p_wxPaperSize,
33518 _swigc__p_wxPasswordEntryDialog,
33519 _swigc__p_wxPoint,
33520 _swigc__p_wxPopupWindow,
33521 _swigc__p_wxPreviewCanvas,
33522 _swigc__p_wxPreviewControlBar,
33523 _swigc__p_wxPreviewFrame,
33524 _swigc__p_wxPrintData,
33525 _swigc__p_wxPrintDialog,
33526 _swigc__p_wxPrintDialogData,
33527 _swigc__p_wxPrintPreview,
33528 _swigc__p_wxPrinter,
33529 _swigc__p_wxProgressDialog,
33530 _swigc__p_wxPyApp,
33531 _swigc__p_wxPyCommandEvent,
33532 _swigc__p_wxPyEvent,
33533 _swigc__p_wxPyHtmlListBox,
33534 _swigc__p_wxPyImageHandler,
33535 _swigc__p_wxPyPanel,
33536 _swigc__p_wxPyPopupTransientWindow,
33537 _swigc__p_wxPyPreviewControlBar,
33538 _swigc__p_wxPyPreviewFrame,
33539 _swigc__p_wxPyPrintPreview,
33540 _swigc__p_wxPyPrintout,
33541 _swigc__p_wxPyScrolledWindow,
33542 _swigc__p_wxPySizer,
33543 _swigc__p_wxPyTaskBarIcon,
33544 _swigc__p_wxPyVListBox,
33545 _swigc__p_wxPyVScrolledWindow,
33546 _swigc__p_wxPyValidator,
33547 _swigc__p_wxPyWindow,
33548 _swigc__p_wxQueryLayoutInfoEvent,
33549 _swigc__p_wxQueryNewPaletteEvent,
33550 _swigc__p_wxRect,
33551 _swigc__p_wxRegion,
33552 _swigc__p_wxSashEvent,
33553 _swigc__p_wxSashLayoutWindow,
33554 _swigc__p_wxSashWindow,
33555 _swigc__p_wxScrollEvent,
33556 _swigc__p_wxScrollWinEvent,
33557 _swigc__p_wxScrolledWindow,
33558 _swigc__p_wxSetCursorEvent,
33559 _swigc__p_wxShowEvent,
33560 _swigc__p_wxSingleChoiceDialog,
33561 _swigc__p_wxSize,
554f62e9
RD
33562 _swigc__p_wxSizeEvent,
33563 _swigc__p_wxSizer,
33564 _swigc__p_wxSizerItem,
33565 _swigc__p_wxSplashScreen,
33566 _swigc__p_wxSplashScreenWindow,
33567 _swigc__p_wxSplitterEvent,
33568 _swigc__p_wxSplitterWindow,
33569 _swigc__p_wxStaticBoxSizer,
33570 _swigc__p_wxStatusBar,
33571 _swigc__p_wxStdDialogButtonSizer,
33572 _swigc__p_wxString,
33573 _swigc__p_wxSysColourChangedEvent,
33574 _swigc__p_wxTIFFHandler,
33575 _swigc__p_wxTaskBarIcon,
33576 _swigc__p_wxTaskBarIconEvent,
33577 _swigc__p_wxTextEntryDialog,
33578 _swigc__p_wxTipWindow,
33579 _swigc__p_wxToolBar,
33580 _swigc__p_wxTopLevelWindow,
33581 _swigc__p_wxUpdateUIEvent,
33582 _swigc__p_wxValidator,
33583 _swigc__p_wxVisualAttributes,
33584 _swigc__p_wxWindow,
33585 _swigc__p_wxWindowCreateEvent,
33586 _swigc__p_wxWindowDestroyEvent,
33587 _swigc__p_wxXPMHandler,
33588};
33589
33590
33591/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33592
33593static swig_const_info swig_const_table[] = {
33594{0, 0, 0, 0.0, 0, 0}};
33595
093d3ff1
RD
33596#ifdef __cplusplus
33597}
33598#endif
554f62e9
RD
33599/* -----------------------------------------------------------------------------
33600 * Type initialization:
33601 * This problem is tough by the requirement that no dynamic
33602 * memory is used. Also, since swig_type_info structures store pointers to
33603 * swig_cast_info structures and swig_cast_info structures store pointers back
33604 * to swig_type_info structures, we need some lookup code at initialization.
33605 * The idea is that swig generates all the structures that are needed.
33606 * The runtime then collects these partially filled structures.
33607 * The SWIG_InitializeModule function takes these initial arrays out of
33608 * swig_module, and does all the lookup, filling in the swig_module.types
33609 * array with the correct data and linking the correct swig_cast_info
33610 * structures together.
33611 *
33612 * The generated swig_type_info structures are assigned staticly to an initial
33613 * array. We just loop though that array, and handle each type individually.
33614 * First we lookup if this type has been already loaded, and if so, use the
33615 * loaded structure instead of the generated one. Then we have to fill in the
33616 * cast linked list. The cast data is initially stored in something like a
33617 * two-dimensional array. Each row corresponds to a type (there are the same
33618 * number of rows as there are in the swig_type_initial array). Each entry in
33619 * a column is one of the swig_cast_info structures for that type.
33620 * The cast_initial array is actually an array of arrays, because each row has
33621 * a variable number of columns. So to actually build the cast linked list,
33622 * we find the array of casts associated with the type, and loop through it
33623 * adding the casts to the list. The one last trick we need to do is making
33624 * sure the type pointer in the swig_cast_info struct is correct.
33625 *
33626 * First off, we lookup the cast->type name to see if it is already loaded.
33627 * There are three cases to handle:
33628 * 1) If the cast->type has already been loaded AND the type we are adding
33629 * casting info to has not been loaded (it is in this module), THEN we
33630 * replace the cast->type pointer with the type pointer that has already
33631 * been loaded.
33632 * 2) If BOTH types (the one we are adding casting info to, and the
33633 * cast->type) are loaded, THEN the cast info has already been loaded by
33634 * the previous module so we just ignore it.
33635 * 3) Finally, if cast->type has not already been loaded, then we add that
33636 * swig_cast_info to the linked list (because the cast->type) pointer will
33637 * be correct.
33638 * ----------------------------------------------------------------------------- */
093d3ff1 33639
093d3ff1 33640#ifdef __cplusplus
554f62e9
RD
33641extern "C" {
33642#if 0
33643} /* c-mode */
33644#endif
33645#endif
33646
33647#if 0
33648#define SWIGRUNTIME_DEBUG
33649#endif
33650
33651SWIGRUNTIME void
33652SWIG_InitializeModule(void *clientdata) {
33653 size_t i;
33654 swig_module_info *module_head;
33655 static int init_run = 0;
33656
33657 clientdata = clientdata;
33658
33659 if (init_run) return;
33660 init_run = 1;
33661
33662 /* Initialize the swig_module */
33663 swig_module.type_initial = swig_type_initial;
33664 swig_module.cast_initial = swig_cast_initial;
33665
33666 /* Try and load any already created modules */
33667 module_head = SWIG_GetModule(clientdata);
33668 if (module_head) {
33669 swig_module.next = module_head->next;
33670 module_head->next = &swig_module;
33671 } else {
33672 /* This is the first module loaded */
33673 swig_module.next = &swig_module;
33674 SWIG_SetModule(clientdata, &swig_module);
33675 }
33676
33677 /* Now work on filling in swig_module.types */
33678#ifdef SWIGRUNTIME_DEBUG
33679 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
33680#endif
33681 for (i = 0; i < swig_module.size; ++i) {
33682 swig_type_info *type = 0;
33683 swig_type_info *ret;
33684 swig_cast_info *cast;
d55e5bfc 33685
554f62e9
RD
33686#ifdef SWIGRUNTIME_DEBUG
33687 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33688#endif
d55e5bfc 33689
554f62e9
RD
33690 /* if there is another module already loaded */
33691 if (swig_module.next != &swig_module) {
33692 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
093d3ff1 33693 }
554f62e9
RD
33694 if (type) {
33695 /* Overwrite clientdata field */
33696#ifdef SWIGRUNTIME_DEBUG
33697 printf("SWIG_InitializeModule: found type %s\n", type->name);
33698#endif
33699 if (swig_module.type_initial[i]->clientdata) {
33700 type->clientdata = swig_module.type_initial[i]->clientdata;
33701#ifdef SWIGRUNTIME_DEBUG
33702 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
33703#endif
33704 }
33705 } else {
33706 type = swig_module.type_initial[i];
093d3ff1 33707 }
554f62e9
RD
33708
33709 /* Insert casting types */
33710 cast = swig_module.cast_initial[i];
33711 while (cast->type) {
33712 /* Don't need to add information already in the list */
33713 ret = 0;
33714#ifdef SWIGRUNTIME_DEBUG
33715 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
33716#endif
33717 if (swig_module.next != &swig_module) {
33718 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
33719#ifdef SWIGRUNTIME_DEBUG
33720 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
33721#endif
33722 }
33723 if (ret) {
33724 if (type == swig_module.type_initial[i]) {
33725#ifdef SWIGRUNTIME_DEBUG
33726 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
33727#endif
33728 cast->type = ret;
33729 ret = 0;
33730 } else {
33731 /* Check for casting already in the list */
33732 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
33733#ifdef SWIGRUNTIME_DEBUG
33734 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
33735#endif
33736 if (!ocast) ret = 0;
33737 }
33738 }
33739
33740 if (!ret) {
33741#ifdef SWIGRUNTIME_DEBUG
33742 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33743#endif
33744 if (type->cast) {
33745 type->cast->prev = cast;
33746 cast->next = type->cast;
33747 }
33748 type->cast = cast;
33749 }
33750 cast++;
093d3ff1 33751 }
554f62e9
RD
33752 /* Set entry in modules->types array equal to the type */
33753 swig_module.types[i] = type;
33754 }
33755 swig_module.types[i] = 0;
33756
33757#ifdef SWIGRUNTIME_DEBUG
33758 printf("**** SWIG_InitializeModule: Cast List ******\n");
33759 for (i = 0; i < swig_module.size; ++i) {
33760 int j = 0;
33761 swig_cast_info *cast = swig_module.cast_initial[i];
33762 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33763 while (cast->type) {
33764 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33765 cast++;
33766 ++j;
33767 }
33768 printf("---- Total casts: %d\n",j);
33769 }
33770 printf("**** SWIG_InitializeModule: Cast List ******\n");
33771#endif
33772}
33773
33774/* This function will propagate the clientdata field of type to
33775* any new swig_type_info structures that have been added into the list
33776* of equivalent types. It is like calling
33777* SWIG_TypeClientData(type, clientdata) a second time.
33778*/
33779SWIGRUNTIME void
33780SWIG_PropagateClientData(void) {
33781 size_t i;
33782 swig_cast_info *equiv;
33783 static int init_run = 0;
33784
33785 if (init_run) return;
33786 init_run = 1;
33787
33788 for (i = 0; i < swig_module.size; i++) {
33789 if (swig_module.types[i]->clientdata) {
33790 equiv = swig_module.types[i]->cast;
33791 while (equiv) {
33792 if (!equiv->converter) {
33793 if (equiv->type && !equiv->type->clientdata)
33794 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33795 }
33796 equiv = equiv->next;
33797 }
093d3ff1 33798 }
554f62e9
RD
33799 }
33800}
33801
33802#ifdef __cplusplus
33803#if 0
33804{
33805 /* c-mode */
33806#endif
33807}
33808#endif
33809
33810
33811
33812#ifdef __cplusplus
33813extern "C" {
33814#endif
33815
33816 /* Python-specific SWIG API */
33817#define SWIG_newvarlink() SWIG_Python_newvarlink()
33818#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33819#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33820
33821 /* -----------------------------------------------------------------------------
33822 * global variable support code.
33823 * ----------------------------------------------------------------------------- */
33824
33825 typedef struct swig_globalvar {
33826 char *name; /* Name of global variable */
33827 PyObject *(*get_attr)(void); /* Return the current value */
33828 int (*set_attr)(PyObject *); /* Set the value */
33829 struct swig_globalvar *next;
33830 } swig_globalvar;
33831
33832 typedef struct swig_varlinkobject {
33833 PyObject_HEAD
33834 swig_globalvar *vars;
33835 } swig_varlinkobject;
33836
33837 SWIGINTERN PyObject *
33838 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33839 return PyString_FromString("<Swig global variables>");
33840 }
33841
33842 SWIGINTERN PyObject *
33843 swig_varlink_str(swig_varlinkobject *v) {
33844 PyObject *str = PyString_FromString("(");
33845 swig_globalvar *var;
33846 for (var = v->vars; var; var=var->next) {
33847 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
33848 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
33849 }
33850 PyString_ConcatAndDel(&str,PyString_FromString(")"));
33851 return str;
33852 }
33853
33854 SWIGINTERN int
33855 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
33856 PyObject *str = swig_varlink_str(v);
33857 fprintf(fp,"Swig global variables ");
33858 fprintf(fp,"%s\n", PyString_AsString(str));
33859 Py_DECREF(str);
33860 return 0;
33861 }
33862
33863 SWIGINTERN void
33864 swig_varlink_dealloc(swig_varlinkobject *v) {
33865 swig_globalvar *var = v->vars;
33866 while (var) {
33867 swig_globalvar *n = var->next;
33868 free(var->name);
33869 free(var);
33870 var = n;
093d3ff1 33871 }
554f62e9
RD
33872 }
33873
33874 SWIGINTERN PyObject *
33875 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33876 PyObject *res = NULL;
33877 swig_globalvar *var = v->vars;
33878 while (var) {
33879 if (strcmp(var->name,n) == 0) {
33880 res = (*var->get_attr)();
33881 break;
33882 }
33883 var = var->next;
093d3ff1 33884 }
554f62e9
RD
33885 if (res == NULL && !PyErr_Occurred()) {
33886 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
093d3ff1 33887 }
554f62e9
RD
33888 return res;
33889 }
33890
33891 SWIGINTERN int
33892 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33893 int res = 1;
33894 swig_globalvar *var = v->vars;
33895 while (var) {
33896 if (strcmp(var->name,n) == 0) {
33897 res = (*var->set_attr)(p);
33898 break;
33899 }
33900 var = var->next;
093d3ff1 33901 }
554f62e9
RD
33902 if (res == 1 && !PyErr_Occurred()) {
33903 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
093d3ff1 33904 }
554f62e9
RD
33905 return res;
33906 }
33907
33908 SWIGINTERN PyTypeObject*
33909 swig_varlink_type(void) {
33910 static char varlink__doc__[] = "Swig var link object";
33911 static PyTypeObject varlink_type;
33912 static int type_init = 0;
33913 if (!type_init) {
33914 const PyTypeObject tmp
33915 = {
33916 PyObject_HEAD_INIT(NULL)
33917 0, /* Number of items in variable part (ob_size) */
33918 (char *)"swigvarlink", /* Type name (tp_name) */
33919 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33920 0, /* Itemsize (tp_itemsize) */
33921 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
33922 (printfunc) swig_varlink_print, /* Print (tp_print) */
33923 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33924 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33925 0, /* tp_compare */
33926 (reprfunc) swig_varlink_repr, /* tp_repr */
33927 0, /* tp_as_number */
33928 0, /* tp_as_sequence */
33929 0, /* tp_as_mapping */
33930 0, /* tp_hash */
33931 0, /* tp_call */
33932 (reprfunc)swig_varlink_str, /* tp_str */
33933 0, /* tp_getattro */
33934 0, /* tp_setattro */
33935 0, /* tp_as_buffer */
33936 0, /* tp_flags */
33937 varlink__doc__, /* tp_doc */
33938 0, /* tp_traverse */
33939 0, /* tp_clear */
33940 0, /* tp_richcompare */
33941 0, /* tp_weaklistoffset */
33942#if PY_VERSION_HEX >= 0x02020000
33943 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33944#endif
33945#if PY_VERSION_HEX >= 0x02030000
33946 0, /* tp_del */
33947#endif
33948#ifdef COUNT_ALLOCS
33949 0,0,0,0 /* tp_alloc -> tp_next */
33950#endif
33951 };
33952 varlink_type = tmp;
33953 varlink_type.ob_type = &PyType_Type;
33954 type_init = 1;
093d3ff1 33955 }
554f62e9
RD
33956 return &varlink_type;
33957 }
33958
33959 /* Create a variable linking object for use later */
33960 SWIGINTERN PyObject *
33961 SWIG_Python_newvarlink(void) {
33962 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
33963 if (result) {
33964 result->vars = 0;
33965 }
33966 return ((PyObject*) result);
33967 }
33968
33969 SWIGINTERN void
33970 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33971 swig_varlinkobject *v = (swig_varlinkobject *) p;
33972 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33973 if (gv) {
33974 size_t size = strlen(name)+1;
33975 gv->name = (char *)malloc(size);
33976 if (gv->name) {
33977 strncpy(gv->name,name,size);
33978 gv->get_attr = get_attr;
33979 gv->set_attr = set_attr;
33980 gv->next = v->vars;
33981 }
093d3ff1 33982 }
554f62e9
RD
33983 v->vars = gv;
33984 }
33985
33986 SWIGINTERN PyObject *
33987 SWIG_globals() {
33988 static PyObject *_SWIG_globals = 0;
33989 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33990 return _SWIG_globals;
33991 }
33992
33993 /* -----------------------------------------------------------------------------
33994 * constants/methods manipulation
33995 * ----------------------------------------------------------------------------- */
33996
33997 /* Install Constants */
33998 SWIGINTERN void
33999 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
34000 PyObject *obj = 0;
34001 size_t i;
34002 for (i = 0; constants[i].type; ++i) {
34003 switch(constants[i].type) {
34004 case SWIG_PY_POINTER:
34005 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
34006 break;
34007 case SWIG_PY_BINARY:
34008 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
34009 break;
34010 default:
34011 obj = 0;
34012 break;
34013 }
34014 if (obj) {
34015 PyDict_SetItemString(d, constants[i].name, obj);
34016 Py_DECREF(obj);
34017 }
093d3ff1 34018 }
554f62e9
RD
34019 }
34020
34021 /* -----------------------------------------------------------------------------*/
34022 /* Fix SwigMethods to carry the callback ptrs when needed */
34023 /* -----------------------------------------------------------------------------*/
34024
34025 SWIGINTERN void
34026 SWIG_Python_FixMethods(PyMethodDef *methods,
34027 swig_const_info *const_table,
34028 swig_type_info **types,
34029 swig_type_info **types_initial) {
34030 size_t i;
34031 for (i = 0; methods[i].ml_name; ++i) {
453fb36b 34032 const char *c = methods[i].ml_doc;
554f62e9
RD
34033 if (c && (c = strstr(c, "swig_ptr: "))) {
34034 int j;
34035 swig_const_info *ci = 0;
453fb36b 34036 const char *name = c + 10;
554f62e9
RD
34037 for (j = 0; const_table[j].type; ++j) {
34038 if (strncmp(const_table[j].name, name,
34039 strlen(const_table[j].name)) == 0) {
34040 ci = &(const_table[j]);
34041 break;
34042 }
34043 }
34044 if (ci) {
34045 size_t shift = (ci->ptype) - types;
34046 swig_type_info *ty = types_initial[shift];
34047 size_t ldoc = (c - methods[i].ml_doc);
34048 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
34049 char *ndoc = (char*)malloc(ldoc + lptr + 10);
34050 if (ndoc) {
34051 char *buff = ndoc;
34052 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
34053 if (ptr) {
34054 strncpy(buff, methods[i].ml_doc, ldoc);
34055 buff += ldoc;
34056 strncpy(buff, "swig_ptr: ", 10);
34057 buff += 10;
34058 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
34059 methods[i].ml_doc = ndoc;
34060 }
34061 }
34062 }
34063 }
093d3ff1 34064 }
554f62e9
RD
34065 }
34066
34067#ifdef __cplusplus
34068}
34069#endif
34070
34071/* -----------------------------------------------------------------------------*
34072 * Partial Init method
34073 * -----------------------------------------------------------------------------*/
34074
34075#ifdef __cplusplus
34076extern "C"
34077#endif
34078SWIGEXPORT void SWIG_init(void) {
34079 PyObject *m, *d;
34080
34081 /* Fix SwigMethods to carry the callback ptrs when needed */
34082 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
34083
34084 m = Py_InitModule((char *) SWIG_name, SwigMethods);
34085 d = PyModule_GetDict(m);
34086
34087 SWIG_InitializeModule(0);
34088 SWIG_InstallConstants(d,swig_const_table);
34089
34090
34091 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
34092 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
34093 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
34094 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
34095 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
34096 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
34097 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
34098 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
34099 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
34100 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
34101 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
34102 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
34103 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
34104 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
34105 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
34106 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
34107 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
34108 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
34109 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
34110 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
34111 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
34112 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
34113 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
34114 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
34115 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
34116 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
34117 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
34118 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
34119 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
34120 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
34121 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
34122 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
34123 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
34124 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
34125 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
34126 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
34127 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
34128 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
34129 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
34130 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
34131 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
34132 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
34133 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
34134 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
34135 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
34136 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
34137 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
34138 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
34139 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
34140 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
34141 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
34142 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
34143 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
34144 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
34145 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
34146 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
34147 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
34148 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
34149 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
34150 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
34151 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
34152 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
34153 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
34154 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
34155 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
34156 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
34157 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
34158 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
34159 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
34160 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
34161 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
34162 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
34163 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
34164 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
34165 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
34166 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
34167 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
34168 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
34169 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
34170 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
34171 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
34172 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
34173 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
34174 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
34175 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
34176 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
34177 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
34178 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
34179 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
34180 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
34181 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
34182 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
34183 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
34184 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
34185 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
34186 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
34187 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
34188 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
34189 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
34190 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
34191 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
34192 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
34193
34194 // Map renamed classes back to their common name for OOR
34195 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34196 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34197 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34198
34199 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
34200 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
34201 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
34202 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
34203 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
34204 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
34205 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
34206 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
34207 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
34208 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
34209 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
34210 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
34211 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
704eda0c
RD
34212 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
34213 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
34214 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
34215 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
34216 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
34217 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
34218 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
34219 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
34220 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
b02396e8 34221 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
704eda0c
RD
34222 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
34223 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
34224 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
34225 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
34226 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
34227 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
1eeb270e 34228 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
704eda0c 34229 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
554f62e9
RD
34230 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
34231 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
34232 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
34233 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
34234 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
34235 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
34236 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
34237 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
34238 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
34239 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
34240 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
34241 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
34242 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
34243 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
34244 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
34245 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34246 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34247 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34248 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34249 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34250 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34251 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34252 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34253 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34254 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
34255 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
34256 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
34257 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
34258 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
34259 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
34260 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
34261 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
34262 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
34263 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
34264 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
34265 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
34266 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
34267 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
34268 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
34269 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
34270 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
34271 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
34272 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
34273 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
34274 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
34275 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
34276 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
34277 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
34278 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
34279 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
34280 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
34281 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
34282 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
34283 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
34284 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
34285 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
34286 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
34287 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
34288 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
34289 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
34290 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
34291 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
34292 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
34293 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
34294 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
34295
34296 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
34297
d55e5bfc
RD
34298}
34299