]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_windows_wrap.cpp
2.7 --> 2.8
[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]
f9bf356b
RD
2477#define SWIGTYPE_p_wxArrayString swig_types[11]
2478#define SWIGTYPE_p_wxBMPHandler swig_types[12]
2479#define SWIGTYPE_p_wxBitmap swig_types[13]
2480#define SWIGTYPE_p_wxBoxSizer swig_types[14]
2481#define SWIGTYPE_p_wxCURHandler swig_types[15]
2482#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[16]
2483#define SWIGTYPE_p_wxChildFocusEvent swig_types[17]
2484#define SWIGTYPE_p_wxClipboardTextEvent swig_types[18]
2485#define SWIGTYPE_p_wxCloseEvent swig_types[19]
2486#define SWIGTYPE_p_wxColour swig_types[20]
2487#define SWIGTYPE_p_wxColourData swig_types[21]
2488#define SWIGTYPE_p_wxColourDialog swig_types[22]
2489#define SWIGTYPE_p_wxCommandEvent swig_types[23]
2490#define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2491#define SWIGTYPE_p_wxControl swig_types[25]
2492#define SWIGTYPE_p_wxControlWithItems swig_types[26]
2493#define SWIGTYPE_p_wxDC swig_types[27]
2494#define SWIGTYPE_p_wxDateEvent swig_types[28]
2495#define SWIGTYPE_p_wxDialog swig_types[29]
2496#define SWIGTYPE_p_wxDirDialog swig_types[30]
2497#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
2498#define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
2499#define SWIGTYPE_p_wxDuplexMode swig_types[33]
2500#define SWIGTYPE_p_wxEraseEvent swig_types[34]
2501#define SWIGTYPE_p_wxEvent swig_types[35]
2502#define SWIGTYPE_p_wxEvtHandler swig_types[36]
2503#define SWIGTYPE_p_wxFSFile swig_types[37]
2504#define SWIGTYPE_p_wxFileDialog swig_types[38]
2505#define SWIGTYPE_p_wxFileSystem swig_types[39]
2506#define SWIGTYPE_p_wxFindDialogEvent swig_types[40]
2507#define SWIGTYPE_p_wxFindReplaceData swig_types[41]
2508#define SWIGTYPE_p_wxFindReplaceDialog swig_types[42]
2509#define SWIGTYPE_p_wxFlexGridSizer swig_types[43]
2510#define SWIGTYPE_p_wxFocusEvent swig_types[44]
2511#define SWIGTYPE_p_wxFont swig_types[45]
2512#define SWIGTYPE_p_wxFontData swig_types[46]
2513#define SWIGTYPE_p_wxFontDialog swig_types[47]
2514#define SWIGTYPE_p_wxFrame swig_types[48]
2515#define SWIGTYPE_p_wxGBSizerItem swig_types[49]
2516#define SWIGTYPE_p_wxGIFHandler swig_types[50]
2517#define SWIGTYPE_p_wxGridBagSizer swig_types[51]
2518#define SWIGTYPE_p_wxGridSizer swig_types[52]
2519#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[53]
2520#define SWIGTYPE_p_wxICOHandler swig_types[54]
2521#define SWIGTYPE_p_wxIcon swig_types[55]
2522#define SWIGTYPE_p_wxIconBundle swig_types[56]
2523#define SWIGTYPE_p_wxIconizeEvent swig_types[57]
2524#define SWIGTYPE_p_wxIdleEvent swig_types[58]
2525#define SWIGTYPE_p_wxImage swig_types[59]
2526#define SWIGTYPE_p_wxImageHandler swig_types[60]
2527#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[61]
2528#define SWIGTYPE_p_wxInitDialogEvent swig_types[62]
2529#define SWIGTYPE_p_wxItemContainer swig_types[63]
2530#define SWIGTYPE_p_wxJPEGHandler swig_types[64]
2531#define SWIGTYPE_p_wxKeyEvent swig_types[65]
2532#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[66]
2533#define SWIGTYPE_p_wxLayoutConstraints swig_types[67]
2534#define SWIGTYPE_p_wxMDIChildFrame swig_types[68]
2535#define SWIGTYPE_p_wxMDIClientWindow swig_types[69]
2536#define SWIGTYPE_p_wxMDIParentFrame swig_types[70]
2537#define SWIGTYPE_p_wxMaximizeEvent swig_types[71]
2538#define SWIGTYPE_p_wxMenu swig_types[72]
2539#define SWIGTYPE_p_wxMenuBar swig_types[73]
2540#define SWIGTYPE_p_wxMenuEvent swig_types[74]
2541#define SWIGTYPE_p_wxMenuItem swig_types[75]
2542#define SWIGTYPE_p_wxMessageDialog swig_types[76]
2543#define SWIGTYPE_p_wxMiniFrame swig_types[77]
2544#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[78]
2545#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[79]
2546#define SWIGTYPE_p_wxMouseEvent swig_types[80]
2547#define SWIGTYPE_p_wxMoveEvent swig_types[81]
2548#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[82]
2549#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[83]
2550#define SWIGTYPE_p_wxNcPaintEvent swig_types[84]
2551#define SWIGTYPE_p_wxNotifyEvent swig_types[85]
2552#define SWIGTYPE_p_wxNumberEntryDialog swig_types[86]
2553#define SWIGTYPE_p_wxObject swig_types[87]
2554#define SWIGTYPE_p_wxPCXHandler swig_types[88]
2555#define SWIGTYPE_p_wxPNGHandler swig_types[89]
2556#define SWIGTYPE_p_wxPNMHandler swig_types[90]
2557#define SWIGTYPE_p_wxPageSetupDialog swig_types[91]
2558#define SWIGTYPE_p_wxPageSetupDialogData swig_types[92]
2559#define SWIGTYPE_p_wxPaintEvent swig_types[93]
2560#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[94]
2561#define SWIGTYPE_p_wxPanel swig_types[95]
2562#define SWIGTYPE_p_wxPaperSize swig_types[96]
2563#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[97]
2564#define SWIGTYPE_p_wxPoint swig_types[98]
2565#define SWIGTYPE_p_wxPopupWindow swig_types[99]
2566#define SWIGTYPE_p_wxPreviewCanvas swig_types[100]
2567#define SWIGTYPE_p_wxPreviewControlBar swig_types[101]
2568#define SWIGTYPE_p_wxPreviewFrame swig_types[102]
2569#define SWIGTYPE_p_wxPrintData swig_types[103]
2570#define SWIGTYPE_p_wxPrintDialog swig_types[104]
2571#define SWIGTYPE_p_wxPrintDialogData swig_types[105]
2572#define SWIGTYPE_p_wxPrintPreview swig_types[106]
2573#define SWIGTYPE_p_wxPrinter swig_types[107]
2574#define SWIGTYPE_p_wxProgressDialog swig_types[108]
2575#define SWIGTYPE_p_wxPyApp swig_types[109]
2576#define SWIGTYPE_p_wxPyCommandEvent swig_types[110]
2577#define SWIGTYPE_p_wxPyEvent swig_types[111]
2578#define SWIGTYPE_p_wxPyHtmlListBox swig_types[112]
2579#define SWIGTYPE_p_wxPyImageHandler swig_types[113]
2580#define SWIGTYPE_p_wxPyPanel swig_types[114]
2581#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[115]
2582#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[116]
2583#define SWIGTYPE_p_wxPyPreviewFrame swig_types[117]
2584#define SWIGTYPE_p_wxPyPrintPreview swig_types[118]
2585#define SWIGTYPE_p_wxPyPrintout swig_types[119]
2586#define SWIGTYPE_p_wxPyScrolledWindow swig_types[120]
2587#define SWIGTYPE_p_wxPySizer swig_types[121]
2588#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[122]
2589#define SWIGTYPE_p_wxPyVListBox swig_types[123]
2590#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[124]
2591#define SWIGTYPE_p_wxPyValidator swig_types[125]
2592#define SWIGTYPE_p_wxPyWindow swig_types[126]
2593#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[127]
2594#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[128]
2595#define SWIGTYPE_p_wxRect swig_types[129]
2596#define SWIGTYPE_p_wxRegion swig_types[130]
2597#define SWIGTYPE_p_wxSashEvent swig_types[131]
2598#define SWIGTYPE_p_wxSashLayoutWindow swig_types[132]
2599#define SWIGTYPE_p_wxSashWindow swig_types[133]
2600#define SWIGTYPE_p_wxScrollEvent swig_types[134]
2601#define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
2602#define SWIGTYPE_p_wxScrolledWindow swig_types[136]
2603#define SWIGTYPE_p_wxSetCursorEvent swig_types[137]
2604#define SWIGTYPE_p_wxShowEvent swig_types[138]
2605#define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[139]
2606#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[140]
2607#define SWIGTYPE_p_wxSize swig_types[141]
2608#define SWIGTYPE_p_wxSizeEvent swig_types[142]
2609#define SWIGTYPE_p_wxSizer swig_types[143]
2610#define SWIGTYPE_p_wxSizerItem swig_types[144]
2611#define SWIGTYPE_p_wxSplashScreen swig_types[145]
2612#define SWIGTYPE_p_wxSplashScreenWindow swig_types[146]
2613#define SWIGTYPE_p_wxSplitterEvent swig_types[147]
2614#define SWIGTYPE_p_wxSplitterWindow swig_types[148]
2615#define SWIGTYPE_p_wxStaticBoxSizer swig_types[149]
2616#define SWIGTYPE_p_wxStatusBar swig_types[150]
2617#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[151]
2618#define SWIGTYPE_p_wxString swig_types[152]
2619#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[153]
2620#define SWIGTYPE_p_wxTGAHandler swig_types[154]
2621#define SWIGTYPE_p_wxTIFFHandler swig_types[155]
2622#define SWIGTYPE_p_wxTaskBarIcon swig_types[156]
2623#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[157]
2624#define SWIGTYPE_p_wxTextEntryDialog swig_types[158]
2625#define SWIGTYPE_p_wxTipWindow swig_types[159]
2626#define SWIGTYPE_p_wxToolBar swig_types[160]
2627#define SWIGTYPE_p_wxTopLevelWindow swig_types[161]
2628#define SWIGTYPE_p_wxUpdateUIEvent swig_types[162]
2629#define SWIGTYPE_p_wxValidator swig_types[163]
2630#define SWIGTYPE_p_wxVisualAttributes swig_types[164]
2631#define SWIGTYPE_p_wxWindow swig_types[165]
2632#define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
2633#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[167]
2634#define SWIGTYPE_p_wxXPMHandler swig_types[168]
2635static swig_type_info *swig_types[170];
2636static swig_module_info swig_module = {swig_types, 169, 0, 0, 0, 0};
7449af73
RD
2637#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2638#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
093d3ff1
RD
2639
2640/* -------- TYPES TABLE (END) -------- */
2641
554f62e9
RD
2642#if (PY_VERSION_HEX <= 0x02000000)
2643# if !defined(SWIG_PYTHON_CLASSIC)
2644# error "This python version requires to use swig with the '-classic' option"
2645# endif
2646#endif
2647#if (PY_VERSION_HEX <= 0x02020000)
2648# error "This python version requires to use swig with the '-nomodern' option"
2649#endif
2650#if (PY_VERSION_HEX <= 0x02020000)
2651# error "This python version requires to use swig with the '-nomodernargs' option"
2652#endif
2653#ifndef METH_O
2654# error "This python version requires to use swig with the '-nofastunpack' option"
2655#endif
093d3ff1
RD
2656
2657/*-----------------------------------------------
2658 @(target):= _windows_.so
2659 ------------------------------------------------*/
2660#define SWIG_init init_windows_
2661
2662#define SWIG_name "_windows_"
2663
554f62e9 2664#define SWIGVERSION 0x010329
093d3ff1 2665
093d3ff1 2666
554f62e9
RD
2667#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2668#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
093d3ff1
RD
2669
2670
554f62e9 2671#include <stdexcept>
093d3ff1
RD
2672
2673
554f62e9
RD
2674namespace swig {
2675 class PyObject_ptr {
2676 protected:
2677 PyObject *_obj;
093d3ff1 2678
554f62e9
RD
2679 public:
2680 PyObject_ptr() :_obj(0)
2681 {
2682 }
093d3ff1 2683
554f62e9
RD
2684 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2685 {
2686 Py_XINCREF(_obj);
093d3ff1 2687 }
554f62e9
RD
2688
2689 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2690 {
2691 if (initial_ref) Py_XINCREF(_obj);
093d3ff1 2692 }
554f62e9
RD
2693
2694 PyObject_ptr & operator=(const PyObject_ptr& item)
2695 {
2696 Py_XINCREF(item._obj);
2697 Py_XDECREF(_obj);
2698 _obj = item._obj;
2699 return *this;
2700 }
2701
2702 ~PyObject_ptr()
2703 {
2704 Py_XDECREF(_obj);
2705 }
2706
2707 operator PyObject *() const
2708 {
2709 return _obj;
2710 }
2711
2712 PyObject *operator->() const
2713 {
2714 return _obj;
2715 }
2716 };
093d3ff1
RD
2717}
2718
2719
554f62e9
RD
2720namespace swig {
2721 struct PyObject_var : PyObject_ptr {
2722 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2723
2724 PyObject_var & operator = (PyObject* obj)
2725 {
2726 Py_XDECREF(_obj);
2727 _obj = obj;
2728 return *this;
093d3ff1 2729 }
554f62e9 2730 };
093d3ff1 2731}
093d3ff1
RD
2732
2733
554f62e9
RD
2734#include "wx/wxPython/wxPython.h"
2735#include "wx/wxPython/pyclasses.h"
2736
093d3ff1 2737
554f62e9
RD
2738 static const wxString wxPyEmptyString(wxEmptyString);
2739 static const wxString wxPyPanelNameStr(wxPanelNameStr);
093d3ff1 2740
093d3ff1 2741
554f62e9
RD
2742
2743#include <limits.h>
2744#ifndef LLONG_MIN
2745# define LLONG_MIN LONG_LONG_MIN
2746#endif
2747#ifndef LLONG_MAX
2748# define LLONG_MAX LONG_LONG_MAX
2749#endif
2750#ifndef ULLONG_MAX
2751# define ULLONG_MAX ULONG_LONG_MAX
2752#endif
2753
2754
2755SWIGINTERN int
2756SWIG_AsVal_long (PyObject* obj, long* val)
093d3ff1 2757{
554f62e9
RD
2758 if (PyNumber_Check(obj)) {
2759 if (val) *val = PyInt_AsLong(obj);
2760 return SWIG_OK;
2761 }
2762 return SWIG_TypeError;
093d3ff1
RD
2763}
2764
554f62e9
RD
2765
2766SWIGINTERN int
2767SWIG_AsVal_int (PyObject * obj, int *val)
093d3ff1 2768{
554f62e9
RD
2769 long v;
2770 int res = SWIG_AsVal_long (obj, &v);
2771 if (SWIG_IsOK(res)) {
2772 if ((v < INT_MIN || v > INT_MAX)) {
2773 return SWIG_OverflowError;
2774 } else {
2775 if (val) *val = static_cast< int >(v);
2776 }
2777 }
2778 return res;
093d3ff1
RD
2779}
2780
2781
2782SWIGINTERN int
554f62e9 2783SWIG_AsVal_bool (PyObject *obj, bool *val)
093d3ff1
RD
2784{
2785 if (obj == Py_True) {
2786 if (val) *val = true;
554f62e9
RD
2787 return SWIG_OK;
2788 } else if (obj == Py_False) {
093d3ff1 2789 if (val) *val = false;
554f62e9 2790 return SWIG_OK;
093d3ff1 2791 } else {
554f62e9
RD
2792 long v = 0;
2793 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2794 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2795 return res;
093d3ff1 2796 }
093d3ff1
RD
2797}
2798
2799
554f62e9 2800 #define SWIG_From_long PyInt_FromLong
093d3ff1
RD
2801
2802
554f62e9
RD
2803SWIGINTERNINLINE PyObject *
2804SWIG_From_int (int value)
2805{
2806 return SWIG_From_long (value);
2807}
093d3ff1
RD
2808
2809
2810SWIGINTERN int
554f62e9 2811SWIG_AsVal_double (PyObject *obj, double* val)
093d3ff1
RD
2812{
2813 if (PyNumber_Check(obj)) {
2814 if (val) *val = PyFloat_AsDouble(obj);
554f62e9 2815 return SWIG_OK;
093d3ff1 2816 }
554f62e9 2817 return SWIG_TypeError;
093d3ff1
RD
2818}
2819
2820
554f62e9 2821 #define SWIG_From_double PyFloat_FromDouble
093d3ff1
RD
2822
2823 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2824 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2825 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2826 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
554f62e9
RD
2827SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2828SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
093d3ff1 2829
5eb8189c
RD
2830#define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2831
2832
093d3ff1 2833
554f62e9 2834SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
093d3ff1
RD
2835 wxRect r;
2836 self->GetFieldRect(i, r);
2837 return r;
2838 }
2839 static const wxString wxPySplitterNameStr(wxT("splitter"));
2840 static const wxString wxPySashNameStr(wxT("sashWindow"));
2841 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2842
2843#include <wx/popupwin.h>
2844
2845
2846class wxPyPopupTransientWindow : public wxPopupTransientWindow
2847{
2848public:
2849 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2850 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2851 : wxPopupTransientWindow(parent, style) {}
2852
2853 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2854 DEC_PYCALLBACK__(OnDismiss);
2855 DEC_PYCALLBACK_BOOL_(CanDismiss);
2856 PYPRIVATE;
2857};
2858
2859
2860IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2861IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2862IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2863
2864
2865#include <wx/tipwin.h>
2866
554f62e9 2867SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
093d3ff1
RD
2868 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2869 }
2870
2871#include <wx/tipwin.h>
2872
2873
2874#include <wx/vscroll.h>
2875
2876
2877class wxPyVScrolledWindow : public wxVScrolledWindow
2878{
7449af73 2879 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
093d3ff1
RD
2880public:
2881 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2882
2883 wxPyVScrolledWindow(wxWindow *parent,
2884 wxWindowID id = wxID_ANY,
2885 const wxPoint& pos = wxDefaultPosition,
2886 const wxSize& size = wxDefaultSize,
2887 long style = 0,
2888 const wxString& name = wxPyPanelNameStr)
2889 : wxVScrolledWindow(parent, id, pos, size, style, name)
2890 {}
2891
2892 // Overridable virtuals
2893
2894 // this function must be overridden in the derived class and it should
2895 // return the height of the given line in pixels
2896 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2897
2898
2899 // this function doesn't have to be overridden but it may be useful to do
2900 // it if calculating the lines heights is a relatively expensive operation
2901 // as it gives the user code a possibility to calculate several of them at
2902 // once
2903 //
2904 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2905 // shouldn't rely on the latter being called for all lines in the interval
2906 // specified here. It is also possible that OnGetLineHeight() will be
2907 // called for the lines outside of this interval, so this is really just a
2908 // hint, not a promise.
2909 //
2910 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2911 // usual
2912 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2913
2914
2915 // when the number of lines changes, we try to estimate the total height
2916 // of all lines which is a rather expensive operation in terms of lines
2917 // access, so if the user code may estimate the average height
2918 // better/faster than we do, it should override this function to implement
2919 // its own logic
2920 //
2921 // this function should return the best guess for the total height it may
2922 // make
2923 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2924
2925
2926 // Also expose some other interesting protected methods
2927
2928
2929 // find the index of the line we need to show at the top of the window such
2930 // that the last (fully or partially) visible line is the given one
2931 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2932 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2933
2934 // get the total height of the lines between lineMin (inclusive) and
2935 // lineMax (exclusive)
2936 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2937 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
d55e5bfc 2938
f460c29d
RD
2939 // update the thumb size shown by the scrollbar
2940 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2941
2942 // remove the scrollbar completely because we don't need it
2943 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
d55e5bfc
RD
2944
2945 PYPRIVATE;
2946};
2947
2948IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2949
2950IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2951IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2952IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2953
2954
fc46b7f3
RD
2955SWIGINTERN int
2956SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2957{
2958 long v = 0;
2959 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2960 return SWIG_TypeError;
2961 }
2962 else if (val)
2963 *val = (unsigned long)v;
2964 return SWIG_OK;
2965}
2966
2967
7449af73 2968SWIGINTERNINLINE int
554f62e9 2969SWIG_AsVal_size_t (PyObject * obj, size_t *val)
c32bde28 2970{
554f62e9
RD
2971 unsigned long v;
2972 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2973 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2974 return res;
d55e5bfc
RD
2975}
2976
2977
7449af73 2978SWIGINTERNINLINE PyObject*
554f62e9 2979SWIG_From_unsigned_SS_long (unsigned long value)
d55e5bfc
RD
2980{
2981 return (value > LONG_MAX) ?
554f62e9
RD
2982 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2983}
2984
2985
2986SWIGINTERNINLINE PyObject *
2987SWIG_From_size_t (size_t value)
2988{
2989 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
d55e5bfc
RD
2990}
2991
2992
2993#include <wx/vlbox.h>
2994
2995 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2996
2997class wxPyVListBox : public wxVListBox
2998{
7449af73 2999 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
d55e5bfc
RD
3000public:
3001 wxPyVListBox() : wxVListBox() {}
3002
3003 wxPyVListBox(wxWindow *parent,
3004 wxWindowID id = wxID_ANY,
3005 const wxPoint& pos = wxDefaultPosition,
3006 const wxSize& size = wxDefaultSize,
3007 long style = 0,
3008 const wxString& name = wxPyVListBoxNameStr)
3009 : wxVListBox(parent, id, pos, size, style, name)
3010 {}
3011
3012 // Overridable virtuals
3013
3014 // the derived class must implement this function to actually draw the item
3015 // with the given index on the provided DC
3016 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3017 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3018
3019
3020 // the derived class must implement this method to return the height of the
3021 // specified item
3022 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3023 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3024
3025
3026 // this method may be used to draw separators between the lines; note that
3027 // the rectangle may be modified, typically to deflate it a bit before
3028 // passing to OnDrawItem()
3029 //
3030 // the base class version doesn't do anything
3031 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1c71765a 3032 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
d55e5bfc
RD
3033
3034
3035 // this method is used to draw the items background and, maybe, a border
3036 // around it
3037 //
3038 // the base class version implements a reasonable default behaviour which
3039 // consists in drawing the selected item with the standard background
3040 // colour and drawing a border around the item if it is either selected or
3041 // current
3042 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3043 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3044
3045
3046 PYPRIVATE;
3047};
3048
3049IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3050
3051IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3052IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
1c71765a 3053IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
d55e5bfc
RD
3054IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3055
3056
554f62e9 3057SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
09c21d3b
RD
3058 unsigned long cookie = 0;
3059 int selected = self->GetFirstSelected(cookie);
5a446332 3060 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
3061 PyObject* tup = PyTuple_New(2);
3062 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3063 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3064 wxPyEndBlockThreads(blocked);
3065 return tup;
3066 }
554f62e9 3067SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
09c21d3b 3068 int selected = self->GetNextSelected(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 }
d55e5bfc
RD
3076
3077#include <wx/htmllbox.h>
3078
3079
3080class wxPyHtmlListBox : public wxHtmlListBox
3081{
7449af73 3082 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
d55e5bfc
RD
3083public:
3084 wxPyHtmlListBox() : wxHtmlListBox() {}
3085
3086 wxPyHtmlListBox(wxWindow *parent,
3087 wxWindowID id = wxID_ANY,
3088 const wxPoint& pos = wxDefaultPosition,
3089 const wxSize& size = wxDefaultSize,
3090 long style = 0,
3091 const wxString& name = wxPyVListBoxNameStr)
3092 : wxHtmlListBox(parent, id, pos, size, style, name)
3093 {}
3094
3095 // Overridable virtuals
3096
3097 // this method must be implemented in the derived class and should return
3098 // the body (i.e. without <html>) of the HTML for the given item
3099 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3100
3101 // this function may be overridden to decorate HTML returned by OnGetItem()
3102 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3103
1c71765a
RD
3104 // These are from wxVListBox
3105 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3106 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3107
d55e5bfc
RD
3108// TODO:
3109// // this method allows to customize the selection appearance: it may be used
3110// // to specify the colour of the text which normally has the given colour
3111// // colFg when it is inside the selection
3112// //
3113// // by default, the original colour is not used at all and all text has the
3114// // same (default for this system) colour inside selection
3115// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3116
3117// // this is the same as GetSelectedTextColour() but allows to customize the
3118// // background colour -- this is even more rarely used as you can change it
3119// // globally using SetSelectionBackground()
3120// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3121
e9d6f3a4
RD
3122
3123 // This method may be overriden to handle clicking on a link in
3124 // the listbox. By default, clicking links is ignored.
3125 virtual void OnLinkClicked(size_t n,
3126 const wxHtmlLinkInfo& link);
d55e5bfc
RD
3127
3128 PYPRIVATE;
3129};
3130
3131
3132IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3133
3134IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3135IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
1c71765a
RD
3136IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3137IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
d55e5bfc
RD
3138
3139
e9d6f3a4
RD
3140void wxPyHtmlListBox::OnLinkClicked(size_t n,
3141 const wxHtmlLinkInfo& link) {
3142 bool found;
3143 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3144 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3145 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3146 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3147 Py_DECREF(obj);
3148 }
3149 wxPyEndBlockThreads(blocked);
3150 if (! found)
3151 wxPyHtmlListBox::OnLinkClicked(n, link);
3152}
3153
3154
d55e5bfc 3155
f9bf356b
RD
3156 const wxArrayString wxPyEmptyStringArray;
3157
3158 static const wxString wxPySimpleHtmlListBoxNameStr(wxSimpleHtmlListBoxNameStr);
3159
d55e5bfc
RD
3160
3161
ae8162c8
RD
3162#ifndef wxHAS_TASK_BAR_ICON
3163// implement dummy classes for platforms that don't have it
d55e5bfc
RD
3164
3165class wxTaskBarIcon : public wxEvtHandler
3166{
3167public:
3168 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3169};
09c21d3b 3170
d55e5bfc
RD
3171
3172class wxTaskBarIconEvent : public wxEvent
3173{
3174public:
3175 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3176 { wxPyRaiseNotImplemented(); }
3177 virtual wxEvent* Clone() const { return NULL; }
ae8162c8
RD
3178 bool IsOk() const { return false; }
3179 bool IsIconInstalled() const { return false; }
3180 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3181 bool RemoveIcon() { return false; }
3182 bool PopupMenu(wxMenu *menu) { return false; }
d55e5bfc
RD
3183};
3184
3185enum {
3186 wxEVT_TASKBAR_MOVE = 0,
3187 wxEVT_TASKBAR_LEFT_DOWN = 0,
3188 wxEVT_TASKBAR_LEFT_UP = 0,
3189 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3190 wxEVT_TASKBAR_RIGHT_UP = 0,
3191 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3192 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3193};
09c21d3b
RD
3194
3195
3196#else
5e483524
RD
3197// Otherwise make a class that can virtualize CreatePopupMenu
3198class wxPyTaskBarIcon : public wxTaskBarIcon
3199{
7449af73 3200 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
5e483524
RD
3201public:
3202 wxPyTaskBarIcon() : wxTaskBarIcon()
3203 {}
3204
3205 wxMenu* CreatePopupMenu() {
3206 wxMenu *rval = NULL;
3207 bool found;
5a446332 3208 wxPyBlock_t blocked = wxPyBeginBlockThreads();
5e483524
RD
3209 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3210 PyObject* ro;
3211 wxMenu* ptr;
3212 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3213 if (ro) {
3214 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3215 rval = ptr;
3216 Py_DECREF(ro);
3217 }
3218 }
3219 wxPyEndBlockThreads(blocked);
3220 if (! found)
3221 rval = wxTaskBarIcon::CreatePopupMenu();
3222 return rval;
3223 }
3224
3225 PYPRIVATE;
3226};
3227
3228IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
09c21d3b 3229
d55e5bfc
RD
3230#endif
3231
554f62e9 3232SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
d55e5bfc 3233 self->RemoveIcon();
5e483524 3234 delete self;
d55e5bfc
RD
3235 }
3236 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3237 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3238 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3239 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3240 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3241 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
b02396e8
RD
3242
3243// for compatibility only
3244#define wxHIDE_READONLY 0
3245
554f62e9 3246SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
d55e5bfc
RD
3247 wxArrayString arr;
3248 self->GetFilenames(arr);
3249 return wxArrayString2PyList_helper(arr);
3250 }
554f62e9 3251SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
d55e5bfc
RD
3252 wxArrayString arr;
3253 self->GetPaths(arr);
3254 return wxArrayString2PyList_helper(arr);
3255 }
554f62e9 3256SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
d55e5bfc
RD
3257 return wxArrayInt2PyList_helper(self->GetSelections());
3258 }
554f62e9 3259SWIGINTERN 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
3260 return new wxSingleChoiceDialog(parent, message, caption,
3261 choices, choices_array, NULL, style, pos);
3262 }
c1cb24a4 3263 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
d55e5bfc 3264
f460c29d
RD
3265SWIGINTERNINLINE PyObject*
3266 SWIG_From_bool (bool value)
3267{
3268 return PyBool_FromLong(value ? 1 : 0);
3269}
3270
3271
d55e5bfc
RD
3272#include <wx/mdi.h>
3273
3274 // C++ version of Python aware wxWindow
3275class wxPyWindow : public wxWindow
3276{
3277 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3278public:
3279 wxPyWindow() : wxWindow() {}
3280 wxPyWindow(wxWindow* parent, const wxWindowID id,
3281 const wxPoint& pos = wxDefaultPosition,
3282 const wxSize& size = wxDefaultSize,
3283 long style = 0,
3284 const wxString& name = wxPyPanelNameStr)
3285 : wxWindow(parent, id, pos, size, style, name) {}
3286
3287
60d5fcc1
RD
3288 bool DoEraseBackground(wxDC* dc) {
3289#ifdef __WXMSW__
3290 return wxWindow::DoEraseBackground(dc->GetHDC());
3291#else
3292 dc->SetBackground(wxBrush(GetBackgroundColour()));
3293 dc->Clear();
3294 return true;
3295#endif
3296 }
3297
d55e5bfc
RD
3298 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3299 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3300 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3301 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3302
3303 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3304 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3305 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3306
3307 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3308 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3309
3310 DEC_PYCALLBACK__(InitDialog);
3311 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3312 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3313 DEC_PYCALLBACK_BOOL_(Validate);
3314
3315 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3316 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3317 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3318
3319 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3320 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3321
caef1a4d 3322 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
caef1a4d 3323 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3324
51b83b37
RD
3325 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3326
8d38bd1d
RD
3327 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3328
d55e5bfc
RD
3329 PYPRIVATE;
3330};
3331
3332IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3333
3334IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3335IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3336IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3337IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3338
3339IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3340IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3341IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3342
3343IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3344IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3345
3346IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3347IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3348IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3349IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3350
3351IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3352IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3353IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3354
3355IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3356IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3357
caef1a4d 3358IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
caef1a4d 3359IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
51b83b37
RD
3360
3361IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
d55e5bfc 3362
8d38bd1d
RD
3363IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3364
d55e5bfc
RD
3365 // C++ version of Python aware wxPanel
3366class wxPyPanel : public wxPanel
3367{
3368 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3369public:
3370 wxPyPanel() : wxPanel() {}
3371 wxPyPanel(wxWindow* parent, const wxWindowID id,
3372 const wxPoint& pos = wxDefaultPosition,
3373 const wxSize& size = wxDefaultSize,
3374 long style = 0,
3375 const wxString& name = wxPyPanelNameStr)
3376 : wxPanel(parent, id, pos, size, style, name) {}
3377
60d5fcc1
RD
3378 bool DoEraseBackground(wxDC* dc) {
3379#ifdef __WXMSW__
3380 return wxWindow::DoEraseBackground(dc->GetHDC());
3381#else
3382 dc->SetBackground(wxBrush(GetBackgroundColour()));
3383 dc->Clear();
3384 return true;
3385#endif
3386 }
caef1a4d 3387
d55e5bfc
RD
3388
3389 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3390 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3391 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3392 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3393
3394 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3395 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3396 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3397
3398 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3399 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3400
3401 DEC_PYCALLBACK__(InitDialog);
3402 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3403 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3404 DEC_PYCALLBACK_BOOL_(Validate);
3405
3406 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3407 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3408 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3409
3410 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3411 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3412
caef1a4d 3413 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
caef1a4d 3414 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3415
51b83b37
RD
3416 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3417
8d38bd1d
RD
3418 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3419
d55e5bfc
RD
3420 PYPRIVATE;
3421};
3422
3423IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3424
3425IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3426IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3427IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3428IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3429
3430IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3431IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3432IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3433
3434IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3435IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3436
3437IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3438IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3439IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3440IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3441
3442IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3443IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3444IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3445
3446IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3447IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3448
caef1a4d 3449IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
caef1a4d 3450IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
d55e5bfc 3451
51b83b37
RD
3452IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3453
8d38bd1d
RD
3454IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3455
d55e5bfc
RD
3456 // C++ version of Python aware wxScrolledWindow
3457class wxPyScrolledWindow : public wxScrolledWindow
3458{
3459 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3460public:
3461 wxPyScrolledWindow() : wxScrolledWindow() {}
3462 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3463 const wxPoint& pos = wxDefaultPosition,
3464 const wxSize& size = wxDefaultSize,
3465 long style = 0,
3466 const wxString& name = wxPyPanelNameStr)
3467 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3468
60d5fcc1
RD
3469 bool DoEraseBackground(wxDC* dc) {
3470#ifdef __WXMSW__
3471 return wxWindow::DoEraseBackground(dc->GetHDC());
3472#else
3473 dc->SetBackground(wxBrush(GetBackgroundColour()));
3474 dc->Clear();
3475 return true;
3476#endif
3477 }
d55e5bfc
RD
3478
3479 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3480 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3481 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3482 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3483
3484 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3485 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3486 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3487
3488 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3489 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3490
3491 DEC_PYCALLBACK__(InitDialog);
3492 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3493 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3494 DEC_PYCALLBACK_BOOL_(Validate);
3495
3496 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3497 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3498 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3499
3500 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3501 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3502
caef1a4d 3503 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
caef1a4d 3504 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3505
51b83b37
RD
3506 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3507
8d38bd1d
RD
3508 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3509
d55e5bfc
RD
3510 PYPRIVATE;
3511};
3512
3513IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3514
3515IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3516IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3517IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3518IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3519
3520IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3521IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3522IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3523
3524IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3525IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3526
3527IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3528IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3529IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3530IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3531
3532IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3533IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3534IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3535
3536IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3537IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3538
caef1a4d 3539IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
caef1a4d
RD
3540IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3541
51b83b37 3542IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
d55e5bfc 3543
8d38bd1d
RD
3544IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3545
d55e5bfc
RD
3546
3547#include "wx/wxPython/printfw.h"
3548
3549
3550 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3551 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
554f62e9 3552SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
b9d6a5f3 3553 PyObject* data;
5a446332 3554 wxPyBlock_t blocked = wxPyBeginBlockThreads();
b9d6a5f3
RD
3555 data = PyString_FromStringAndSize(self->GetPrivData(),
3556 self->GetPrivDataLen());
3557 wxPyEndBlockThreads(blocked);
3558 return data;
3559 }
554f62e9 3560SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
b9d6a5f3
RD
3561 if (! PyString_Check(data)) {
3562 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3563 "Expected string object"));
3564 return /* NULL */ ;
3565 }
3566
5a446332 3567 wxPyBlock_t blocked = wxPyBeginBlockThreads();
b9d6a5f3
RD
3568 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3569 wxPyEndBlockThreads(blocked);
3570 }
d55e5bfc
RD
3571
3572
c1cb24a4 3573IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
d55e5bfc
RD
3574
3575// Since this one would be tough and ugly to do with the Macros...
3576void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
ae8162c8 3577 bool hadErr = false;
d55e5bfc
RD
3578 bool found;
3579
5a446332 3580 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
3581 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3582 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3583 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3584 PyObject* val;
3585
3586 val = PyTuple_GetItem(result, 0);
3587 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
ae8162c8 3588 else hadErr = true;
d55e5bfc
RD
3589
3590 val = PyTuple_GetItem(result, 1);
3591 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
ae8162c8 3592 else hadErr = true;
d55e5bfc
RD
3593
3594 val = PyTuple_GetItem(result, 2);
3595 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
ae8162c8 3596 else hadErr = true;
d55e5bfc
RD
3597
3598 val = PyTuple_GetItem(result, 3);
3599 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
ae8162c8 3600 else hadErr = true;
d55e5bfc
RD
3601 }
3602 else
ae8162c8 3603 hadErr = true;
d55e5bfc
RD
3604
3605 if (hadErr) {
3606 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3607 PyErr_Print();
3608 }
3609 Py_DECREF(result);
3610 }
3611 wxPyEndBlockThreads(blocked);
3612 if (! found)
3613 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3614}
3615
d55e5bfc
RD
3616
3617
3618IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3619IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3620IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3621IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3622IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3623IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3624IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3625
3626
3627
3628
3629
ae8162c8 3630#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
b06b3e70 3631 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
d55e5bfc
RD
3632
3633
ae8162c8
RD
3634#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3635 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3636 bool rval=false; \
3637 bool found; \
7449af73 3638 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
ae8162c8
RD
3639 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3640 PyObject* win = wxPyMake_wxObject(a,false); \
3641 PyObject* dc = wxPyMake_wxObject(&b,false); \
3642 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3643 Py_DECREF(win); \
3644 Py_DECREF(dc); \
3645 } \
3646 wxPyEndBlockThreads(blocked); \
3647 if (! found) \
3648 rval = PCLASS::CBNAME(a, b); \
3649 return rval; \
b06b3e70 3650 }
d55e5bfc
RD
3651
3652
3653
3654
3655class wxPyPrintPreview : public wxPrintPreview
3656{
3657 DECLARE_CLASS(wxPyPrintPreview)
3658public:
3659 wxPyPrintPreview(wxPyPrintout* printout,
3660 wxPyPrintout* printoutForPrinting,
3661 wxPrintDialogData* data=NULL)
3662 : wxPrintPreview(printout, printoutForPrinting, data)
3663 {}
3664 wxPyPrintPreview(wxPyPrintout* printout,
3665 wxPyPrintout* printoutForPrinting,
7449af73 3666 wxPrintData* data)
d55e5bfc
RD
3667 : wxPrintPreview(printout, printoutForPrinting, data)
3668 {}
3669
3670 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3671 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3672 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3673 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3674 DEC_PYCALLBACK_VOID_INT(SetZoom);
3675 DEC_PYCALLBACK_BOOL_BOOL(Print);
3676 DEC_PYCALLBACK_VOID_(DetermineScaling);
3677
3678 PYPRIVATE;
3679};
3680
3681// Stupid renamed classes... Fix this in 2.5...
3682#if defined(__WXMSW__)
3683IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3684#elif defined(__WXMAC__)
3685IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3686#else
3687IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3688#endif
3689
3690IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3691IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3692IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3693IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3694IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3695IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3696IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3697
3698
3699class wxPyPreviewFrame : public wxPreviewFrame
3700{
7449af73 3701 DECLARE_CLASS(wxPyPreviewFrame)
d55e5bfc
RD
3702public:
3703 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3704 const wxString& title,
3705 const wxPoint& pos = wxDefaultPosition,
3706 const wxSize& size = wxDefaultSize,
3707 long style = wxDEFAULT_FRAME_STYLE,
3708 const wxString& name = wxPyFrameNameStr)
3709 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3710 {}
3711
3712 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3713 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3714
3715 DEC_PYCALLBACK_VOID_(Initialize);
3716 DEC_PYCALLBACK_VOID_(CreateCanvas);
3717 DEC_PYCALLBACK_VOID_(CreateControlBar);
3718
3719 PYPRIVATE;
3720};
3721
3722IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3723
3724IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3725IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3726IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3727
3728
3729class wxPyPreviewControlBar : public wxPreviewControlBar
3730{
7449af73 3731 DECLARE_CLASS(wxPyPreviewControlBar)
d55e5bfc
RD
3732public:
3733 wxPyPreviewControlBar(wxPrintPreview *preview,
3734 long buttons,
3735 wxWindow *parent,
3736 const wxPoint& pos = wxDefaultPosition,
3737 const wxSize& size = wxDefaultSize,
3738 long style = 0,
3739 const wxString& name = wxPyPanelNameStr)
3740 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3741 {}
3742
3743 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3744
3745 DEC_PYCALLBACK_VOID_(CreateButtons);
3746 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3747
3748 PYPRIVATE;
3749};
3750
3751IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3752IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3753IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3754
3755#ifdef __cplusplus
3756extern "C" {
3757#endif
554f62e9
RD
3758SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3759 PyObject *resultobj = 0;
3760 wxWindow *arg1 = (wxWindow *) 0 ;
3761 int arg2 = (int) (int)-1 ;
3762 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3763 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3764 wxSize const &arg4_defvalue = wxDefaultSize ;
3765 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3766 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3767 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3768 wxString *arg6 = (wxString *) &arg6_defvalue ;
3769 wxPanel *result = 0 ;
3770 void *argp1 = 0 ;
3771 int res1 = 0 ;
3772 int val2 ;
3773 int ecode2 = 0 ;
3774 wxPoint temp3 ;
3775 wxSize temp4 ;
3776 long val5 ;
3777 int ecode5 = 0 ;
3778 bool temp6 = false ;
3779 PyObject * obj0 = 0 ;
3780 PyObject * obj1 = 0 ;
3781 PyObject * obj2 = 0 ;
3782 PyObject * obj3 = 0 ;
3783 PyObject * obj4 = 0 ;
3784 PyObject * obj5 = 0 ;
3785 char * kwnames[] = {
3786 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3787 };
3788
3789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3791 if (!SWIG_IsOK(res1)) {
3792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3793 }
3794 arg1 = reinterpret_cast< wxWindow * >(argp1);
3795 if (obj1) {
3796 ecode2 = SWIG_AsVal_int(obj1, &val2);
3797 if (!SWIG_IsOK(ecode2)) {
3798 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3799 }
3800 arg2 = static_cast< int >(val2);
3801 }
3802 if (obj2) {
d55e5bfc 3803 {
554f62e9
RD
3804 arg3 = &temp3;
3805 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 3806 }
554f62e9
RD
3807 }
3808 if (obj3) {
d55e5bfc 3809 {
554f62e9
RD
3810 arg4 = &temp4;
3811 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3812 }
554f62e9
RD
3813 }
3814 if (obj4) {
3815 ecode5 = SWIG_AsVal_long(obj4, &val5);
3816 if (!SWIG_IsOK(ecode5)) {
3817 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3818 }
3819 arg5 = static_cast< long >(val5);
3820 }
3821 if (obj5) {
d55e5bfc 3822 {
554f62e9
RD
3823 arg6 = wxString_in_helper(obj5);
3824 if (arg6 == NULL) SWIG_fail;
3825 temp6 = true;
3826 }
3827 }
3828 {
3829 if (!wxPyCheckForApp()) SWIG_fail;
3830 PyThreadState* __tstate = wxPyBeginAllowThreads();
3831 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3832 wxPyEndAllowThreads(__tstate);
3833 if (PyErr_Occurred()) SWIG_fail;
3834 }
3835 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3836 {
3837 if (temp6)
3838 delete arg6;
3839 }
3840 return resultobj;
3841fail:
3842 {
3843 if (temp6)
3844 delete arg6;
3845 }
3846 return NULL;
d55e5bfc
RD
3847}
3848
3849
554f62e9
RD
3850SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3851 PyObject *resultobj = 0;
3852 wxPanel *result = 0 ;
3853
3854 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3855 {
3856 if (!wxPyCheckForApp()) SWIG_fail;
3857 PyThreadState* __tstate = wxPyBeginAllowThreads();
3858 result = (wxPanel *)new wxPanel();
3859 wxPyEndAllowThreads(__tstate);
3860 if (PyErr_Occurred()) SWIG_fail;
3861 }
3862 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3863 return resultobj;
3864fail:
3865 return NULL;
3866}
3867
3868
3869SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3870 PyObject *resultobj = 0;
3871 wxPanel *arg1 = (wxPanel *) 0 ;
3872 wxWindow *arg2 = (wxWindow *) 0 ;
3873 int arg3 = (int) (int)-1 ;
3874 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3875 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3876 wxSize const &arg5_defvalue = wxDefaultSize ;
3877 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3878 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3879 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3880 wxString *arg7 = (wxString *) &arg7_defvalue ;
3881 bool result;
3882 void *argp1 = 0 ;
3883 int res1 = 0 ;
3884 void *argp2 = 0 ;
3885 int res2 = 0 ;
3886 int val3 ;
3887 int ecode3 = 0 ;
3888 wxPoint temp4 ;
3889 wxSize temp5 ;
3890 long val6 ;
3891 int ecode6 = 0 ;
3892 bool temp7 = false ;
3893 PyObject * obj0 = 0 ;
3894 PyObject * obj1 = 0 ;
3895 PyObject * obj2 = 0 ;
3896 PyObject * obj3 = 0 ;
3897 PyObject * obj4 = 0 ;
3898 PyObject * obj5 = 0 ;
3899 PyObject * obj6 = 0 ;
3900 char * kwnames[] = {
3901 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3902 };
3903
3904 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3905 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3906 if (!SWIG_IsOK(res1)) {
3907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3908 }
3909 arg1 = reinterpret_cast< wxPanel * >(argp1);
3910 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3911 if (!SWIG_IsOK(res2)) {
3912 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3913 }
3914 arg2 = reinterpret_cast< wxWindow * >(argp2);
3915 if (obj2) {
3916 ecode3 = SWIG_AsVal_int(obj2, &val3);
3917 if (!SWIG_IsOK(ecode3)) {
3918 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3919 }
3920 arg3 = static_cast< int >(val3);
3921 }
3922 if (obj3) {
d55e5bfc 3923 {
554f62e9
RD
3924 arg4 = &temp4;
3925 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3926 }
554f62e9
RD
3927 }
3928 if (obj4) {
d55e5bfc 3929 {
554f62e9
RD
3930 arg5 = &temp5;
3931 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3932 }
554f62e9
RD
3933 }
3934 if (obj5) {
3935 ecode6 = SWIG_AsVal_long(obj5, &val6);
3936 if (!SWIG_IsOK(ecode6)) {
3937 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3938 }
3939 arg6 = static_cast< long >(val6);
3940 }
3941 if (obj6) {
d55e5bfc 3942 {
554f62e9
RD
3943 arg7 = wxString_in_helper(obj6);
3944 if (arg7 == NULL) SWIG_fail;
3945 temp7 = true;
d55e5bfc 3946 }
554f62e9
RD
3947 }
3948 {
3949 PyThreadState* __tstate = wxPyBeginAllowThreads();
3950 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3951 wxPyEndAllowThreads(__tstate);
3952 if (PyErr_Occurred()) SWIG_fail;
3953 }
3954 {
3955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3956 }
3957 {
3958 if (temp7)
3959 delete arg7;
3960 }
3961 return resultobj;
3962fail:
3963 {
3964 if (temp7)
3965 delete arg7;
3966 }
3967 return NULL;
b519803b
RD
3968}
3969
3970
554f62e9
RD
3971SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3972 PyObject *resultobj = 0;
3973 wxPanel *arg1 = (wxPanel *) 0 ;
3974 void *argp1 = 0 ;
3975 int res1 = 0 ;
3976 PyObject *swig_obj[1] ;
3977
3978 if (!args) SWIG_fail;
3979 swig_obj[0] = args;
3980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3981 if (!SWIG_IsOK(res1)) {
3982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3983 }
3984 arg1 = reinterpret_cast< wxPanel * >(argp1);
3985 {
3986 PyThreadState* __tstate = wxPyBeginAllowThreads();
3987 (arg1)->SetFocusIgnoringChildren();
3988 wxPyEndAllowThreads(__tstate);
3989 if (PyErr_Occurred()) SWIG_fail;
3990 }
3991 resultobj = SWIG_Py_Void();
3992 return resultobj;
3993fail:
3994 return NULL;
3995}
3996
3997
3998SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3999 PyObject *resultobj = 0;
4000 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4001 SwigValueWrapper<wxVisualAttributes > result;
4002 int val1 ;
4003 int ecode1 = 0 ;
4004 PyObject * obj0 = 0 ;
4005 char * kwnames[] = {
4006 (char *) "variant", NULL
4007 };
4008
4009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4010 if (obj0) {
4011 ecode1 = SWIG_AsVal_int(obj0, &val1);
4012 if (!SWIG_IsOK(ecode1)) {
4013 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4014 }
4015 arg1 = static_cast< wxWindowVariant >(val1);
4016 }
4017 {
4018 if (!wxPyCheckForApp()) SWIG_fail;
4019 PyThreadState* __tstate = wxPyBeginAllowThreads();
4020 result = wxPanel::GetClassDefaultAttributes(arg1);
4021 wxPyEndAllowThreads(__tstate);
4022 if (PyErr_Occurred()) SWIG_fail;
4023 }
4024 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4025 return resultobj;
4026fail:
4027 return NULL;
4028}
4029
4030
4031SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4032 PyObject *obj;
4033 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4034 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4035 return SWIG_Py_Void();
4036}
4037
4038SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4039 return SWIG_Python_InitShadowInstance(args);
4040}
4041
4042SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4043 PyObject *resultobj = 0;
4044 wxWindow *arg1 = (wxWindow *) 0 ;
4045 int arg2 = (int) (int)-1 ;
4046 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4047 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4048 wxSize const &arg4_defvalue = wxDefaultSize ;
4049 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4050 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4051 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4052 wxString *arg6 = (wxString *) &arg6_defvalue ;
4053 wxScrolledWindow *result = 0 ;
4054 void *argp1 = 0 ;
4055 int res1 = 0 ;
4056 int val2 ;
4057 int ecode2 = 0 ;
4058 wxPoint temp3 ;
4059 wxSize temp4 ;
4060 long val5 ;
4061 int ecode5 = 0 ;
4062 bool temp6 = false ;
4063 PyObject * obj0 = 0 ;
4064 PyObject * obj1 = 0 ;
4065 PyObject * obj2 = 0 ;
4066 PyObject * obj3 = 0 ;
4067 PyObject * obj4 = 0 ;
4068 PyObject * obj5 = 0 ;
4069 char * kwnames[] = {
4070 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4071 };
4072
4073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4075 if (!SWIG_IsOK(res1)) {
4076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4077 }
4078 arg1 = reinterpret_cast< wxWindow * >(argp1);
4079 if (obj1) {
4080 ecode2 = SWIG_AsVal_int(obj1, &val2);
4081 if (!SWIG_IsOK(ecode2)) {
4082 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4083 }
4084 arg2 = static_cast< int >(val2);
4085 }
4086 if (obj2) {
b519803b 4087 {
554f62e9
RD
4088 arg3 = &temp3;
4089 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
f20a2e1f 4090 }
554f62e9
RD
4091 }
4092 if (obj3) {
f20a2e1f 4093 {
554f62e9
RD
4094 arg4 = &temp4;
4095 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
f20a2e1f 4096 }
554f62e9
RD
4097 }
4098 if (obj4) {
4099 ecode5 = SWIG_AsVal_long(obj4, &val5);
4100 if (!SWIG_IsOK(ecode5)) {
4101 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4102 }
4103 arg5 = static_cast< long >(val5);
4104 }
4105 if (obj5) {
f20a2e1f 4106 {
554f62e9
RD
4107 arg6 = wxString_in_helper(obj5);
4108 if (arg6 == NULL) SWIG_fail;
4109 temp6 = true;
f20a2e1f 4110 }
554f62e9
RD
4111 }
4112 {
4113 if (!wxPyCheckForApp()) SWIG_fail;
4114 PyThreadState* __tstate = wxPyBeginAllowThreads();
4115 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4116 wxPyEndAllowThreads(__tstate);
4117 if (PyErr_Occurred()) SWIG_fail;
4118 }
4119 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4120 {
4121 if (temp6)
4122 delete arg6;
4123 }
4124 return resultobj;
4125fail:
4126 {
4127 if (temp6)
4128 delete arg6;
4129 }
4130 return NULL;
f20a2e1f
RD
4131}
4132
4133
554f62e9
RD
4134SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4135 PyObject *resultobj = 0;
4136 wxScrolledWindow *result = 0 ;
4137
4138 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4139 {
4140 if (!wxPyCheckForApp()) SWIG_fail;
4141 PyThreadState* __tstate = wxPyBeginAllowThreads();
4142 result = (wxScrolledWindow *)new wxScrolledWindow();
4143 wxPyEndAllowThreads(__tstate);
4144 if (PyErr_Occurred()) SWIG_fail;
4145 }
4146 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4147 return resultobj;
4148fail:
4149 return NULL;
4150}
4151
4152
4153SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4154 PyObject *resultobj = 0;
4155 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4156 wxWindow *arg2 = (wxWindow *) 0 ;
4157 int arg3 = (int) (int)-1 ;
4158 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4159 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4160 wxSize const &arg5_defvalue = wxDefaultSize ;
4161 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4162 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4163 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4164 wxString *arg7 = (wxString *) &arg7_defvalue ;
4165 bool result;
4166 void *argp1 = 0 ;
4167 int res1 = 0 ;
4168 void *argp2 = 0 ;
4169 int res2 = 0 ;
4170 int val3 ;
4171 int ecode3 = 0 ;
4172 wxPoint temp4 ;
4173 wxSize temp5 ;
4174 long val6 ;
4175 int ecode6 = 0 ;
4176 bool temp7 = false ;
4177 PyObject * obj0 = 0 ;
4178 PyObject * obj1 = 0 ;
4179 PyObject * obj2 = 0 ;
4180 PyObject * obj3 = 0 ;
4181 PyObject * obj4 = 0 ;
4182 PyObject * obj5 = 0 ;
4183 PyObject * obj6 = 0 ;
4184 char * kwnames[] = {
4185 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4186 };
4187
4188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4190 if (!SWIG_IsOK(res1)) {
4191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4192 }
4193 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4194 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4195 if (!SWIG_IsOK(res2)) {
4196 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4197 }
4198 arg2 = reinterpret_cast< wxWindow * >(argp2);
4199 if (obj2) {
4200 ecode3 = SWIG_AsVal_int(obj2, &val3);
4201 if (!SWIG_IsOK(ecode3)) {
4202 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4203 }
4204 arg3 = static_cast< int >(val3);
4205 }
4206 if (obj3) {
d55e5bfc 4207 {
554f62e9
RD
4208 arg4 = &temp4;
4209 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4210 }
4211 }
4212 if (obj4) {
d55e5bfc 4213 {
554f62e9
RD
4214 arg5 = &temp5;
4215 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 4216 }
554f62e9
RD
4217 }
4218 if (obj5) {
4219 ecode6 = SWIG_AsVal_long(obj5, &val6);
4220 if (!SWIG_IsOK(ecode6)) {
4221 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4222 }
4223 arg6 = static_cast< long >(val6);
4224 }
4225 if (obj6) {
d55e5bfc 4226 {
554f62e9
RD
4227 arg7 = wxString_in_helper(obj6);
4228 if (arg7 == NULL) SWIG_fail;
4229 temp7 = true;
d55e5bfc 4230 }
554f62e9
RD
4231 }
4232 {
4233 PyThreadState* __tstate = wxPyBeginAllowThreads();
4234 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4235 wxPyEndAllowThreads(__tstate);
4236 if (PyErr_Occurred()) SWIG_fail;
4237 }
4238 {
4239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4240 }
4241 {
4242 if (temp7)
4243 delete arg7;
4244 }
4245 return resultobj;
4246fail:
4247 {
4248 if (temp7)
4249 delete arg7;
4250 }
4251 return NULL;
4252}
4253
4254
4255SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4256 PyObject *resultobj = 0;
4257 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4258 int arg2 ;
4259 int arg3 ;
4260 int arg4 ;
4261 int arg5 ;
4262 int arg6 = (int) 0 ;
4263 int arg7 = (int) 0 ;
4264 bool arg8 = (bool) false ;
4265 void *argp1 = 0 ;
4266 int res1 = 0 ;
4267 int val2 ;
4268 int ecode2 = 0 ;
4269 int val3 ;
4270 int ecode3 = 0 ;
4271 int val4 ;
4272 int ecode4 = 0 ;
4273 int val5 ;
4274 int ecode5 = 0 ;
4275 int val6 ;
4276 int ecode6 = 0 ;
4277 int val7 ;
4278 int ecode7 = 0 ;
4279 bool val8 ;
4280 int ecode8 = 0 ;
4281 PyObject * obj0 = 0 ;
4282 PyObject * obj1 = 0 ;
4283 PyObject * obj2 = 0 ;
4284 PyObject * obj3 = 0 ;
4285 PyObject * obj4 = 0 ;
4286 PyObject * obj5 = 0 ;
4287 PyObject * obj6 = 0 ;
4288 PyObject * obj7 = 0 ;
4289 char * kwnames[] = {
4290 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4291 };
4292
4293 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4294 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4295 if (!SWIG_IsOK(res1)) {
4296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4297 }
4298 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4299 ecode2 = SWIG_AsVal_int(obj1, &val2);
4300 if (!SWIG_IsOK(ecode2)) {
4301 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4302 }
4303 arg2 = static_cast< int >(val2);
4304 ecode3 = SWIG_AsVal_int(obj2, &val3);
4305 if (!SWIG_IsOK(ecode3)) {
4306 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4307 }
4308 arg3 = static_cast< int >(val3);
4309 ecode4 = SWIG_AsVal_int(obj3, &val4);
4310 if (!SWIG_IsOK(ecode4)) {
4311 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4312 }
4313 arg4 = static_cast< int >(val4);
4314 ecode5 = SWIG_AsVal_int(obj4, &val5);
4315 if (!SWIG_IsOK(ecode5)) {
4316 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4317 }
4318 arg5 = static_cast< int >(val5);
4319 if (obj5) {
4320 ecode6 = SWIG_AsVal_int(obj5, &val6);
4321 if (!SWIG_IsOK(ecode6)) {
4322 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4323 }
4324 arg6 = static_cast< int >(val6);
4325 }
4326 if (obj6) {
4327 ecode7 = SWIG_AsVal_int(obj6, &val7);
4328 if (!SWIG_IsOK(ecode7)) {
4329 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4330 }
4331 arg7 = static_cast< int >(val7);
4332 }
4333 if (obj7) {
4334 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4335 if (!SWIG_IsOK(ecode8)) {
4336 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4337 }
4338 arg8 = static_cast< bool >(val8);
4339 }
4340 {
4341 PyThreadState* __tstate = wxPyBeginAllowThreads();
4342 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4343 wxPyEndAllowThreads(__tstate);
4344 if (PyErr_Occurred()) SWIG_fail;
4345 }
4346 resultobj = SWIG_Py_Void();
4347 return resultobj;
4348fail:
4349 return NULL;
4350}
4351
4352
4353SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4354 PyObject *resultobj = 0;
4355 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4356 int arg2 ;
4357 int arg3 ;
4358 void *argp1 = 0 ;
4359 int res1 = 0 ;
4360 int val2 ;
4361 int ecode2 = 0 ;
4362 int val3 ;
4363 int ecode3 = 0 ;
4364 PyObject * obj0 = 0 ;
4365 PyObject * obj1 = 0 ;
4366 PyObject * obj2 = 0 ;
4367 char * kwnames[] = {
4368 (char *) "self",(char *) "x",(char *) "y", NULL
4369 };
4370
4371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4373 if (!SWIG_IsOK(res1)) {
4374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4375 }
4376 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4377 ecode2 = SWIG_AsVal_int(obj1, &val2);
4378 if (!SWIG_IsOK(ecode2)) {
4379 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4380 }
4381 arg2 = static_cast< int >(val2);
4382 ecode3 = SWIG_AsVal_int(obj2, &val3);
4383 if (!SWIG_IsOK(ecode3)) {
4384 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4385 }
4386 arg3 = static_cast< int >(val3);
4387 {
4388 PyThreadState* __tstate = wxPyBeginAllowThreads();
4389 (arg1)->Scroll(arg2,arg3);
4390 wxPyEndAllowThreads(__tstate);
4391 if (PyErr_Occurred()) SWIG_fail;
4392 }
4393 resultobj = SWIG_Py_Void();
4394 return resultobj;
4395fail:
4396 return NULL;
4397}
4398
4399
4400SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4401 PyObject *resultobj = 0;
4402 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4403 int arg2 ;
4404 int result;
4405 void *argp1 = 0 ;
4406 int res1 = 0 ;
4407 int val2 ;
4408 int ecode2 = 0 ;
4409 PyObject * obj0 = 0 ;
4410 PyObject * obj1 = 0 ;
4411 char * kwnames[] = {
4412 (char *) "self",(char *) "orient", NULL
4413 };
4414
4415 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4416 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4417 if (!SWIG_IsOK(res1)) {
4418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4419 }
4420 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4421 ecode2 = SWIG_AsVal_int(obj1, &val2);
4422 if (!SWIG_IsOK(ecode2)) {
4423 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4424 }
4425 arg2 = static_cast< int >(val2);
4426 {
4427 PyThreadState* __tstate = wxPyBeginAllowThreads();
4428 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4429 wxPyEndAllowThreads(__tstate);
4430 if (PyErr_Occurred()) SWIG_fail;
4431 }
4432 resultobj = SWIG_From_int(static_cast< int >(result));
4433 return resultobj;
4434fail:
4435 return NULL;
4436}
4437
4438
4439SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4440 PyObject *resultobj = 0;
4441 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4442 int arg2 ;
4443 int arg3 ;
4444 void *argp1 = 0 ;
4445 int res1 = 0 ;
4446 int val2 ;
4447 int ecode2 = 0 ;
4448 int val3 ;
4449 int ecode3 = 0 ;
4450 PyObject * obj0 = 0 ;
4451 PyObject * obj1 = 0 ;
4452 PyObject * obj2 = 0 ;
4453 char * kwnames[] = {
4454 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4455 };
4456
4457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4459 if (!SWIG_IsOK(res1)) {
4460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4461 }
4462 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4463 ecode2 = SWIG_AsVal_int(obj1, &val2);
4464 if (!SWIG_IsOK(ecode2)) {
4465 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4466 }
4467 arg2 = static_cast< int >(val2);
4468 ecode3 = SWIG_AsVal_int(obj2, &val3);
4469 if (!SWIG_IsOK(ecode3)) {
4470 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4471 }
4472 arg3 = static_cast< int >(val3);
4473 {
4474 PyThreadState* __tstate = wxPyBeginAllowThreads();
4475 (arg1)->SetScrollPageSize(arg2,arg3);
4476 wxPyEndAllowThreads(__tstate);
4477 if (PyErr_Occurred()) SWIG_fail;
4478 }
4479 resultobj = SWIG_Py_Void();
4480 return resultobj;
4481fail:
4482 return NULL;
4483}
4484
4485
4486SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4487 PyObject *resultobj = 0;
4488 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4489 int arg2 ;
4490 int arg3 ;
4491 void *argp1 = 0 ;
4492 int res1 = 0 ;
4493 int val2 ;
4494 int ecode2 = 0 ;
4495 int val3 ;
4496 int ecode3 = 0 ;
4497 PyObject * obj0 = 0 ;
4498 PyObject * obj1 = 0 ;
4499 PyObject * obj2 = 0 ;
4500 char * kwnames[] = {
4501 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4502 };
4503
4504 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4505 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4506 if (!SWIG_IsOK(res1)) {
4507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4508 }
4509 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4510 ecode2 = SWIG_AsVal_int(obj1, &val2);
4511 if (!SWIG_IsOK(ecode2)) {
4512 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4513 }
4514 arg2 = static_cast< int >(val2);
4515 ecode3 = SWIG_AsVal_int(obj2, &val3);
4516 if (!SWIG_IsOK(ecode3)) {
4517 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4518 }
4519 arg3 = static_cast< int >(val3);
4520 {
4521 PyThreadState* __tstate = wxPyBeginAllowThreads();
4522 (arg1)->SetScrollRate(arg2,arg3);
4523 wxPyEndAllowThreads(__tstate);
4524 if (PyErr_Occurred()) SWIG_fail;
4525 }
4526 resultobj = SWIG_Py_Void();
4527 return resultobj;
4528fail:
4529 return NULL;
4530}
4531
4532
4533SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4534 PyObject *resultobj = 0;
4535 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4536 int *arg2 = (int *) 0 ;
4537 int *arg3 = (int *) 0 ;
4538 void *argp1 = 0 ;
4539 int res1 = 0 ;
4540 int temp2 ;
4541 int res2 = SWIG_TMPOBJ ;
4542 int temp3 ;
4543 int res3 = SWIG_TMPOBJ ;
4544 PyObject *swig_obj[1] ;
4545
4546 arg2 = &temp2;
4547 arg3 = &temp3;
4548 if (!args) SWIG_fail;
4549 swig_obj[0] = args;
4550 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4551 if (!SWIG_IsOK(res1)) {
4552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4553 }
4554 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4555 {
4556 PyThreadState* __tstate = wxPyBeginAllowThreads();
4557 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4558 wxPyEndAllowThreads(__tstate);
4559 if (PyErr_Occurred()) SWIG_fail;
4560 }
4561 resultobj = SWIG_Py_Void();
4562 if (SWIG_IsTmpObj(res2)) {
4563 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4564 } else {
4565 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4566 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4567 }
4568 if (SWIG_IsTmpObj(res3)) {
4569 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4570 } else {
4571 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4572 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4573 }
4574 return resultobj;
4575fail:
4576 return NULL;
4577}
4578
4579
4580SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4581 PyObject *resultobj = 0;
4582 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4583 bool arg2 ;
4584 bool arg3 ;
4585 void *argp1 = 0 ;
4586 int res1 = 0 ;
4587 bool val2 ;
4588 int ecode2 = 0 ;
4589 bool val3 ;
4590 int ecode3 = 0 ;
4591 PyObject * obj0 = 0 ;
4592 PyObject * obj1 = 0 ;
4593 PyObject * obj2 = 0 ;
4594 char * kwnames[] = {
4595 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4596 };
4597
4598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4600 if (!SWIG_IsOK(res1)) {
4601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4602 }
4603 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4604 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4605 if (!SWIG_IsOK(ecode2)) {
4606 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4607 }
4608 arg2 = static_cast< bool >(val2);
4609 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4610 if (!SWIG_IsOK(ecode3)) {
4611 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4612 }
4613 arg3 = static_cast< bool >(val3);
4614 {
4615 PyThreadState* __tstate = wxPyBeginAllowThreads();
4616 (arg1)->EnableScrolling(arg2,arg3);
4617 wxPyEndAllowThreads(__tstate);
4618 if (PyErr_Occurred()) SWIG_fail;
4619 }
4620 resultobj = SWIG_Py_Void();
4621 return resultobj;
4622fail:
4623 return NULL;
4624}
4625
4626
4627SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4628 PyObject *resultobj = 0;
4629 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4630 int *arg2 = (int *) 0 ;
4631 int *arg3 = (int *) 0 ;
4632 void *argp1 = 0 ;
4633 int res1 = 0 ;
4634 int temp2 ;
4635 int res2 = SWIG_TMPOBJ ;
4636 int temp3 ;
4637 int res3 = SWIG_TMPOBJ ;
4638 PyObject *swig_obj[1] ;
4639
4640 arg2 = &temp2;
4641 arg3 = &temp3;
4642 if (!args) SWIG_fail;
4643 swig_obj[0] = args;
4644 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4645 if (!SWIG_IsOK(res1)) {
4646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4647 }
4648 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4649 {
4650 PyThreadState* __tstate = wxPyBeginAllowThreads();
4651 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4652 wxPyEndAllowThreads(__tstate);
4653 if (PyErr_Occurred()) SWIG_fail;
4654 }
4655 resultobj = SWIG_Py_Void();
4656 if (SWIG_IsTmpObj(res2)) {
4657 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4658 } else {
4659 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4660 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4661 }
4662 if (SWIG_IsTmpObj(res3)) {
4663 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4664 } else {
4665 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4666 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4667 }
4668 return resultobj;
4669fail:
4670 return NULL;
4671}
4672
4673
4674SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4675 PyObject *resultobj = 0;
4676 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4677 double arg2 ;
4678 double arg3 ;
4679 void *argp1 = 0 ;
4680 int res1 = 0 ;
4681 double val2 ;
4682 int ecode2 = 0 ;
4683 double val3 ;
4684 int ecode3 = 0 ;
4685 PyObject * obj0 = 0 ;
4686 PyObject * obj1 = 0 ;
4687 PyObject * obj2 = 0 ;
4688 char * kwnames[] = {
4689 (char *) "self",(char *) "xs",(char *) "ys", NULL
4690 };
4691
4692 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4693 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4694 if (!SWIG_IsOK(res1)) {
4695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4696 }
4697 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4698 ecode2 = SWIG_AsVal_double(obj1, &val2);
4699 if (!SWIG_IsOK(ecode2)) {
4700 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4701 }
4702 arg2 = static_cast< double >(val2);
4703 ecode3 = SWIG_AsVal_double(obj2, &val3);
4704 if (!SWIG_IsOK(ecode3)) {
4705 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4706 }
4707 arg3 = static_cast< double >(val3);
4708 {
4709 PyThreadState* __tstate = wxPyBeginAllowThreads();
4710 (arg1)->SetScale(arg2,arg3);
4711 wxPyEndAllowThreads(__tstate);
4712 if (PyErr_Occurred()) SWIG_fail;
4713 }
4714 resultobj = SWIG_Py_Void();
4715 return resultobj;
4716fail:
4717 return NULL;
d55e5bfc
RD
4718}
4719
4720
554f62e9
RD
4721SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4722 PyObject *resultobj = 0;
4723 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4724 double result;
4725 void *argp1 = 0 ;
4726 int res1 = 0 ;
4727 PyObject *swig_obj[1] ;
4728
4729 if (!args) SWIG_fail;
4730 swig_obj[0] = args;
4731 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4732 if (!SWIG_IsOK(res1)) {
4733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4734 }
4735 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4736 {
4737 PyThreadState* __tstate = wxPyBeginAllowThreads();
4738 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4739 wxPyEndAllowThreads(__tstate);
4740 if (PyErr_Occurred()) SWIG_fail;
4741 }
4742 resultobj = SWIG_From_double(static_cast< double >(result));
4743 return resultobj;
4744fail:
4745 return NULL;
d55e5bfc
RD
4746}
4747
4748
554f62e9
RD
4749SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4750 PyObject *resultobj = 0;
4751 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4752 double result;
4753 void *argp1 = 0 ;
4754 int res1 = 0 ;
4755 PyObject *swig_obj[1] ;
4756
4757 if (!args) SWIG_fail;
4758 swig_obj[0] = args;
4759 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4760 if (!SWIG_IsOK(res1)) {
4761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4762 }
4763 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4764 {
4765 PyThreadState* __tstate = wxPyBeginAllowThreads();
4766 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4767 wxPyEndAllowThreads(__tstate);
4768 if (PyErr_Occurred()) SWIG_fail;
4769 }
4770 resultobj = SWIG_From_double(static_cast< double >(result));
4771 return resultobj;
4772fail:
4773 return NULL;
d55e5bfc
RD
4774}
4775
4776
554f62e9
RD
4777SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4778 PyObject *resultobj = 0;
4779 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4780 wxPoint *arg2 = 0 ;
4781 wxPoint result;
4782 void *argp1 = 0 ;
4783 int res1 = 0 ;
4784 wxPoint temp2 ;
4785
4786 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4787 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4788 if (!SWIG_IsOK(res1)) {
4789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4790 }
4791 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4792 {
4793 arg2 = &temp2;
4794 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4795 }
4796 {
4797 PyThreadState* __tstate = wxPyBeginAllowThreads();
4798 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4799 wxPyEndAllowThreads(__tstate);
4800 if (PyErr_Occurred()) SWIG_fail;
4801 }
4802 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4803 return resultobj;
4804fail:
4805 return NULL;
4806}
4807
4808
4809SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4810 PyObject *resultobj = 0;
4811 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4812 int arg2 ;
4813 int arg3 ;
4814 int *arg4 = (int *) 0 ;
4815 int *arg5 = (int *) 0 ;
4816 void *argp1 = 0 ;
4817 int res1 = 0 ;
4818 int val2 ;
4819 int ecode2 = 0 ;
4820 int val3 ;
4821 int ecode3 = 0 ;
4822 int temp4 ;
4823 int res4 = SWIG_TMPOBJ ;
4824 int temp5 ;
4825 int res5 = SWIG_TMPOBJ ;
4826
4827 arg4 = &temp4;
4828 arg5 = &temp5;
4829 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4830 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4831 if (!SWIG_IsOK(res1)) {
4832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4833 }
4834 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4835 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4836 if (!SWIG_IsOK(ecode2)) {
4837 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4838 }
4839 arg2 = static_cast< int >(val2);
4840 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4841 if (!SWIG_IsOK(ecode3)) {
4842 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4843 }
4844 arg3 = static_cast< int >(val3);
4845 {
4846 PyThreadState* __tstate = wxPyBeginAllowThreads();
4847 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4848 wxPyEndAllowThreads(__tstate);
4849 if (PyErr_Occurred()) SWIG_fail;
4850 }
4851 resultobj = SWIG_Py_Void();
4852 if (SWIG_IsTmpObj(res4)) {
4853 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4854 } else {
4855 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4856 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4857 }
4858 if (SWIG_IsTmpObj(res5)) {
4859 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4860 } else {
4861 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4862 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4863 }
4864 return resultobj;
4865fail:
4866 return NULL;
d55e5bfc
RD
4867}
4868
4869
554f62e9
RD
4870SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4871 int argc;
4872 PyObject *argv[4];
4873
4874 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4875 --argc;
4876 if (argc == 2) {
4877 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4878 }
4879 if (argc == 3) {
4880 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4881 }
4882
4883fail:
4884 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4885 return NULL;
d55e5bfc
RD
4886}
4887
4888
554f62e9
RD
4889SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4890 PyObject *resultobj = 0;
4891 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4892 wxPoint *arg2 = 0 ;
4893 wxPoint result;
4894 void *argp1 = 0 ;
4895 int res1 = 0 ;
4896 wxPoint temp2 ;
4897
4898 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4899 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4900 if (!SWIG_IsOK(res1)) {
4901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4902 }
4903 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4904 {
4905 arg2 = &temp2;
4906 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4907 }
4908 {
4909 PyThreadState* __tstate = wxPyBeginAllowThreads();
4910 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4911 wxPyEndAllowThreads(__tstate);
4912 if (PyErr_Occurred()) SWIG_fail;
4913 }
4914 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4915 return resultobj;
4916fail:
4917 return NULL;
4918}
4919
4920
4921SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4922 PyObject *resultobj = 0;
4923 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4924 int arg2 ;
4925 int arg3 ;
4926 int *arg4 = (int *) 0 ;
4927 int *arg5 = (int *) 0 ;
4928 void *argp1 = 0 ;
4929 int res1 = 0 ;
4930 int val2 ;
4931 int ecode2 = 0 ;
4932 int val3 ;
4933 int ecode3 = 0 ;
4934 int temp4 ;
4935 int res4 = SWIG_TMPOBJ ;
4936 int temp5 ;
4937 int res5 = SWIG_TMPOBJ ;
4938
4939 arg4 = &temp4;
4940 arg5 = &temp5;
4941 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4942 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4943 if (!SWIG_IsOK(res1)) {
4944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4945 }
4946 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4947 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4948 if (!SWIG_IsOK(ecode2)) {
4949 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4950 }
4951 arg2 = static_cast< int >(val2);
4952 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4953 if (!SWIG_IsOK(ecode3)) {
4954 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4955 }
4956 arg3 = static_cast< int >(val3);
4957 {
4958 PyThreadState* __tstate = wxPyBeginAllowThreads();
4959 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4960 wxPyEndAllowThreads(__tstate);
4961 if (PyErr_Occurred()) SWIG_fail;
4962 }
4963 resultobj = SWIG_Py_Void();
4964 if (SWIG_IsTmpObj(res4)) {
4965 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4966 } else {
4967 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4968 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4969 }
4970 if (SWIG_IsTmpObj(res5)) {
4971 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4972 } else {
4973 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4974 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4975 }
4976 return resultobj;
4977fail:
4978 return NULL;
d55e5bfc
RD
4979}
4980
4981
554f62e9
RD
4982SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4983 int argc;
4984 PyObject *argv[4];
4985
4986 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4987 --argc;
4988 if (argc == 2) {
4989 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4990 }
4991 if (argc == 3) {
4992 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4993 }
4994
4995fail:
4996 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4997 return NULL;
d55e5bfc
RD
4998}
4999
5000
554f62e9
RD
5001SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5002 PyObject *resultobj = 0;
5003 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5004 void *argp1 = 0 ;
5005 int res1 = 0 ;
5006 PyObject *swig_obj[1] ;
5007
5008 if (!args) SWIG_fail;
5009 swig_obj[0] = args;
5010 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5011 if (!SWIG_IsOK(res1)) {
5012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5013 }
5014 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5015 {
5016 PyThreadState* __tstate = wxPyBeginAllowThreads();
5017 (arg1)->AdjustScrollbars();
5018 wxPyEndAllowThreads(__tstate);
5019 if (PyErr_Occurred()) SWIG_fail;
5020 }
5021 resultobj = SWIG_Py_Void();
5022 return resultobj;
5023fail:
5024 return NULL;
5025}
5026
5027
5028SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5029 PyObject *resultobj = 0;
5030 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5031 wxScrollWinEvent *arg2 = 0 ;
5032 int result;
5033 void *argp1 = 0 ;
5034 int res1 = 0 ;
5035 void *argp2 = 0 ;
5036 int res2 = 0 ;
5037 PyObject * obj0 = 0 ;
5038 PyObject * obj1 = 0 ;
5039 char * kwnames[] = {
5040 (char *) "self",(char *) "event", NULL
5041 };
5042
5043 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5044 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5045 if (!SWIG_IsOK(res1)) {
5046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5047 }
5048 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5049 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5050 if (!SWIG_IsOK(res2)) {
5051 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5052 }
5053 if (!argp2) {
5054 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5055 }
5056 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5057 {
5058 PyThreadState* __tstate = wxPyBeginAllowThreads();
5059 result = (int)(arg1)->CalcScrollInc(*arg2);
5060 wxPyEndAllowThreads(__tstate);
5061 if (PyErr_Occurred()) SWIG_fail;
5062 }
5063 resultobj = SWIG_From_int(static_cast< int >(result));
5064 return resultobj;
5065fail:
5066 return NULL;
5067}
5068
5069
5070SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5071 PyObject *resultobj = 0;
5072 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5073 wxWindow *arg2 = (wxWindow *) 0 ;
5074 void *argp1 = 0 ;
5075 int res1 = 0 ;
5076 void *argp2 = 0 ;
5077 int res2 = 0 ;
5078 PyObject * obj0 = 0 ;
5079 PyObject * obj1 = 0 ;
5080 char * kwnames[] = {
5081 (char *) "self",(char *) "target", NULL
5082 };
5083
5084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5086 if (!SWIG_IsOK(res1)) {
5087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5088 }
5089 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5090 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5091 if (!SWIG_IsOK(res2)) {
5092 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5093 }
5094 arg2 = reinterpret_cast< wxWindow * >(argp2);
5095 {
5096 PyThreadState* __tstate = wxPyBeginAllowThreads();
5097 (arg1)->SetTargetWindow(arg2);
5098 wxPyEndAllowThreads(__tstate);
5099 if (PyErr_Occurred()) SWIG_fail;
5100 }
5101 resultobj = SWIG_Py_Void();
5102 return resultobj;
5103fail:
5104 return NULL;
d55e5bfc
RD
5105}
5106
5107
554f62e9
RD
5108SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5109 PyObject *resultobj = 0;
5110 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5111 wxWindow *result = 0 ;
5112 void *argp1 = 0 ;
5113 int res1 = 0 ;
5114 PyObject *swig_obj[1] ;
5115
5116 if (!args) SWIG_fail;
5117 swig_obj[0] = args;
5118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5119 if (!SWIG_IsOK(res1)) {
5120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5121 }
5122 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5123 {
5124 PyThreadState* __tstate = wxPyBeginAllowThreads();
5125 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5126 wxPyEndAllowThreads(__tstate);
5127 if (PyErr_Occurred()) SWIG_fail;
5128 }
5129 {
5130 resultobj = wxPyMake_wxObject(result, 0);
5131 }
5132 return resultobj;
5133fail:
5134 return NULL;
5135}
5136
5137
5138SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5139 PyObject *resultobj = 0;
5140 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5141 wxRect *arg2 = 0 ;
5142 void *argp1 = 0 ;
5143 int res1 = 0 ;
5144 wxRect temp2 ;
5145 PyObject * obj0 = 0 ;
5146 PyObject * obj1 = 0 ;
5147 char * kwnames[] = {
5148 (char *) "self",(char *) "rect", NULL
5149 };
5150
5151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5153 if (!SWIG_IsOK(res1)) {
5154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5155 }
5156 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5157 {
5158 arg2 = &temp2;
5159 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5160 }
5161 {
5162 PyThreadState* __tstate = wxPyBeginAllowThreads();
5163 (arg1)->SetTargetRect((wxRect const &)*arg2);
5164 wxPyEndAllowThreads(__tstate);
5165 if (PyErr_Occurred()) SWIG_fail;
5166 }
5167 resultobj = SWIG_Py_Void();
5168 return resultobj;
5169fail:
5170 return NULL;
d55e5bfc
RD
5171}
5172
5173
554f62e9
RD
5174SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5175 PyObject *resultobj = 0;
5176 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5177 wxRect result;
5178 void *argp1 = 0 ;
5179 int res1 = 0 ;
5180 PyObject *swig_obj[1] ;
5181
5182 if (!args) SWIG_fail;
5183 swig_obj[0] = args;
5184 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5185 if (!SWIG_IsOK(res1)) {
5186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5187 }
5188 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5189 {
5190 PyThreadState* __tstate = wxPyBeginAllowThreads();
5191 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5192 wxPyEndAllowThreads(__tstate);
5193 if (PyErr_Occurred()) SWIG_fail;
5194 }
5195 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5196 return resultobj;
5197fail:
5198 return NULL;
5199}
5200
5201
5202SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5203 PyObject *resultobj = 0;
5204 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5205 wxDC *arg2 = 0 ;
5206 void *argp1 = 0 ;
5207 int res1 = 0 ;
5208 void *argp2 = 0 ;
5209 int res2 = 0 ;
5210 PyObject * obj0 = 0 ;
5211 PyObject * obj1 = 0 ;
5212 char * kwnames[] = {
5213 (char *) "self",(char *) "dc", NULL
5214 };
5215
5216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5218 if (!SWIG_IsOK(res1)) {
5219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5220 }
5221 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5222 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5223 if (!SWIG_IsOK(res2)) {
5224 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5225 }
5226 if (!argp2) {
5227 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5228 }
5229 arg2 = reinterpret_cast< wxDC * >(argp2);
5230 {
5231 PyThreadState* __tstate = wxPyBeginAllowThreads();
5232 (arg1)->DoPrepareDC(*arg2);
5233 wxPyEndAllowThreads(__tstate);
5234 if (PyErr_Occurred()) SWIG_fail;
5235 }
5236 resultobj = SWIG_Py_Void();
5237 return resultobj;
5238fail:
5239 return NULL;
5240}
5241
5242
5243SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5244 PyObject *resultobj = 0;
5245 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5246 SwigValueWrapper<wxVisualAttributes > result;
5247 int val1 ;
5248 int ecode1 = 0 ;
5249 PyObject * obj0 = 0 ;
5250 char * kwnames[] = {
5251 (char *) "variant", NULL
5252 };
5253
5254 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5255 if (obj0) {
5256 ecode1 = SWIG_AsVal_int(obj0, &val1);
5257 if (!SWIG_IsOK(ecode1)) {
5258 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5259 }
5260 arg1 = static_cast< wxWindowVariant >(val1);
5261 }
5262 {
5263 if (!wxPyCheckForApp()) SWIG_fail;
5264 PyThreadState* __tstate = wxPyBeginAllowThreads();
5265 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5266 wxPyEndAllowThreads(__tstate);
5267 if (PyErr_Occurred()) SWIG_fail;
5268 }
5269 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5270 return resultobj;
5271fail:
5272 return NULL;
d55e5bfc
RD
5273}
5274
5275
554f62e9
RD
5276SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5277 PyObject *obj;
5278 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5279 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5280 return SWIG_Py_Void();
d55e5bfc
RD
5281}
5282
554f62e9
RD
5283SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5284 return SWIG_Python_InitShadowInstance(args);
5285}
d55e5bfc 5286
554f62e9
RD
5287SWIGINTERN int FrameNameStr_set(PyObject *) {
5288 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5289 return 1;
d55e5bfc
RD
5290}
5291
5292
554f62e9
RD
5293SWIGINTERN PyObject *FrameNameStr_get(void) {
5294 PyObject *pyobj = 0;
5295
5296 {
5297#if wxUSE_UNICODE
5298 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5299#else
5300 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5301#endif
5302 }
5303 return pyobj;
d55e5bfc
RD
5304}
5305
5306
554f62e9
RD
5307SWIGINTERN int DialogNameStr_set(PyObject *) {
5308 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5309 return 1;
d55e5bfc
RD
5310}
5311
5312
554f62e9
RD
5313SWIGINTERN PyObject *DialogNameStr_get(void) {
5314 PyObject *pyobj = 0;
5315
5316 {
5317#if wxUSE_UNICODE
5318 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5319#else
5320 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5321#endif
5322 }
5323 return pyobj;
d55e5bfc
RD
5324}
5325
5326
554f62e9
RD
5327SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5328 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5329 return 1;
d55e5bfc
RD
5330}
5331
5332
554f62e9
RD
5333SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5334 PyObject *pyobj = 0;
5335
5336 {
5337#if wxUSE_UNICODE
5338 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5339#else
5340 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5341#endif
5342 }
5343 return pyobj;
d55e5bfc
RD
5344}
5345
5346
554f62e9
RD
5347SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5348 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5349 return 1;
d55e5bfc
RD
5350}
5351
5352
554f62e9
RD
5353SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5354 PyObject *pyobj = 0;
5355
5356 {
5357#if wxUSE_UNICODE
5358 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5359#else
5360 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5361#endif
5362 }
5363 return pyobj;
5364}
5365
5366
5367SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5368 PyObject *resultobj = 0;
5369 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5370 bool arg2 = (bool) true ;
5371 void *argp1 = 0 ;
5372 int res1 = 0 ;
5373 bool val2 ;
5374 int ecode2 = 0 ;
5375 PyObject * obj0 = 0 ;
5376 PyObject * obj1 = 0 ;
5377 char * kwnames[] = {
5378 (char *) "self",(char *) "maximize", NULL
5379 };
5380
5381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5383 if (!SWIG_IsOK(res1)) {
5384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5385 }
5386 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5387 if (obj1) {
5388 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5389 if (!SWIG_IsOK(ecode2)) {
5390 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5391 }
5392 arg2 = static_cast< bool >(val2);
5393 }
5394 {
5395 PyThreadState* __tstate = wxPyBeginAllowThreads();
5396 (arg1)->Maximize(arg2);
5397 wxPyEndAllowThreads(__tstate);
5398 if (PyErr_Occurred()) SWIG_fail;
5399 }
5400 resultobj = SWIG_Py_Void();
5401 return resultobj;
5402fail:
5403 return NULL;
d55e5bfc
RD
5404}
5405
5406
554f62e9
RD
5407SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5408 PyObject *resultobj = 0;
5409 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5410 void *argp1 = 0 ;
5411 int res1 = 0 ;
5412 PyObject *swig_obj[1] ;
5413
5414 if (!args) SWIG_fail;
5415 swig_obj[0] = args;
5416 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5417 if (!SWIG_IsOK(res1)) {
5418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5419 }
5420 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5421 {
5422 PyThreadState* __tstate = wxPyBeginAllowThreads();
5423 (arg1)->Restore();
5424 wxPyEndAllowThreads(__tstate);
5425 if (PyErr_Occurred()) SWIG_fail;
5426 }
5427 resultobj = SWIG_Py_Void();
5428 return resultobj;
5429fail:
5430 return NULL;
5431}
5432
5433
5434SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5435 PyObject *resultobj = 0;
5436 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5437 bool arg2 = (bool) true ;
5438 void *argp1 = 0 ;
5439 int res1 = 0 ;
5440 bool val2 ;
5441 int ecode2 = 0 ;
5442 PyObject * obj0 = 0 ;
5443 PyObject * obj1 = 0 ;
5444 char * kwnames[] = {
5445 (char *) "self",(char *) "iconize", NULL
5446 };
5447
5448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5450 if (!SWIG_IsOK(res1)) {
5451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5452 }
5453 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5454 if (obj1) {
5455 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5456 if (!SWIG_IsOK(ecode2)) {
5457 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5458 }
5459 arg2 = static_cast< bool >(val2);
5460 }
5461 {
5462 PyThreadState* __tstate = wxPyBeginAllowThreads();
5463 (arg1)->Iconize(arg2);
5464 wxPyEndAllowThreads(__tstate);
5465 if (PyErr_Occurred()) SWIG_fail;
5466 }
5467 resultobj = SWIG_Py_Void();
5468 return resultobj;
5469fail:
5470 return NULL;
d55e5bfc
RD
5471}
5472
5473
554f62e9
RD
5474SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5475 PyObject *resultobj = 0;
5476 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5477 bool result;
5478 void *argp1 = 0 ;
5479 int res1 = 0 ;
5480 PyObject *swig_obj[1] ;
5481
5482 if (!args) SWIG_fail;
5483 swig_obj[0] = args;
5484 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5485 if (!SWIG_IsOK(res1)) {
5486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5487 }
5488 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5489 {
5490 PyThreadState* __tstate = wxPyBeginAllowThreads();
5491 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5492 wxPyEndAllowThreads(__tstate);
5493 if (PyErr_Occurred()) SWIG_fail;
5494 }
5495 {
5496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5497 }
5498 return resultobj;
5499fail:
5500 return NULL;
d55e5bfc
RD
5501}
5502
5503
f460c29d
RD
5504SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5505 PyObject *resultobj = 0;
5506 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5507 bool result;
5508 void *argp1 = 0 ;
5509 int res1 = 0 ;
5510 PyObject *swig_obj[1] ;
5511
5512 if (!args) SWIG_fail;
5513 swig_obj[0] = args;
5514 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5515 if (!SWIG_IsOK(res1)) {
5516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5517 }
5518 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5519 {
5520 PyThreadState* __tstate = wxPyBeginAllowThreads();
5521 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5522 wxPyEndAllowThreads(__tstate);
5523 if (PyErr_Occurred()) SWIG_fail;
5524 }
5525 {
5526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5527 }
5528 return resultobj;
5529fail:
5530 return NULL;
5531}
5532
5533
554f62e9
RD
5534SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5535 PyObject *resultobj = 0;
5536 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5537 bool result;
5538 void *argp1 = 0 ;
5539 int res1 = 0 ;
5540 PyObject *swig_obj[1] ;
5541
5542 if (!args) SWIG_fail;
5543 swig_obj[0] = args;
5544 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5545 if (!SWIG_IsOK(res1)) {
5546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5547 }
5548 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5549 {
5550 PyThreadState* __tstate = wxPyBeginAllowThreads();
5551 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5552 wxPyEndAllowThreads(__tstate);
5553 if (PyErr_Occurred()) SWIG_fail;
5554 }
5555 {
5556 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5557 }
5558 return resultobj;
5559fail:
5560 return NULL;
d55e5bfc
RD
5561}
5562
5563
554f62e9
RD
5564SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5565 PyObject *resultobj = 0;
5566 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5567 wxIcon result;
5568 void *argp1 = 0 ;
5569 int res1 = 0 ;
5570 PyObject *swig_obj[1] ;
5571
5572 if (!args) SWIG_fail;
5573 swig_obj[0] = args;
5574 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5575 if (!SWIG_IsOK(res1)) {
5576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5577 }
5578 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5579 {
5580 PyThreadState* __tstate = wxPyBeginAllowThreads();
5581 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5582 wxPyEndAllowThreads(__tstate);
5583 if (PyErr_Occurred()) SWIG_fail;
5584 }
5585 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5586 return resultobj;
5587fail:
5588 return NULL;
5589}
5590
5591
5592SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5593 PyObject *resultobj = 0;
5594 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5595 wxIcon *arg2 = 0 ;
5596 void *argp1 = 0 ;
5597 int res1 = 0 ;
5598 void *argp2 = 0 ;
5599 int res2 = 0 ;
5600 PyObject * obj0 = 0 ;
5601 PyObject * obj1 = 0 ;
5602 char * kwnames[] = {
5603 (char *) "self",(char *) "icon", NULL
5604 };
5605
5606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5608 if (!SWIG_IsOK(res1)) {
5609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5610 }
5611 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5612 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5613 if (!SWIG_IsOK(res2)) {
5614 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5615 }
5616 if (!argp2) {
5617 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5618 }
5619 arg2 = reinterpret_cast< wxIcon * >(argp2);
5620 {
5621 PyThreadState* __tstate = wxPyBeginAllowThreads();
5622 (arg1)->SetIcon((wxIcon const &)*arg2);
5623 wxPyEndAllowThreads(__tstate);
5624 if (PyErr_Occurred()) SWIG_fail;
5625 }
5626 resultobj = SWIG_Py_Void();
5627 return resultobj;
5628fail:
5629 return NULL;
5630}
5631
5632
5633SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5634 PyObject *resultobj = 0;
5635 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5636 wxIconBundle *arg2 = 0 ;
5637 void *argp1 = 0 ;
5638 int res1 = 0 ;
5639 void *argp2 = 0 ;
5640 int res2 = 0 ;
5641 PyObject * obj0 = 0 ;
5642 PyObject * obj1 = 0 ;
5643 char * kwnames[] = {
5644 (char *) "self",(char *) "icons", NULL
5645 };
5646
5647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5648 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5649 if (!SWIG_IsOK(res1)) {
5650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5651 }
5652 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5653 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5654 if (!SWIG_IsOK(res2)) {
5655 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5656 }
5657 if (!argp2) {
5658 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5659 }
5660 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5661 {
5662 PyThreadState* __tstate = wxPyBeginAllowThreads();
5663 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5664 wxPyEndAllowThreads(__tstate);
5665 if (PyErr_Occurred()) SWIG_fail;
5666 }
5667 resultobj = SWIG_Py_Void();
5668 return resultobj;
5669fail:
5670 return NULL;
5671}
5672
5673
5674SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5675 PyObject *resultobj = 0;
5676 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5677 bool arg2 ;
5678 long arg3 = (long) wxFULLSCREEN_ALL ;
5679 bool result;
5680 void *argp1 = 0 ;
5681 int res1 = 0 ;
5682 bool val2 ;
5683 int ecode2 = 0 ;
5684 long val3 ;
5685 int ecode3 = 0 ;
5686 PyObject * obj0 = 0 ;
5687 PyObject * obj1 = 0 ;
5688 PyObject * obj2 = 0 ;
5689 char * kwnames[] = {
5690 (char *) "self",(char *) "show",(char *) "style", NULL
5691 };
5692
5693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5694 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5695 if (!SWIG_IsOK(res1)) {
5696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5697 }
5698 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5699 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5700 if (!SWIG_IsOK(ecode2)) {
5701 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5702 }
5703 arg2 = static_cast< bool >(val2);
5704 if (obj2) {
5705 ecode3 = SWIG_AsVal_long(obj2, &val3);
5706 if (!SWIG_IsOK(ecode3)) {
5707 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5708 }
5709 arg3 = static_cast< long >(val3);
5710 }
5711 {
5712 PyThreadState* __tstate = wxPyBeginAllowThreads();
5713 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5714 wxPyEndAllowThreads(__tstate);
5715 if (PyErr_Occurred()) SWIG_fail;
5716 }
5717 {
5718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5719 }
5720 return resultobj;
5721fail:
5722 return NULL;
d55e5bfc
RD
5723}
5724
5725
554f62e9
RD
5726SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5727 PyObject *resultobj = 0;
5728 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5729 bool result;
5730 void *argp1 = 0 ;
5731 int res1 = 0 ;
5732 PyObject *swig_obj[1] ;
5733
5734 if (!args) SWIG_fail;
5735 swig_obj[0] = args;
5736 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5737 if (!SWIG_IsOK(res1)) {
5738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5739 }
5740 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5741 {
5742 PyThreadState* __tstate = wxPyBeginAllowThreads();
5743 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5744 wxPyEndAllowThreads(__tstate);
5745 if (PyErr_Occurred()) SWIG_fail;
5746 }
5747 {
5748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5749 }
5750 return resultobj;
5751fail:
5752 return NULL;
5753}
5754
5755
5756SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5757 PyObject *resultobj = 0;
5758 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5759 wxString *arg2 = 0 ;
5760 void *argp1 = 0 ;
5761 int res1 = 0 ;
5762 bool temp2 = false ;
5763 PyObject * obj0 = 0 ;
5764 PyObject * obj1 = 0 ;
5765 char * kwnames[] = {
5766 (char *) "self",(char *) "title", NULL
5767 };
5768
5769 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5770 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5771 if (!SWIG_IsOK(res1)) {
5772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5773 }
5774 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5775 {
5776 arg2 = wxString_in_helper(obj1);
5777 if (arg2 == NULL) SWIG_fail;
5778 temp2 = true;
5779 }
5780 {
5781 PyThreadState* __tstate = wxPyBeginAllowThreads();
5782 (arg1)->SetTitle((wxString const &)*arg2);
5783 wxPyEndAllowThreads(__tstate);
5784 if (PyErr_Occurred()) SWIG_fail;
5785 }
5786 resultobj = SWIG_Py_Void();
5787 {
5788 if (temp2)
5789 delete arg2;
5790 }
5791 return resultobj;
5792fail:
5793 {
5794 if (temp2)
5795 delete arg2;
5796 }
5797 return NULL;
d55e5bfc
RD
5798}
5799
5800
554f62e9
RD
5801SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5802 PyObject *resultobj = 0;
5803 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5804 wxString result;
5805 void *argp1 = 0 ;
5806 int res1 = 0 ;
5807 PyObject *swig_obj[1] ;
5808
5809 if (!args) SWIG_fail;
5810 swig_obj[0] = args;
5811 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5812 if (!SWIG_IsOK(res1)) {
5813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5814 }
5815 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5816 {
5817 PyThreadState* __tstate = wxPyBeginAllowThreads();
5818 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5819 wxPyEndAllowThreads(__tstate);
5820 if (PyErr_Occurred()) SWIG_fail;
5821 }
5822 {
5823#if wxUSE_UNICODE
5824 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5825#else
5826 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5827#endif
5828 }
5829 return resultobj;
5830fail:
5831 return NULL;
5832}
5833
5834
70d7cb34
RD
5835SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5836 PyObject *resultobj = 0;
5837 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5838 bool arg2 ;
5839 bool result;
5840 void *argp1 = 0 ;
5841 int res1 = 0 ;
5842 bool val2 ;
5843 int ecode2 = 0 ;
5844 PyObject * obj0 = 0 ;
5845 PyObject * obj1 = 0 ;
5846 char * kwnames[] = {
5847 (char *) "self",(char *) "enable", NULL
5848 };
5849
5850 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
5851 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5852 if (!SWIG_IsOK(res1)) {
5853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5854 }
5855 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5856 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5857 if (!SWIG_IsOK(ecode2)) {
5858 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5859 }
5860 arg2 = static_cast< bool >(val2);
5861 {
5862 PyThreadState* __tstate = wxPyBeginAllowThreads();
5863 result = (bool)(arg1)->EnableCloseButton(arg2);
5864 wxPyEndAllowThreads(__tstate);
5865 if (PyErr_Occurred()) SWIG_fail;
5866 }
5867 {
5868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5869 }
5870 return resultobj;
5871fail:
5872 return NULL;
5873}
5874
5875
554f62e9
RD
5876SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5877 PyObject *resultobj = 0;
5878 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5879 wxRegion *arg2 = 0 ;
5880 bool result;
5881 void *argp1 = 0 ;
5882 int res1 = 0 ;
5883 void *argp2 = 0 ;
5884 int res2 = 0 ;
5885 PyObject * obj0 = 0 ;
5886 PyObject * obj1 = 0 ;
5887 char * kwnames[] = {
5888 (char *) "self",(char *) "region", NULL
5889 };
5890
5891 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5893 if (!SWIG_IsOK(res1)) {
5894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5895 }
5896 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5897 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5898 if (!SWIG_IsOK(res2)) {
5899 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5900 }
5901 if (!argp2) {
5902 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5903 }
5904 arg2 = reinterpret_cast< wxRegion * >(argp2);
5905 {
5906 PyThreadState* __tstate = wxPyBeginAllowThreads();
5907 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5908 wxPyEndAllowThreads(__tstate);
5909 if (PyErr_Occurred()) SWIG_fail;
5910 }
5911 {
5912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5913 }
5914 return resultobj;
5915fail:
5916 return NULL;
5917}
5918
5919
5920SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5921 PyObject *resultobj = 0;
5922 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5923 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5924 void *argp1 = 0 ;
5925 int res1 = 0 ;
5926 int val2 ;
5927 int ecode2 = 0 ;
5928 PyObject * obj0 = 0 ;
5929 PyObject * obj1 = 0 ;
5930 char * kwnames[] = {
5931 (char *) "self",(char *) "flags", NULL
5932 };
5933
5934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5936 if (!SWIG_IsOK(res1)) {
5937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5938 }
5939 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5940 if (obj1) {
5941 ecode2 = SWIG_AsVal_int(obj1, &val2);
5942 if (!SWIG_IsOK(ecode2)) {
5943 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5944 }
5945 arg2 = static_cast< int >(val2);
5946 }
5947 {
5948 PyThreadState* __tstate = wxPyBeginAllowThreads();
5949 (arg1)->RequestUserAttention(arg2);
5950 wxPyEndAllowThreads(__tstate);
5951 if (PyErr_Occurred()) SWIG_fail;
5952 }
5953 resultobj = SWIG_Py_Void();
5954 return resultobj;
5955fail:
5956 return NULL;
d55e5bfc
RD
5957}
5958
5959
554f62e9
RD
5960SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5961 PyObject *resultobj = 0;
5962 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5963 bool result;
5964 void *argp1 = 0 ;
5965 int res1 = 0 ;
5966 PyObject *swig_obj[1] ;
5967
5968 if (!args) SWIG_fail;
5969 swig_obj[0] = args;
5970 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5971 if (!SWIG_IsOK(res1)) {
5972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5973 }
5974 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5975 {
5976 PyThreadState* __tstate = wxPyBeginAllowThreads();
5977 result = (bool)(arg1)->IsActive();
5978 wxPyEndAllowThreads(__tstate);
5979 if (PyErr_Occurred()) SWIG_fail;
5980 }
5981 {
5982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5983 }
5984 return resultobj;
5985fail:
5986 return NULL;
5987}
5988
5989
5990SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5991 PyObject *resultobj = 0;
5992 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5993 bool arg2 ;
5994 void *argp1 = 0 ;
5995 int res1 = 0 ;
5996 bool val2 ;
5997 int ecode2 = 0 ;
5998 PyObject * obj0 = 0 ;
5999 PyObject * obj1 = 0 ;
6000 char * kwnames[] = {
6001 (char *) "self",(char *) "on", NULL
6002 };
6003
6004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
6005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6006 if (!SWIG_IsOK(res1)) {
6007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6008 }
6009 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6010 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6011 if (!SWIG_IsOK(ecode2)) {
6012 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
6013 }
6014 arg2 = static_cast< bool >(val2);
6015 {
6016 PyThreadState* __tstate = wxPyBeginAllowThreads();
6017 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
6018 wxPyEndAllowThreads(__tstate);
6019 if (PyErr_Occurred()) SWIG_fail;
6020 }
6021 resultobj = SWIG_Py_Void();
6022 return resultobj;
6023fail:
6024 return NULL;
d55e5bfc
RD
6025}
6026
6027
554f62e9
RD
6028SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6029 PyObject *resultobj = 0;
6030 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6031 bool result;
6032 void *argp1 = 0 ;
6033 int res1 = 0 ;
6034 PyObject *swig_obj[1] ;
6035
6036 if (!args) SWIG_fail;
6037 swig_obj[0] = args;
6038 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6039 if (!SWIG_IsOK(res1)) {
6040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6041 }
6042 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6043 {
6044 PyThreadState* __tstate = wxPyBeginAllowThreads();
6045 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
6046 wxPyEndAllowThreads(__tstate);
6047 if (PyErr_Occurred()) SWIG_fail;
6048 }
6049 {
6050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6051 }
6052 return resultobj;
6053fail:
6054 return NULL;
6055}
6056
6057
6058SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6059 PyObject *resultobj = 0;
6060 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6061 int arg2 = (int) wxBOTH ;
6062 void *argp1 = 0 ;
6063 int res1 = 0 ;
6064 int val2 ;
6065 int ecode2 = 0 ;
6066 PyObject * obj0 = 0 ;
6067 PyObject * obj1 = 0 ;
6068 char * kwnames[] = {
6069 (char *) "self",(char *) "dir", NULL
6070 };
6071
6072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6074 if (!SWIG_IsOK(res1)) {
6075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6076 }
6077 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6078 if (obj1) {
6079 ecode2 = SWIG_AsVal_int(obj1, &val2);
6080 if (!SWIG_IsOK(ecode2)) {
6081 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6082 }
6083 arg2 = static_cast< int >(val2);
6084 }
6085 {
6086 PyThreadState* __tstate = wxPyBeginAllowThreads();
6087 (arg1)->CenterOnScreen(arg2);
6088 wxPyEndAllowThreads(__tstate);
6089 if (PyErr_Occurred()) SWIG_fail;
6090 }
6091 resultobj = SWIG_Py_Void();
6092 return resultobj;
6093fail:
6094 return NULL;
6095}
6096
6097
1eeb270e
RD
6098SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6099 PyObject *resultobj = 0;
6100 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6101 wxWindow *result = 0 ;
6102 void *argp1 = 0 ;
6103 int res1 = 0 ;
6104 PyObject *swig_obj[1] ;
6105
6106 if (!args) SWIG_fail;
6107 swig_obj[0] = args;
6108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6109 if (!SWIG_IsOK(res1)) {
6110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6111 }
6112 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6113 {
6114 PyThreadState* __tstate = wxPyBeginAllowThreads();
6115 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6116 wxPyEndAllowThreads(__tstate);
6117 if (PyErr_Occurred()) SWIG_fail;
6118 }
6119 {
6120 resultobj = wxPyMake_wxObject(result, 0);
6121 }
6122 return resultobj;
6123fail:
6124 return NULL;
6125}
6126
6127
6128SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6129 PyObject *resultobj = 0;
6130 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6131 wxWindow *arg2 = (wxWindow *) 0 ;
6132 wxWindow *result = 0 ;
6133 void *argp1 = 0 ;
6134 int res1 = 0 ;
6135 void *argp2 = 0 ;
6136 int res2 = 0 ;
6137 PyObject * obj0 = 0 ;
6138 PyObject * obj1 = 0 ;
6139 char * kwnames[] = {
6140 (char *) "self",(char *) "child", NULL
6141 };
6142
6143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6145 if (!SWIG_IsOK(res1)) {
6146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6147 }
6148 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6149 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6150 if (!SWIG_IsOK(res2)) {
6151 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6152 }
6153 arg2 = reinterpret_cast< wxWindow * >(argp2);
6154 {
6155 PyThreadState* __tstate = wxPyBeginAllowThreads();
6156 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6157 wxPyEndAllowThreads(__tstate);
6158 if (PyErr_Occurred()) SWIG_fail;
6159 }
6160 {
6161 resultobj = wxPyMake_wxObject(result, 0);
6162 }
6163 return resultobj;
6164fail:
6165 return NULL;
6166}
6167
6168
6169SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6170 PyObject *resultobj = 0;
6171 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6172 wxWindow *arg2 = (wxWindow *) 0 ;
6173 void *argp1 = 0 ;
6174 int res1 = 0 ;
6175 void *argp2 = 0 ;
6176 int res2 = 0 ;
6177 PyObject * obj0 = 0 ;
6178 PyObject * obj1 = 0 ;
6179 char * kwnames[] = {
6180 (char *) "self",(char *) "win", NULL
6181 };
6182
6183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6184 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6185 if (!SWIG_IsOK(res1)) {
6186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6187 }
6188 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6189 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6190 if (!SWIG_IsOK(res2)) {
6191 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6192 }
6193 arg2 = reinterpret_cast< wxWindow * >(argp2);
6194 {
6195 PyThreadState* __tstate = wxPyBeginAllowThreads();
6196 (arg1)->SetTmpDefaultItem(arg2);
6197 wxPyEndAllowThreads(__tstate);
6198 if (PyErr_Occurred()) SWIG_fail;
6199 }
6200 resultobj = SWIG_Py_Void();
6201 return resultobj;
6202fail:
6203 return NULL;
6204}
6205
6206
6207SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6208 PyObject *resultobj = 0;
6209 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6210 wxWindow *result = 0 ;
6211 void *argp1 = 0 ;
6212 int res1 = 0 ;
6213 PyObject *swig_obj[1] ;
6214
6215 if (!args) SWIG_fail;
6216 swig_obj[0] = args;
6217 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6218 if (!SWIG_IsOK(res1)) {
6219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6220 }
6221 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6222 {
6223 PyThreadState* __tstate = wxPyBeginAllowThreads();
6224 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6225 wxPyEndAllowThreads(__tstate);
6226 if (PyErr_Occurred()) SWIG_fail;
6227 }
6228 {
6229 resultobj = wxPyMake_wxObject(result, 0);
6230 }
6231 return resultobj;
6232fail:
6233 return NULL;
6234}
6235
6236
554f62e9
RD
6237SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6238 PyObject *obj;
6239 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6240 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6241 return SWIG_Py_Void();
6242}
6243
6244SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6245 PyObject *resultobj = 0;
6246 wxWindow *arg1 = (wxWindow *) 0 ;
6247 int arg2 = (int) (int)-1 ;
6248 wxString const &arg3_defvalue = wxPyEmptyString ;
6249 wxString *arg3 = (wxString *) &arg3_defvalue ;
6250 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6251 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6252 wxSize const &arg5_defvalue = wxDefaultSize ;
6253 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6254 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6255 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6256 wxString *arg7 = (wxString *) &arg7_defvalue ;
6257 wxFrame *result = 0 ;
6258 void *argp1 = 0 ;
6259 int res1 = 0 ;
6260 int val2 ;
6261 int ecode2 = 0 ;
6262 bool temp3 = false ;
6263 wxPoint temp4 ;
6264 wxSize temp5 ;
6265 long val6 ;
6266 int ecode6 = 0 ;
6267 bool temp7 = false ;
6268 PyObject * obj0 = 0 ;
6269 PyObject * obj1 = 0 ;
6270 PyObject * obj2 = 0 ;
6271 PyObject * obj3 = 0 ;
6272 PyObject * obj4 = 0 ;
6273 PyObject * obj5 = 0 ;
6274 PyObject * obj6 = 0 ;
6275 char * kwnames[] = {
6276 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6277 };
6278
6279 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6280 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6281 if (!SWIG_IsOK(res1)) {
6282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6283 }
6284 arg1 = reinterpret_cast< wxWindow * >(argp1);
6285 if (obj1) {
6286 ecode2 = SWIG_AsVal_int(obj1, &val2);
6287 if (!SWIG_IsOK(ecode2)) {
6288 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6289 }
6290 arg2 = static_cast< int >(val2);
6291 }
6292 if (obj2) {
093d3ff1 6293 {
554f62e9
RD
6294 arg3 = wxString_in_helper(obj2);
6295 if (arg3 == NULL) SWIG_fail;
6296 temp3 = true;
f5b96ee1 6297 }
554f62e9
RD
6298 }
6299 if (obj3) {
f5b96ee1 6300 {
554f62e9
RD
6301 arg4 = &temp4;
6302 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
f20a2e1f 6303 }
554f62e9
RD
6304 }
6305 if (obj4) {
f20a2e1f 6306 {
554f62e9
RD
6307 arg5 = &temp5;
6308 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
f20a2e1f 6309 }
554f62e9
RD
6310 }
6311 if (obj5) {
6312 ecode6 = SWIG_AsVal_long(obj5, &val6);
6313 if (!SWIG_IsOK(ecode6)) {
6314 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6315 }
6316 arg6 = static_cast< long >(val6);
6317 }
6318 if (obj6) {
f20a2e1f 6319 {
554f62e9
RD
6320 arg7 = wxString_in_helper(obj6);
6321 if (arg7 == NULL) SWIG_fail;
6322 temp7 = true;
f20a2e1f 6323 }
554f62e9
RD
6324 }
6325 {
6326 if (!wxPyCheckForApp()) SWIG_fail;
6327 PyThreadState* __tstate = wxPyBeginAllowThreads();
6328 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6329 wxPyEndAllowThreads(__tstate);
6330 if (PyErr_Occurred()) SWIG_fail;
6331 }
6332 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6333 {
6334 if (temp3)
6335 delete arg3;
6336 }
6337 {
6338 if (temp7)
6339 delete arg7;
6340 }
6341 return resultobj;
6342fail:
6343 {
6344 if (temp3)
6345 delete arg3;
6346 }
6347 {
6348 if (temp7)
6349 delete arg7;
6350 }
6351 return NULL;
d55e5bfc
RD
6352}
6353
6354
554f62e9
RD
6355SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6356 PyObject *resultobj = 0;
6357 wxFrame *result = 0 ;
6358
6359 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6360 {
6361 if (!wxPyCheckForApp()) SWIG_fail;
6362 PyThreadState* __tstate = wxPyBeginAllowThreads();
6363 result = (wxFrame *)new wxFrame();
6364 wxPyEndAllowThreads(__tstate);
6365 if (PyErr_Occurred()) SWIG_fail;
6366 }
6367 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6368 return resultobj;
6369fail:
6370 return NULL;
6371}
6372
6373
6374SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6375 PyObject *resultobj = 0;
6376 wxFrame *arg1 = (wxFrame *) 0 ;
6377 wxWindow *arg2 = (wxWindow *) 0 ;
6378 int arg3 = (int) (int)-1 ;
6379 wxString const &arg4_defvalue = wxPyEmptyString ;
6380 wxString *arg4 = (wxString *) &arg4_defvalue ;
6381 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6382 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6383 wxSize const &arg6_defvalue = wxDefaultSize ;
6384 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6385 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6386 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6387 wxString *arg8 = (wxString *) &arg8_defvalue ;
6388 bool result;
6389 void *argp1 = 0 ;
6390 int res1 = 0 ;
6391 void *argp2 = 0 ;
6392 int res2 = 0 ;
6393 int val3 ;
6394 int ecode3 = 0 ;
6395 bool temp4 = false ;
6396 wxPoint temp5 ;
6397 wxSize temp6 ;
6398 long val7 ;
6399 int ecode7 = 0 ;
6400 bool temp8 = false ;
6401 PyObject * obj0 = 0 ;
6402 PyObject * obj1 = 0 ;
6403 PyObject * obj2 = 0 ;
6404 PyObject * obj3 = 0 ;
6405 PyObject * obj4 = 0 ;
6406 PyObject * obj5 = 0 ;
6407 PyObject * obj6 = 0 ;
6408 PyObject * obj7 = 0 ;
6409 char * kwnames[] = {
6410 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6411 };
6412
6413 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6414 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6415 if (!SWIG_IsOK(res1)) {
6416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6417 }
6418 arg1 = reinterpret_cast< wxFrame * >(argp1);
6419 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6420 if (!SWIG_IsOK(res2)) {
6421 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6422 }
6423 arg2 = reinterpret_cast< wxWindow * >(argp2);
6424 if (obj2) {
6425 ecode3 = SWIG_AsVal_int(obj2, &val3);
6426 if (!SWIG_IsOK(ecode3)) {
6427 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6428 }
6429 arg3 = static_cast< int >(val3);
6430 }
6431 if (obj3) {
d55e5bfc 6432 {
554f62e9
RD
6433 arg4 = wxString_in_helper(obj3);
6434 if (arg4 == NULL) SWIG_fail;
6435 temp4 = true;
d55e5bfc 6436 }
554f62e9
RD
6437 }
6438 if (obj4) {
d55e5bfc 6439 {
554f62e9
RD
6440 arg5 = &temp5;
6441 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 6442 }
554f62e9
RD
6443 }
6444 if (obj5) {
d55e5bfc 6445 {
554f62e9
RD
6446 arg6 = &temp6;
6447 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 6448 }
554f62e9
RD
6449 }
6450 if (obj6) {
6451 ecode7 = SWIG_AsVal_long(obj6, &val7);
6452 if (!SWIG_IsOK(ecode7)) {
6453 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6454 }
6455 arg7 = static_cast< long >(val7);
6456 }
6457 if (obj7) {
6458 {
6459 arg8 = wxString_in_helper(obj7);
6460 if (arg8 == NULL) SWIG_fail;
6461 temp8 = true;
6462 }
6463 }
6464 {
6465 PyThreadState* __tstate = wxPyBeginAllowThreads();
6466 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6467 wxPyEndAllowThreads(__tstate);
6468 if (PyErr_Occurred()) SWIG_fail;
6469 }
6470 {
6471 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6472 }
6473 {
6474 if (temp4)
6475 delete arg4;
6476 }
6477 {
6478 if (temp8)
6479 delete arg8;
6480 }
6481 return resultobj;
6482fail:
6483 {
6484 if (temp4)
6485 delete arg4;
6486 }
6487 {
6488 if (temp8)
6489 delete arg8;
6490 }
6491 return NULL;
d55e5bfc
RD
6492}
6493
6494
554f62e9
RD
6495SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6496 PyObject *resultobj = 0;
6497 wxFrame *arg1 = (wxFrame *) 0 ;
6498 void *argp1 = 0 ;
6499 int res1 = 0 ;
6500 PyObject *swig_obj[1] ;
6501
6502 if (!args) SWIG_fail;
6503 swig_obj[0] = args;
6504 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6505 if (!SWIG_IsOK(res1)) {
6506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6507 }
6508 arg1 = reinterpret_cast< wxFrame * >(argp1);
6509 {
6510 PyThreadState* __tstate = wxPyBeginAllowThreads();
6511 (arg1)->SendSizeEvent();
6512 wxPyEndAllowThreads(__tstate);
6513 if (PyErr_Occurred()) SWIG_fail;
6514 }
6515 resultobj = SWIG_Py_Void();
6516 return resultobj;
6517fail:
6518 return NULL;
6519}
6520
6521
6522SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6523 PyObject *resultobj = 0;
6524 wxFrame *arg1 = (wxFrame *) 0 ;
6525 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6526 void *argp1 = 0 ;
6527 int res1 = 0 ;
6528 void *argp2 = 0 ;
6529 int res2 = 0 ;
6530 PyObject * obj0 = 0 ;
6531 PyObject * obj1 = 0 ;
6532 char * kwnames[] = {
6533 (char *) "self",(char *) "menubar", NULL
6534 };
6535
6536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6538 if (!SWIG_IsOK(res1)) {
6539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6540 }
6541 arg1 = reinterpret_cast< wxFrame * >(argp1);
6542 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6543 if (!SWIG_IsOK(res2)) {
6544 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6545 }
6546 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6547 {
6548 PyThreadState* __tstate = wxPyBeginAllowThreads();
6549 (arg1)->SetMenuBar(arg2);
6550 wxPyEndAllowThreads(__tstate);
6551 if (PyErr_Occurred()) SWIG_fail;
6552 }
6553 resultobj = SWIG_Py_Void();
6554 return resultobj;
6555fail:
6556 return NULL;
d55e5bfc
RD
6557}
6558
6559
554f62e9
RD
6560SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6561 PyObject *resultobj = 0;
6562 wxFrame *arg1 = (wxFrame *) 0 ;
6563 wxMenuBar *result = 0 ;
6564 void *argp1 = 0 ;
6565 int res1 = 0 ;
6566 PyObject *swig_obj[1] ;
6567
6568 if (!args) SWIG_fail;
6569 swig_obj[0] = args;
6570 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6571 if (!SWIG_IsOK(res1)) {
6572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6573 }
6574 arg1 = reinterpret_cast< wxFrame * >(argp1);
6575 {
6576 PyThreadState* __tstate = wxPyBeginAllowThreads();
6577 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6578 wxPyEndAllowThreads(__tstate);
6579 if (PyErr_Occurred()) SWIG_fail;
6580 }
6581 {
6582 resultobj = wxPyMake_wxObject(result, 0);
6583 }
6584 return resultobj;
6585fail:
6586 return NULL;
6587}
6588
6589
6590SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6591 PyObject *resultobj = 0;
6592 wxFrame *arg1 = (wxFrame *) 0 ;
6593 int arg2 ;
6594 bool result;
6595 void *argp1 = 0 ;
6596 int res1 = 0 ;
6597 int val2 ;
6598 int ecode2 = 0 ;
6599 PyObject * obj0 = 0 ;
6600 PyObject * obj1 = 0 ;
6601 char * kwnames[] = {
6602 (char *) "self",(char *) "winid", NULL
6603 };
6604
6605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6607 if (!SWIG_IsOK(res1)) {
6608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6609 }
6610 arg1 = reinterpret_cast< wxFrame * >(argp1);
6611 ecode2 = SWIG_AsVal_int(obj1, &val2);
6612 if (!SWIG_IsOK(ecode2)) {
6613 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6614 }
6615 arg2 = static_cast< int >(val2);
6616 {
6617 PyThreadState* __tstate = wxPyBeginAllowThreads();
6618 result = (bool)(arg1)->ProcessCommand(arg2);
6619 wxPyEndAllowThreads(__tstate);
6620 if (PyErr_Occurred()) SWIG_fail;
6621 }
6622 {
6623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6624 }
6625 return resultobj;
6626fail:
6627 return NULL;
6628}
6629
6630
6631SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6632 PyObject *resultobj = 0;
6633 wxFrame *arg1 = (wxFrame *) 0 ;
6634 int arg2 = (int) 1 ;
6635 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6636 int arg4 = (int) 0 ;
6637 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6638 wxString *arg5 = (wxString *) &arg5_defvalue ;
6639 wxStatusBar *result = 0 ;
6640 void *argp1 = 0 ;
6641 int res1 = 0 ;
6642 int val2 ;
6643 int ecode2 = 0 ;
6644 long val3 ;
6645 int ecode3 = 0 ;
6646 int val4 ;
6647 int ecode4 = 0 ;
6648 bool temp5 = false ;
6649 PyObject * obj0 = 0 ;
6650 PyObject * obj1 = 0 ;
6651 PyObject * obj2 = 0 ;
6652 PyObject * obj3 = 0 ;
6653 PyObject * obj4 = 0 ;
6654 char * kwnames[] = {
6655 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6656 };
6657
6658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6660 if (!SWIG_IsOK(res1)) {
6661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6662 }
6663 arg1 = reinterpret_cast< wxFrame * >(argp1);
6664 if (obj1) {
6665 ecode2 = SWIG_AsVal_int(obj1, &val2);
6666 if (!SWIG_IsOK(ecode2)) {
6667 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6668 }
6669 arg2 = static_cast< int >(val2);
6670 }
6671 if (obj2) {
6672 ecode3 = SWIG_AsVal_long(obj2, &val3);
6673 if (!SWIG_IsOK(ecode3)) {
6674 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6675 }
6676 arg3 = static_cast< long >(val3);
6677 }
6678 if (obj3) {
6679 ecode4 = SWIG_AsVal_int(obj3, &val4);
6680 if (!SWIG_IsOK(ecode4)) {
6681 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6682 }
6683 arg4 = static_cast< int >(val4);
6684 }
6685 if (obj4) {
d55e5bfc 6686 {
554f62e9
RD
6687 arg5 = wxString_in_helper(obj4);
6688 if (arg5 == NULL) SWIG_fail;
6689 temp5 = true;
6690 }
6691 }
6692 {
6693 PyThreadState* __tstate = wxPyBeginAllowThreads();
6694 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6695 wxPyEndAllowThreads(__tstate);
6696 if (PyErr_Occurred()) SWIG_fail;
6697 }
6698 {
6699 resultobj = wxPyMake_wxObject(result, (bool)0);
6700 }
6701 {
6702 if (temp5)
6703 delete arg5;
6704 }
6705 return resultobj;
6706fail:
6707 {
6708 if (temp5)
6709 delete arg5;
6710 }
6711 return NULL;
d55e5bfc
RD
6712}
6713
6714
554f62e9
RD
6715SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6716 PyObject *resultobj = 0;
6717 wxFrame *arg1 = (wxFrame *) 0 ;
6718 wxStatusBar *result = 0 ;
6719 void *argp1 = 0 ;
6720 int res1 = 0 ;
6721 PyObject *swig_obj[1] ;
6722
6723 if (!args) SWIG_fail;
6724 swig_obj[0] = args;
6725 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6726 if (!SWIG_IsOK(res1)) {
6727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6728 }
6729 arg1 = reinterpret_cast< wxFrame * >(argp1);
6730 {
6731 PyThreadState* __tstate = wxPyBeginAllowThreads();
6732 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6733 wxPyEndAllowThreads(__tstate);
6734 if (PyErr_Occurred()) SWIG_fail;
6735 }
6736 {
6737 resultobj = wxPyMake_wxObject(result, (bool)0);
6738 }
6739 return resultobj;
6740fail:
6741 return NULL;
6742}
6743
6744
6745SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6746 PyObject *resultobj = 0;
6747 wxFrame *arg1 = (wxFrame *) 0 ;
6748 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6749 void *argp1 = 0 ;
6750 int res1 = 0 ;
6751 void *argp2 = 0 ;
6752 int res2 = 0 ;
6753 PyObject * obj0 = 0 ;
6754 PyObject * obj1 = 0 ;
6755 char * kwnames[] = {
6756 (char *) "self",(char *) "statBar", NULL
6757 };
6758
6759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6761 if (!SWIG_IsOK(res1)) {
6762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6763 }
6764 arg1 = reinterpret_cast< wxFrame * >(argp1);
6765 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6766 if (!SWIG_IsOK(res2)) {
6767 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6768 }
6769 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6770 {
6771 PyThreadState* __tstate = wxPyBeginAllowThreads();
6772 (arg1)->SetStatusBar(arg2);
6773 wxPyEndAllowThreads(__tstate);
6774 if (PyErr_Occurred()) SWIG_fail;
6775 }
6776 resultobj = SWIG_Py_Void();
6777 return resultobj;
6778fail:
6779 return NULL;
6780}
6781
6782
6783SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6784 PyObject *resultobj = 0;
6785 wxFrame *arg1 = (wxFrame *) 0 ;
6786 wxString *arg2 = 0 ;
6787 int arg3 = (int) 0 ;
6788 void *argp1 = 0 ;
6789 int res1 = 0 ;
6790 bool temp2 = false ;
6791 int val3 ;
6792 int ecode3 = 0 ;
6793 PyObject * obj0 = 0 ;
6794 PyObject * obj1 = 0 ;
6795 PyObject * obj2 = 0 ;
6796 char * kwnames[] = {
6797 (char *) "self",(char *) "text",(char *) "number", NULL
6798 };
6799
6800 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6801 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6802 if (!SWIG_IsOK(res1)) {
6803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6804 }
6805 arg1 = reinterpret_cast< wxFrame * >(argp1);
6806 {
6807 arg2 = wxString_in_helper(obj1);
6808 if (arg2 == NULL) SWIG_fail;
6809 temp2 = true;
6810 }
6811 if (obj2) {
6812 ecode3 = SWIG_AsVal_int(obj2, &val3);
6813 if (!SWIG_IsOK(ecode3)) {
6814 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6815 }
6816 arg3 = static_cast< int >(val3);
6817 }
6818 {
6819 PyThreadState* __tstate = wxPyBeginAllowThreads();
6820 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6821 wxPyEndAllowThreads(__tstate);
6822 if (PyErr_Occurred()) SWIG_fail;
6823 }
6824 resultobj = SWIG_Py_Void();
6825 {
6826 if (temp2)
6827 delete arg2;
6828 }
6829 return resultobj;
6830fail:
6831 {
6832 if (temp2)
6833 delete arg2;
6834 }
6835 return NULL;
d55e5bfc
RD
6836}
6837
6838
554f62e9
RD
6839SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6840 PyObject *resultobj = 0;
6841 wxFrame *arg1 = (wxFrame *) 0 ;
6842 int arg2 ;
6843 int *arg3 = (int *) 0 ;
6844 void *argp1 = 0 ;
6845 int res1 = 0 ;
6846 PyObject * obj0 = 0 ;
6847 PyObject * obj1 = 0 ;
6848 char * kwnames[] = {
6849 (char *) "self",(char *) "widths", NULL
6850 };
6851
6852 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6853 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6854 if (!SWIG_IsOK(res1)) {
6855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6856 }
6857 arg1 = reinterpret_cast< wxFrame * >(argp1);
6858 {
6859 arg2 = PyList_Size(obj1);
6860 arg3 = int_LIST_helper(obj1);
6861 if (arg3 == NULL) SWIG_fail;
6862 }
6863 {
6864 PyThreadState* __tstate = wxPyBeginAllowThreads();
6865 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6866 wxPyEndAllowThreads(__tstate);
6867 if (PyErr_Occurred()) SWIG_fail;
6868 }
6869 resultobj = SWIG_Py_Void();
6870 {
6871 if (arg3) delete [] arg3;
6872 }
6873 return resultobj;
6874fail:
6875 {
6876 if (arg3) delete [] arg3;
6877 }
6878 return NULL;
6879}
6880
6881
6882SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6883 PyObject *resultobj = 0;
6884 wxFrame *arg1 = (wxFrame *) 0 ;
6885 wxString *arg2 = 0 ;
6886 int arg3 = (int) 0 ;
6887 void *argp1 = 0 ;
6888 int res1 = 0 ;
6889 bool temp2 = false ;
6890 int val3 ;
6891 int ecode3 = 0 ;
6892 PyObject * obj0 = 0 ;
6893 PyObject * obj1 = 0 ;
6894 PyObject * obj2 = 0 ;
6895 char * kwnames[] = {
6896 (char *) "self",(char *) "text",(char *) "number", NULL
6897 };
6898
6899 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6900 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6901 if (!SWIG_IsOK(res1)) {
6902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6903 }
6904 arg1 = reinterpret_cast< wxFrame * >(argp1);
6905 {
6906 arg2 = wxString_in_helper(obj1);
6907 if (arg2 == NULL) SWIG_fail;
6908 temp2 = true;
6909 }
6910 if (obj2) {
6911 ecode3 = SWIG_AsVal_int(obj2, &val3);
6912 if (!SWIG_IsOK(ecode3)) {
6913 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6914 }
6915 arg3 = static_cast< int >(val3);
6916 }
6917 {
6918 PyThreadState* __tstate = wxPyBeginAllowThreads();
6919 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6920 wxPyEndAllowThreads(__tstate);
6921 if (PyErr_Occurred()) SWIG_fail;
6922 }
6923 resultobj = SWIG_Py_Void();
6924 {
6925 if (temp2)
6926 delete arg2;
6927 }
6928 return resultobj;
6929fail:
6930 {
6931 if (temp2)
6932 delete arg2;
6933 }
6934 return NULL;
6935}
6936
6937
6938SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6939 PyObject *resultobj = 0;
6940 wxFrame *arg1 = (wxFrame *) 0 ;
6941 int arg2 = (int) 0 ;
6942 void *argp1 = 0 ;
6943 int res1 = 0 ;
6944 int val2 ;
6945 int ecode2 = 0 ;
6946 PyObject * obj0 = 0 ;
6947 PyObject * obj1 = 0 ;
6948 char * kwnames[] = {
6949 (char *) "self",(char *) "number", NULL
6950 };
6951
6952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6954 if (!SWIG_IsOK(res1)) {
6955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6956 }
6957 arg1 = reinterpret_cast< wxFrame * >(argp1);
6958 if (obj1) {
6959 ecode2 = SWIG_AsVal_int(obj1, &val2);
6960 if (!SWIG_IsOK(ecode2)) {
6961 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6962 }
6963 arg2 = static_cast< int >(val2);
6964 }
6965 {
6966 PyThreadState* __tstate = wxPyBeginAllowThreads();
6967 (arg1)->PopStatusText(arg2);
6968 wxPyEndAllowThreads(__tstate);
6969 if (PyErr_Occurred()) SWIG_fail;
6970 }
6971 resultobj = SWIG_Py_Void();
6972 return resultobj;
6973fail:
6974 return NULL;
6975}
6976
6977
6978SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6979 PyObject *resultobj = 0;
6980 wxFrame *arg1 = (wxFrame *) 0 ;
6981 int arg2 ;
6982 void *argp1 = 0 ;
6983 int res1 = 0 ;
6984 int val2 ;
6985 int ecode2 = 0 ;
6986 PyObject * obj0 = 0 ;
6987 PyObject * obj1 = 0 ;
6988 char * kwnames[] = {
6989 (char *) "self",(char *) "n", NULL
6990 };
6991
6992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6994 if (!SWIG_IsOK(res1)) {
6995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6996 }
6997 arg1 = reinterpret_cast< wxFrame * >(argp1);
6998 ecode2 = SWIG_AsVal_int(obj1, &val2);
6999 if (!SWIG_IsOK(ecode2)) {
7000 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
7001 }
7002 arg2 = static_cast< int >(val2);
7003 {
7004 PyThreadState* __tstate = wxPyBeginAllowThreads();
7005 (arg1)->SetStatusBarPane(arg2);
7006 wxPyEndAllowThreads(__tstate);
7007 if (PyErr_Occurred()) SWIG_fail;
7008 }
7009 resultobj = SWIG_Py_Void();
7010 return resultobj;
7011fail:
7012 return NULL;
d55e5bfc
RD
7013}
7014
7015
554f62e9
RD
7016SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7017 PyObject *resultobj = 0;
7018 wxFrame *arg1 = (wxFrame *) 0 ;
7019 int result;
7020 void *argp1 = 0 ;
7021 int res1 = 0 ;
7022 PyObject *swig_obj[1] ;
7023
7024 if (!args) SWIG_fail;
7025 swig_obj[0] = args;
7026 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7027 if (!SWIG_IsOK(res1)) {
7028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7029 }
7030 arg1 = reinterpret_cast< wxFrame * >(argp1);
7031 {
7032 PyThreadState* __tstate = wxPyBeginAllowThreads();
7033 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
7034 wxPyEndAllowThreads(__tstate);
7035 if (PyErr_Occurred()) SWIG_fail;
7036 }
7037 resultobj = SWIG_From_int(static_cast< int >(result));
7038 return resultobj;
7039fail:
7040 return NULL;
7041}
7042
7043
7044SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7045 PyObject *resultobj = 0;
7046 wxFrame *arg1 = (wxFrame *) 0 ;
7047 long arg2 = (long) -1 ;
7048 int arg3 = (int) -1 ;
7049 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
7050 wxString *arg4 = (wxString *) &arg4_defvalue ;
7051 wxToolBar *result = 0 ;
7052 void *argp1 = 0 ;
7053 int res1 = 0 ;
7054 long val2 ;
7055 int ecode2 = 0 ;
7056 int val3 ;
7057 int ecode3 = 0 ;
7058 bool temp4 = false ;
7059 PyObject * obj0 = 0 ;
7060 PyObject * obj1 = 0 ;
7061 PyObject * obj2 = 0 ;
7062 PyObject * obj3 = 0 ;
7063 char * kwnames[] = {
7064 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7065 };
7066
7067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7068 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7069 if (!SWIG_IsOK(res1)) {
7070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7071 }
7072 arg1 = reinterpret_cast< wxFrame * >(argp1);
7073 if (obj1) {
7074 ecode2 = SWIG_AsVal_long(obj1, &val2);
7075 if (!SWIG_IsOK(ecode2)) {
7076 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7077 }
7078 arg2 = static_cast< long >(val2);
7079 }
7080 if (obj2) {
7081 ecode3 = SWIG_AsVal_int(obj2, &val3);
7082 if (!SWIG_IsOK(ecode3)) {
7083 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7084 }
7085 arg3 = static_cast< int >(val3);
7086 }
7087 if (obj3) {
d55e5bfc 7088 {
554f62e9
RD
7089 arg4 = wxString_in_helper(obj3);
7090 if (arg4 == NULL) SWIG_fail;
7091 temp4 = true;
d55e5bfc 7092 }
554f62e9
RD
7093 }
7094 {
7095 PyThreadState* __tstate = wxPyBeginAllowThreads();
7096 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7097 wxPyEndAllowThreads(__tstate);
7098 if (PyErr_Occurred()) SWIG_fail;
7099 }
7100 {
7101 resultobj = wxPyMake_wxObject(result, (bool)0);
7102 }
7103 {
7104 if (temp4)
7105 delete arg4;
7106 }
7107 return resultobj;
7108fail:
7109 {
7110 if (temp4)
7111 delete arg4;
7112 }
7113 return NULL;
d55e5bfc
RD
7114}
7115
7116
554f62e9
RD
7117SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7118 PyObject *resultobj = 0;
7119 wxFrame *arg1 = (wxFrame *) 0 ;
7120 wxToolBar *result = 0 ;
7121 void *argp1 = 0 ;
7122 int res1 = 0 ;
7123 PyObject *swig_obj[1] ;
7124
7125 if (!args) SWIG_fail;
7126 swig_obj[0] = args;
7127 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7128 if (!SWIG_IsOK(res1)) {
7129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7130 }
7131 arg1 = reinterpret_cast< wxFrame * >(argp1);
7132 {
7133 PyThreadState* __tstate = wxPyBeginAllowThreads();
7134 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7135 wxPyEndAllowThreads(__tstate);
7136 if (PyErr_Occurred()) SWIG_fail;
7137 }
7138 {
7139 resultobj = wxPyMake_wxObject(result, (bool)0);
7140 }
7141 return resultobj;
7142fail:
7143 return NULL;
7144}
7145
7146
7147SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7148 PyObject *resultobj = 0;
7149 wxFrame *arg1 = (wxFrame *) 0 ;
7150 wxToolBar *arg2 = (wxToolBar *) 0 ;
7151 void *argp1 = 0 ;
7152 int res1 = 0 ;
7153 void *argp2 = 0 ;
7154 int res2 = 0 ;
7155 PyObject * obj0 = 0 ;
7156 PyObject * obj1 = 0 ;
7157 char * kwnames[] = {
7158 (char *) "self",(char *) "toolbar", NULL
7159 };
7160
7161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7163 if (!SWIG_IsOK(res1)) {
7164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7165 }
7166 arg1 = reinterpret_cast< wxFrame * >(argp1);
7167 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7168 if (!SWIG_IsOK(res2)) {
7169 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7170 }
7171 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7172 {
7173 PyThreadState* __tstate = wxPyBeginAllowThreads();
7174 (arg1)->SetToolBar(arg2);
7175 wxPyEndAllowThreads(__tstate);
7176 if (PyErr_Occurred()) SWIG_fail;
7177 }
7178 resultobj = SWIG_Py_Void();
7179 return resultobj;
7180fail:
7181 return NULL;
7182}
7183
7184
7185SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7186 PyObject *resultobj = 0;
7187 wxFrame *arg1 = (wxFrame *) 0 ;
7188 wxString *arg2 = 0 ;
7189 bool arg3 ;
7190 void *argp1 = 0 ;
7191 int res1 = 0 ;
7192 bool temp2 = false ;
7193 bool val3 ;
7194 int ecode3 = 0 ;
7195 PyObject * obj0 = 0 ;
7196 PyObject * obj1 = 0 ;
7197 PyObject * obj2 = 0 ;
7198 char * kwnames[] = {
7199 (char *) "self",(char *) "text",(char *) "show", NULL
7200 };
7201
7202 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7203 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7204 if (!SWIG_IsOK(res1)) {
7205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7206 }
7207 arg1 = reinterpret_cast< wxFrame * >(argp1);
7208 {
7209 arg2 = wxString_in_helper(obj1);
7210 if (arg2 == NULL) SWIG_fail;
7211 temp2 = true;
7212 }
7213 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7214 if (!SWIG_IsOK(ecode3)) {
7215 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7216 }
7217 arg3 = static_cast< bool >(val3);
7218 {
7219 PyThreadState* __tstate = wxPyBeginAllowThreads();
7220 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7221 wxPyEndAllowThreads(__tstate);
7222 if (PyErr_Occurred()) SWIG_fail;
7223 }
7224 resultobj = SWIG_Py_Void();
7225 {
7226 if (temp2)
7227 delete arg2;
7228 }
7229 return resultobj;
7230fail:
7231 {
7232 if (temp2)
7233 delete arg2;
7234 }
7235 return NULL;
7236}
7237
7238
7239SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7240 PyObject *resultobj = 0;
7241 wxFrame *arg1 = (wxFrame *) 0 ;
7242 wxMenu *arg2 = (wxMenu *) NULL ;
7243 void *argp1 = 0 ;
7244 int res1 = 0 ;
7245 void *argp2 = 0 ;
7246 int res2 = 0 ;
7247 PyObject * obj0 = 0 ;
7248 PyObject * obj1 = 0 ;
7249 char * kwnames[] = {
7250 (char *) "self",(char *) "menu", NULL
7251 };
7252
7253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7255 if (!SWIG_IsOK(res1)) {
7256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7257 }
7258 arg1 = reinterpret_cast< wxFrame * >(argp1);
7259 if (obj1) {
7260 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7261 if (!SWIG_IsOK(res2)) {
7262 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
d55e5bfc 7263 }
554f62e9
RD
7264 arg2 = reinterpret_cast< wxMenu * >(argp2);
7265 }
7266 {
7267 PyThreadState* __tstate = wxPyBeginAllowThreads();
7268 (arg1)->DoMenuUpdates(arg2);
7269 wxPyEndAllowThreads(__tstate);
7270 if (PyErr_Occurred()) SWIG_fail;
7271 }
7272 resultobj = SWIG_Py_Void();
7273 return resultobj;
7274fail:
7275 return NULL;
7276}
7277
7278
7279SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7280 PyObject *resultobj = 0;
7281 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7282 SwigValueWrapper<wxVisualAttributes > result;
7283 int val1 ;
7284 int ecode1 = 0 ;
7285 PyObject * obj0 = 0 ;
7286 char * kwnames[] = {
7287 (char *) "variant", NULL
7288 };
7289
7290 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7291 if (obj0) {
7292 ecode1 = SWIG_AsVal_int(obj0, &val1);
7293 if (!SWIG_IsOK(ecode1)) {
7294 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7295 }
7296 arg1 = static_cast< wxWindowVariant >(val1);
7297 }
7298 {
7299 if (!wxPyCheckForApp()) SWIG_fail;
7300 PyThreadState* __tstate = wxPyBeginAllowThreads();
7301 result = wxFrame::GetClassDefaultAttributes(arg1);
7302 wxPyEndAllowThreads(__tstate);
7303 if (PyErr_Occurred()) SWIG_fail;
7304 }
7305 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7306 return resultobj;
7307fail:
7308 return NULL;
7309}
7310
7311
7312SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7313 PyObject *obj;
7314 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7315 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7316 return SWIG_Py_Void();
7317}
7318
7319SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7320 return SWIG_Python_InitShadowInstance(args);
7321}
7322
7323SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7324 PyObject *resultobj = 0;
7325 wxWindow *arg1 = (wxWindow *) 0 ;
7326 int arg2 = (int) (int)-1 ;
7327 wxString const &arg3_defvalue = wxPyEmptyString ;
7328 wxString *arg3 = (wxString *) &arg3_defvalue ;
7329 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7330 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7331 wxSize const &arg5_defvalue = wxDefaultSize ;
7332 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7333 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7334 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7335 wxString *arg7 = (wxString *) &arg7_defvalue ;
7336 wxDialog *result = 0 ;
7337 void *argp1 = 0 ;
7338 int res1 = 0 ;
7339 int val2 ;
7340 int ecode2 = 0 ;
7341 bool temp3 = false ;
7342 wxPoint temp4 ;
7343 wxSize temp5 ;
7344 long val6 ;
7345 int ecode6 = 0 ;
7346 bool temp7 = false ;
7347 PyObject * obj0 = 0 ;
7348 PyObject * obj1 = 0 ;
7349 PyObject * obj2 = 0 ;
7350 PyObject * obj3 = 0 ;
7351 PyObject * obj4 = 0 ;
7352 PyObject * obj5 = 0 ;
7353 PyObject * obj6 = 0 ;
7354 char * kwnames[] = {
7355 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7356 };
7357
7358 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7360 if (!SWIG_IsOK(res1)) {
7361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7362 }
7363 arg1 = reinterpret_cast< wxWindow * >(argp1);
7364 if (obj1) {
7365 ecode2 = SWIG_AsVal_int(obj1, &val2);
7366 if (!SWIG_IsOK(ecode2)) {
7367 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7368 }
7369 arg2 = static_cast< int >(val2);
7370 }
7371 if (obj2) {
d55e5bfc 7372 {
554f62e9
RD
7373 arg3 = wxString_in_helper(obj2);
7374 if (arg3 == NULL) SWIG_fail;
7375 temp3 = true;
d55e5bfc 7376 }
554f62e9
RD
7377 }
7378 if (obj3) {
d55e5bfc 7379 {
554f62e9
RD
7380 arg4 = &temp4;
7381 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 7382 }
554f62e9
RD
7383 }
7384 if (obj4) {
d55e5bfc 7385 {
554f62e9
RD
7386 arg5 = &temp5;
7387 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7388 }
554f62e9
RD
7389 }
7390 if (obj5) {
7391 ecode6 = SWIG_AsVal_long(obj5, &val6);
7392 if (!SWIG_IsOK(ecode6)) {
7393 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7394 }
7395 arg6 = static_cast< long >(val6);
7396 }
7397 if (obj6) {
093d3ff1 7398 {
554f62e9
RD
7399 arg7 = wxString_in_helper(obj6);
7400 if (arg7 == NULL) SWIG_fail;
7401 temp7 = true;
d55e5bfc 7402 }
554f62e9
RD
7403 }
7404 {
7405 if (!wxPyCheckForApp()) SWIG_fail;
7406 PyThreadState* __tstate = wxPyBeginAllowThreads();
7407 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7408 wxPyEndAllowThreads(__tstate);
7409 if (PyErr_Occurred()) SWIG_fail;
7410 }
7411 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7412 {
7413 if (temp3)
7414 delete arg3;
7415 }
7416 {
7417 if (temp7)
7418 delete arg7;
7419 }
7420 return resultobj;
7421fail:
7422 {
7423 if (temp3)
7424 delete arg3;
7425 }
7426 {
7427 if (temp7)
7428 delete arg7;
7429 }
7430 return NULL;
d55e5bfc
RD
7431}
7432
7433
554f62e9
RD
7434SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7435 PyObject *resultobj = 0;
7436 wxDialog *result = 0 ;
7437
7438 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7439 {
7440 if (!wxPyCheckForApp()) SWIG_fail;
7441 PyThreadState* __tstate = wxPyBeginAllowThreads();
7442 result = (wxDialog *)new wxDialog();
7443 wxPyEndAllowThreads(__tstate);
7444 if (PyErr_Occurred()) SWIG_fail;
7445 }
7446 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7447 return resultobj;
7448fail:
7449 return NULL;
7450}
7451
7452
7453SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7454 PyObject *resultobj = 0;
7455 wxDialog *arg1 = (wxDialog *) 0 ;
7456 wxWindow *arg2 = (wxWindow *) 0 ;
7457 int arg3 = (int) (int)-1 ;
7458 wxString const &arg4_defvalue = wxPyEmptyString ;
7459 wxString *arg4 = (wxString *) &arg4_defvalue ;
7460 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7461 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7462 wxSize const &arg6_defvalue = wxDefaultSize ;
7463 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7464 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7465 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7466 wxString *arg8 = (wxString *) &arg8_defvalue ;
7467 bool result;
7468 void *argp1 = 0 ;
7469 int res1 = 0 ;
7470 void *argp2 = 0 ;
7471 int res2 = 0 ;
7472 int val3 ;
7473 int ecode3 = 0 ;
7474 bool temp4 = false ;
7475 wxPoint temp5 ;
7476 wxSize temp6 ;
7477 long val7 ;
7478 int ecode7 = 0 ;
7479 bool temp8 = false ;
7480 PyObject * obj0 = 0 ;
7481 PyObject * obj1 = 0 ;
7482 PyObject * obj2 = 0 ;
7483 PyObject * obj3 = 0 ;
7484 PyObject * obj4 = 0 ;
7485 PyObject * obj5 = 0 ;
7486 PyObject * obj6 = 0 ;
7487 PyObject * obj7 = 0 ;
7488 char * kwnames[] = {
7489 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7490 };
7491
7492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7494 if (!SWIG_IsOK(res1)) {
7495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7496 }
7497 arg1 = reinterpret_cast< wxDialog * >(argp1);
7498 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7499 if (!SWIG_IsOK(res2)) {
7500 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7501 }
7502 arg2 = reinterpret_cast< wxWindow * >(argp2);
7503 if (obj2) {
7504 ecode3 = SWIG_AsVal_int(obj2, &val3);
7505 if (!SWIG_IsOK(ecode3)) {
7506 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7507 }
7508 arg3 = static_cast< int >(val3);
7509 }
7510 if (obj3) {
093d3ff1 7511 {
554f62e9
RD
7512 arg4 = wxString_in_helper(obj3);
7513 if (arg4 == NULL) SWIG_fail;
7514 temp4 = true;
d55e5bfc 7515 }
554f62e9
RD
7516 }
7517 if (obj4) {
d55e5bfc 7518 {
554f62e9
RD
7519 arg5 = &temp5;
7520 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7521 }
554f62e9
RD
7522 }
7523 if (obj5) {
d55e5bfc 7524 {
554f62e9
RD
7525 arg6 = &temp6;
7526 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 7527 }
554f62e9
RD
7528 }
7529 if (obj6) {
7530 ecode7 = SWIG_AsVal_long(obj6, &val7);
7531 if (!SWIG_IsOK(ecode7)) {
7532 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7533 }
7534 arg7 = static_cast< long >(val7);
7535 }
7536 if (obj7) {
d55e5bfc 7537 {
554f62e9
RD
7538 arg8 = wxString_in_helper(obj7);
7539 if (arg8 == NULL) SWIG_fail;
7540 temp8 = true;
d55e5bfc 7541 }
554f62e9
RD
7542 }
7543 {
7544 PyThreadState* __tstate = wxPyBeginAllowThreads();
7545 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7546 wxPyEndAllowThreads(__tstate);
7547 if (PyErr_Occurred()) SWIG_fail;
7548 }
7549 {
7550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7551 }
7552 {
7553 if (temp4)
7554 delete arg4;
7555 }
7556 {
7557 if (temp8)
7558 delete arg8;
7559 }
7560 return resultobj;
7561fail:
7562 {
7563 if (temp4)
7564 delete arg4;
7565 }
7566 {
7567 if (temp8)
7568 delete arg8;
7569 }
7570 return NULL;
7571}
7572
7573
7574SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7575 PyObject *resultobj = 0;
7576 wxDialog *arg1 = (wxDialog *) 0 ;
7577 int arg2 ;
7578 void *argp1 = 0 ;
7579 int res1 = 0 ;
7580 int val2 ;
7581 int ecode2 = 0 ;
7582 PyObject * obj0 = 0 ;
7583 PyObject * obj1 = 0 ;
7584 char * kwnames[] = {
7585 (char *) "self",(char *) "returnCode", NULL
7586 };
7587
7588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7590 if (!SWIG_IsOK(res1)) {
7591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7592 }
7593 arg1 = reinterpret_cast< wxDialog * >(argp1);
7594 ecode2 = SWIG_AsVal_int(obj1, &val2);
7595 if (!SWIG_IsOK(ecode2)) {
7596 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7597 }
7598 arg2 = static_cast< int >(val2);
7599 {
7600 PyThreadState* __tstate = wxPyBeginAllowThreads();
7601 (arg1)->SetReturnCode(arg2);
7602 wxPyEndAllowThreads(__tstate);
7603 if (PyErr_Occurred()) SWIG_fail;
7604 }
7605 resultobj = SWIG_Py_Void();
7606 return resultobj;
7607fail:
7608 return NULL;
d55e5bfc
RD
7609}
7610
7611
554f62e9
RD
7612SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7613 PyObject *resultobj = 0;
7614 wxDialog *arg1 = (wxDialog *) 0 ;
7615 int result;
7616 void *argp1 = 0 ;
7617 int res1 = 0 ;
7618 PyObject *swig_obj[1] ;
7619
7620 if (!args) SWIG_fail;
7621 swig_obj[0] = args;
7622 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7623 if (!SWIG_IsOK(res1)) {
7624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7625 }
7626 arg1 = reinterpret_cast< wxDialog * >(argp1);
7627 {
7628 PyThreadState* __tstate = wxPyBeginAllowThreads();
7629 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7630 wxPyEndAllowThreads(__tstate);
7631 if (PyErr_Occurred()) SWIG_fail;
7632 }
7633 resultobj = SWIG_From_int(static_cast< int >(result));
7634 return resultobj;
7635fail:
7636 return NULL;
7637}
7638
7639
7640SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7641 PyObject *resultobj = 0;
7642 wxDialog *arg1 = (wxDialog *) 0 ;
7643 int arg2 ;
7644 void *argp1 = 0 ;
7645 int res1 = 0 ;
7646 int val2 ;
7647 int ecode2 = 0 ;
7648 PyObject * obj0 = 0 ;
7649 PyObject * obj1 = 0 ;
7650 char * kwnames[] = {
7651 (char *) "self",(char *) "affirmativeId", NULL
7652 };
7653
7654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7656 if (!SWIG_IsOK(res1)) {
7657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7658 }
7659 arg1 = reinterpret_cast< wxDialog * >(argp1);
7660 ecode2 = SWIG_AsVal_int(obj1, &val2);
7661 if (!SWIG_IsOK(ecode2)) {
7662 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7663 }
7664 arg2 = static_cast< int >(val2);
7665 {
7666 PyThreadState* __tstate = wxPyBeginAllowThreads();
7667 (arg1)->SetAffirmativeId(arg2);
7668 wxPyEndAllowThreads(__tstate);
7669 if (PyErr_Occurred()) SWIG_fail;
7670 }
7671 resultobj = SWIG_Py_Void();
7672 return resultobj;
7673fail:
7674 return NULL;
d55e5bfc
RD
7675}
7676
7677
554f62e9
RD
7678SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7679 PyObject *resultobj = 0;
7680 wxDialog *arg1 = (wxDialog *) 0 ;
7681 int result;
7682 void *argp1 = 0 ;
7683 int res1 = 0 ;
7684 PyObject *swig_obj[1] ;
7685
7686 if (!args) SWIG_fail;
7687 swig_obj[0] = args;
7688 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7689 if (!SWIG_IsOK(res1)) {
7690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7691 }
7692 arg1 = reinterpret_cast< wxDialog * >(argp1);
7693 {
7694 PyThreadState* __tstate = wxPyBeginAllowThreads();
7695 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7696 wxPyEndAllowThreads(__tstate);
7697 if (PyErr_Occurred()) SWIG_fail;
7698 }
7699 resultobj = SWIG_From_int(static_cast< int >(result));
7700 return resultobj;
7701fail:
7702 return NULL;
7703}
7704
7705
7706SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7707 PyObject *resultobj = 0;
7708 wxDialog *arg1 = (wxDialog *) 0 ;
7709 int arg2 ;
7710 void *argp1 = 0 ;
7711 int res1 = 0 ;
7712 int val2 ;
7713 int ecode2 = 0 ;
7714 PyObject * obj0 = 0 ;
7715 PyObject * obj1 = 0 ;
7716 char * kwnames[] = {
7717 (char *) "self",(char *) "escapeId", NULL
7718 };
7719
7720 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7721 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7722 if (!SWIG_IsOK(res1)) {
7723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7724 }
7725 arg1 = reinterpret_cast< wxDialog * >(argp1);
7726 ecode2 = SWIG_AsVal_int(obj1, &val2);
7727 if (!SWIG_IsOK(ecode2)) {
7728 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7729 }
7730 arg2 = static_cast< int >(val2);
7731 {
7732 PyThreadState* __tstate = wxPyBeginAllowThreads();
7733 (arg1)->SetEscapeId(arg2);
7734 wxPyEndAllowThreads(__tstate);
7735 if (PyErr_Occurred()) SWIG_fail;
7736 }
7737 resultobj = SWIG_Py_Void();
7738 return resultobj;
7739fail:
7740 return NULL;
d55e5bfc
RD
7741}
7742
7743
554f62e9
RD
7744SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7745 PyObject *resultobj = 0;
7746 wxDialog *arg1 = (wxDialog *) 0 ;
7747 int result;
7748 void *argp1 = 0 ;
7749 int res1 = 0 ;
7750 PyObject *swig_obj[1] ;
7751
7752 if (!args) SWIG_fail;
7753 swig_obj[0] = args;
7754 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7755 if (!SWIG_IsOK(res1)) {
7756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7757 }
7758 arg1 = reinterpret_cast< wxDialog * >(argp1);
7759 {
7760 PyThreadState* __tstate = wxPyBeginAllowThreads();
7761 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7762 wxPyEndAllowThreads(__tstate);
7763 if (PyErr_Occurred()) SWIG_fail;
7764 }
7765 resultobj = SWIG_From_int(static_cast< int >(result));
7766 return resultobj;
7767fail:
7768 return NULL;
7769}
7770
7771
7772SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7773 PyObject *resultobj = 0;
7774 wxDialog *arg1 = (wxDialog *) 0 ;
7775 wxString *arg2 = 0 ;
7776 wxSizer *result = 0 ;
7777 void *argp1 = 0 ;
7778 int res1 = 0 ;
7779 bool temp2 = false ;
7780 PyObject * obj0 = 0 ;
7781 PyObject * obj1 = 0 ;
7782 char * kwnames[] = {
7783 (char *) "self",(char *) "message", NULL
7784 };
7785
7786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7788 if (!SWIG_IsOK(res1)) {
7789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7790 }
7791 arg1 = reinterpret_cast< wxDialog * >(argp1);
7792 {
7793 arg2 = wxString_in_helper(obj1);
7794 if (arg2 == NULL) SWIG_fail;
7795 temp2 = true;
7796 }
7797 {
7798 PyThreadState* __tstate = wxPyBeginAllowThreads();
7799 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7800 wxPyEndAllowThreads(__tstate);
7801 if (PyErr_Occurred()) SWIG_fail;
7802 }
7803 {
7804 resultobj = wxPyMake_wxObject(result, (bool)0);
7805 }
7806 {
7807 if (temp2)
7808 delete arg2;
7809 }
7810 return resultobj;
7811fail:
7812 {
7813 if (temp2)
7814 delete arg2;
7815 }
7816 return NULL;
7817}
7818
7819
b39fe951 7820SWIGINTERN PyObject *_wrap_Dialog__CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
554f62e9
RD
7821 PyObject *resultobj = 0;
7822 wxDialog *arg1 = (wxDialog *) 0 ;
7823 long arg2 ;
554f62e9
RD
7824 wxSizer *result = 0 ;
7825 void *argp1 = 0 ;
7826 int res1 = 0 ;
7827 long val2 ;
7828 int ecode2 = 0 ;
554f62e9
RD
7829 PyObject * obj0 = 0 ;
7830 PyObject * obj1 = 0 ;
554f62e9 7831 char * kwnames[] = {
b39fe951 7832 (char *) "self",(char *) "flags", NULL
554f62e9
RD
7833 };
7834
b39fe951 7835 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog__CreateButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
554f62e9
RD
7836 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7837 if (!SWIG_IsOK(res1)) {
b39fe951 7838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
554f62e9
RD
7839 }
7840 arg1 = reinterpret_cast< wxDialog * >(argp1);
7841 ecode2 = SWIG_AsVal_long(obj1, &val2);
7842 if (!SWIG_IsOK(ecode2)) {
b39fe951 7843 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
554f62e9
RD
7844 }
7845 arg2 = static_cast< long >(val2);
b39fe951
RD
7846 {
7847 PyThreadState* __tstate = wxPyBeginAllowThreads();
7848 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
7849 wxPyEndAllowThreads(__tstate);
7850 if (PyErr_Occurred()) SWIG_fail;
554f62e9 7851 }
b39fe951
RD
7852 {
7853 resultobj = wxPyMake_wxObject(result, (bool)0);
554f62e9 7854 }
b39fe951
RD
7855 return resultobj;
7856fail:
7857 return NULL;
7858}
7859
7860
7861SWIGINTERN PyObject *_wrap_Dialog_CreateSeparatedButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7862 PyObject *resultobj = 0;
7863 wxDialog *arg1 = (wxDialog *) 0 ;
7864 long arg2 ;
7865 wxSizer *result = 0 ;
7866 void *argp1 = 0 ;
7867 int res1 = 0 ;
7868 long val2 ;
7869 int ecode2 = 0 ;
7870 PyObject * obj0 = 0 ;
7871 PyObject * obj1 = 0 ;
7872 char * kwnames[] = {
7873 (char *) "self",(char *) "flags", NULL
7874 };
7875
7876 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7877 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7878 if (!SWIG_IsOK(res1)) {
7879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7880 }
7881 arg1 = reinterpret_cast< wxDialog * >(argp1);
7882 ecode2 = SWIG_AsVal_long(obj1, &val2);
7883 if (!SWIG_IsOK(ecode2)) {
7884 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7885 }
7886 arg2 = static_cast< long >(val2);
554f62e9
RD
7887 {
7888 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 7889 result = (wxSizer *)(arg1)->CreateSeparatedButtonSizer(arg2);
554f62e9
RD
7890 wxPyEndAllowThreads(__tstate);
7891 if (PyErr_Occurred()) SWIG_fail;
7892 }
7893 {
7894 resultobj = wxPyMake_wxObject(result, (bool)0);
7895 }
7896 return resultobj;
7897fail:
7898 return NULL;
7899}
7900
7901
7902SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7903 PyObject *resultobj = 0;
7904 wxDialog *arg1 = (wxDialog *) 0 ;
7905 long arg2 ;
7906 wxStdDialogButtonSizer *result = 0 ;
7907 void *argp1 = 0 ;
7908 int res1 = 0 ;
7909 long val2 ;
7910 int ecode2 = 0 ;
7911 PyObject * obj0 = 0 ;
7912 PyObject * obj1 = 0 ;
7913 char * kwnames[] = {
7914 (char *) "self",(char *) "flags", NULL
7915 };
7916
7917 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7918 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7919 if (!SWIG_IsOK(res1)) {
7920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7921 }
7922 arg1 = reinterpret_cast< wxDialog * >(argp1);
7923 ecode2 = SWIG_AsVal_long(obj1, &val2);
7924 if (!SWIG_IsOK(ecode2)) {
7925 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7926 }
7927 arg2 = static_cast< long >(val2);
7928 {
7929 PyThreadState* __tstate = wxPyBeginAllowThreads();
7930 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7931 wxPyEndAllowThreads(__tstate);
7932 if (PyErr_Occurred()) SWIG_fail;
7933 }
7934 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7935 return resultobj;
7936fail:
7937 return NULL;
d55e5bfc
RD
7938}
7939
7940
554f62e9
RD
7941SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7942 PyObject *resultobj = 0;
7943 wxDialog *arg1 = (wxDialog *) 0 ;
7944 bool result;
7945 void *argp1 = 0 ;
7946 int res1 = 0 ;
7947 PyObject *swig_obj[1] ;
7948
7949 if (!args) SWIG_fail;
7950 swig_obj[0] = args;
7951 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7952 if (!SWIG_IsOK(res1)) {
7953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7954 }
7955 arg1 = reinterpret_cast< wxDialog * >(argp1);
7956 {
7957 PyThreadState* __tstate = wxPyBeginAllowThreads();
7958 result = (bool)((wxDialog const *)arg1)->IsModal();
7959 wxPyEndAllowThreads(__tstate);
7960 if (PyErr_Occurred()) SWIG_fail;
7961 }
7962 {
7963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7964 }
7965 return resultobj;
7966fail:
7967 return NULL;
c32bde28
RD
7968}
7969
7970
554f62e9
RD
7971SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7972 PyObject *resultobj = 0;
7973 wxDialog *arg1 = (wxDialog *) 0 ;
7974 int result;
7975 void *argp1 = 0 ;
7976 int res1 = 0 ;
7977 PyObject *swig_obj[1] ;
7978
7979 if (!args) SWIG_fail;
7980 swig_obj[0] = args;
7981 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7982 if (!SWIG_IsOK(res1)) {
7983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7984 }
7985 arg1 = reinterpret_cast< wxDialog * >(argp1);
7986 {
7987 PyThreadState* __tstate = wxPyBeginAllowThreads();
7988 result = (int)(arg1)->ShowModal();
7989 wxPyEndAllowThreads(__tstate);
7990 if (PyErr_Occurred()) SWIG_fail;
7991 }
7992 resultobj = SWIG_From_int(static_cast< int >(result));
7993 return resultobj;
7994fail:
7995 return NULL;
7996}
7997
7998
7999SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8000 PyObject *resultobj = 0;
8001 wxDialog *arg1 = (wxDialog *) 0 ;
8002 int arg2 ;
8003 void *argp1 = 0 ;
8004 int res1 = 0 ;
8005 int val2 ;
8006 int ecode2 = 0 ;
8007 PyObject * obj0 = 0 ;
8008 PyObject * obj1 = 0 ;
8009 char * kwnames[] = {
8010 (char *) "self",(char *) "retCode", NULL
8011 };
8012
8013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
8014 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8015 if (!SWIG_IsOK(res1)) {
8016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8017 }
8018 arg1 = reinterpret_cast< wxDialog * >(argp1);
8019 ecode2 = SWIG_AsVal_int(obj1, &val2);
8020 if (!SWIG_IsOK(ecode2)) {
8021 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8022 }
8023 arg2 = static_cast< int >(val2);
8024 {
8025 PyThreadState* __tstate = wxPyBeginAllowThreads();
8026 (arg1)->EndModal(arg2);
8027 wxPyEndAllowThreads(__tstate);
8028 if (PyErr_Occurred()) SWIG_fail;
8029 }
8030 resultobj = SWIG_Py_Void();
8031 return resultobj;
8032fail:
8033 return NULL;
8034}
8035
8036
8037SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8038 PyObject *resultobj = 0;
8039 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8040 SwigValueWrapper<wxVisualAttributes > result;
8041 int val1 ;
8042 int ecode1 = 0 ;
8043 PyObject * obj0 = 0 ;
8044 char * kwnames[] = {
8045 (char *) "variant", NULL
8046 };
8047
8048 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8049 if (obj0) {
8050 ecode1 = SWIG_AsVal_int(obj0, &val1);
8051 if (!SWIG_IsOK(ecode1)) {
8052 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8053 }
8054 arg1 = static_cast< wxWindowVariant >(val1);
8055 }
8056 {
8057 if (!wxPyCheckForApp()) SWIG_fail;
8058 PyThreadState* __tstate = wxPyBeginAllowThreads();
8059 result = wxDialog::GetClassDefaultAttributes(arg1);
8060 wxPyEndAllowThreads(__tstate);
8061 if (PyErr_Occurred()) SWIG_fail;
8062 }
8063 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8064 return resultobj;
8065fail:
8066 return NULL;
8067}
8068
8069
8070SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8071 PyObject *obj;
8072 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8073 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8074 return SWIG_Py_Void();
8075}
8076
8077SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8078 return SWIG_Python_InitShadowInstance(args);
8079}
8080
8081SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8082 PyObject *resultobj = 0;
8083 wxWindow *arg1 = (wxWindow *) 0 ;
8084 int arg2 = (int) (int)-1 ;
8085 wxString const &arg3_defvalue = wxPyEmptyString ;
8086 wxString *arg3 = (wxString *) &arg3_defvalue ;
8087 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8088 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8089 wxSize const &arg5_defvalue = wxDefaultSize ;
8090 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5eb8189c 8091 long arg6 = (long) wxDEFAULT_MINIFRAME_STYLE ;
554f62e9
RD
8092 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8093 wxString *arg7 = (wxString *) &arg7_defvalue ;
8094 wxMiniFrame *result = 0 ;
8095 void *argp1 = 0 ;
8096 int res1 = 0 ;
8097 int val2 ;
8098 int ecode2 = 0 ;
8099 bool temp3 = false ;
8100 wxPoint temp4 ;
8101 wxSize temp5 ;
8102 long val6 ;
8103 int ecode6 = 0 ;
8104 bool temp7 = false ;
8105 PyObject * obj0 = 0 ;
8106 PyObject * obj1 = 0 ;
8107 PyObject * obj2 = 0 ;
8108 PyObject * obj3 = 0 ;
8109 PyObject * obj4 = 0 ;
8110 PyObject * obj5 = 0 ;
8111 PyObject * obj6 = 0 ;
8112 char * kwnames[] = {
8113 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8114 };
8115
8116 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8117 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8118 if (!SWIG_IsOK(res1)) {
8119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8120 }
8121 arg1 = reinterpret_cast< wxWindow * >(argp1);
8122 if (obj1) {
8123 ecode2 = SWIG_AsVal_int(obj1, &val2);
8124 if (!SWIG_IsOK(ecode2)) {
8125 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8126 }
8127 arg2 = static_cast< int >(val2);
8128 }
8129 if (obj2) {
5e483524 8130 {
554f62e9
RD
8131 arg3 = wxString_in_helper(obj2);
8132 if (arg3 == NULL) SWIG_fail;
8133 temp3 = true;
5e483524 8134 }
554f62e9
RD
8135 }
8136 if (obj3) {
093d3ff1 8137 {
554f62e9
RD
8138 arg4 = &temp4;
8139 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 8140 }
554f62e9
RD
8141 }
8142 if (obj4) {
84f85550 8143 {
554f62e9
RD
8144 arg5 = &temp5;
8145 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
84f85550 8146 }
554f62e9
RD
8147 }
8148 if (obj5) {
8149 ecode6 = SWIG_AsVal_long(obj5, &val6);
8150 if (!SWIG_IsOK(ecode6)) {
8151 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8152 }
8153 arg6 = static_cast< long >(val6);
8154 }
8155 if (obj6) {
84f85550 8156 {
554f62e9
RD
8157 arg7 = wxString_in_helper(obj6);
8158 if (arg7 == NULL) SWIG_fail;
8159 temp7 = true;
84f85550 8160 }
554f62e9
RD
8161 }
8162 {
8163 if (!wxPyCheckForApp()) SWIG_fail;
8164 PyThreadState* __tstate = wxPyBeginAllowThreads();
8165 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8166 wxPyEndAllowThreads(__tstate);
8167 if (PyErr_Occurred()) SWIG_fail;
8168 }
8169 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8170 {
8171 if (temp3)
8172 delete arg3;
8173 }
8174 {
8175 if (temp7)
8176 delete arg7;
8177 }
8178 return resultobj;
8179fail:
8180 {
8181 if (temp3)
8182 delete arg3;
8183 }
8184 {
8185 if (temp7)
8186 delete arg7;
8187 }
8188 return NULL;
84f85550
RD
8189}
8190
8191
554f62e9
RD
8192SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8193 PyObject *resultobj = 0;
8194 wxMiniFrame *result = 0 ;
8195
8196 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8197 {
8198 if (!wxPyCheckForApp()) SWIG_fail;
8199 PyThreadState* __tstate = wxPyBeginAllowThreads();
8200 result = (wxMiniFrame *)new wxMiniFrame();
8201 wxPyEndAllowThreads(__tstate);
8202 if (PyErr_Occurred()) SWIG_fail;
8203 }
8204 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8205 return resultobj;
8206fail:
8207 return NULL;
8208}
8209
8210
8211SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8212 PyObject *resultobj = 0;
8213 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8214 wxWindow *arg2 = (wxWindow *) 0 ;
8215 int arg3 = (int) (int)-1 ;
8216 wxString const &arg4_defvalue = wxPyEmptyString ;
8217 wxString *arg4 = (wxString *) &arg4_defvalue ;
8218 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8219 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8220 wxSize const &arg6_defvalue = wxDefaultSize ;
8221 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5eb8189c 8222 long arg7 = (long) wxDEFAULT_MINIFRAME_STYLE ;
554f62e9
RD
8223 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8224 wxString *arg8 = (wxString *) &arg8_defvalue ;
8225 bool result;
8226 void *argp1 = 0 ;
8227 int res1 = 0 ;
8228 void *argp2 = 0 ;
8229 int res2 = 0 ;
8230 int val3 ;
8231 int ecode3 = 0 ;
8232 bool temp4 = false ;
8233 wxPoint temp5 ;
8234 wxSize temp6 ;
8235 long val7 ;
8236 int ecode7 = 0 ;
8237 bool temp8 = false ;
8238 PyObject * obj0 = 0 ;
8239 PyObject * obj1 = 0 ;
8240 PyObject * obj2 = 0 ;
8241 PyObject * obj3 = 0 ;
8242 PyObject * obj4 = 0 ;
8243 PyObject * obj5 = 0 ;
8244 PyObject * obj6 = 0 ;
8245 PyObject * obj7 = 0 ;
8246 char * kwnames[] = {
8247 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8248 };
8249
8250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8252 if (!SWIG_IsOK(res1)) {
8253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8254 }
8255 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8256 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8257 if (!SWIG_IsOK(res2)) {
8258 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8259 }
8260 arg2 = reinterpret_cast< wxWindow * >(argp2);
8261 if (obj2) {
8262 ecode3 = SWIG_AsVal_int(obj2, &val3);
8263 if (!SWIG_IsOK(ecode3)) {
8264 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8265 }
8266 arg3 = static_cast< int >(val3);
8267 }
8268 if (obj3) {
b1fcee84 8269 {
554f62e9
RD
8270 arg4 = wxString_in_helper(obj3);
8271 if (arg4 == NULL) SWIG_fail;
8272 temp4 = true;
d55e5bfc 8273 }
554f62e9
RD
8274 }
8275 if (obj4) {
d55e5bfc 8276 {
554f62e9
RD
8277 arg5 = &temp5;
8278 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8279 }
554f62e9
RD
8280 }
8281 if (obj5) {
d55e5bfc 8282 {
554f62e9
RD
8283 arg6 = &temp6;
8284 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 8285 }
554f62e9
RD
8286 }
8287 if (obj6) {
8288 ecode7 = SWIG_AsVal_long(obj6, &val7);
8289 if (!SWIG_IsOK(ecode7)) {
8290 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8291 }
8292 arg7 = static_cast< long >(val7);
8293 }
8294 if (obj7) {
d55e5bfc 8295 {
554f62e9
RD
8296 arg8 = wxString_in_helper(obj7);
8297 if (arg8 == NULL) SWIG_fail;
8298 temp8 = true;
d55e5bfc 8299 }
554f62e9
RD
8300 }
8301 {
8302 PyThreadState* __tstate = wxPyBeginAllowThreads();
8303 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8304 wxPyEndAllowThreads(__tstate);
8305 if (PyErr_Occurred()) SWIG_fail;
8306 }
8307 {
8308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8309 }
8310 {
8311 if (temp4)
8312 delete arg4;
8313 }
8314 {
8315 if (temp8)
8316 delete arg8;
8317 }
8318 return resultobj;
8319fail:
8320 {
8321 if (temp4)
8322 delete arg4;
8323 }
8324 {
8325 if (temp8)
8326 delete arg8;
8327 }
8328 return NULL;
8329}
8330
8331
8332SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8333 PyObject *obj;
8334 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8335 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8336 return SWIG_Py_Void();
8337}
8338
8339SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8340 return SWIG_Python_InitShadowInstance(args);
8341}
8342
8343SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8344 PyObject *resultobj = 0;
8345 wxBitmap *arg1 = 0 ;
8346 wxWindow *arg2 = (wxWindow *) 0 ;
8347 int arg3 ;
8348 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8349 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8350 wxSize const &arg5_defvalue = wxDefaultSize ;
8351 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8352 long arg6 = (long) wxNO_BORDER ;
8353 wxSplashScreenWindow *result = 0 ;
8354 void *argp1 = 0 ;
8355 int res1 = 0 ;
8356 void *argp2 = 0 ;
8357 int res2 = 0 ;
8358 int val3 ;
8359 int ecode3 = 0 ;
8360 wxPoint temp4 ;
8361 wxSize temp5 ;
8362 long val6 ;
8363 int ecode6 = 0 ;
8364 PyObject * obj0 = 0 ;
8365 PyObject * obj1 = 0 ;
8366 PyObject * obj2 = 0 ;
8367 PyObject * obj3 = 0 ;
8368 PyObject * obj4 = 0 ;
8369 PyObject * obj5 = 0 ;
8370 char * kwnames[] = {
8371 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8372 };
8373
8374 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8375 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8376 if (!SWIG_IsOK(res1)) {
8377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8378 }
8379 if (!argp1) {
8380 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8381 }
8382 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8383 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8384 if (!SWIG_IsOK(res2)) {
8385 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8386 }
8387 arg2 = reinterpret_cast< wxWindow * >(argp2);
8388 ecode3 = SWIG_AsVal_int(obj2, &val3);
8389 if (!SWIG_IsOK(ecode3)) {
8390 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8391 }
8392 arg3 = static_cast< int >(val3);
8393 if (obj3) {
d55e5bfc 8394 {
554f62e9
RD
8395 arg4 = &temp4;
8396 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8397 }
554f62e9
RD
8398 }
8399 if (obj4) {
d55e5bfc 8400 {
554f62e9
RD
8401 arg5 = &temp5;
8402 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8403 }
8404 }
8405 if (obj5) {
8406 ecode6 = SWIG_AsVal_long(obj5, &val6);
8407 if (!SWIG_IsOK(ecode6)) {
8408 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8409 }
8410 arg6 = static_cast< long >(val6);
8411 }
8412 {
8413 if (!wxPyCheckForApp()) SWIG_fail;
8414 PyThreadState* __tstate = wxPyBeginAllowThreads();
8415 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8416 wxPyEndAllowThreads(__tstate);
8417 if (PyErr_Occurred()) SWIG_fail;
8418 }
8419 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8420 return resultobj;
8421fail:
8422 return NULL;
8423}
8424
8425
8426SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8427 PyObject *resultobj = 0;
8428 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8429 wxBitmap *arg2 = 0 ;
8430 void *argp1 = 0 ;
8431 int res1 = 0 ;
8432 void *argp2 = 0 ;
8433 int res2 = 0 ;
8434 PyObject * obj0 = 0 ;
8435 PyObject * obj1 = 0 ;
8436 char * kwnames[] = {
8437 (char *) "self",(char *) "bitmap", NULL
8438 };
8439
8440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8442 if (!SWIG_IsOK(res1)) {
8443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8444 }
8445 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8446 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8447 if (!SWIG_IsOK(res2)) {
8448 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8449 }
8450 if (!argp2) {
8451 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8452 }
8453 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8454 {
8455 PyThreadState* __tstate = wxPyBeginAllowThreads();
8456 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8457 wxPyEndAllowThreads(__tstate);
8458 if (PyErr_Occurred()) SWIG_fail;
8459 }
8460 resultobj = SWIG_Py_Void();
8461 return resultobj;
8462fail:
8463 return NULL;
d55e5bfc
RD
8464}
8465
8466
554f62e9
RD
8467SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8468 PyObject *resultobj = 0;
8469 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8470 wxBitmap *result = 0 ;
8471 void *argp1 = 0 ;
8472 int res1 = 0 ;
8473 PyObject *swig_obj[1] ;
8474
8475 if (!args) SWIG_fail;
8476 swig_obj[0] = args;
8477 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8478 if (!SWIG_IsOK(res1)) {
8479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8480 }
8481 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8482 {
8483 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 8484 {
554f62e9
RD
8485 wxBitmap &_result_ref = (arg1)->GetBitmap();
8486 result = (wxBitmap *) &_result_ref;
d55e5bfc 8487 }
554f62e9
RD
8488 wxPyEndAllowThreads(__tstate);
8489 if (PyErr_Occurred()) SWIG_fail;
8490 }
8491 {
8492 wxBitmap* resultptr = new wxBitmap(*result);
8493 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8494 }
8495 return resultobj;
8496fail:
8497 return NULL;
8498}
8499
8500
8501SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8502 PyObject *obj;
8503 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8504 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8505 return SWIG_Py_Void();
8506}
8507
8508SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8509 return SWIG_Python_InitShadowInstance(args);
8510}
8511
8512SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8513 PyObject *resultobj = 0;
8514 wxBitmap *arg1 = 0 ;
8515 long arg2 ;
8516 int arg3 ;
8517 wxWindow *arg4 = (wxWindow *) 0 ;
8518 int arg5 = (int) -1 ;
8519 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8520 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8521 wxSize const &arg7_defvalue = wxDefaultSize ;
8522 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8523 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8524 wxSplashScreen *result = 0 ;
8525 void *argp1 = 0 ;
8526 int res1 = 0 ;
8527 long val2 ;
8528 int ecode2 = 0 ;
8529 int val3 ;
8530 int ecode3 = 0 ;
8531 void *argp4 = 0 ;
8532 int res4 = 0 ;
8533 int val5 ;
8534 int ecode5 = 0 ;
8535 wxPoint temp6 ;
8536 wxSize temp7 ;
8537 long val8 ;
8538 int ecode8 = 0 ;
8539 PyObject * obj0 = 0 ;
8540 PyObject * obj1 = 0 ;
8541 PyObject * obj2 = 0 ;
8542 PyObject * obj3 = 0 ;
8543 PyObject * obj4 = 0 ;
8544 PyObject * obj5 = 0 ;
8545 PyObject * obj6 = 0 ;
8546 PyObject * obj7 = 0 ;
8547 char * kwnames[] = {
8548 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8549 };
8550
8551 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8552 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8553 if (!SWIG_IsOK(res1)) {
8554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8555 }
8556 if (!argp1) {
8557 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8558 }
8559 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8560 ecode2 = SWIG_AsVal_long(obj1, &val2);
8561 if (!SWIG_IsOK(ecode2)) {
8562 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8563 }
8564 arg2 = static_cast< long >(val2);
8565 ecode3 = SWIG_AsVal_int(obj2, &val3);
8566 if (!SWIG_IsOK(ecode3)) {
8567 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8568 }
8569 arg3 = static_cast< int >(val3);
8570 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8571 if (!SWIG_IsOK(res4)) {
8572 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8573 }
8574 arg4 = reinterpret_cast< wxWindow * >(argp4);
8575 if (obj4) {
8576 ecode5 = SWIG_AsVal_int(obj4, &val5);
8577 if (!SWIG_IsOK(ecode5)) {
8578 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8579 }
8580 arg5 = static_cast< int >(val5);
8581 }
8582 if (obj5) {
d55e5bfc 8583 {
554f62e9
RD
8584 arg6 = &temp6;
8585 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 8586 }
554f62e9
RD
8587 }
8588 if (obj6) {
d55e5bfc 8589 {
554f62e9
RD
8590 arg7 = &temp7;
8591 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
d55e5bfc 8592 }
554f62e9
RD
8593 }
8594 if (obj7) {
8595 ecode8 = SWIG_AsVal_long(obj7, &val8);
8596 if (!SWIG_IsOK(ecode8)) {
8597 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8598 }
8599 arg8 = static_cast< long >(val8);
8600 }
8601 {
8602 if (!wxPyCheckForApp()) SWIG_fail;
8603 PyThreadState* __tstate = wxPyBeginAllowThreads();
8604 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8605 wxPyEndAllowThreads(__tstate);
8606 if (PyErr_Occurred()) SWIG_fail;
8607 }
8608 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8609 return resultobj;
8610fail:
8611 return NULL;
d55e5bfc
RD
8612}
8613
8614
554f62e9
RD
8615SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8616 PyObject *resultobj = 0;
8617 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8618 long result;
8619 void *argp1 = 0 ;
8620 int res1 = 0 ;
8621 PyObject *swig_obj[1] ;
8622
8623 if (!args) SWIG_fail;
8624 swig_obj[0] = args;
8625 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8626 if (!SWIG_IsOK(res1)) {
8627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8628 }
8629 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8630 {
8631 PyThreadState* __tstate = wxPyBeginAllowThreads();
8632 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8633 wxPyEndAllowThreads(__tstate);
8634 if (PyErr_Occurred()) SWIG_fail;
8635 }
8636 resultobj = SWIG_From_long(static_cast< long >(result));
8637 return resultobj;
8638fail:
8639 return NULL;
d55e5bfc
RD
8640}
8641
8642
554f62e9
RD
8643SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8644 PyObject *resultobj = 0;
8645 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8646 wxSplashScreenWindow *result = 0 ;
8647 void *argp1 = 0 ;
8648 int res1 = 0 ;
8649 PyObject *swig_obj[1] ;
8650
8651 if (!args) SWIG_fail;
8652 swig_obj[0] = args;
8653 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8654 if (!SWIG_IsOK(res1)) {
8655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8656 }
8657 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8658 {
8659 PyThreadState* __tstate = wxPyBeginAllowThreads();
8660 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8661 wxPyEndAllowThreads(__tstate);
8662 if (PyErr_Occurred()) SWIG_fail;
8663 }
8664 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8665 return resultobj;
8666fail:
8667 return NULL;
d55e5bfc
RD
8668}
8669
8670
554f62e9
RD
8671SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8672 PyObject *resultobj = 0;
8673 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8674 int result;
8675 void *argp1 = 0 ;
8676 int res1 = 0 ;
8677 PyObject *swig_obj[1] ;
8678
8679 if (!args) SWIG_fail;
8680 swig_obj[0] = args;
8681 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8682 if (!SWIG_IsOK(res1)) {
8683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8684 }
8685 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8686 {
8687 PyThreadState* __tstate = wxPyBeginAllowThreads();
8688 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8689 wxPyEndAllowThreads(__tstate);
8690 if (PyErr_Occurred()) SWIG_fail;
8691 }
8692 resultobj = SWIG_From_int(static_cast< int >(result));
8693 return resultobj;
8694fail:
8695 return NULL;
8696}
8697
8698
8699SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8700 PyObject *obj;
8701 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8702 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8703 return SWIG_Py_Void();
8704}
8705
8706SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8707 return SWIG_Python_InitShadowInstance(args);
8708}
8709
8710SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8711 PyObject *resultobj = 0;
8712 wxWindow *arg1 = (wxWindow *) 0 ;
8713 int arg2 = (int) -1 ;
8714 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8715 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8716 wxString *arg4 = (wxString *) &arg4_defvalue ;
8717 wxStatusBar *result = 0 ;
8718 void *argp1 = 0 ;
8719 int res1 = 0 ;
8720 int val2 ;
8721 int ecode2 = 0 ;
8722 long val3 ;
8723 int ecode3 = 0 ;
8724 bool temp4 = false ;
8725 PyObject * obj0 = 0 ;
8726 PyObject * obj1 = 0 ;
8727 PyObject * obj2 = 0 ;
8728 PyObject * obj3 = 0 ;
8729 char * kwnames[] = {
8730 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8731 };
8732
8733 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8734 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8735 if (!SWIG_IsOK(res1)) {
8736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8737 }
8738 arg1 = reinterpret_cast< wxWindow * >(argp1);
8739 if (obj1) {
8740 ecode2 = SWIG_AsVal_int(obj1, &val2);
8741 if (!SWIG_IsOK(ecode2)) {
8742 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8743 }
8744 arg2 = static_cast< int >(val2);
8745 }
8746 if (obj2) {
8747 ecode3 = SWIG_AsVal_long(obj2, &val3);
8748 if (!SWIG_IsOK(ecode3)) {
8749 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8750 }
8751 arg3 = static_cast< long >(val3);
8752 }
8753 if (obj3) {
d55e5bfc 8754 {
554f62e9
RD
8755 arg4 = wxString_in_helper(obj3);
8756 if (arg4 == NULL) SWIG_fail;
8757 temp4 = true;
d55e5bfc 8758 }
554f62e9
RD
8759 }
8760 {
8761 if (!wxPyCheckForApp()) SWIG_fail;
8762 PyThreadState* __tstate = wxPyBeginAllowThreads();
8763 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8764 wxPyEndAllowThreads(__tstate);
8765 if (PyErr_Occurred()) SWIG_fail;
8766 }
8767 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8768 {
8769 if (temp4)
8770 delete arg4;
8771 }
8772 return resultobj;
8773fail:
8774 {
8775 if (temp4)
8776 delete arg4;
8777 }
8778 return NULL;
d55e5bfc
RD
8779}
8780
8781
554f62e9
RD
8782SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8783 PyObject *resultobj = 0;
8784 wxStatusBar *result = 0 ;
8785
8786 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8787 {
8788 if (!wxPyCheckForApp()) SWIG_fail;
8789 PyThreadState* __tstate = wxPyBeginAllowThreads();
8790 result = (wxStatusBar *)new wxStatusBar();
8791 wxPyEndAllowThreads(__tstate);
8792 if (PyErr_Occurred()) SWIG_fail;
8793 }
8794 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8795 return resultobj;
8796fail:
8797 return NULL;
8798}
8799
8800
8801SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8802 PyObject *resultobj = 0;
8803 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8804 wxWindow *arg2 = (wxWindow *) 0 ;
8805 int arg3 = (int) -1 ;
8806 long arg4 = (long) wxST_SIZEGRIP ;
8807 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8808 wxString *arg5 = (wxString *) &arg5_defvalue ;
8809 bool result;
8810 void *argp1 = 0 ;
8811 int res1 = 0 ;
8812 void *argp2 = 0 ;
8813 int res2 = 0 ;
8814 int val3 ;
8815 int ecode3 = 0 ;
8816 long val4 ;
8817 int ecode4 = 0 ;
8818 bool temp5 = false ;
8819 PyObject * obj0 = 0 ;
8820 PyObject * obj1 = 0 ;
8821 PyObject * obj2 = 0 ;
8822 PyObject * obj3 = 0 ;
8823 PyObject * obj4 = 0 ;
8824 char * kwnames[] = {
8825 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8826 };
8827
8828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8830 if (!SWIG_IsOK(res1)) {
8831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8832 }
8833 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8834 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8835 if (!SWIG_IsOK(res2)) {
8836 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8837 }
8838 arg2 = reinterpret_cast< wxWindow * >(argp2);
8839 if (obj2) {
8840 ecode3 = SWIG_AsVal_int(obj2, &val3);
8841 if (!SWIG_IsOK(ecode3)) {
8842 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8843 }
8844 arg3 = static_cast< int >(val3);
8845 }
8846 if (obj3) {
8847 ecode4 = SWIG_AsVal_long(obj3, &val4);
8848 if (!SWIG_IsOK(ecode4)) {
8849 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8850 }
8851 arg4 = static_cast< long >(val4);
8852 }
8853 if (obj4) {
d55e5bfc 8854 {
554f62e9
RD
8855 arg5 = wxString_in_helper(obj4);
8856 if (arg5 == NULL) SWIG_fail;
8857 temp5 = true;
d55e5bfc 8858 }
554f62e9
RD
8859 }
8860 {
8861 PyThreadState* __tstate = wxPyBeginAllowThreads();
8862 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8863 wxPyEndAllowThreads(__tstate);
8864 if (PyErr_Occurred()) SWIG_fail;
8865 }
8866 {
8867 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8868 }
8869 {
8870 if (temp5)
8871 delete arg5;
8872 }
8873 return resultobj;
8874fail:
8875 {
8876 if (temp5)
8877 delete arg5;
8878 }
8879 return NULL;
8880}
8881
8882
8883SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8884 PyObject *resultobj = 0;
8885 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8886 int arg2 = (int) 1 ;
8887 void *argp1 = 0 ;
8888 int res1 = 0 ;
8889 int val2 ;
8890 int ecode2 = 0 ;
8891 PyObject * obj0 = 0 ;
8892 PyObject * obj1 = 0 ;
8893 char * kwnames[] = {
8894 (char *) "self",(char *) "number", NULL
8895 };
8896
8897 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8898 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8899 if (!SWIG_IsOK(res1)) {
8900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8901 }
8902 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8903 if (obj1) {
8904 ecode2 = SWIG_AsVal_int(obj1, &val2);
8905 if (!SWIG_IsOK(ecode2)) {
8906 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8907 }
8908 arg2 = static_cast< int >(val2);
8909 }
8910 {
8911 PyThreadState* __tstate = wxPyBeginAllowThreads();
8912 (arg1)->SetFieldsCount(arg2);
8913 wxPyEndAllowThreads(__tstate);
8914 if (PyErr_Occurred()) SWIG_fail;
8915 }
8916 resultobj = SWIG_Py_Void();
8917 return resultobj;
8918fail:
8919 return NULL;
d55e5bfc
RD
8920}
8921
8922
554f62e9
RD
8923SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8924 PyObject *resultobj = 0;
8925 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8926 int result;
8927 void *argp1 = 0 ;
8928 int res1 = 0 ;
8929 PyObject *swig_obj[1] ;
8930
8931 if (!args) SWIG_fail;
8932 swig_obj[0] = args;
8933 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8934 if (!SWIG_IsOK(res1)) {
8935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8936 }
8937 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8938 {
8939 PyThreadState* __tstate = wxPyBeginAllowThreads();
8940 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8941 wxPyEndAllowThreads(__tstate);
8942 if (PyErr_Occurred()) SWIG_fail;
8943 }
8944 resultobj = SWIG_From_int(static_cast< int >(result));
8945 return resultobj;
8946fail:
8947 return NULL;
8948}
8949
8950
8951SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8952 PyObject *resultobj = 0;
8953 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8954 wxString *arg2 = 0 ;
8955 int arg3 = (int) 0 ;
8956 void *argp1 = 0 ;
8957 int res1 = 0 ;
8958 bool temp2 = false ;
8959 int val3 ;
8960 int ecode3 = 0 ;
8961 PyObject * obj0 = 0 ;
8962 PyObject * obj1 = 0 ;
8963 PyObject * obj2 = 0 ;
8964 char * kwnames[] = {
8965 (char *) "self",(char *) "text",(char *) "number", NULL
8966 };
8967
8968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8970 if (!SWIG_IsOK(res1)) {
8971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8972 }
8973 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8974 {
8975 arg2 = wxString_in_helper(obj1);
8976 if (arg2 == NULL) SWIG_fail;
8977 temp2 = true;
8978 }
8979 if (obj2) {
8980 ecode3 = SWIG_AsVal_int(obj2, &val3);
8981 if (!SWIG_IsOK(ecode3)) {
8982 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8983 }
8984 arg3 = static_cast< int >(val3);
8985 }
8986 {
8987 PyThreadState* __tstate = wxPyBeginAllowThreads();
8988 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8989 wxPyEndAllowThreads(__tstate);
8990 if (PyErr_Occurred()) SWIG_fail;
8991 }
8992 resultobj = SWIG_Py_Void();
8993 {
8994 if (temp2)
8995 delete arg2;
8996 }
8997 return resultobj;
8998fail:
8999 {
9000 if (temp2)
9001 delete arg2;
9002 }
9003 return NULL;
9004}
9005
9006
9007SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9008 PyObject *resultobj = 0;
9009 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9010 int arg2 = (int) 0 ;
9011 wxString result;
9012 void *argp1 = 0 ;
9013 int res1 = 0 ;
9014 int val2 ;
9015 int ecode2 = 0 ;
9016 PyObject * obj0 = 0 ;
9017 PyObject * obj1 = 0 ;
9018 char * kwnames[] = {
9019 (char *) "self",(char *) "number", NULL
9020 };
9021
9022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9024 if (!SWIG_IsOK(res1)) {
9025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9026 }
9027 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9028 if (obj1) {
9029 ecode2 = SWIG_AsVal_int(obj1, &val2);
9030 if (!SWIG_IsOK(ecode2)) {
9031 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9032 }
9033 arg2 = static_cast< int >(val2);
9034 }
9035 {
9036 PyThreadState* __tstate = wxPyBeginAllowThreads();
9037 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
9038 wxPyEndAllowThreads(__tstate);
9039 if (PyErr_Occurred()) SWIG_fail;
9040 }
9041 {
9042#if wxUSE_UNICODE
9043 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9044#else
9045 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9046#endif
9047 }
9048 return resultobj;
9049fail:
9050 return NULL;
9051}
9052
9053
9054SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9055 PyObject *resultobj = 0;
9056 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9057 wxString *arg2 = 0 ;
9058 int arg3 = (int) 0 ;
9059 void *argp1 = 0 ;
9060 int res1 = 0 ;
9061 bool temp2 = false ;
9062 int val3 ;
9063 int ecode3 = 0 ;
9064 PyObject * obj0 = 0 ;
9065 PyObject * obj1 = 0 ;
9066 PyObject * obj2 = 0 ;
9067 char * kwnames[] = {
9068 (char *) "self",(char *) "text",(char *) "number", NULL
9069 };
9070
9071 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9072 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9073 if (!SWIG_IsOK(res1)) {
9074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9075 }
9076 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9077 {
9078 arg2 = wxString_in_helper(obj1);
9079 if (arg2 == NULL) SWIG_fail;
9080 temp2 = true;
9081 }
9082 if (obj2) {
9083 ecode3 = SWIG_AsVal_int(obj2, &val3);
9084 if (!SWIG_IsOK(ecode3)) {
9085 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9086 }
9087 arg3 = static_cast< int >(val3);
9088 }
9089 {
9090 PyThreadState* __tstate = wxPyBeginAllowThreads();
9091 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9092 wxPyEndAllowThreads(__tstate);
9093 if (PyErr_Occurred()) SWIG_fail;
9094 }
9095 resultobj = SWIG_Py_Void();
9096 {
9097 if (temp2)
9098 delete arg2;
9099 }
9100 return resultobj;
9101fail:
9102 {
9103 if (temp2)
9104 delete arg2;
9105 }
9106 return NULL;
9107}
9108
9109
9110SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9111 PyObject *resultobj = 0;
9112 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9113 int arg2 = (int) 0 ;
9114 void *argp1 = 0 ;
9115 int res1 = 0 ;
9116 int val2 ;
9117 int ecode2 = 0 ;
9118 PyObject * obj0 = 0 ;
9119 PyObject * obj1 = 0 ;
9120 char * kwnames[] = {
9121 (char *) "self",(char *) "number", NULL
9122 };
9123
9124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9126 if (!SWIG_IsOK(res1)) {
9127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9128 }
9129 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9130 if (obj1) {
9131 ecode2 = SWIG_AsVal_int(obj1, &val2);
9132 if (!SWIG_IsOK(ecode2)) {
9133 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9134 }
9135 arg2 = static_cast< int >(val2);
9136 }
9137 {
9138 PyThreadState* __tstate = wxPyBeginAllowThreads();
9139 (arg1)->PopStatusText(arg2);
9140 wxPyEndAllowThreads(__tstate);
9141 if (PyErr_Occurred()) SWIG_fail;
9142 }
9143 resultobj = SWIG_Py_Void();
9144 return resultobj;
9145fail:
9146 return NULL;
9147}
9148
9149
9150SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9151 PyObject *resultobj = 0;
9152 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9153 int arg2 ;
9154 int *arg3 = (int *) 0 ;
9155 void *argp1 = 0 ;
9156 int res1 = 0 ;
9157 PyObject * obj0 = 0 ;
9158 PyObject * obj1 = 0 ;
9159 char * kwnames[] = {
9160 (char *) "self",(char *) "widths", NULL
9161 };
9162
9163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9165 if (!SWIG_IsOK(res1)) {
9166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9167 }
9168 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9169 {
9170 arg2 = PyList_Size(obj1);
9171 arg3 = int_LIST_helper(obj1);
9172 if (arg3 == NULL) SWIG_fail;
9173 }
9174 {
9175 PyThreadState* __tstate = wxPyBeginAllowThreads();
9176 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9177 wxPyEndAllowThreads(__tstate);
9178 if (PyErr_Occurred()) SWIG_fail;
9179 }
9180 resultobj = SWIG_Py_Void();
9181 {
9182 if (arg3) delete [] arg3;
9183 }
9184 return resultobj;
9185fail:
9186 {
9187 if (arg3) delete [] arg3;
9188 }
9189 return NULL;
d55e5bfc
RD
9190}
9191
9192
554f62e9
RD
9193SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9194 PyObject *resultobj = 0;
9195 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9196 int arg2 ;
9197 int *arg3 = (int *) 0 ;
9198 void *argp1 = 0 ;
9199 int res1 = 0 ;
9200 PyObject * obj0 = 0 ;
9201 PyObject * obj1 = 0 ;
9202 char * kwnames[] = {
9203 (char *) "self",(char *) "styles", NULL
9204 };
9205
9206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9208 if (!SWIG_IsOK(res1)) {
9209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9210 }
9211 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9212 {
9213 arg2 = PyList_Size(obj1);
9214 arg3 = int_LIST_helper(obj1);
9215 if (arg3 == NULL) SWIG_fail;
9216 }
9217 {
9218 PyThreadState* __tstate = wxPyBeginAllowThreads();
9219 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9220 wxPyEndAllowThreads(__tstate);
9221 if (PyErr_Occurred()) SWIG_fail;
9222 }
9223 resultobj = SWIG_Py_Void();
9224 {
9225 if (arg3) delete [] arg3;
9226 }
9227 return resultobj;
9228fail:
9229 {
9230 if (arg3) delete [] arg3;
9231 }
9232 return NULL;
9233}
9234
9235
9236SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9237 PyObject *resultobj = 0;
9238 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9239 int arg2 ;
9240 wxRect result;
9241 void *argp1 = 0 ;
9242 int res1 = 0 ;
9243 int val2 ;
9244 int ecode2 = 0 ;
9245 PyObject * obj0 = 0 ;
9246 PyObject * obj1 = 0 ;
9247 char * kwnames[] = {
9248 (char *) "self",(char *) "i", NULL
9249 };
9250
9251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9253 if (!SWIG_IsOK(res1)) {
9254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9255 }
9256 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9257 ecode2 = SWIG_AsVal_int(obj1, &val2);
9258 if (!SWIG_IsOK(ecode2)) {
9259 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9260 }
9261 arg2 = static_cast< int >(val2);
9262 {
9263 PyThreadState* __tstate = wxPyBeginAllowThreads();
9264 result = wxStatusBar_GetFieldRect(arg1,arg2);
9265 wxPyEndAllowThreads(__tstate);
9266 if (PyErr_Occurred()) SWIG_fail;
9267 }
9268 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9269 return resultobj;
9270fail:
9271 return NULL;
9272}
9273
9274
9275SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9276 PyObject *resultobj = 0;
9277 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9278 int arg2 ;
9279 void *argp1 = 0 ;
9280 int res1 = 0 ;
9281 int val2 ;
9282 int ecode2 = 0 ;
9283 PyObject * obj0 = 0 ;
9284 PyObject * obj1 = 0 ;
9285 char * kwnames[] = {
9286 (char *) "self",(char *) "height", NULL
9287 };
9288
9289 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9290 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9291 if (!SWIG_IsOK(res1)) {
9292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9293 }
9294 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9295 ecode2 = SWIG_AsVal_int(obj1, &val2);
9296 if (!SWIG_IsOK(ecode2)) {
9297 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9298 }
9299 arg2 = static_cast< int >(val2);
9300 {
9301 PyThreadState* __tstate = wxPyBeginAllowThreads();
9302 (arg1)->SetMinHeight(arg2);
9303 wxPyEndAllowThreads(__tstate);
9304 if (PyErr_Occurred()) SWIG_fail;
9305 }
9306 resultobj = SWIG_Py_Void();
9307 return resultobj;
9308fail:
9309 return NULL;
d55e5bfc
RD
9310}
9311
9312
554f62e9
RD
9313SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9314 PyObject *resultobj = 0;
9315 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9316 int result;
9317 void *argp1 = 0 ;
9318 int res1 = 0 ;
9319 PyObject *swig_obj[1] ;
9320
9321 if (!args) SWIG_fail;
9322 swig_obj[0] = args;
9323 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9324 if (!SWIG_IsOK(res1)) {
9325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9326 }
9327 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9328 {
9329 PyThreadState* __tstate = wxPyBeginAllowThreads();
9330 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9331 wxPyEndAllowThreads(__tstate);
9332 if (PyErr_Occurred()) SWIG_fail;
9333 }
9334 resultobj = SWIG_From_int(static_cast< int >(result));
9335 return resultobj;
9336fail:
9337 return NULL;
d55e5bfc
RD
9338}
9339
9340
554f62e9
RD
9341SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9342 PyObject *resultobj = 0;
9343 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9344 int result;
9345 void *argp1 = 0 ;
9346 int res1 = 0 ;
9347 PyObject *swig_obj[1] ;
9348
9349 if (!args) SWIG_fail;
9350 swig_obj[0] = args;
9351 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9352 if (!SWIG_IsOK(res1)) {
9353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9354 }
9355 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9356 {
9357 PyThreadState* __tstate = wxPyBeginAllowThreads();
9358 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9359 wxPyEndAllowThreads(__tstate);
9360 if (PyErr_Occurred()) SWIG_fail;
9361 }
9362 resultobj = SWIG_From_int(static_cast< int >(result));
9363 return resultobj;
9364fail:
9365 return NULL;
9366}
9367
9368
9369SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9370 PyObject *resultobj = 0;
9371 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9372 SwigValueWrapper<wxVisualAttributes > result;
9373 int val1 ;
9374 int ecode1 = 0 ;
9375 PyObject * obj0 = 0 ;
9376 char * kwnames[] = {
9377 (char *) "variant", NULL
9378 };
9379
9380 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9381 if (obj0) {
9382 ecode1 = SWIG_AsVal_int(obj0, &val1);
9383 if (!SWIG_IsOK(ecode1)) {
9384 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9385 }
9386 arg1 = static_cast< wxWindowVariant >(val1);
9387 }
9388 {
9389 if (!wxPyCheckForApp()) SWIG_fail;
9390 PyThreadState* __tstate = wxPyBeginAllowThreads();
9391 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9392 wxPyEndAllowThreads(__tstate);
9393 if (PyErr_Occurred()) SWIG_fail;
9394 }
9395 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9396 return resultobj;
9397fail:
9398 return NULL;
d55e5bfc
RD
9399}
9400
9401
554f62e9
RD
9402SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9403 PyObject *obj;
9404 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9405 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9406 return SWIG_Py_Void();
d55e5bfc
RD
9407}
9408
554f62e9
RD
9409SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9410 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
9411}
9412
554f62e9
RD
9413SWIGINTERN int SplitterNameStr_set(PyObject *) {
9414 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9415 return 1;
d55e5bfc
RD
9416}
9417
9418
554f62e9
RD
9419SWIGINTERN PyObject *SplitterNameStr_get(void) {
9420 PyObject *pyobj = 0;
9421
9422 {
9423#if wxUSE_UNICODE
9424 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9425#else
9426 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9427#endif
9428 }
9429 return pyobj;
9430}
9431
9432
9433SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9434 PyObject *resultobj = 0;
9435 wxWindow *arg1 = (wxWindow *) 0 ;
9436 int arg2 = (int) -1 ;
9437 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9438 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9439 wxSize const &arg4_defvalue = wxDefaultSize ;
9440 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9441 long arg5 = (long) wxSP_3D ;
9442 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9443 wxString *arg6 = (wxString *) &arg6_defvalue ;
9444 wxSplitterWindow *result = 0 ;
9445 void *argp1 = 0 ;
9446 int res1 = 0 ;
9447 int val2 ;
9448 int ecode2 = 0 ;
9449 wxPoint temp3 ;
9450 wxSize temp4 ;
9451 long val5 ;
9452 int ecode5 = 0 ;
9453 bool temp6 = false ;
9454 PyObject * obj0 = 0 ;
9455 PyObject * obj1 = 0 ;
9456 PyObject * obj2 = 0 ;
9457 PyObject * obj3 = 0 ;
9458 PyObject * obj4 = 0 ;
9459 PyObject * obj5 = 0 ;
9460 char * kwnames[] = {
9461 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9462 };
9463
9464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9466 if (!SWIG_IsOK(res1)) {
9467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9468 }
9469 arg1 = reinterpret_cast< wxWindow * >(argp1);
9470 if (obj1) {
9471 ecode2 = SWIG_AsVal_int(obj1, &val2);
9472 if (!SWIG_IsOK(ecode2)) {
9473 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9474 }
9475 arg2 = static_cast< int >(val2);
9476 }
9477 if (obj2) {
093d3ff1 9478 {
554f62e9
RD
9479 arg3 = &temp3;
9480 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 9481 }
554f62e9
RD
9482 }
9483 if (obj3) {
d55e5bfc 9484 {
554f62e9
RD
9485 arg4 = &temp4;
9486 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 9487 }
554f62e9
RD
9488 }
9489 if (obj4) {
9490 ecode5 = SWIG_AsVal_long(obj4, &val5);
9491 if (!SWIG_IsOK(ecode5)) {
9492 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9493 }
9494 arg5 = static_cast< long >(val5);
9495 }
9496 if (obj5) {
093d3ff1 9497 {
554f62e9
RD
9498 arg6 = wxString_in_helper(obj5);
9499 if (arg6 == NULL) SWIG_fail;
9500 temp6 = true;
093d3ff1 9501 }
554f62e9
RD
9502 }
9503 {
9504 if (!wxPyCheckForApp()) SWIG_fail;
9505 PyThreadState* __tstate = wxPyBeginAllowThreads();
9506 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9507 wxPyEndAllowThreads(__tstate);
9508 if (PyErr_Occurred()) SWIG_fail;
9509 }
9510 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9511 {
9512 if (temp6)
9513 delete arg6;
9514 }
9515 return resultobj;
9516fail:
9517 {
9518 if (temp6)
9519 delete arg6;
9520 }
9521 return NULL;
d55e5bfc
RD
9522}
9523
9524
554f62e9
RD
9525SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9526 PyObject *resultobj = 0;
9527 wxSplitterWindow *result = 0 ;
9528
9529 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9530 {
9531 if (!wxPyCheckForApp()) SWIG_fail;
9532 PyThreadState* __tstate = wxPyBeginAllowThreads();
9533 result = (wxSplitterWindow *)new wxSplitterWindow();
9534 wxPyEndAllowThreads(__tstate);
9535 if (PyErr_Occurred()) SWIG_fail;
9536 }
9537 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9538 return resultobj;
9539fail:
9540 return NULL;
9541}
9542
9543
9544SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9545 PyObject *resultobj = 0;
9546 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9547 wxWindow *arg2 = (wxWindow *) 0 ;
9548 int arg3 = (int) -1 ;
9549 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9550 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9551 wxSize const &arg5_defvalue = wxDefaultSize ;
9552 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9553 long arg6 = (long) wxSP_3D ;
9554 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9555 wxString *arg7 = (wxString *) &arg7_defvalue ;
9556 bool result;
9557 void *argp1 = 0 ;
9558 int res1 = 0 ;
9559 void *argp2 = 0 ;
9560 int res2 = 0 ;
9561 int val3 ;
9562 int ecode3 = 0 ;
9563 wxPoint temp4 ;
9564 wxSize temp5 ;
9565 long val6 ;
9566 int ecode6 = 0 ;
9567 bool temp7 = false ;
9568 PyObject * obj0 = 0 ;
9569 PyObject * obj1 = 0 ;
9570 PyObject * obj2 = 0 ;
9571 PyObject * obj3 = 0 ;
9572 PyObject * obj4 = 0 ;
9573 PyObject * obj5 = 0 ;
9574 PyObject * obj6 = 0 ;
9575 char * kwnames[] = {
9576 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9577 };
9578
9579 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9580 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9581 if (!SWIG_IsOK(res1)) {
9582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9583 }
9584 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9585 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9586 if (!SWIG_IsOK(res2)) {
9587 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9588 }
9589 arg2 = reinterpret_cast< wxWindow * >(argp2);
9590 if (obj2) {
9591 ecode3 = SWIG_AsVal_int(obj2, &val3);
9592 if (!SWIG_IsOK(ecode3)) {
9593 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9594 }
9595 arg3 = static_cast< int >(val3);
9596 }
9597 if (obj3) {
d55e5bfc 9598 {
554f62e9
RD
9599 arg4 = &temp4;
9600 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 9601 }
554f62e9
RD
9602 }
9603 if (obj4) {
d55e5bfc 9604 {
554f62e9
RD
9605 arg5 = &temp5;
9606 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 9607 }
554f62e9
RD
9608 }
9609 if (obj5) {
9610 ecode6 = SWIG_AsVal_long(obj5, &val6);
9611 if (!SWIG_IsOK(ecode6)) {
9612 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9613 }
9614 arg6 = static_cast< long >(val6);
9615 }
9616 if (obj6) {
d55e5bfc 9617 {
554f62e9
RD
9618 arg7 = wxString_in_helper(obj6);
9619 if (arg7 == NULL) SWIG_fail;
9620 temp7 = true;
d55e5bfc 9621 }
554f62e9
RD
9622 }
9623 {
9624 PyThreadState* __tstate = wxPyBeginAllowThreads();
9625 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9626 wxPyEndAllowThreads(__tstate);
9627 if (PyErr_Occurred()) SWIG_fail;
9628 }
9629 {
9630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9631 }
9632 {
9633 if (temp7)
9634 delete arg7;
9635 }
9636 return resultobj;
9637fail:
9638 {
9639 if (temp7)
9640 delete arg7;
9641 }
9642 return NULL;
d55e5bfc
RD
9643}
9644
9645
554f62e9
RD
9646SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9647 PyObject *resultobj = 0;
9648 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9649 wxWindow *result = 0 ;
9650 void *argp1 = 0 ;
9651 int res1 = 0 ;
9652 PyObject *swig_obj[1] ;
9653
9654 if (!args) SWIG_fail;
9655 swig_obj[0] = args;
9656 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9657 if (!SWIG_IsOK(res1)) {
9658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9659 }
9660 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9661 {
9662 PyThreadState* __tstate = wxPyBeginAllowThreads();
9663 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9664 wxPyEndAllowThreads(__tstate);
9665 if (PyErr_Occurred()) SWIG_fail;
9666 }
9667 {
9668 resultobj = wxPyMake_wxObject(result, 0);
9669 }
9670 return resultobj;
9671fail:
9672 return NULL;
d55e5bfc
RD
9673}
9674
9675
554f62e9
RD
9676SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9677 PyObject *resultobj = 0;
9678 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9679 wxWindow *result = 0 ;
9680 void *argp1 = 0 ;
9681 int res1 = 0 ;
9682 PyObject *swig_obj[1] ;
9683
9684 if (!args) SWIG_fail;
9685 swig_obj[0] = args;
9686 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9687 if (!SWIG_IsOK(res1)) {
9688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9689 }
9690 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9691 {
9692 PyThreadState* __tstate = wxPyBeginAllowThreads();
9693 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9694 wxPyEndAllowThreads(__tstate);
9695 if (PyErr_Occurred()) SWIG_fail;
9696 }
9697 {
9698 resultobj = wxPyMake_wxObject(result, 0);
9699 }
9700 return resultobj;
9701fail:
9702 return NULL;
9703}
9704
9705
9706SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9707 PyObject *resultobj = 0;
9708 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9709 int arg2 ;
9710 void *argp1 = 0 ;
9711 int res1 = 0 ;
9712 int val2 ;
9713 int ecode2 = 0 ;
9714 PyObject * obj0 = 0 ;
9715 PyObject * obj1 = 0 ;
9716 char * kwnames[] = {
9717 (char *) "self",(char *) "mode", NULL
9718 };
9719
9720 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9721 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9722 if (!SWIG_IsOK(res1)) {
9723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9724 }
9725 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9726 ecode2 = SWIG_AsVal_int(obj1, &val2);
9727 if (!SWIG_IsOK(ecode2)) {
9728 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9729 }
9730 arg2 = static_cast< int >(val2);
9731 {
9732 PyThreadState* __tstate = wxPyBeginAllowThreads();
9733 (arg1)->SetSplitMode(arg2);
9734 wxPyEndAllowThreads(__tstate);
9735 if (PyErr_Occurred()) SWIG_fail;
9736 }
9737 resultobj = SWIG_Py_Void();
9738 return resultobj;
9739fail:
9740 return NULL;
d55e5bfc
RD
9741}
9742
9743
554f62e9
RD
9744SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9745 PyObject *resultobj = 0;
9746 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9747 wxSplitMode result;
9748 void *argp1 = 0 ;
9749 int res1 = 0 ;
9750 PyObject *swig_obj[1] ;
9751
9752 if (!args) SWIG_fail;
9753 swig_obj[0] = args;
9754 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9755 if (!SWIG_IsOK(res1)) {
9756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9757 }
9758 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9759 {
9760 PyThreadState* __tstate = wxPyBeginAllowThreads();
9761 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9762 wxPyEndAllowThreads(__tstate);
9763 if (PyErr_Occurred()) SWIG_fail;
9764 }
9765 resultobj = SWIG_From_int(static_cast< int >(result));
9766 return resultobj;
9767fail:
9768 return NULL;
9769}
9770
9771
9772SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9773 PyObject *resultobj = 0;
9774 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9775 wxWindow *arg2 = (wxWindow *) 0 ;
9776 void *argp1 = 0 ;
9777 int res1 = 0 ;
9778 void *argp2 = 0 ;
9779 int res2 = 0 ;
9780 PyObject * obj0 = 0 ;
9781 PyObject * obj1 = 0 ;
9782 char * kwnames[] = {
9783 (char *) "self",(char *) "window", NULL
9784 };
9785
9786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9788 if (!SWIG_IsOK(res1)) {
9789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9790 }
9791 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9792 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9793 if (!SWIG_IsOK(res2)) {
9794 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9795 }
9796 arg2 = reinterpret_cast< wxWindow * >(argp2);
9797 {
9798 PyThreadState* __tstate = wxPyBeginAllowThreads();
9799 (arg1)->Initialize(arg2);
9800 wxPyEndAllowThreads(__tstate);
9801 if (PyErr_Occurred()) SWIG_fail;
9802 }
9803 resultobj = SWIG_Py_Void();
9804 return resultobj;
9805fail:
9806 return NULL;
9807}
9808
9809
9810SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9811 PyObject *resultobj = 0;
9812 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9813 wxWindow *arg2 = (wxWindow *) 0 ;
9814 wxWindow *arg3 = (wxWindow *) 0 ;
9815 int arg4 = (int) 0 ;
9816 bool result;
9817 void *argp1 = 0 ;
9818 int res1 = 0 ;
9819 void *argp2 = 0 ;
9820 int res2 = 0 ;
9821 void *argp3 = 0 ;
9822 int res3 = 0 ;
9823 int val4 ;
9824 int ecode4 = 0 ;
9825 PyObject * obj0 = 0 ;
9826 PyObject * obj1 = 0 ;
9827 PyObject * obj2 = 0 ;
9828 PyObject * obj3 = 0 ;
9829 char * kwnames[] = {
9830 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9831 };
9832
9833 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9834 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9835 if (!SWIG_IsOK(res1)) {
9836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9837 }
9838 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9839 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9840 if (!SWIG_IsOK(res2)) {
9841 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9842 }
9843 arg2 = reinterpret_cast< wxWindow * >(argp2);
9844 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9845 if (!SWIG_IsOK(res3)) {
9846 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9847 }
9848 arg3 = reinterpret_cast< wxWindow * >(argp3);
9849 if (obj3) {
9850 ecode4 = SWIG_AsVal_int(obj3, &val4);
9851 if (!SWIG_IsOK(ecode4)) {
9852 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9853 }
9854 arg4 = static_cast< int >(val4);
9855 }
9856 {
9857 PyThreadState* __tstate = wxPyBeginAllowThreads();
9858 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9859 wxPyEndAllowThreads(__tstate);
9860 if (PyErr_Occurred()) SWIG_fail;
9861 }
9862 {
9863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9864 }
9865 return resultobj;
9866fail:
9867 return NULL;
9868}
9869
9870
9871SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9872 PyObject *resultobj = 0;
9873 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9874 wxWindow *arg2 = (wxWindow *) 0 ;
9875 wxWindow *arg3 = (wxWindow *) 0 ;
9876 int arg4 = (int) 0 ;
9877 bool result;
9878 void *argp1 = 0 ;
9879 int res1 = 0 ;
9880 void *argp2 = 0 ;
9881 int res2 = 0 ;
9882 void *argp3 = 0 ;
9883 int res3 = 0 ;
9884 int val4 ;
9885 int ecode4 = 0 ;
9886 PyObject * obj0 = 0 ;
9887 PyObject * obj1 = 0 ;
9888 PyObject * obj2 = 0 ;
9889 PyObject * obj3 = 0 ;
9890 char * kwnames[] = {
9891 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9892 };
9893
9894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9896 if (!SWIG_IsOK(res1)) {
9897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9898 }
9899 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9900 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9901 if (!SWIG_IsOK(res2)) {
9902 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9903 }
9904 arg2 = reinterpret_cast< wxWindow * >(argp2);
9905 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9906 if (!SWIG_IsOK(res3)) {
9907 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9908 }
9909 arg3 = reinterpret_cast< wxWindow * >(argp3);
9910 if (obj3) {
9911 ecode4 = SWIG_AsVal_int(obj3, &val4);
9912 if (!SWIG_IsOK(ecode4)) {
9913 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9914 }
9915 arg4 = static_cast< int >(val4);
9916 }
9917 {
9918 PyThreadState* __tstate = wxPyBeginAllowThreads();
9919 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9920 wxPyEndAllowThreads(__tstate);
9921 if (PyErr_Occurred()) SWIG_fail;
9922 }
9923 {
9924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9925 }
9926 return resultobj;
9927fail:
9928 return NULL;
9929}
9930
9931
9932SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9933 PyObject *resultobj = 0;
9934 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9935 wxWindow *arg2 = (wxWindow *) NULL ;
9936 bool result;
9937 void *argp1 = 0 ;
9938 int res1 = 0 ;
9939 void *argp2 = 0 ;
9940 int res2 = 0 ;
9941 PyObject * obj0 = 0 ;
9942 PyObject * obj1 = 0 ;
9943 char * kwnames[] = {
9944 (char *) "self",(char *) "toRemove", NULL
9945 };
9946
9947 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9949 if (!SWIG_IsOK(res1)) {
9950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9951 }
9952 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9953 if (obj1) {
9954 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9955 if (!SWIG_IsOK(res2)) {
9956 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
d55e5bfc 9957 }
554f62e9
RD
9958 arg2 = reinterpret_cast< wxWindow * >(argp2);
9959 }
9960 {
9961 PyThreadState* __tstate = wxPyBeginAllowThreads();
9962 result = (bool)(arg1)->Unsplit(arg2);
9963 wxPyEndAllowThreads(__tstate);
9964 if (PyErr_Occurred()) SWIG_fail;
9965 }
9966 {
9967 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9968 }
9969 return resultobj;
9970fail:
9971 return NULL;
9972}
9973
9974
9975SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9976 PyObject *resultobj = 0;
9977 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9978 wxWindow *arg2 = (wxWindow *) 0 ;
9979 wxWindow *arg3 = (wxWindow *) 0 ;
9980 bool result;
9981 void *argp1 = 0 ;
9982 int res1 = 0 ;
9983 void *argp2 = 0 ;
9984 int res2 = 0 ;
9985 void *argp3 = 0 ;
9986 int res3 = 0 ;
9987 PyObject * obj0 = 0 ;
9988 PyObject * obj1 = 0 ;
9989 PyObject * obj2 = 0 ;
9990 char * kwnames[] = {
9991 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9992 };
9993
9994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9996 if (!SWIG_IsOK(res1)) {
9997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9998 }
9999 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10000 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10001 if (!SWIG_IsOK(res2)) {
10002 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10003 }
10004 arg2 = reinterpret_cast< wxWindow * >(argp2);
10005 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10006 if (!SWIG_IsOK(res3)) {
10007 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10008 }
10009 arg3 = reinterpret_cast< wxWindow * >(argp3);
10010 {
10011 PyThreadState* __tstate = wxPyBeginAllowThreads();
10012 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
10013 wxPyEndAllowThreads(__tstate);
10014 if (PyErr_Occurred()) SWIG_fail;
10015 }
10016 {
10017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10018 }
10019 return resultobj;
10020fail:
10021 return NULL;
d55e5bfc
RD
10022}
10023
10024
554f62e9
RD
10025SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10026 PyObject *resultobj = 0;
10027 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10028 void *argp1 = 0 ;
10029 int res1 = 0 ;
10030 PyObject *swig_obj[1] ;
10031
10032 if (!args) SWIG_fail;
10033 swig_obj[0] = args;
10034 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10035 if (!SWIG_IsOK(res1)) {
10036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10037 }
10038 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10039 {
10040 PyThreadState* __tstate = wxPyBeginAllowThreads();
10041 (arg1)->UpdateSize();
10042 wxPyEndAllowThreads(__tstate);
10043 if (PyErr_Occurred()) SWIG_fail;
10044 }
10045 resultobj = SWIG_Py_Void();
10046 return resultobj;
10047fail:
10048 return NULL;
f20a2e1f
RD
10049}
10050
10051
554f62e9
RD
10052SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10053 PyObject *resultobj = 0;
10054 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10055 bool result;
10056 void *argp1 = 0 ;
10057 int res1 = 0 ;
10058 PyObject *swig_obj[1] ;
10059
10060 if (!args) SWIG_fail;
10061 swig_obj[0] = args;
10062 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10063 if (!SWIG_IsOK(res1)) {
10064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10065 }
10066 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10067 {
10068 PyThreadState* __tstate = wxPyBeginAllowThreads();
10069 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
10070 wxPyEndAllowThreads(__tstate);
10071 if (PyErr_Occurred()) SWIG_fail;
10072 }
10073 {
10074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10075 }
10076 return resultobj;
10077fail:
10078 return NULL;
10079}
10080
10081
10082SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10083 PyObject *resultobj = 0;
10084 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10085 int arg2 ;
10086 void *argp1 = 0 ;
10087 int res1 = 0 ;
10088 int val2 ;
10089 int ecode2 = 0 ;
10090 PyObject * obj0 = 0 ;
10091 PyObject * obj1 = 0 ;
10092 char * kwnames[] = {
10093 (char *) "self",(char *) "width", NULL
10094 };
10095
10096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10098 if (!SWIG_IsOK(res1)) {
10099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10100 }
10101 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10102 ecode2 = SWIG_AsVal_int(obj1, &val2);
10103 if (!SWIG_IsOK(ecode2)) {
10104 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10105 }
10106 arg2 = static_cast< int >(val2);
10107 {
10108 PyThreadState* __tstate = wxPyBeginAllowThreads();
10109 (arg1)->SetSashSize(arg2);
10110 wxPyEndAllowThreads(__tstate);
10111 if (PyErr_Occurred()) SWIG_fail;
10112 }
10113 resultobj = SWIG_Py_Void();
10114 return resultobj;
10115fail:
10116 return NULL;
10117}
10118
10119
10120SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10121 PyObject *resultobj = 0;
10122 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10123 int arg2 ;
10124 void *argp1 = 0 ;
10125 int res1 = 0 ;
10126 int val2 ;
10127 int ecode2 = 0 ;
10128 PyObject * obj0 = 0 ;
10129 PyObject * obj1 = 0 ;
10130 char * kwnames[] = {
10131 (char *) "self",(char *) "width", NULL
10132 };
10133
10134 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10135 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10136 if (!SWIG_IsOK(res1)) {
10137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10138 }
10139 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10140 ecode2 = SWIG_AsVal_int(obj1, &val2);
10141 if (!SWIG_IsOK(ecode2)) {
10142 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10143 }
10144 arg2 = static_cast< int >(val2);
10145 {
10146 PyThreadState* __tstate = wxPyBeginAllowThreads();
10147 (arg1)->SetBorderSize(arg2);
10148 wxPyEndAllowThreads(__tstate);
10149 if (PyErr_Occurred()) SWIG_fail;
10150 }
10151 resultobj = SWIG_Py_Void();
10152 return resultobj;
10153fail:
10154 return NULL;
d55e5bfc
RD
10155}
10156
10157
554f62e9
RD
10158SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10159 PyObject *resultobj = 0;
10160 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10161 int result;
10162 void *argp1 = 0 ;
10163 int res1 = 0 ;
10164 PyObject *swig_obj[1] ;
10165
10166 if (!args) SWIG_fail;
10167 swig_obj[0] = args;
10168 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10169 if (!SWIG_IsOK(res1)) {
10170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10171 }
10172 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10173 {
10174 PyThreadState* __tstate = wxPyBeginAllowThreads();
10175 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10176 wxPyEndAllowThreads(__tstate);
10177 if (PyErr_Occurred()) SWIG_fail;
10178 }
10179 resultobj = SWIG_From_int(static_cast< int >(result));
10180 return resultobj;
10181fail:
10182 return NULL;
d55e5bfc
RD
10183}
10184
10185
554f62e9
RD
10186SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10187 PyObject *resultobj = 0;
10188 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10189 int result;
10190 void *argp1 = 0 ;
10191 int res1 = 0 ;
10192 PyObject *swig_obj[1] ;
10193
10194 if (!args) SWIG_fail;
10195 swig_obj[0] = args;
10196 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10197 if (!SWIG_IsOK(res1)) {
10198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10199 }
10200 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10201 {
10202 PyThreadState* __tstate = wxPyBeginAllowThreads();
10203 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10204 wxPyEndAllowThreads(__tstate);
10205 if (PyErr_Occurred()) SWIG_fail;
10206 }
10207 resultobj = SWIG_From_int(static_cast< int >(result));
10208 return resultobj;
10209fail:
10210 return NULL;
10211}
10212
10213
10214SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10215 PyObject *resultobj = 0;
10216 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10217 int arg2 ;
10218 bool arg3 = (bool) true ;
10219 void *argp1 = 0 ;
10220 int res1 = 0 ;
10221 int val2 ;
10222 int ecode2 = 0 ;
10223 bool val3 ;
10224 int ecode3 = 0 ;
10225 PyObject * obj0 = 0 ;
10226 PyObject * obj1 = 0 ;
10227 PyObject * obj2 = 0 ;
10228 char * kwnames[] = {
10229 (char *) "self",(char *) "position",(char *) "redraw", NULL
10230 };
10231
10232 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10233 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10234 if (!SWIG_IsOK(res1)) {
10235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10236 }
10237 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10238 ecode2 = SWIG_AsVal_int(obj1, &val2);
10239 if (!SWIG_IsOK(ecode2)) {
10240 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10241 }
10242 arg2 = static_cast< int >(val2);
10243 if (obj2) {
10244 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10245 if (!SWIG_IsOK(ecode3)) {
10246 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10247 }
10248 arg3 = static_cast< bool >(val3);
10249 }
10250 {
10251 PyThreadState* __tstate = wxPyBeginAllowThreads();
10252 (arg1)->SetSashPosition(arg2,arg3);
10253 wxPyEndAllowThreads(__tstate);
10254 if (PyErr_Occurred()) SWIG_fail;
10255 }
10256 resultobj = SWIG_Py_Void();
10257 return resultobj;
10258fail:
10259 return NULL;
d55e5bfc
RD
10260}
10261
10262
554f62e9
RD
10263SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10264 PyObject *resultobj = 0;
10265 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10266 int result;
10267 void *argp1 = 0 ;
10268 int res1 = 0 ;
10269 PyObject *swig_obj[1] ;
10270
10271 if (!args) SWIG_fail;
10272 swig_obj[0] = args;
10273 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10274 if (!SWIG_IsOK(res1)) {
10275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10276 }
10277 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10278 {
10279 PyThreadState* __tstate = wxPyBeginAllowThreads();
10280 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10281 wxPyEndAllowThreads(__tstate);
10282 if (PyErr_Occurred()) SWIG_fail;
10283 }
10284 resultobj = SWIG_From_int(static_cast< int >(result));
10285 return resultobj;
10286fail:
10287 return NULL;
10288}
10289
10290
10291SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10292 PyObject *resultobj = 0;
10293 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10294 double arg2 ;
10295 void *argp1 = 0 ;
10296 int res1 = 0 ;
10297 double val2 ;
10298 int ecode2 = 0 ;
10299 PyObject * obj0 = 0 ;
10300 PyObject * obj1 = 0 ;
10301 char * kwnames[] = {
10302 (char *) "self",(char *) "gravity", NULL
10303 };
10304
10305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10307 if (!SWIG_IsOK(res1)) {
10308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10309 }
10310 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10311 ecode2 = SWIG_AsVal_double(obj1, &val2);
10312 if (!SWIG_IsOK(ecode2)) {
10313 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10314 }
10315 arg2 = static_cast< double >(val2);
10316 {
10317 PyThreadState* __tstate = wxPyBeginAllowThreads();
10318 (arg1)->SetSashGravity(arg2);
10319 wxPyEndAllowThreads(__tstate);
10320 if (PyErr_Occurred()) SWIG_fail;
10321 }
10322 resultobj = SWIG_Py_Void();
10323 return resultobj;
10324fail:
10325 return NULL;
d55e5bfc
RD
10326}
10327
10328
554f62e9
RD
10329SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10330 PyObject *resultobj = 0;
10331 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10332 double result;
10333 void *argp1 = 0 ;
10334 int res1 = 0 ;
10335 PyObject *swig_obj[1] ;
10336
10337 if (!args) SWIG_fail;
10338 swig_obj[0] = args;
10339 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10340 if (!SWIG_IsOK(res1)) {
10341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10342 }
10343 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10344 {
10345 PyThreadState* __tstate = wxPyBeginAllowThreads();
10346 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10347 wxPyEndAllowThreads(__tstate);
10348 if (PyErr_Occurred()) SWIG_fail;
10349 }
10350 resultobj = SWIG_From_double(static_cast< double >(result));
10351 return resultobj;
10352fail:
10353 return NULL;
10354}
10355
10356
10357SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10358 PyObject *resultobj = 0;
10359 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10360 int arg2 ;
10361 void *argp1 = 0 ;
10362 int res1 = 0 ;
10363 int val2 ;
10364 int ecode2 = 0 ;
10365 PyObject * obj0 = 0 ;
10366 PyObject * obj1 = 0 ;
10367 char * kwnames[] = {
10368 (char *) "self",(char *) "min", NULL
10369 };
10370
10371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10373 if (!SWIG_IsOK(res1)) {
10374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10375 }
10376 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10377 ecode2 = SWIG_AsVal_int(obj1, &val2);
10378 if (!SWIG_IsOK(ecode2)) {
10379 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10380 }
10381 arg2 = static_cast< int >(val2);
10382 {
10383 PyThreadState* __tstate = wxPyBeginAllowThreads();
10384 (arg1)->SetMinimumPaneSize(arg2);
10385 wxPyEndAllowThreads(__tstate);
10386 if (PyErr_Occurred()) SWIG_fail;
10387 }
10388 resultobj = SWIG_Py_Void();
10389 return resultobj;
10390fail:
10391 return NULL;
d55e5bfc
RD
10392}
10393
10394
554f62e9
RD
10395SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10396 PyObject *resultobj = 0;
10397 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10398 int result;
10399 void *argp1 = 0 ;
10400 int res1 = 0 ;
10401 PyObject *swig_obj[1] ;
10402
10403 if (!args) SWIG_fail;
10404 swig_obj[0] = args;
10405 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10406 if (!SWIG_IsOK(res1)) {
10407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10408 }
10409 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10410 {
10411 PyThreadState* __tstate = wxPyBeginAllowThreads();
10412 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10413 wxPyEndAllowThreads(__tstate);
10414 if (PyErr_Occurred()) SWIG_fail;
10415 }
10416 resultobj = SWIG_From_int(static_cast< int >(result));
10417 return resultobj;
10418fail:
10419 return NULL;
10420}
10421
10422
10423SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10424 PyObject *resultobj = 0;
10425 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10426 int arg2 ;
10427 int arg3 ;
10428 int arg4 = (int) 5 ;
10429 bool result;
10430 void *argp1 = 0 ;
10431 int res1 = 0 ;
10432 int val2 ;
10433 int ecode2 = 0 ;
10434 int val3 ;
10435 int ecode3 = 0 ;
10436 int val4 ;
10437 int ecode4 = 0 ;
10438 PyObject * obj0 = 0 ;
10439 PyObject * obj1 = 0 ;
10440 PyObject * obj2 = 0 ;
10441 PyObject * obj3 = 0 ;
10442 char * kwnames[] = {
10443 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10444 };
10445
10446 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10447 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10448 if (!SWIG_IsOK(res1)) {
10449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10450 }
10451 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10452 ecode2 = SWIG_AsVal_int(obj1, &val2);
10453 if (!SWIG_IsOK(ecode2)) {
10454 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10455 }
10456 arg2 = static_cast< int >(val2);
10457 ecode3 = SWIG_AsVal_int(obj2, &val3);
10458 if (!SWIG_IsOK(ecode3)) {
10459 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10460 }
10461 arg3 = static_cast< int >(val3);
10462 if (obj3) {
10463 ecode4 = SWIG_AsVal_int(obj3, &val4);
10464 if (!SWIG_IsOK(ecode4)) {
10465 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10466 }
10467 arg4 = static_cast< int >(val4);
10468 }
10469 {
10470 PyThreadState* __tstate = wxPyBeginAllowThreads();
10471 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10472 wxPyEndAllowThreads(__tstate);
10473 if (PyErr_Occurred()) SWIG_fail;
10474 }
10475 {
10476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10477 }
10478 return resultobj;
10479fail:
10480 return NULL;
b1fcee84
RD
10481}
10482
10483
554f62e9
RD
10484SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10485 PyObject *resultobj = 0;
10486 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10487 void *argp1 = 0 ;
10488 int res1 = 0 ;
10489 PyObject *swig_obj[1] ;
10490
10491 if (!args) SWIG_fail;
10492 swig_obj[0] = args;
10493 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10494 if (!SWIG_IsOK(res1)) {
10495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10496 }
10497 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10498 {
10499 PyThreadState* __tstate = wxPyBeginAllowThreads();
10500 (arg1)->SizeWindows();
10501 wxPyEndAllowThreads(__tstate);
10502 if (PyErr_Occurred()) SWIG_fail;
10503 }
10504 resultobj = SWIG_Py_Void();
10505 return resultobj;
10506fail:
10507 return NULL;
10508}
10509
10510
10511SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10512 PyObject *resultobj = 0;
10513 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10514 bool arg2 ;
10515 void *argp1 = 0 ;
10516 int res1 = 0 ;
10517 bool val2 ;
10518 int ecode2 = 0 ;
10519 PyObject * obj0 = 0 ;
10520 PyObject * obj1 = 0 ;
10521 char * kwnames[] = {
10522 (char *) "self",(char *) "needUpdating", NULL
10523 };
10524
10525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10527 if (!SWIG_IsOK(res1)) {
10528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10529 }
10530 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10531 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10532 if (!SWIG_IsOK(ecode2)) {
10533 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10534 }
10535 arg2 = static_cast< bool >(val2);
10536 {
10537 PyThreadState* __tstate = wxPyBeginAllowThreads();
10538 (arg1)->SetNeedUpdating(arg2);
10539 wxPyEndAllowThreads(__tstate);
10540 if (PyErr_Occurred()) SWIG_fail;
10541 }
10542 resultobj = SWIG_Py_Void();
10543 return resultobj;
10544fail:
10545 return NULL;
b1fcee84
RD
10546}
10547
10548
554f62e9
RD
10549SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10550 PyObject *resultobj = 0;
10551 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10552 bool result;
10553 void *argp1 = 0 ;
10554 int res1 = 0 ;
10555 PyObject *swig_obj[1] ;
10556
10557 if (!args) SWIG_fail;
10558 swig_obj[0] = args;
10559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10560 if (!SWIG_IsOK(res1)) {
10561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10562 }
10563 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10564 {
10565 PyThreadState* __tstate = wxPyBeginAllowThreads();
10566 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10567 wxPyEndAllowThreads(__tstate);
10568 if (PyErr_Occurred()) SWIG_fail;
10569 }
10570 {
10571 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10572 }
10573 return resultobj;
10574fail:
10575 return NULL;
b1fcee84
RD
10576}
10577
10578
554f62e9
RD
10579SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10580 PyObject *resultobj = 0;
10581 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10582 SwigValueWrapper<wxVisualAttributes > result;
10583 int val1 ;
10584 int ecode1 = 0 ;
10585 PyObject * obj0 = 0 ;
10586 char * kwnames[] = {
10587 (char *) "variant", NULL
10588 };
10589
10590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10591 if (obj0) {
10592 ecode1 = SWIG_AsVal_int(obj0, &val1);
10593 if (!SWIG_IsOK(ecode1)) {
10594 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10595 }
10596 arg1 = static_cast< wxWindowVariant >(val1);
10597 }
10598 {
10599 if (!wxPyCheckForApp()) SWIG_fail;
10600 PyThreadState* __tstate = wxPyBeginAllowThreads();
10601 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10602 wxPyEndAllowThreads(__tstate);
10603 if (PyErr_Occurred()) SWIG_fail;
10604 }
10605 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10606 return resultobj;
10607fail:
10608 return NULL;
b1fcee84
RD
10609}
10610
10611
554f62e9
RD
10612SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10613 PyObject *obj;
10614 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10615 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10616 return SWIG_Py_Void();
d55e5bfc
RD
10617}
10618
554f62e9
RD
10619SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10620 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
10621}
10622
554f62e9
RD
10623SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10624 PyObject *resultobj = 0;
10625 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10626 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10627 wxSplitterEvent *result = 0 ;
10628 int val1 ;
10629 int ecode1 = 0 ;
10630 void *argp2 = 0 ;
10631 int res2 = 0 ;
10632 PyObject * obj0 = 0 ;
10633 PyObject * obj1 = 0 ;
10634 char * kwnames[] = {
10635 (char *) "type",(char *) "splitter", NULL
10636 };
10637
10638 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10639 if (obj0) {
10640 ecode1 = SWIG_AsVal_int(obj0, &val1);
10641 if (!SWIG_IsOK(ecode1)) {
10642 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10643 }
10644 arg1 = static_cast< wxEventType >(val1);
10645 }
10646 if (obj1) {
10647 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10648 if (!SWIG_IsOK(res2)) {
10649 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
62d32a5f 10650 }
554f62e9
RD
10651 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10652 }
10653 {
10654 PyThreadState* __tstate = wxPyBeginAllowThreads();
10655 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10656 wxPyEndAllowThreads(__tstate);
10657 if (PyErr_Occurred()) SWIG_fail;
10658 }
10659 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10660 return resultobj;
10661fail:
10662 return NULL;
10663}
10664
10665
10666SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10667 PyObject *resultobj = 0;
10668 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10669 int arg2 ;
10670 void *argp1 = 0 ;
10671 int res1 = 0 ;
10672 int val2 ;
10673 int ecode2 = 0 ;
10674 PyObject * obj0 = 0 ;
10675 PyObject * obj1 = 0 ;
10676 char * kwnames[] = {
10677 (char *) "self",(char *) "pos", NULL
10678 };
10679
10680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10681 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10682 if (!SWIG_IsOK(res1)) {
10683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10684 }
10685 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10686 ecode2 = SWIG_AsVal_int(obj1, &val2);
10687 if (!SWIG_IsOK(ecode2)) {
10688 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10689 }
10690 arg2 = static_cast< int >(val2);
10691 {
10692 PyThreadState* __tstate = wxPyBeginAllowThreads();
10693 (arg1)->SetSashPosition(arg2);
10694 wxPyEndAllowThreads(__tstate);
10695 if (PyErr_Occurred()) SWIG_fail;
10696 }
10697 resultobj = SWIG_Py_Void();
10698 return resultobj;
10699fail:
10700 return NULL;
62d32a5f
RD
10701}
10702
10703
554f62e9
RD
10704SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10705 PyObject *resultobj = 0;
10706 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10707 int result;
10708 void *argp1 = 0 ;
10709 int res1 = 0 ;
10710 PyObject *swig_obj[1] ;
10711
10712 if (!args) SWIG_fail;
10713 swig_obj[0] = args;
10714 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10715 if (!SWIG_IsOK(res1)) {
10716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10717 }
10718 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10719 {
10720 PyThreadState* __tstate = wxPyBeginAllowThreads();
10721 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10722 wxPyEndAllowThreads(__tstate);
10723 if (PyErr_Occurred()) SWIG_fail;
10724 }
10725 resultobj = SWIG_From_int(static_cast< int >(result));
10726 return resultobj;
10727fail:
10728 return NULL;
d55e5bfc
RD
10729}
10730
10731
554f62e9
RD
10732SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10733 PyObject *resultobj = 0;
10734 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10735 wxWindow *result = 0 ;
10736 void *argp1 = 0 ;
10737 int res1 = 0 ;
10738 PyObject *swig_obj[1] ;
10739
10740 if (!args) SWIG_fail;
10741 swig_obj[0] = args;
10742 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10743 if (!SWIG_IsOK(res1)) {
10744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10745 }
10746 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10747 {
10748 PyThreadState* __tstate = wxPyBeginAllowThreads();
10749 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10750 wxPyEndAllowThreads(__tstate);
10751 if (PyErr_Occurred()) SWIG_fail;
10752 }
10753 {
10754 resultobj = wxPyMake_wxObject(result, 0);
10755 }
10756 return resultobj;
10757fail:
10758 return NULL;
d55e5bfc
RD
10759}
10760
10761
554f62e9
RD
10762SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10763 PyObject *resultobj = 0;
10764 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10765 int result;
10766 void *argp1 = 0 ;
10767 int res1 = 0 ;
10768 PyObject *swig_obj[1] ;
10769
10770 if (!args) SWIG_fail;
10771 swig_obj[0] = args;
10772 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10773 if (!SWIG_IsOK(res1)) {
10774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10775 }
10776 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10777 {
10778 PyThreadState* __tstate = wxPyBeginAllowThreads();
10779 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10780 wxPyEndAllowThreads(__tstate);
10781 if (PyErr_Occurred()) SWIG_fail;
10782 }
10783 resultobj = SWIG_From_int(static_cast< int >(result));
10784 return resultobj;
10785fail:
10786 return NULL;
d55e5bfc
RD
10787}
10788
10789
554f62e9
RD
10790SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10791 PyObject *resultobj = 0;
10792 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10793 int result;
10794 void *argp1 = 0 ;
10795 int res1 = 0 ;
10796 PyObject *swig_obj[1] ;
10797
10798 if (!args) SWIG_fail;
10799 swig_obj[0] = args;
10800 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10801 if (!SWIG_IsOK(res1)) {
10802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10803 }
10804 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10805 {
10806 PyThreadState* __tstate = wxPyBeginAllowThreads();
10807 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10808 wxPyEndAllowThreads(__tstate);
10809 if (PyErr_Occurred()) SWIG_fail;
10810 }
10811 resultobj = SWIG_From_int(static_cast< int >(result));
10812 return resultobj;
10813fail:
10814 return NULL;
f20a2e1f
RD
10815}
10816
10817
554f62e9
RD
10818SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10819 PyObject *obj;
10820 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10821 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10822 return SWIG_Py_Void();
d55e5bfc
RD
10823}
10824
554f62e9
RD
10825SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10826 return SWIG_Python_InitShadowInstance(args);
10827}
d55e5bfc 10828
554f62e9
RD
10829SWIGINTERN int SashNameStr_set(PyObject *) {
10830 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10831 return 1;
d55e5bfc
RD
10832}
10833
10834
554f62e9
RD
10835SWIGINTERN PyObject *SashNameStr_get(void) {
10836 PyObject *pyobj = 0;
10837
10838 {
10839#if wxUSE_UNICODE
10840 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10841#else
10842 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10843#endif
10844 }
10845 return pyobj;
d55e5bfc
RD
10846}
10847
10848
554f62e9
RD
10849SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10850 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10851 return 1;
d55e5bfc
RD
10852}
10853
10854
554f62e9
RD
10855SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10856 PyObject *pyobj = 0;
10857
10858 {
10859#if wxUSE_UNICODE
10860 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10861#else
10862 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10863#endif
10864 }
10865 return pyobj;
10866}
10867
10868
10869SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10870 PyObject *resultobj = 0;
10871 wxWindow *arg1 = (wxWindow *) 0 ;
10872 int arg2 = (int) -1 ;
10873 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10874 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10875 wxSize const &arg4_defvalue = wxDefaultSize ;
10876 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10877 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10878 wxString const &arg6_defvalue = wxPySashNameStr ;
10879 wxString *arg6 = (wxString *) &arg6_defvalue ;
10880 wxSashWindow *result = 0 ;
10881 void *argp1 = 0 ;
10882 int res1 = 0 ;
10883 int val2 ;
10884 int ecode2 = 0 ;
10885 wxPoint temp3 ;
10886 wxSize temp4 ;
10887 long val5 ;
10888 int ecode5 = 0 ;
10889 bool temp6 = false ;
10890 PyObject * obj0 = 0 ;
10891 PyObject * obj1 = 0 ;
10892 PyObject * obj2 = 0 ;
10893 PyObject * obj3 = 0 ;
10894 PyObject * obj4 = 0 ;
10895 PyObject * obj5 = 0 ;
10896 char * kwnames[] = {
10897 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10898 };
10899
10900 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10902 if (!SWIG_IsOK(res1)) {
10903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10904 }
10905 arg1 = reinterpret_cast< wxWindow * >(argp1);
10906 if (obj1) {
10907 ecode2 = SWIG_AsVal_int(obj1, &val2);
10908 if (!SWIG_IsOK(ecode2)) {
10909 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10910 }
10911 arg2 = static_cast< int >(val2);
10912 }
10913 if (obj2) {
093d3ff1 10914 {
554f62e9
RD
10915 arg3 = &temp3;
10916 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 10917 }
554f62e9
RD
10918 }
10919 if (obj3) {
d55e5bfc 10920 {
554f62e9
RD
10921 arg4 = &temp4;
10922 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 10923 }
554f62e9
RD
10924 }
10925 if (obj4) {
10926 ecode5 = SWIG_AsVal_long(obj4, &val5);
10927 if (!SWIG_IsOK(ecode5)) {
10928 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10929 }
10930 arg5 = static_cast< long >(val5);
10931 }
10932 if (obj5) {
d55e5bfc 10933 {
554f62e9
RD
10934 arg6 = wxString_in_helper(obj5);
10935 if (arg6 == NULL) SWIG_fail;
10936 temp6 = true;
d55e5bfc 10937 }
554f62e9
RD
10938 }
10939 {
10940 if (!wxPyCheckForApp()) SWIG_fail;
10941 PyThreadState* __tstate = wxPyBeginAllowThreads();
10942 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10943 wxPyEndAllowThreads(__tstate);
10944 if (PyErr_Occurred()) SWIG_fail;
10945 }
10946 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10947 {
10948 if (temp6)
10949 delete arg6;
10950 }
10951 return resultobj;
10952fail:
10953 {
10954 if (temp6)
10955 delete arg6;
10956 }
10957 return NULL;
d55e5bfc
RD
10958}
10959
10960
554f62e9
RD
10961SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10962 PyObject *resultobj = 0;
10963 wxSashWindow *result = 0 ;
10964
10965 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10966 {
10967 if (!wxPyCheckForApp()) SWIG_fail;
10968 PyThreadState* __tstate = wxPyBeginAllowThreads();
10969 result = (wxSashWindow *)new wxSashWindow();
10970 wxPyEndAllowThreads(__tstate);
10971 if (PyErr_Occurred()) SWIG_fail;
10972 }
10973 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10974 return resultobj;
10975fail:
10976 return NULL;
10977}
10978
10979
10980SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10981 PyObject *resultobj = 0;
10982 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10983 wxWindow *arg2 = (wxWindow *) 0 ;
10984 int arg3 = (int) -1 ;
10985 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10986 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10987 wxSize const &arg5_defvalue = wxDefaultSize ;
10988 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10989 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10990 wxString const &arg7_defvalue = wxPySashNameStr ;
10991 wxString *arg7 = (wxString *) &arg7_defvalue ;
10992 bool result;
10993 void *argp1 = 0 ;
10994 int res1 = 0 ;
10995 void *argp2 = 0 ;
10996 int res2 = 0 ;
10997 int val3 ;
10998 int ecode3 = 0 ;
10999 wxPoint temp4 ;
11000 wxSize temp5 ;
11001 long val6 ;
11002 int ecode6 = 0 ;
11003 bool temp7 = false ;
11004 PyObject * obj0 = 0 ;
11005 PyObject * obj1 = 0 ;
11006 PyObject * obj2 = 0 ;
11007 PyObject * obj3 = 0 ;
11008 PyObject * obj4 = 0 ;
11009 PyObject * obj5 = 0 ;
11010 PyObject * obj6 = 0 ;
11011 char * kwnames[] = {
11012 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11013 };
11014
11015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
11016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11017 if (!SWIG_IsOK(res1)) {
11018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11019 }
11020 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11021 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11022 if (!SWIG_IsOK(res2)) {
11023 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11024 }
11025 arg2 = reinterpret_cast< wxWindow * >(argp2);
11026 if (obj2) {
11027 ecode3 = SWIG_AsVal_int(obj2, &val3);
11028 if (!SWIG_IsOK(ecode3)) {
11029 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11030 }
11031 arg3 = static_cast< int >(val3);
11032 }
11033 if (obj3) {
093d3ff1 11034 {
554f62e9
RD
11035 arg4 = &temp4;
11036 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 11037 }
554f62e9
RD
11038 }
11039 if (obj4) {
d55e5bfc 11040 {
554f62e9
RD
11041 arg5 = &temp5;
11042 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 11043 }
554f62e9
RD
11044 }
11045 if (obj5) {
11046 ecode6 = SWIG_AsVal_long(obj5, &val6);
11047 if (!SWIG_IsOK(ecode6)) {
11048 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11049 }
11050 arg6 = static_cast< long >(val6);
11051 }
11052 if (obj6) {
093d3ff1 11053 {
554f62e9
RD
11054 arg7 = wxString_in_helper(obj6);
11055 if (arg7 == NULL) SWIG_fail;
11056 temp7 = true;
093d3ff1 11057 }
554f62e9
RD
11058 }
11059 {
11060 PyThreadState* __tstate = wxPyBeginAllowThreads();
11061 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11062 wxPyEndAllowThreads(__tstate);
11063 if (PyErr_Occurred()) SWIG_fail;
11064 }
11065 {
11066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11067 }
11068 {
11069 if (temp7)
11070 delete arg7;
11071 }
11072 return resultobj;
11073fail:
11074 {
11075 if (temp7)
11076 delete arg7;
11077 }
11078 return NULL;
11079}
11080
11081
11082SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11083 PyObject *resultobj = 0;
11084 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11085 wxSashEdgePosition arg2 ;
11086 bool arg3 ;
11087 void *argp1 = 0 ;
11088 int res1 = 0 ;
11089 int val2 ;
11090 int ecode2 = 0 ;
11091 bool val3 ;
11092 int ecode3 = 0 ;
11093 PyObject * obj0 = 0 ;
11094 PyObject * obj1 = 0 ;
11095 PyObject * obj2 = 0 ;
11096 char * kwnames[] = {
11097 (char *) "self",(char *) "edge",(char *) "sash", NULL
11098 };
11099
11100 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11101 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11102 if (!SWIG_IsOK(res1)) {
11103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11104 }
11105 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11106 ecode2 = SWIG_AsVal_int(obj1, &val2);
11107 if (!SWIG_IsOK(ecode2)) {
11108 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11109 }
11110 arg2 = static_cast< wxSashEdgePosition >(val2);
11111 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11112 if (!SWIG_IsOK(ecode3)) {
11113 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11114 }
11115 arg3 = static_cast< bool >(val3);
11116 {
11117 PyThreadState* __tstate = wxPyBeginAllowThreads();
11118 (arg1)->SetSashVisible(arg2,arg3);
11119 wxPyEndAllowThreads(__tstate);
11120 if (PyErr_Occurred()) SWIG_fail;
11121 }
11122 resultobj = SWIG_Py_Void();
11123 return resultobj;
11124fail:
11125 return NULL;
11126}
11127
11128
11129SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11130 PyObject *resultobj = 0;
11131 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11132 wxSashEdgePosition arg2 ;
11133 bool result;
11134 void *argp1 = 0 ;
11135 int res1 = 0 ;
11136 int val2 ;
11137 int ecode2 = 0 ;
11138 PyObject * obj0 = 0 ;
11139 PyObject * obj1 = 0 ;
11140 char * kwnames[] = {
11141 (char *) "self",(char *) "edge", NULL
11142 };
11143
11144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11146 if (!SWIG_IsOK(res1)) {
11147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11148 }
11149 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11150 ecode2 = SWIG_AsVal_int(obj1, &val2);
11151 if (!SWIG_IsOK(ecode2)) {
11152 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11153 }
11154 arg2 = static_cast< wxSashEdgePosition >(val2);
11155 {
11156 PyThreadState* __tstate = wxPyBeginAllowThreads();
11157 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11158 wxPyEndAllowThreads(__tstate);
11159 if (PyErr_Occurred()) SWIG_fail;
11160 }
11161 {
11162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11163 }
11164 return resultobj;
11165fail:
11166 return NULL;
11167}
11168
11169
11170SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11171 PyObject *resultobj = 0;
11172 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11173 wxSashEdgePosition arg2 ;
11174 bool arg3 ;
11175 void *argp1 = 0 ;
11176 int res1 = 0 ;
11177 int val2 ;
11178 int ecode2 = 0 ;
11179 bool val3 ;
11180 int ecode3 = 0 ;
11181 PyObject * obj0 = 0 ;
11182 PyObject * obj1 = 0 ;
11183 PyObject * obj2 = 0 ;
11184 char * kwnames[] = {
11185 (char *) "self",(char *) "edge",(char *) "border", NULL
11186 };
11187
11188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11190 if (!SWIG_IsOK(res1)) {
11191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11192 }
11193 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11194 ecode2 = SWIG_AsVal_int(obj1, &val2);
11195 if (!SWIG_IsOK(ecode2)) {
11196 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11197 }
11198 arg2 = static_cast< wxSashEdgePosition >(val2);
11199 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11200 if (!SWIG_IsOK(ecode3)) {
11201 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11202 }
11203 arg3 = static_cast< bool >(val3);
11204 {
11205 PyThreadState* __tstate = wxPyBeginAllowThreads();
11206 (arg1)->SetSashBorder(arg2,arg3);
11207 wxPyEndAllowThreads(__tstate);
11208 if (PyErr_Occurred()) SWIG_fail;
11209 }
11210 resultobj = SWIG_Py_Void();
11211 return resultobj;
11212fail:
11213 return NULL;
11214}
11215
11216
11217SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11218 PyObject *resultobj = 0;
11219 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11220 wxSashEdgePosition arg2 ;
11221 bool result;
11222 void *argp1 = 0 ;
11223 int res1 = 0 ;
11224 int val2 ;
11225 int ecode2 = 0 ;
11226 PyObject * obj0 = 0 ;
11227 PyObject * obj1 = 0 ;
11228 char * kwnames[] = {
11229 (char *) "self",(char *) "edge", NULL
11230 };
11231
11232 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11233 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11234 if (!SWIG_IsOK(res1)) {
11235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11236 }
11237 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11238 ecode2 = SWIG_AsVal_int(obj1, &val2);
11239 if (!SWIG_IsOK(ecode2)) {
11240 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11241 }
11242 arg2 = static_cast< wxSashEdgePosition >(val2);
11243 {
11244 PyThreadState* __tstate = wxPyBeginAllowThreads();
11245 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11246 wxPyEndAllowThreads(__tstate);
11247 if (PyErr_Occurred()) SWIG_fail;
11248 }
11249 {
11250 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11251 }
11252 return resultobj;
11253fail:
11254 return NULL;
11255}
11256
11257
11258SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11259 PyObject *resultobj = 0;
11260 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11261 wxSashEdgePosition arg2 ;
11262 int result;
11263 void *argp1 = 0 ;
11264 int res1 = 0 ;
11265 int val2 ;
11266 int ecode2 = 0 ;
11267 PyObject * obj0 = 0 ;
11268 PyObject * obj1 = 0 ;
11269 char * kwnames[] = {
11270 (char *) "self",(char *) "edge", NULL
11271 };
11272
11273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11275 if (!SWIG_IsOK(res1)) {
11276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11277 }
11278 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11279 ecode2 = SWIG_AsVal_int(obj1, &val2);
11280 if (!SWIG_IsOK(ecode2)) {
11281 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11282 }
11283 arg2 = static_cast< wxSashEdgePosition >(val2);
11284 {
11285 PyThreadState* __tstate = wxPyBeginAllowThreads();
11286 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11287 wxPyEndAllowThreads(__tstate);
11288 if (PyErr_Occurred()) SWIG_fail;
11289 }
11290 resultobj = SWIG_From_int(static_cast< int >(result));
11291 return resultobj;
11292fail:
11293 return NULL;
11294}
11295
11296
11297SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11298 PyObject *resultobj = 0;
11299 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11300 int arg2 ;
11301 void *argp1 = 0 ;
11302 int res1 = 0 ;
11303 int val2 ;
11304 int ecode2 = 0 ;
11305 PyObject * obj0 = 0 ;
11306 PyObject * obj1 = 0 ;
11307 char * kwnames[] = {
11308 (char *) "self",(char *) "width", NULL
11309 };
11310
11311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11312 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11313 if (!SWIG_IsOK(res1)) {
11314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11315 }
11316 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11317 ecode2 = SWIG_AsVal_int(obj1, &val2);
11318 if (!SWIG_IsOK(ecode2)) {
11319 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11320 }
11321 arg2 = static_cast< int >(val2);
11322 {
11323 PyThreadState* __tstate = wxPyBeginAllowThreads();
11324 (arg1)->SetDefaultBorderSize(arg2);
11325 wxPyEndAllowThreads(__tstate);
11326 if (PyErr_Occurred()) SWIG_fail;
11327 }
11328 resultobj = SWIG_Py_Void();
11329 return resultobj;
11330fail:
11331 return NULL;
d55e5bfc
RD
11332}
11333
11334
554f62e9
RD
11335SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11336 PyObject *resultobj = 0;
11337 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11338 int result;
11339 void *argp1 = 0 ;
11340 int res1 = 0 ;
11341 PyObject *swig_obj[1] ;
11342
11343 if (!args) SWIG_fail;
11344 swig_obj[0] = args;
11345 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11346 if (!SWIG_IsOK(res1)) {
11347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11348 }
11349 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11350 {
11351 PyThreadState* __tstate = wxPyBeginAllowThreads();
11352 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11353 wxPyEndAllowThreads(__tstate);
11354 if (PyErr_Occurred()) SWIG_fail;
11355 }
11356 resultobj = SWIG_From_int(static_cast< int >(result));
11357 return resultobj;
11358fail:
11359 return NULL;
11360}
11361
11362
11363SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11364 PyObject *resultobj = 0;
11365 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11366 int arg2 ;
11367 void *argp1 = 0 ;
11368 int res1 = 0 ;
11369 int val2 ;
11370 int ecode2 = 0 ;
11371 PyObject * obj0 = 0 ;
11372 PyObject * obj1 = 0 ;
11373 char * kwnames[] = {
11374 (char *) "self",(char *) "width", NULL
11375 };
11376
11377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11379 if (!SWIG_IsOK(res1)) {
11380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11381 }
11382 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11383 ecode2 = SWIG_AsVal_int(obj1, &val2);
11384 if (!SWIG_IsOK(ecode2)) {
11385 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11386 }
11387 arg2 = static_cast< int >(val2);
11388 {
11389 PyThreadState* __tstate = wxPyBeginAllowThreads();
11390 (arg1)->SetExtraBorderSize(arg2);
11391 wxPyEndAllowThreads(__tstate);
11392 if (PyErr_Occurred()) SWIG_fail;
11393 }
11394 resultobj = SWIG_Py_Void();
11395 return resultobj;
11396fail:
11397 return NULL;
d55e5bfc
RD
11398}
11399
11400
554f62e9
RD
11401SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11402 PyObject *resultobj = 0;
11403 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11404 int result;
11405 void *argp1 = 0 ;
11406 int res1 = 0 ;
11407 PyObject *swig_obj[1] ;
11408
11409 if (!args) SWIG_fail;
11410 swig_obj[0] = args;
11411 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11412 if (!SWIG_IsOK(res1)) {
11413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11414 }
11415 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11416 {
11417 PyThreadState* __tstate = wxPyBeginAllowThreads();
11418 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11419 wxPyEndAllowThreads(__tstate);
11420 if (PyErr_Occurred()) SWIG_fail;
11421 }
11422 resultobj = SWIG_From_int(static_cast< int >(result));
11423 return resultobj;
11424fail:
11425 return NULL;
11426}
11427
11428
11429SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11430 PyObject *resultobj = 0;
11431 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11432 int arg2 ;
11433 void *argp1 = 0 ;
11434 int res1 = 0 ;
11435 int val2 ;
11436 int ecode2 = 0 ;
11437 PyObject * obj0 = 0 ;
11438 PyObject * obj1 = 0 ;
11439 char * kwnames[] = {
11440 (char *) "self",(char *) "min", NULL
11441 };
11442
11443 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11444 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11445 if (!SWIG_IsOK(res1)) {
11446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11447 }
11448 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11449 ecode2 = SWIG_AsVal_int(obj1, &val2);
11450 if (!SWIG_IsOK(ecode2)) {
11451 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11452 }
11453 arg2 = static_cast< int >(val2);
11454 {
11455 PyThreadState* __tstate = wxPyBeginAllowThreads();
11456 (arg1)->SetMinimumSizeX(arg2);
11457 wxPyEndAllowThreads(__tstate);
11458 if (PyErr_Occurred()) SWIG_fail;
11459 }
11460 resultobj = SWIG_Py_Void();
11461 return resultobj;
11462fail:
11463 return NULL;
11464}
11465
11466
11467SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11468 PyObject *resultobj = 0;
11469 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11470 int arg2 ;
11471 void *argp1 = 0 ;
11472 int res1 = 0 ;
11473 int val2 ;
11474 int ecode2 = 0 ;
11475 PyObject * obj0 = 0 ;
11476 PyObject * obj1 = 0 ;
11477 char * kwnames[] = {
11478 (char *) "self",(char *) "min", NULL
11479 };
11480
11481 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11482 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11483 if (!SWIG_IsOK(res1)) {
11484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11485 }
11486 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11487 ecode2 = SWIG_AsVal_int(obj1, &val2);
11488 if (!SWIG_IsOK(ecode2)) {
11489 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11490 }
11491 arg2 = static_cast< int >(val2);
11492 {
11493 PyThreadState* __tstate = wxPyBeginAllowThreads();
11494 (arg1)->SetMinimumSizeY(arg2);
11495 wxPyEndAllowThreads(__tstate);
11496 if (PyErr_Occurred()) SWIG_fail;
11497 }
11498 resultobj = SWIG_Py_Void();
11499 return resultobj;
11500fail:
11501 return NULL;
d55e5bfc
RD
11502}
11503
11504
554f62e9
RD
11505SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11506 PyObject *resultobj = 0;
11507 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11508 int result;
11509 void *argp1 = 0 ;
11510 int res1 = 0 ;
11511 PyObject *swig_obj[1] ;
11512
11513 if (!args) SWIG_fail;
11514 swig_obj[0] = args;
11515 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11516 if (!SWIG_IsOK(res1)) {
11517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11518 }
11519 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11520 {
11521 PyThreadState* __tstate = wxPyBeginAllowThreads();
11522 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11523 wxPyEndAllowThreads(__tstate);
11524 if (PyErr_Occurred()) SWIG_fail;
11525 }
11526 resultobj = SWIG_From_int(static_cast< int >(result));
11527 return resultobj;
11528fail:
11529 return NULL;
d55e5bfc
RD
11530}
11531
11532
554f62e9
RD
11533SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11534 PyObject *resultobj = 0;
11535 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11536 int result;
11537 void *argp1 = 0 ;
11538 int res1 = 0 ;
11539 PyObject *swig_obj[1] ;
11540
11541 if (!args) SWIG_fail;
11542 swig_obj[0] = args;
11543 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11544 if (!SWIG_IsOK(res1)) {
11545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11546 }
11547 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11548 {
11549 PyThreadState* __tstate = wxPyBeginAllowThreads();
11550 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11551 wxPyEndAllowThreads(__tstate);
11552 if (PyErr_Occurred()) SWIG_fail;
11553 }
11554 resultobj = SWIG_From_int(static_cast< int >(result));
11555 return resultobj;
11556fail:
11557 return NULL;
11558}
11559
11560
11561SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11562 PyObject *resultobj = 0;
11563 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11564 int arg2 ;
11565 void *argp1 = 0 ;
11566 int res1 = 0 ;
11567 int val2 ;
11568 int ecode2 = 0 ;
11569 PyObject * obj0 = 0 ;
11570 PyObject * obj1 = 0 ;
11571 char * kwnames[] = {
11572 (char *) "self",(char *) "max", NULL
11573 };
11574
11575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11577 if (!SWIG_IsOK(res1)) {
11578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11579 }
11580 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11581 ecode2 = SWIG_AsVal_int(obj1, &val2);
11582 if (!SWIG_IsOK(ecode2)) {
11583 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11584 }
11585 arg2 = static_cast< int >(val2);
11586 {
11587 PyThreadState* __tstate = wxPyBeginAllowThreads();
11588 (arg1)->SetMaximumSizeX(arg2);
11589 wxPyEndAllowThreads(__tstate);
11590 if (PyErr_Occurred()) SWIG_fail;
11591 }
11592 resultobj = SWIG_Py_Void();
11593 return resultobj;
11594fail:
11595 return NULL;
11596}
11597
11598
11599SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11600 PyObject *resultobj = 0;
11601 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11602 int arg2 ;
11603 void *argp1 = 0 ;
11604 int res1 = 0 ;
11605 int val2 ;
11606 int ecode2 = 0 ;
11607 PyObject * obj0 = 0 ;
11608 PyObject * obj1 = 0 ;
11609 char * kwnames[] = {
11610 (char *) "self",(char *) "max", NULL
11611 };
11612
11613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11614 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11615 if (!SWIG_IsOK(res1)) {
11616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11617 }
11618 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11619 ecode2 = SWIG_AsVal_int(obj1, &val2);
11620 if (!SWIG_IsOK(ecode2)) {
11621 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11622 }
11623 arg2 = static_cast< int >(val2);
11624 {
11625 PyThreadState* __tstate = wxPyBeginAllowThreads();
11626 (arg1)->SetMaximumSizeY(arg2);
11627 wxPyEndAllowThreads(__tstate);
11628 if (PyErr_Occurred()) SWIG_fail;
11629 }
11630 resultobj = SWIG_Py_Void();
11631 return resultobj;
11632fail:
11633 return NULL;
d55e5bfc
RD
11634}
11635
11636
554f62e9
RD
11637SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11638 PyObject *resultobj = 0;
11639 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11640 int result;
11641 void *argp1 = 0 ;
11642 int res1 = 0 ;
11643 PyObject *swig_obj[1] ;
11644
11645 if (!args) SWIG_fail;
11646 swig_obj[0] = args;
11647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11648 if (!SWIG_IsOK(res1)) {
11649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11650 }
11651 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11652 {
11653 PyThreadState* __tstate = wxPyBeginAllowThreads();
11654 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11655 wxPyEndAllowThreads(__tstate);
11656 if (PyErr_Occurred()) SWIG_fail;
11657 }
11658 resultobj = SWIG_From_int(static_cast< int >(result));
11659 return resultobj;
11660fail:
11661 return NULL;
d55e5bfc
RD
11662}
11663
11664
554f62e9
RD
11665SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11666 PyObject *resultobj = 0;
11667 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11668 int result;
11669 void *argp1 = 0 ;
11670 int res1 = 0 ;
11671 PyObject *swig_obj[1] ;
11672
11673 if (!args) SWIG_fail;
11674 swig_obj[0] = args;
11675 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11676 if (!SWIG_IsOK(res1)) {
11677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11678 }
11679 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11680 {
11681 PyThreadState* __tstate = wxPyBeginAllowThreads();
11682 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11683 wxPyEndAllowThreads(__tstate);
11684 if (PyErr_Occurred()) SWIG_fail;
11685 }
11686 resultobj = SWIG_From_int(static_cast< int >(result));
11687 return resultobj;
11688fail:
11689 return NULL;
11690}
11691
11692
11693SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11694 PyObject *resultobj = 0;
11695 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11696 int arg2 ;
11697 int arg3 ;
11698 int arg4 = (int) 2 ;
11699 wxSashEdgePosition result;
11700 void *argp1 = 0 ;
11701 int res1 = 0 ;
11702 int val2 ;
11703 int ecode2 = 0 ;
11704 int val3 ;
11705 int ecode3 = 0 ;
11706 int val4 ;
11707 int ecode4 = 0 ;
11708 PyObject * obj0 = 0 ;
11709 PyObject * obj1 = 0 ;
11710 PyObject * obj2 = 0 ;
11711 PyObject * obj3 = 0 ;
11712 char * kwnames[] = {
11713 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11714 };
11715
11716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11718 if (!SWIG_IsOK(res1)) {
11719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11720 }
11721 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11722 ecode2 = SWIG_AsVal_int(obj1, &val2);
11723 if (!SWIG_IsOK(ecode2)) {
11724 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11725 }
11726 arg2 = static_cast< int >(val2);
11727 ecode3 = SWIG_AsVal_int(obj2, &val3);
11728 if (!SWIG_IsOK(ecode3)) {
11729 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11730 }
11731 arg3 = static_cast< int >(val3);
11732 if (obj3) {
11733 ecode4 = SWIG_AsVal_int(obj3, &val4);
11734 if (!SWIG_IsOK(ecode4)) {
11735 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11736 }
11737 arg4 = static_cast< int >(val4);
11738 }
11739 {
11740 PyThreadState* __tstate = wxPyBeginAllowThreads();
11741 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11742 wxPyEndAllowThreads(__tstate);
11743 if (PyErr_Occurred()) SWIG_fail;
11744 }
11745 resultobj = SWIG_From_int(static_cast< int >(result));
11746 return resultobj;
11747fail:
11748 return NULL;
d55e5bfc
RD
11749}
11750
11751
554f62e9
RD
11752SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11753 PyObject *resultobj = 0;
11754 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11755 void *argp1 = 0 ;
11756 int res1 = 0 ;
11757 PyObject *swig_obj[1] ;
11758
11759 if (!args) SWIG_fail;
11760 swig_obj[0] = args;
11761 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11762 if (!SWIG_IsOK(res1)) {
11763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11764 }
11765 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11766 {
11767 PyThreadState* __tstate = wxPyBeginAllowThreads();
11768 (arg1)->SizeWindows();
11769 wxPyEndAllowThreads(__tstate);
11770 if (PyErr_Occurred()) SWIG_fail;
11771 }
11772 resultobj = SWIG_Py_Void();
11773 return resultobj;
11774fail:
11775 return NULL;
d55e5bfc
RD
11776}
11777
11778
554f62e9
RD
11779SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11780 PyObject *obj;
11781 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11782 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11783 return SWIG_Py_Void();
d55e5bfc
RD
11784}
11785
554f62e9
RD
11786SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11787 return SWIG_Python_InitShadowInstance(args);
11788}
d55e5bfc 11789
554f62e9
RD
11790SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11791 PyObject *resultobj = 0;
11792 int arg1 = (int) 0 ;
11793 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11794 wxSashEvent *result = 0 ;
11795 int val1 ;
11796 int ecode1 = 0 ;
11797 int val2 ;
11798 int ecode2 = 0 ;
11799 PyObject * obj0 = 0 ;
11800 PyObject * obj1 = 0 ;
11801 char * kwnames[] = {
11802 (char *) "id",(char *) "edge", NULL
11803 };
11804
11805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11806 if (obj0) {
11807 ecode1 = SWIG_AsVal_int(obj0, &val1);
11808 if (!SWIG_IsOK(ecode1)) {
11809 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11810 }
11811 arg1 = static_cast< int >(val1);
11812 }
11813 if (obj1) {
11814 ecode2 = SWIG_AsVal_int(obj1, &val2);
11815 if (!SWIG_IsOK(ecode2)) {
11816 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11817 }
11818 arg2 = static_cast< wxSashEdgePosition >(val2);
11819 }
11820 {
11821 PyThreadState* __tstate = wxPyBeginAllowThreads();
11822 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11823 wxPyEndAllowThreads(__tstate);
11824 if (PyErr_Occurred()) SWIG_fail;
11825 }
11826 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11827 return resultobj;
11828fail:
11829 return NULL;
11830}
11831
11832
11833SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11834 PyObject *resultobj = 0;
11835 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11836 wxSashEdgePosition arg2 ;
11837 void *argp1 = 0 ;
11838 int res1 = 0 ;
11839 int val2 ;
11840 int ecode2 = 0 ;
11841 PyObject * obj0 = 0 ;
11842 PyObject * obj1 = 0 ;
11843 char * kwnames[] = {
11844 (char *) "self",(char *) "edge", NULL
11845 };
11846
11847 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11848 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11849 if (!SWIG_IsOK(res1)) {
11850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11851 }
11852 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11853 ecode2 = SWIG_AsVal_int(obj1, &val2);
11854 if (!SWIG_IsOK(ecode2)) {
11855 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11856 }
11857 arg2 = static_cast< wxSashEdgePosition >(val2);
11858 {
11859 PyThreadState* __tstate = wxPyBeginAllowThreads();
11860 (arg1)->SetEdge(arg2);
11861 wxPyEndAllowThreads(__tstate);
11862 if (PyErr_Occurred()) SWIG_fail;
11863 }
11864 resultobj = SWIG_Py_Void();
11865 return resultobj;
11866fail:
11867 return NULL;
d55e5bfc
RD
11868}
11869
11870
554f62e9
RD
11871SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11872 PyObject *resultobj = 0;
11873 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11874 wxSashEdgePosition result;
11875 void *argp1 = 0 ;
11876 int res1 = 0 ;
11877 PyObject *swig_obj[1] ;
11878
11879 if (!args) SWIG_fail;
11880 swig_obj[0] = args;
11881 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11882 if (!SWIG_IsOK(res1)) {
11883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11884 }
11885 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11886 {
11887 PyThreadState* __tstate = wxPyBeginAllowThreads();
11888 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11889 wxPyEndAllowThreads(__tstate);
11890 if (PyErr_Occurred()) SWIG_fail;
11891 }
11892 resultobj = SWIG_From_int(static_cast< int >(result));
11893 return resultobj;
11894fail:
11895 return NULL;
11896}
11897
11898
11899SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11900 PyObject *resultobj = 0;
11901 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11902 wxRect *arg2 = 0 ;
11903 void *argp1 = 0 ;
11904 int res1 = 0 ;
11905 wxRect temp2 ;
11906 PyObject * obj0 = 0 ;
11907 PyObject * obj1 = 0 ;
11908 char * kwnames[] = {
11909 (char *) "self",(char *) "rect", NULL
11910 };
11911
11912 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11913 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11914 if (!SWIG_IsOK(res1)) {
11915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11916 }
11917 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11918 {
11919 arg2 = &temp2;
11920 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11921 }
11922 {
11923 PyThreadState* __tstate = wxPyBeginAllowThreads();
11924 (arg1)->SetDragRect((wxRect const &)*arg2);
11925 wxPyEndAllowThreads(__tstate);
11926 if (PyErr_Occurred()) SWIG_fail;
11927 }
11928 resultobj = SWIG_Py_Void();
11929 return resultobj;
11930fail:
11931 return NULL;
d55e5bfc
RD
11932}
11933
11934
554f62e9
RD
11935SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11936 PyObject *resultobj = 0;
11937 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11938 wxRect result;
11939 void *argp1 = 0 ;
11940 int res1 = 0 ;
11941 PyObject *swig_obj[1] ;
11942
11943 if (!args) SWIG_fail;
11944 swig_obj[0] = args;
11945 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11946 if (!SWIG_IsOK(res1)) {
11947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11948 }
11949 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11950 {
11951 PyThreadState* __tstate = wxPyBeginAllowThreads();
11952 result = ((wxSashEvent const *)arg1)->GetDragRect();
11953 wxPyEndAllowThreads(__tstate);
11954 if (PyErr_Occurred()) SWIG_fail;
11955 }
11956 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11957 return resultobj;
11958fail:
11959 return NULL;
11960}
11961
11962
11963SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11964 PyObject *resultobj = 0;
11965 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11966 wxSashDragStatus arg2 ;
11967 void *argp1 = 0 ;
11968 int res1 = 0 ;
11969 int val2 ;
11970 int ecode2 = 0 ;
11971 PyObject * obj0 = 0 ;
11972 PyObject * obj1 = 0 ;
11973 char * kwnames[] = {
11974 (char *) "self",(char *) "status", NULL
11975 };
11976
11977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11978 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11979 if (!SWIG_IsOK(res1)) {
11980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11981 }
11982 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11983 ecode2 = SWIG_AsVal_int(obj1, &val2);
11984 if (!SWIG_IsOK(ecode2)) {
11985 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11986 }
11987 arg2 = static_cast< wxSashDragStatus >(val2);
11988 {
11989 PyThreadState* __tstate = wxPyBeginAllowThreads();
11990 (arg1)->SetDragStatus(arg2);
11991 wxPyEndAllowThreads(__tstate);
11992 if (PyErr_Occurred()) SWIG_fail;
11993 }
11994 resultobj = SWIG_Py_Void();
11995 return resultobj;
11996fail:
11997 return NULL;
d55e5bfc
RD
11998}
11999
12000
554f62e9
RD
12001SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12002 PyObject *resultobj = 0;
12003 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
12004 wxSashDragStatus result;
12005 void *argp1 = 0 ;
12006 int res1 = 0 ;
12007 PyObject *swig_obj[1] ;
12008
12009 if (!args) SWIG_fail;
12010 swig_obj[0] = args;
12011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
12012 if (!SWIG_IsOK(res1)) {
12013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12014 }
12015 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
12016 {
12017 PyThreadState* __tstate = wxPyBeginAllowThreads();
12018 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
12019 wxPyEndAllowThreads(__tstate);
12020 if (PyErr_Occurred()) SWIG_fail;
12021 }
12022 resultobj = SWIG_From_int(static_cast< int >(result));
12023 return resultobj;
12024fail:
12025 return NULL;
03837c5c
RD
12026}
12027
12028
554f62e9
RD
12029SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12030 PyObject *obj;
12031 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12032 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
12033 return SWIG_Py_Void();
d55e5bfc
RD
12034}
12035
554f62e9
RD
12036SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12037 return SWIG_Python_InitShadowInstance(args);
12038}
d55e5bfc 12039
554f62e9
RD
12040SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12041 PyObject *resultobj = 0;
12042 int arg1 = (int) 0 ;
12043 wxQueryLayoutInfoEvent *result = 0 ;
12044 int val1 ;
12045 int ecode1 = 0 ;
12046 PyObject * obj0 = 0 ;
12047 char * kwnames[] = {
12048 (char *) "id", NULL
12049 };
12050
12051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
12052 if (obj0) {
12053 ecode1 = SWIG_AsVal_int(obj0, &val1);
12054 if (!SWIG_IsOK(ecode1)) {
12055 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12056 }
12057 arg1 = static_cast< int >(val1);
12058 }
12059 {
12060 PyThreadState* __tstate = wxPyBeginAllowThreads();
12061 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
12062 wxPyEndAllowThreads(__tstate);
12063 if (PyErr_Occurred()) SWIG_fail;
12064 }
12065 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
12066 return resultobj;
12067fail:
12068 return NULL;
12069}
12070
12071
12072SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12073 PyObject *resultobj = 0;
12074 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12075 int arg2 ;
12076 void *argp1 = 0 ;
12077 int res1 = 0 ;
12078 int val2 ;
12079 int ecode2 = 0 ;
12080 PyObject * obj0 = 0 ;
12081 PyObject * obj1 = 0 ;
12082 char * kwnames[] = {
12083 (char *) "self",(char *) "length", NULL
12084 };
12085
12086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12088 if (!SWIG_IsOK(res1)) {
12089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12090 }
12091 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12092 ecode2 = SWIG_AsVal_int(obj1, &val2);
12093 if (!SWIG_IsOK(ecode2)) {
12094 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12095 }
12096 arg2 = static_cast< int >(val2);
12097 {
12098 PyThreadState* __tstate = wxPyBeginAllowThreads();
12099 (arg1)->SetRequestedLength(arg2);
12100 wxPyEndAllowThreads(__tstate);
12101 if (PyErr_Occurred()) SWIG_fail;
12102 }
12103 resultobj = SWIG_Py_Void();
12104 return resultobj;
12105fail:
12106 return NULL;
d55e5bfc
RD
12107}
12108
12109
554f62e9
RD
12110SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12111 PyObject *resultobj = 0;
12112 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12113 int result;
12114 void *argp1 = 0 ;
12115 int res1 = 0 ;
12116 PyObject *swig_obj[1] ;
12117
12118 if (!args) SWIG_fail;
12119 swig_obj[0] = args;
12120 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12121 if (!SWIG_IsOK(res1)) {
12122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12123 }
12124 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12125 {
12126 PyThreadState* __tstate = wxPyBeginAllowThreads();
12127 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12128 wxPyEndAllowThreads(__tstate);
12129 if (PyErr_Occurred()) SWIG_fail;
12130 }
12131 resultobj = SWIG_From_int(static_cast< int >(result));
12132 return resultobj;
12133fail:
12134 return NULL;
12135}
12136
12137
12138SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12139 PyObject *resultobj = 0;
12140 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12141 int arg2 ;
12142 void *argp1 = 0 ;
12143 int res1 = 0 ;
12144 int val2 ;
12145 int ecode2 = 0 ;
12146 PyObject * obj0 = 0 ;
12147 PyObject * obj1 = 0 ;
12148 char * kwnames[] = {
12149 (char *) "self",(char *) "flags", NULL
12150 };
12151
12152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12154 if (!SWIG_IsOK(res1)) {
12155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12156 }
12157 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12158 ecode2 = SWIG_AsVal_int(obj1, &val2);
12159 if (!SWIG_IsOK(ecode2)) {
12160 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12161 }
12162 arg2 = static_cast< int >(val2);
12163 {
12164 PyThreadState* __tstate = wxPyBeginAllowThreads();
12165 (arg1)->SetFlags(arg2);
12166 wxPyEndAllowThreads(__tstate);
12167 if (PyErr_Occurred()) SWIG_fail;
12168 }
12169 resultobj = SWIG_Py_Void();
12170 return resultobj;
12171fail:
12172 return NULL;
d55e5bfc
RD
12173}
12174
12175
554f62e9
RD
12176SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12177 PyObject *resultobj = 0;
12178 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12179 int result;
12180 void *argp1 = 0 ;
12181 int res1 = 0 ;
12182 PyObject *swig_obj[1] ;
12183
12184 if (!args) SWIG_fail;
12185 swig_obj[0] = args;
12186 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12187 if (!SWIG_IsOK(res1)) {
12188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12189 }
12190 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12191 {
12192 PyThreadState* __tstate = wxPyBeginAllowThreads();
12193 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12194 wxPyEndAllowThreads(__tstate);
12195 if (PyErr_Occurred()) SWIG_fail;
12196 }
12197 resultobj = SWIG_From_int(static_cast< int >(result));
12198 return resultobj;
12199fail:
12200 return NULL;
12201}
12202
12203
12204SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12205 PyObject *resultobj = 0;
12206 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12207 wxSize *arg2 = 0 ;
12208 void *argp1 = 0 ;
12209 int res1 = 0 ;
12210 wxSize temp2 ;
12211 PyObject * obj0 = 0 ;
12212 PyObject * obj1 = 0 ;
12213 char * kwnames[] = {
12214 (char *) "self",(char *) "size", NULL
12215 };
12216
12217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12219 if (!SWIG_IsOK(res1)) {
12220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12221 }
12222 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12223 {
12224 arg2 = &temp2;
12225 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12226 }
12227 {
12228 PyThreadState* __tstate = wxPyBeginAllowThreads();
12229 (arg1)->SetSize((wxSize const &)*arg2);
12230 wxPyEndAllowThreads(__tstate);
12231 if (PyErr_Occurred()) SWIG_fail;
12232 }
12233 resultobj = SWIG_Py_Void();
12234 return resultobj;
12235fail:
12236 return NULL;
d55e5bfc
RD
12237}
12238
12239
554f62e9
RD
12240SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12241 PyObject *resultobj = 0;
12242 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12243 wxSize result;
12244 void *argp1 = 0 ;
12245 int res1 = 0 ;
12246 PyObject *swig_obj[1] ;
12247
12248 if (!args) SWIG_fail;
12249 swig_obj[0] = args;
12250 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12251 if (!SWIG_IsOK(res1)) {
12252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12253 }
12254 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12255 {
12256 PyThreadState* __tstate = wxPyBeginAllowThreads();
12257 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12258 wxPyEndAllowThreads(__tstate);
12259 if (PyErr_Occurred()) SWIG_fail;
12260 }
12261 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12262 return resultobj;
12263fail:
12264 return NULL;
12265}
12266
12267
12268SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12269 PyObject *resultobj = 0;
12270 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12271 wxLayoutOrientation arg2 ;
12272 void *argp1 = 0 ;
12273 int res1 = 0 ;
12274 int val2 ;
12275 int ecode2 = 0 ;
12276 PyObject * obj0 = 0 ;
12277 PyObject * obj1 = 0 ;
12278 char * kwnames[] = {
12279 (char *) "self",(char *) "orient", NULL
12280 };
12281
12282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12284 if (!SWIG_IsOK(res1)) {
12285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12286 }
12287 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12288 ecode2 = SWIG_AsVal_int(obj1, &val2);
12289 if (!SWIG_IsOK(ecode2)) {
12290 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12291 }
12292 arg2 = static_cast< wxLayoutOrientation >(val2);
12293 {
12294 PyThreadState* __tstate = wxPyBeginAllowThreads();
12295 (arg1)->SetOrientation(arg2);
12296 wxPyEndAllowThreads(__tstate);
12297 if (PyErr_Occurred()) SWIG_fail;
12298 }
12299 resultobj = SWIG_Py_Void();
12300 return resultobj;
12301fail:
12302 return NULL;
f20a2e1f
RD
12303}
12304
12305
554f62e9
RD
12306SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12307 PyObject *resultobj = 0;
12308 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12309 wxLayoutOrientation result;
12310 void *argp1 = 0 ;
12311 int res1 = 0 ;
12312 PyObject *swig_obj[1] ;
12313
12314 if (!args) SWIG_fail;
12315 swig_obj[0] = args;
12316 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12317 if (!SWIG_IsOK(res1)) {
12318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12319 }
12320 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12321 {
12322 PyThreadState* __tstate = wxPyBeginAllowThreads();
12323 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12324 wxPyEndAllowThreads(__tstate);
12325 if (PyErr_Occurred()) SWIG_fail;
12326 }
12327 resultobj = SWIG_From_int(static_cast< int >(result));
12328 return resultobj;
12329fail:
12330 return NULL;
12331}
12332
12333
12334SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12335 PyObject *resultobj = 0;
12336 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12337 wxLayoutAlignment arg2 ;
12338 void *argp1 = 0 ;
12339 int res1 = 0 ;
12340 int val2 ;
12341 int ecode2 = 0 ;
12342 PyObject * obj0 = 0 ;
12343 PyObject * obj1 = 0 ;
12344 char * kwnames[] = {
12345 (char *) "self",(char *) "align", NULL
12346 };
12347
12348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12349 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12350 if (!SWIG_IsOK(res1)) {
12351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12352 }
12353 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12354 ecode2 = SWIG_AsVal_int(obj1, &val2);
12355 if (!SWIG_IsOK(ecode2)) {
12356 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12357 }
12358 arg2 = static_cast< wxLayoutAlignment >(val2);
12359 {
12360 PyThreadState* __tstate = wxPyBeginAllowThreads();
12361 (arg1)->SetAlignment(arg2);
12362 wxPyEndAllowThreads(__tstate);
12363 if (PyErr_Occurred()) SWIG_fail;
12364 }
12365 resultobj = SWIG_Py_Void();
12366 return resultobj;
12367fail:
12368 return NULL;
d55e5bfc 12369}
554f62e9
RD
12370
12371
12372SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12373 PyObject *resultobj = 0;
12374 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12375 wxLayoutAlignment result;
12376 void *argp1 = 0 ;
12377 int res1 = 0 ;
12378 PyObject *swig_obj[1] ;
12379
12380 if (!args) SWIG_fail;
12381 swig_obj[0] = args;
12382 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12383 if (!SWIG_IsOK(res1)) {
12384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12385 }
12386 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12387 {
12388 PyThreadState* __tstate = wxPyBeginAllowThreads();
12389 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12390 wxPyEndAllowThreads(__tstate);
12391 if (PyErr_Occurred()) SWIG_fail;
12392 }
12393 resultobj = SWIG_From_int(static_cast< int >(result));
12394 return resultobj;
12395fail:
12396 return NULL;
d55e5bfc
RD
12397}
12398
12399
554f62e9
RD
12400SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12401 PyObject *obj;
12402 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12403 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12404 return SWIG_Py_Void();
d55e5bfc
RD
12405}
12406
554f62e9
RD
12407SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12408 return SWIG_Python_InitShadowInstance(args);
12409}
d55e5bfc 12410
554f62e9
RD
12411SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12412 PyObject *resultobj = 0;
12413 int arg1 = (int) 0 ;
12414 wxCalculateLayoutEvent *result = 0 ;
12415 int val1 ;
12416 int ecode1 = 0 ;
12417 PyObject * obj0 = 0 ;
12418 char * kwnames[] = {
12419 (char *) "id", NULL
12420 };
12421
12422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12423 if (obj0) {
12424 ecode1 = SWIG_AsVal_int(obj0, &val1);
12425 if (!SWIG_IsOK(ecode1)) {
12426 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12427 }
12428 arg1 = static_cast< int >(val1);
12429 }
12430 {
12431 PyThreadState* __tstate = wxPyBeginAllowThreads();
12432 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12433 wxPyEndAllowThreads(__tstate);
12434 if (PyErr_Occurred()) SWIG_fail;
12435 }
12436 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12437 return resultobj;
12438fail:
12439 return NULL;
12440}
12441
12442
12443SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12444 PyObject *resultobj = 0;
12445 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12446 int arg2 ;
12447 void *argp1 = 0 ;
12448 int res1 = 0 ;
12449 int val2 ;
12450 int ecode2 = 0 ;
12451 PyObject * obj0 = 0 ;
12452 PyObject * obj1 = 0 ;
12453 char * kwnames[] = {
12454 (char *) "self",(char *) "flags", NULL
12455 };
12456
12457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12459 if (!SWIG_IsOK(res1)) {
12460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12461 }
12462 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12463 ecode2 = SWIG_AsVal_int(obj1, &val2);
12464 if (!SWIG_IsOK(ecode2)) {
12465 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12466 }
12467 arg2 = static_cast< int >(val2);
12468 {
12469 PyThreadState* __tstate = wxPyBeginAllowThreads();
12470 (arg1)->SetFlags(arg2);
12471 wxPyEndAllowThreads(__tstate);
12472 if (PyErr_Occurred()) SWIG_fail;
12473 }
12474 resultobj = SWIG_Py_Void();
12475 return resultobj;
12476fail:
12477 return NULL;
d55e5bfc
RD
12478}
12479
12480
554f62e9
RD
12481SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12482 PyObject *resultobj = 0;
12483 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12484 int result;
12485 void *argp1 = 0 ;
12486 int res1 = 0 ;
12487 PyObject *swig_obj[1] ;
12488
12489 if (!args) SWIG_fail;
12490 swig_obj[0] = args;
12491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12492 if (!SWIG_IsOK(res1)) {
12493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12494 }
12495 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12496 {
12497 PyThreadState* __tstate = wxPyBeginAllowThreads();
12498 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12499 wxPyEndAllowThreads(__tstate);
12500 if (PyErr_Occurred()) SWIG_fail;
12501 }
12502 resultobj = SWIG_From_int(static_cast< int >(result));
12503 return resultobj;
12504fail:
12505 return NULL;
12506}
12507
12508
12509SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12510 PyObject *resultobj = 0;
12511 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12512 wxRect *arg2 = 0 ;
12513 void *argp1 = 0 ;
12514 int res1 = 0 ;
12515 wxRect temp2 ;
12516 PyObject * obj0 = 0 ;
12517 PyObject * obj1 = 0 ;
12518 char * kwnames[] = {
12519 (char *) "self",(char *) "rect", NULL
12520 };
12521
12522 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12523 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12524 if (!SWIG_IsOK(res1)) {
12525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12526 }
12527 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12528 {
12529 arg2 = &temp2;
12530 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12531 }
12532 {
12533 PyThreadState* __tstate = wxPyBeginAllowThreads();
12534 (arg1)->SetRect((wxRect const &)*arg2);
12535 wxPyEndAllowThreads(__tstate);
12536 if (PyErr_Occurred()) SWIG_fail;
12537 }
12538 resultobj = SWIG_Py_Void();
12539 return resultobj;
12540fail:
12541 return NULL;
12542}
12543
12544
12545SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12546 PyObject *resultobj = 0;
12547 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12548 wxRect result;
12549 void *argp1 = 0 ;
12550 int res1 = 0 ;
12551 PyObject *swig_obj[1] ;
12552
12553 if (!args) SWIG_fail;
12554 swig_obj[0] = args;
12555 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12556 if (!SWIG_IsOK(res1)) {
12557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12558 }
12559 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12560 {
12561 PyThreadState* __tstate = wxPyBeginAllowThreads();
12562 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12563 wxPyEndAllowThreads(__tstate);
12564 if (PyErr_Occurred()) SWIG_fail;
12565 }
12566 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12567 return resultobj;
12568fail:
12569 return NULL;
12570}
12571
12572
12573SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12574 PyObject *obj;
12575 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12576 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12577 return SWIG_Py_Void();
12578}
12579
12580SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12581 return SWIG_Python_InitShadowInstance(args);
12582}
12583
12584SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12585 PyObject *resultobj = 0;
12586 wxWindow *arg1 = (wxWindow *) 0 ;
12587 int arg2 = (int) -1 ;
12588 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12589 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12590 wxSize const &arg4_defvalue = wxDefaultSize ;
12591 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12592 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12593 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12594 wxString *arg6 = (wxString *) &arg6_defvalue ;
12595 wxSashLayoutWindow *result = 0 ;
12596 void *argp1 = 0 ;
12597 int res1 = 0 ;
12598 int val2 ;
12599 int ecode2 = 0 ;
12600 wxPoint temp3 ;
12601 wxSize temp4 ;
12602 long val5 ;
12603 int ecode5 = 0 ;
12604 bool temp6 = false ;
12605 PyObject * obj0 = 0 ;
12606 PyObject * obj1 = 0 ;
12607 PyObject * obj2 = 0 ;
12608 PyObject * obj3 = 0 ;
12609 PyObject * obj4 = 0 ;
12610 PyObject * obj5 = 0 ;
12611 char * kwnames[] = {
12612 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12613 };
12614
12615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12617 if (!SWIG_IsOK(res1)) {
12618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12619 }
12620 arg1 = reinterpret_cast< wxWindow * >(argp1);
12621 if (obj1) {
12622 ecode2 = SWIG_AsVal_int(obj1, &val2);
12623 if (!SWIG_IsOK(ecode2)) {
12624 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12625 }
12626 arg2 = static_cast< int >(val2);
12627 }
12628 if (obj2) {
d55e5bfc 12629 {
554f62e9
RD
12630 arg3 = &temp3;
12631 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 12632 }
554f62e9
RD
12633 }
12634 if (obj3) {
d55e5bfc 12635 {
554f62e9
RD
12636 arg4 = &temp4;
12637 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 12638 }
554f62e9
RD
12639 }
12640 if (obj4) {
12641 ecode5 = SWIG_AsVal_long(obj4, &val5);
12642 if (!SWIG_IsOK(ecode5)) {
12643 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12644 }
12645 arg5 = static_cast< long >(val5);
12646 }
12647 if (obj5) {
d55e5bfc 12648 {
554f62e9
RD
12649 arg6 = wxString_in_helper(obj5);
12650 if (arg6 == NULL) SWIG_fail;
12651 temp6 = true;
d55e5bfc 12652 }
554f62e9
RD
12653 }
12654 {
12655 if (!wxPyCheckForApp()) SWIG_fail;
12656 PyThreadState* __tstate = wxPyBeginAllowThreads();
12657 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12658 wxPyEndAllowThreads(__tstate);
12659 if (PyErr_Occurred()) SWIG_fail;
12660 }
12661 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12662 {
12663 if (temp6)
12664 delete arg6;
12665 }
12666 return resultobj;
12667fail:
12668 {
12669 if (temp6)
12670 delete arg6;
12671 }
12672 return NULL;
d55e5bfc
RD
12673}
12674
12675
554f62e9
RD
12676SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12677 PyObject *resultobj = 0;
12678 wxSashLayoutWindow *result = 0 ;
12679
12680 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12681 {
12682 if (!wxPyCheckForApp()) SWIG_fail;
12683 PyThreadState* __tstate = wxPyBeginAllowThreads();
12684 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12685 wxPyEndAllowThreads(__tstate);
12686 if (PyErr_Occurred()) SWIG_fail;
12687 }
12688 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12689 return resultobj;
12690fail:
12691 return NULL;
12692}
12693
12694
12695SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12696 PyObject *resultobj = 0;
12697 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12698 wxWindow *arg2 = (wxWindow *) 0 ;
12699 int arg3 = (int) -1 ;
12700 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12701 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12702 wxSize const &arg5_defvalue = wxDefaultSize ;
12703 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12704 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12705 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12706 wxString *arg7 = (wxString *) &arg7_defvalue ;
12707 bool result;
12708 void *argp1 = 0 ;
12709 int res1 = 0 ;
12710 void *argp2 = 0 ;
12711 int res2 = 0 ;
12712 int val3 ;
12713 int ecode3 = 0 ;
12714 wxPoint temp4 ;
12715 wxSize temp5 ;
12716 long val6 ;
12717 int ecode6 = 0 ;
12718 bool temp7 = false ;
12719 PyObject * obj0 = 0 ;
12720 PyObject * obj1 = 0 ;
12721 PyObject * obj2 = 0 ;
12722 PyObject * obj3 = 0 ;
12723 PyObject * obj4 = 0 ;
12724 PyObject * obj5 = 0 ;
12725 PyObject * obj6 = 0 ;
12726 char * kwnames[] = {
12727 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12728 };
12729
12730 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12731 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12732 if (!SWIG_IsOK(res1)) {
12733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12734 }
12735 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12736 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12737 if (!SWIG_IsOK(res2)) {
12738 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12739 }
12740 arg2 = reinterpret_cast< wxWindow * >(argp2);
12741 if (obj2) {
12742 ecode3 = SWIG_AsVal_int(obj2, &val3);
12743 if (!SWIG_IsOK(ecode3)) {
12744 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12745 }
12746 arg3 = static_cast< int >(val3);
12747 }
12748 if (obj3) {
d55e5bfc 12749 {
554f62e9
RD
12750 arg4 = &temp4;
12751 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 12752 }
554f62e9
RD
12753 }
12754 if (obj4) {
d55e5bfc 12755 {
554f62e9
RD
12756 arg5 = &temp5;
12757 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 12758 }
554f62e9
RD
12759 }
12760 if (obj5) {
12761 ecode6 = SWIG_AsVal_long(obj5, &val6);
12762 if (!SWIG_IsOK(ecode6)) {
12763 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12764 }
12765 arg6 = static_cast< long >(val6);
12766 }
12767 if (obj6) {
d55e5bfc 12768 {
554f62e9
RD
12769 arg7 = wxString_in_helper(obj6);
12770 if (arg7 == NULL) SWIG_fail;
12771 temp7 = true;
d55e5bfc 12772 }
554f62e9
RD
12773 }
12774 {
12775 PyThreadState* __tstate = wxPyBeginAllowThreads();
12776 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12777 wxPyEndAllowThreads(__tstate);
12778 if (PyErr_Occurred()) SWIG_fail;
12779 }
12780 {
12781 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12782 }
12783 {
12784 if (temp7)
12785 delete arg7;
12786 }
12787 return resultobj;
12788fail:
12789 {
12790 if (temp7)
12791 delete arg7;
12792 }
12793 return NULL;
d55e5bfc
RD
12794}
12795
12796
554f62e9
RD
12797SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12798 PyObject *resultobj = 0;
12799 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12800 wxLayoutAlignment result;
12801 void *argp1 = 0 ;
12802 int res1 = 0 ;
12803 PyObject *swig_obj[1] ;
12804
12805 if (!args) SWIG_fail;
12806 swig_obj[0] = args;
12807 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12808 if (!SWIG_IsOK(res1)) {
12809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12810 }
12811 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12812 {
12813 PyThreadState* __tstate = wxPyBeginAllowThreads();
12814 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12815 wxPyEndAllowThreads(__tstate);
12816 if (PyErr_Occurred()) SWIG_fail;
12817 }
12818 resultobj = SWIG_From_int(static_cast< int >(result));
12819 return resultobj;
12820fail:
12821 return NULL;
d55e5bfc
RD
12822}
12823
12824
554f62e9
RD
12825SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12826 PyObject *resultobj = 0;
12827 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12828 wxLayoutOrientation result;
12829 void *argp1 = 0 ;
12830 int res1 = 0 ;
12831 PyObject *swig_obj[1] ;
12832
12833 if (!args) SWIG_fail;
12834 swig_obj[0] = args;
12835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12836 if (!SWIG_IsOK(res1)) {
12837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12838 }
12839 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12840 {
12841 PyThreadState* __tstate = wxPyBeginAllowThreads();
12842 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12843 wxPyEndAllowThreads(__tstate);
12844 if (PyErr_Occurred()) SWIG_fail;
12845 }
12846 resultobj = SWIG_From_int(static_cast< int >(result));
12847 return resultobj;
12848fail:
12849 return NULL;
12850}
12851
12852
12853SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12854 PyObject *resultobj = 0;
12855 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12856 wxLayoutAlignment arg2 ;
12857 void *argp1 = 0 ;
12858 int res1 = 0 ;
12859 int val2 ;
12860 int ecode2 = 0 ;
12861 PyObject * obj0 = 0 ;
12862 PyObject * obj1 = 0 ;
12863 char * kwnames[] = {
12864 (char *) "self",(char *) "alignment", NULL
12865 };
12866
12867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12869 if (!SWIG_IsOK(res1)) {
12870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12871 }
12872 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12873 ecode2 = SWIG_AsVal_int(obj1, &val2);
12874 if (!SWIG_IsOK(ecode2)) {
12875 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12876 }
12877 arg2 = static_cast< wxLayoutAlignment >(val2);
12878 {
12879 PyThreadState* __tstate = wxPyBeginAllowThreads();
12880 (arg1)->SetAlignment(arg2);
12881 wxPyEndAllowThreads(__tstate);
12882 if (PyErr_Occurred()) SWIG_fail;
12883 }
12884 resultobj = SWIG_Py_Void();
12885 return resultobj;
12886fail:
12887 return NULL;
12888}
12889
12890
12891SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12892 PyObject *resultobj = 0;
12893 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12894 wxSize *arg2 = 0 ;
12895 void *argp1 = 0 ;
12896 int res1 = 0 ;
12897 wxSize temp2 ;
12898 PyObject * obj0 = 0 ;
12899 PyObject * obj1 = 0 ;
12900 char * kwnames[] = {
12901 (char *) "self",(char *) "size", NULL
12902 };
12903
12904 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12905 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12906 if (!SWIG_IsOK(res1)) {
12907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12908 }
12909 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12910 {
12911 arg2 = &temp2;
12912 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12913 }
12914 {
12915 PyThreadState* __tstate = wxPyBeginAllowThreads();
12916 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12917 wxPyEndAllowThreads(__tstate);
12918 if (PyErr_Occurred()) SWIG_fail;
12919 }
12920 resultobj = SWIG_Py_Void();
12921 return resultobj;
12922fail:
12923 return NULL;
12924}
12925
12926
12927SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12928 PyObject *resultobj = 0;
12929 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12930 wxLayoutOrientation arg2 ;
12931 void *argp1 = 0 ;
12932 int res1 = 0 ;
12933 int val2 ;
12934 int ecode2 = 0 ;
12935 PyObject * obj0 = 0 ;
12936 PyObject * obj1 = 0 ;
12937 char * kwnames[] = {
12938 (char *) "self",(char *) "orientation", NULL
12939 };
12940
12941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12943 if (!SWIG_IsOK(res1)) {
12944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12945 }
12946 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12947 ecode2 = SWIG_AsVal_int(obj1, &val2);
12948 if (!SWIG_IsOK(ecode2)) {
12949 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12950 }
12951 arg2 = static_cast< wxLayoutOrientation >(val2);
12952 {
12953 PyThreadState* __tstate = wxPyBeginAllowThreads();
12954 (arg1)->SetOrientation(arg2);
12955 wxPyEndAllowThreads(__tstate);
12956 if (PyErr_Occurred()) SWIG_fail;
12957 }
12958 resultobj = SWIG_Py_Void();
12959 return resultobj;
12960fail:
12961 return NULL;
d55e5bfc
RD
12962}
12963
12964
554f62e9
RD
12965SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12966 PyObject *obj;
12967 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12968 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12969 return SWIG_Py_Void();
d55e5bfc
RD
12970}
12971
554f62e9
RD
12972SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12973 return SWIG_Python_InitShadowInstance(args);
12974}
d55e5bfc 12975
554f62e9
RD
12976SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12977 PyObject *resultobj = 0;
12978 wxLayoutAlgorithm *result = 0 ;
12979
12980 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12981 {
12982 PyThreadState* __tstate = wxPyBeginAllowThreads();
12983 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12984 wxPyEndAllowThreads(__tstate);
12985 if (PyErr_Occurred()) SWIG_fail;
12986 }
12987 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12988 return resultobj;
12989fail:
12990 return NULL;
d55e5bfc
RD
12991}
12992
12993
554f62e9
RD
12994SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12995 PyObject *resultobj = 0;
12996 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12997 void *argp1 = 0 ;
12998 int res1 = 0 ;
12999 PyObject *swig_obj[1] ;
13000
13001 if (!args) SWIG_fail;
13002 swig_obj[0] = args;
13003 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
13004 if (!SWIG_IsOK(res1)) {
13005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13006 }
13007 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13008 {
13009 PyThreadState* __tstate = wxPyBeginAllowThreads();
13010 delete arg1;
d55e5bfc 13011
554f62e9
RD
13012 wxPyEndAllowThreads(__tstate);
13013 if (PyErr_Occurred()) SWIG_fail;
13014 }
13015 resultobj = SWIG_Py_Void();
13016 return resultobj;
13017fail:
13018 return NULL;
13019}
13020
13021
13022SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13023 PyObject *resultobj = 0;
13024 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13025 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13026 wxRect *arg3 = (wxRect *) NULL ;
13027 bool result;
13028 void *argp1 = 0 ;
13029 int res1 = 0 ;
13030 void *argp2 = 0 ;
13031 int res2 = 0 ;
13032 void *argp3 = 0 ;
13033 int res3 = 0 ;
13034 PyObject * obj0 = 0 ;
13035 PyObject * obj1 = 0 ;
13036 PyObject * obj2 = 0 ;
13037 char * kwnames[] = {
13038 (char *) "self",(char *) "frame",(char *) "rect", NULL
13039 };
13040
13041 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13042 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13043 if (!SWIG_IsOK(res1)) {
13044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13045 }
13046 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13047 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
13048 if (!SWIG_IsOK(res2)) {
13049 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13050 }
13051 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
13052 if (obj2) {
13053 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
13054 if (!SWIG_IsOK(res3)) {
13055 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
d55e5bfc 13056 }
554f62e9
RD
13057 arg3 = reinterpret_cast< wxRect * >(argp3);
13058 }
13059 {
13060 PyThreadState* __tstate = wxPyBeginAllowThreads();
13061 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
13062 wxPyEndAllowThreads(__tstate);
13063 if (PyErr_Occurred()) SWIG_fail;
13064 }
13065 {
13066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13067 }
13068 return resultobj;
13069fail:
13070 return NULL;
13071}
13072
13073
13074SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13075 PyObject *resultobj = 0;
13076 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13077 wxFrame *arg2 = (wxFrame *) 0 ;
13078 wxWindow *arg3 = (wxWindow *) NULL ;
13079 bool result;
13080 void *argp1 = 0 ;
13081 int res1 = 0 ;
13082 void *argp2 = 0 ;
13083 int res2 = 0 ;
13084 void *argp3 = 0 ;
13085 int res3 = 0 ;
13086 PyObject * obj0 = 0 ;
13087 PyObject * obj1 = 0 ;
13088 PyObject * obj2 = 0 ;
13089 char * kwnames[] = {
13090 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13091 };
13092
13093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13094 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13095 if (!SWIG_IsOK(res1)) {
13096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13097 }
13098 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13099 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13100 if (!SWIG_IsOK(res2)) {
13101 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13102 }
13103 arg2 = reinterpret_cast< wxFrame * >(argp2);
13104 if (obj2) {
13105 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13106 if (!SWIG_IsOK(res3)) {
13107 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
d55e5bfc 13108 }
554f62e9
RD
13109 arg3 = reinterpret_cast< wxWindow * >(argp3);
13110 }
13111 {
13112 PyThreadState* __tstate = wxPyBeginAllowThreads();
13113 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13114 wxPyEndAllowThreads(__tstate);
13115 if (PyErr_Occurred()) SWIG_fail;
13116 }
13117 {
13118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13119 }
13120 return resultobj;
13121fail:
13122 return NULL;
13123}
13124
13125
13126SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13127 PyObject *resultobj = 0;
13128 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13129 wxWindow *arg2 = (wxWindow *) 0 ;
13130 wxWindow *arg3 = (wxWindow *) NULL ;
13131 bool result;
13132 void *argp1 = 0 ;
13133 int res1 = 0 ;
13134 void *argp2 = 0 ;
13135 int res2 = 0 ;
13136 void *argp3 = 0 ;
13137 int res3 = 0 ;
13138 PyObject * obj0 = 0 ;
13139 PyObject * obj1 = 0 ;
13140 PyObject * obj2 = 0 ;
13141 char * kwnames[] = {
13142 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13143 };
13144
13145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13147 if (!SWIG_IsOK(res1)) {
13148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13149 }
13150 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13151 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13152 if (!SWIG_IsOK(res2)) {
13153 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13154 }
13155 arg2 = reinterpret_cast< wxWindow * >(argp2);
13156 if (obj2) {
13157 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13158 if (!SWIG_IsOK(res3)) {
13159 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
d55e5bfc 13160 }
554f62e9
RD
13161 arg3 = reinterpret_cast< wxWindow * >(argp3);
13162 }
13163 {
13164 PyThreadState* __tstate = wxPyBeginAllowThreads();
13165 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13166 wxPyEndAllowThreads(__tstate);
13167 if (PyErr_Occurred()) SWIG_fail;
13168 }
13169 {
13170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13171 }
13172 return resultobj;
13173fail:
13174 return NULL;
d55e5bfc
RD
13175}
13176
13177
554f62e9
RD
13178SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13179 PyObject *obj;
13180 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13181 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13182 return SWIG_Py_Void();
d55e5bfc
RD
13183}
13184
554f62e9
RD
13185SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13186 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
13187}
13188
554f62e9
RD
13189SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13190 PyObject *resultobj = 0;
13191 wxWindow *arg1 = (wxWindow *) 0 ;
13192 int arg2 = (int) wxBORDER_NONE ;
13193 wxPopupWindow *result = 0 ;
13194 void *argp1 = 0 ;
13195 int res1 = 0 ;
13196 int val2 ;
13197 int ecode2 = 0 ;
13198 PyObject * obj0 = 0 ;
13199 PyObject * obj1 = 0 ;
13200 char * kwnames[] = {
13201 (char *) "parent",(char *) "flags", NULL
13202 };
13203
13204 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13205 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13206 if (!SWIG_IsOK(res1)) {
13207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13208 }
13209 arg1 = reinterpret_cast< wxWindow * >(argp1);
13210 if (obj1) {
13211 ecode2 = SWIG_AsVal_int(obj1, &val2);
13212 if (!SWIG_IsOK(ecode2)) {
13213 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13214 }
13215 arg2 = static_cast< int >(val2);
13216 }
13217 {
13218 if (!wxPyCheckForApp()) SWIG_fail;
13219 PyThreadState* __tstate = wxPyBeginAllowThreads();
13220 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13221 wxPyEndAllowThreads(__tstate);
13222 if (PyErr_Occurred()) SWIG_fail;
13223 }
13224 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13225 return resultobj;
13226fail:
13227 return NULL;
d55e5bfc
RD
13228}
13229
13230
554f62e9
RD
13231SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13232 PyObject *resultobj = 0;
13233 wxPopupWindow *result = 0 ;
13234
13235 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13236 {
13237 if (!wxPyCheckForApp()) SWIG_fail;
13238 PyThreadState* __tstate = wxPyBeginAllowThreads();
13239 result = (wxPopupWindow *)new wxPopupWindow();
13240 wxPyEndAllowThreads(__tstate);
13241 if (PyErr_Occurred()) SWIG_fail;
13242 }
13243 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13244 return resultobj;
13245fail:
13246 return NULL;
13247}
13248
13249
13250SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13251 PyObject *resultobj = 0;
13252 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13253 wxWindow *arg2 = (wxWindow *) 0 ;
13254 int arg3 = (int) wxBORDER_NONE ;
13255 bool result;
13256 void *argp1 = 0 ;
13257 int res1 = 0 ;
13258 void *argp2 = 0 ;
13259 int res2 = 0 ;
13260 int val3 ;
13261 int ecode3 = 0 ;
13262 PyObject * obj0 = 0 ;
13263 PyObject * obj1 = 0 ;
13264 PyObject * obj2 = 0 ;
13265 char * kwnames[] = {
13266 (char *) "self",(char *) "parent",(char *) "flags", NULL
13267 };
13268
13269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13270 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13271 if (!SWIG_IsOK(res1)) {
13272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13273 }
13274 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13275 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13276 if (!SWIG_IsOK(res2)) {
13277 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13278 }
13279 arg2 = reinterpret_cast< wxWindow * >(argp2);
13280 if (obj2) {
13281 ecode3 = SWIG_AsVal_int(obj2, &val3);
13282 if (!SWIG_IsOK(ecode3)) {
13283 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13284 }
13285 arg3 = static_cast< int >(val3);
13286 }
13287 {
13288 PyThreadState* __tstate = wxPyBeginAllowThreads();
13289 result = (bool)(arg1)->Create(arg2,arg3);
13290 wxPyEndAllowThreads(__tstate);
13291 if (PyErr_Occurred()) SWIG_fail;
13292 }
13293 {
13294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13295 }
13296 return resultobj;
13297fail:
13298 return NULL;
13299}
13300
13301
13302SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13303 PyObject *resultobj = 0;
13304 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13305 wxPoint *arg2 = 0 ;
13306 wxSize *arg3 = 0 ;
13307 void *argp1 = 0 ;
13308 int res1 = 0 ;
13309 wxPoint temp2 ;
13310 wxSize temp3 ;
13311 PyObject * obj0 = 0 ;
13312 PyObject * obj1 = 0 ;
13313 PyObject * obj2 = 0 ;
13314 char * kwnames[] = {
13315 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13316 };
13317
13318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13320 if (!SWIG_IsOK(res1)) {
13321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13322 }
13323 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13324 {
13325 arg2 = &temp2;
13326 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13327 }
13328 {
13329 arg3 = &temp3;
13330 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13331 }
13332 {
13333 PyThreadState* __tstate = wxPyBeginAllowThreads();
13334 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13335 wxPyEndAllowThreads(__tstate);
13336 if (PyErr_Occurred()) SWIG_fail;
13337 }
13338 resultobj = SWIG_Py_Void();
13339 return resultobj;
13340fail:
13341 return NULL;
d55e5bfc
RD
13342}
13343
13344
554f62e9
RD
13345SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13346 PyObject *obj;
13347 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13348 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13349 return SWIG_Py_Void();
d55e5bfc
RD
13350}
13351
554f62e9
RD
13352SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13353 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
13354}
13355
554f62e9
RD
13356SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13357 PyObject *resultobj = 0;
13358 wxWindow *arg1 = (wxWindow *) 0 ;
13359 int arg2 = (int) wxBORDER_NONE ;
13360 wxPyPopupTransientWindow *result = 0 ;
13361 void *argp1 = 0 ;
13362 int res1 = 0 ;
13363 int val2 ;
13364 int ecode2 = 0 ;
13365 PyObject * obj0 = 0 ;
13366 PyObject * obj1 = 0 ;
13367 char * kwnames[] = {
13368 (char *) "parent",(char *) "style", NULL
13369 };
13370
13371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13373 if (!SWIG_IsOK(res1)) {
13374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13375 }
13376 arg1 = reinterpret_cast< wxWindow * >(argp1);
13377 if (obj1) {
13378 ecode2 = SWIG_AsVal_int(obj1, &val2);
13379 if (!SWIG_IsOK(ecode2)) {
13380 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13381 }
13382 arg2 = static_cast< int >(val2);
13383 }
13384 {
13385 if (!wxPyCheckForApp()) SWIG_fail;
13386 PyThreadState* __tstate = wxPyBeginAllowThreads();
13387 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13388 wxPyEndAllowThreads(__tstate);
13389 if (PyErr_Occurred()) SWIG_fail;
13390 }
13391 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13392 return resultobj;
13393fail:
13394 return NULL;
d55e5bfc
RD
13395}
13396
13397
554f62e9
RD
13398SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13399 PyObject *resultobj = 0;
13400 wxPyPopupTransientWindow *result = 0 ;
13401
13402 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13403 {
13404 if (!wxPyCheckForApp()) SWIG_fail;
13405 PyThreadState* __tstate = wxPyBeginAllowThreads();
13406 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13407 wxPyEndAllowThreads(__tstate);
13408 if (PyErr_Occurred()) SWIG_fail;
13409 }
13410 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13411 return resultobj;
13412fail:
13413 return NULL;
13414}
13415
13416
13417SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13418 PyObject *resultobj = 0;
13419 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13420 PyObject *arg2 = (PyObject *) 0 ;
13421 PyObject *arg3 = (PyObject *) 0 ;
13422 void *argp1 = 0 ;
13423 int res1 = 0 ;
13424 PyObject * obj0 = 0 ;
13425 PyObject * obj1 = 0 ;
13426 PyObject * obj2 = 0 ;
13427 char * kwnames[] = {
13428 (char *) "self",(char *) "self",(char *) "_class", NULL
13429 };
13430
13431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13433 if (!SWIG_IsOK(res1)) {
13434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13435 }
13436 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13437 arg2 = obj1;
13438 arg3 = obj2;
13439 {
13440 PyThreadState* __tstate = wxPyBeginAllowThreads();
13441 (arg1)->_setCallbackInfo(arg2,arg3);
13442 wxPyEndAllowThreads(__tstate);
13443 if (PyErr_Occurred()) SWIG_fail;
13444 }
13445 resultobj = SWIG_Py_Void();
13446 return resultobj;
13447fail:
13448 return NULL;
13449}
13450
13451
13452SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13453 PyObject *resultobj = 0;
13454 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13455 wxWindow *arg2 = (wxWindow *) NULL ;
13456 void *argp1 = 0 ;
13457 int res1 = 0 ;
13458 void *argp2 = 0 ;
13459 int res2 = 0 ;
13460 PyObject * obj0 = 0 ;
13461 PyObject * obj1 = 0 ;
13462 char * kwnames[] = {
13463 (char *) "self",(char *) "focus", NULL
13464 };
13465
13466 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13467 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13468 if (!SWIG_IsOK(res1)) {
13469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13470 }
13471 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13472 if (obj1) {
13473 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13474 if (!SWIG_IsOK(res2)) {
13475 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
093d3ff1 13476 }
554f62e9
RD
13477 arg2 = reinterpret_cast< wxWindow * >(argp2);
13478 }
13479 {
13480 PyThreadState* __tstate = wxPyBeginAllowThreads();
13481 (arg1)->Popup(arg2);
13482 wxPyEndAllowThreads(__tstate);
13483 if (PyErr_Occurred()) SWIG_fail;
13484 }
13485 resultobj = SWIG_Py_Void();
13486 return resultobj;
13487fail:
13488 return NULL;
d55e5bfc
RD
13489}
13490
13491
554f62e9
RD
13492SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13493 PyObject *resultobj = 0;
13494 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13495 void *argp1 = 0 ;
13496 int res1 = 0 ;
13497 PyObject *swig_obj[1] ;
13498
13499 if (!args) SWIG_fail;
13500 swig_obj[0] = args;
13501 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13502 if (!SWIG_IsOK(res1)) {
13503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13504 }
13505 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13506 {
13507 PyThreadState* __tstate = wxPyBeginAllowThreads();
13508 (arg1)->Dismiss();
13509 wxPyEndAllowThreads(__tstate);
13510 if (PyErr_Occurred()) SWIG_fail;
13511 }
13512 resultobj = SWIG_Py_Void();
13513 return resultobj;
13514fail:
13515 return NULL;
13516}
13517
13518
13519SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13520 PyObject *obj;
13521 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13522 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13523 return SWIG_Py_Void();
13524}
13525
13526SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13527 return SWIG_Python_InitShadowInstance(args);
13528}
13529
13530SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13531 PyObject *resultobj = 0;
13532 wxWindow *arg1 = (wxWindow *) 0 ;
13533 wxString *arg2 = 0 ;
13534 int arg3 = (int) 100 ;
13535 wxRect *arg4 = (wxRect *) NULL ;
13536 wxTipWindow *result = 0 ;
13537 void *argp1 = 0 ;
13538 int res1 = 0 ;
13539 bool temp2 = false ;
13540 int val3 ;
13541 int ecode3 = 0 ;
13542 void *argp4 = 0 ;
13543 int res4 = 0 ;
13544 PyObject * obj0 = 0 ;
13545 PyObject * obj1 = 0 ;
13546 PyObject * obj2 = 0 ;
13547 PyObject * obj3 = 0 ;
13548 char * kwnames[] = {
13549 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13550 };
13551
13552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13553 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13554 if (!SWIG_IsOK(res1)) {
13555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13556 }
13557 arg1 = reinterpret_cast< wxWindow * >(argp1);
13558 {
13559 arg2 = wxString_in_helper(obj1);
13560 if (arg2 == NULL) SWIG_fail;
13561 temp2 = true;
13562 }
13563 if (obj2) {
13564 ecode3 = SWIG_AsVal_int(obj2, &val3);
13565 if (!SWIG_IsOK(ecode3)) {
13566 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13567 }
13568 arg3 = static_cast< int >(val3);
13569 }
13570 if (obj3) {
13571 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13572 if (!SWIG_IsOK(res4)) {
13573 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
093d3ff1 13574 }
554f62e9
RD
13575 arg4 = reinterpret_cast< wxRect * >(argp4);
13576 }
13577 {
13578 if (!wxPyCheckForApp()) SWIG_fail;
13579 PyThreadState* __tstate = wxPyBeginAllowThreads();
13580 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13581 wxPyEndAllowThreads(__tstate);
13582 if (PyErr_Occurred()) SWIG_fail;
13583 }
13584 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13585 {
13586 if (temp2)
13587 delete arg2;
13588 }
13589 return resultobj;
13590fail:
13591 {
13592 if (temp2)
13593 delete arg2;
13594 }
13595 return NULL;
b519803b
RD
13596}
13597
13598
554f62e9
RD
13599SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13600 PyObject *resultobj = 0;
13601 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13602 wxRect *arg2 = 0 ;
13603 void *argp1 = 0 ;
13604 int res1 = 0 ;
13605 wxRect temp2 ;
13606 PyObject * obj0 = 0 ;
13607 PyObject * obj1 = 0 ;
13608 char * kwnames[] = {
13609 (char *) "self",(char *) "rectBound", NULL
13610 };
13611
13612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13614 if (!SWIG_IsOK(res1)) {
13615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13616 }
13617 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13618 {
13619 arg2 = &temp2;
13620 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13621 }
13622 {
13623 PyThreadState* __tstate = wxPyBeginAllowThreads();
13624 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13625 wxPyEndAllowThreads(__tstate);
13626 if (PyErr_Occurred()) SWIG_fail;
13627 }
13628 resultobj = SWIG_Py_Void();
13629 return resultobj;
13630fail:
13631 return NULL;
b519803b
RD
13632}
13633
13634
554f62e9
RD
13635SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13636 PyObject *resultobj = 0;
13637 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13638 void *argp1 = 0 ;
13639 int res1 = 0 ;
13640 PyObject *swig_obj[1] ;
13641
13642 if (!args) SWIG_fail;
13643 swig_obj[0] = args;
13644 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13645 if (!SWIG_IsOK(res1)) {
13646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13647 }
13648 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13649 {
13650 PyThreadState* __tstate = wxPyBeginAllowThreads();
13651 (arg1)->Close();
13652 wxPyEndAllowThreads(__tstate);
13653 if (PyErr_Occurred()) SWIG_fail;
13654 }
13655 resultobj = SWIG_Py_Void();
13656 return resultobj;
13657fail:
13658 return NULL;
13659}
13660
13661
13662SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13663 PyObject *obj;
13664 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13665 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13666 return SWIG_Py_Void();
13667}
13668
13669SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13670 return SWIG_Python_InitShadowInstance(args);
13671}
13672
13673SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13674 PyObject *resultobj = 0;
13675 wxWindow *arg1 = (wxWindow *) 0 ;
13676 int arg2 = (int) wxID_ANY ;
13677 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13678 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13679 wxSize const &arg4_defvalue = wxDefaultSize ;
13680 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13681 long arg5 = (long) 0 ;
13682 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13683 wxString *arg6 = (wxString *) &arg6_defvalue ;
13684 wxPyVScrolledWindow *result = 0 ;
13685 void *argp1 = 0 ;
13686 int res1 = 0 ;
13687 int val2 ;
13688 int ecode2 = 0 ;
13689 wxPoint temp3 ;
13690 wxSize temp4 ;
13691 long val5 ;
13692 int ecode5 = 0 ;
13693 bool temp6 = false ;
13694 PyObject * obj0 = 0 ;
13695 PyObject * obj1 = 0 ;
13696 PyObject * obj2 = 0 ;
13697 PyObject * obj3 = 0 ;
13698 PyObject * obj4 = 0 ;
13699 PyObject * obj5 = 0 ;
13700 char * kwnames[] = {
13701 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13702 };
13703
13704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13705 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13706 if (!SWIG_IsOK(res1)) {
13707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13708 }
13709 arg1 = reinterpret_cast< wxWindow * >(argp1);
13710 if (obj1) {
13711 ecode2 = SWIG_AsVal_int(obj1, &val2);
13712 if (!SWIG_IsOK(ecode2)) {
13713 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13714 }
13715 arg2 = static_cast< int >(val2);
13716 }
13717 if (obj2) {
093d3ff1 13718 {
554f62e9
RD
13719 arg3 = &temp3;
13720 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 13721 }
554f62e9
RD
13722 }
13723 if (obj3) {
d55e5bfc 13724 {
554f62e9
RD
13725 arg4 = &temp4;
13726 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 13727 }
554f62e9
RD
13728 }
13729 if (obj4) {
13730 ecode5 = SWIG_AsVal_long(obj4, &val5);
13731 if (!SWIG_IsOK(ecode5)) {
13732 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13733 }
13734 arg5 = static_cast< long >(val5);
13735 }
13736 if (obj5) {
093d3ff1 13737 {
554f62e9
RD
13738 arg6 = wxString_in_helper(obj5);
13739 if (arg6 == NULL) SWIG_fail;
13740 temp6 = true;
093d3ff1 13741 }
554f62e9
RD
13742 }
13743 {
13744 if (!wxPyCheckForApp()) SWIG_fail;
13745 PyThreadState* __tstate = wxPyBeginAllowThreads();
13746 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13747 wxPyEndAllowThreads(__tstate);
13748 if (PyErr_Occurred()) SWIG_fail;
13749 }
13750 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13751 {
13752 if (temp6)
13753 delete arg6;
13754 }
13755 return resultobj;
13756fail:
13757 {
13758 if (temp6)
13759 delete arg6;
13760 }
13761 return NULL;
d55e5bfc
RD
13762}
13763
13764
554f62e9
RD
13765SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13766 PyObject *resultobj = 0;
13767 wxPyVScrolledWindow *result = 0 ;
13768
13769 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13770 {
13771 if (!wxPyCheckForApp()) SWIG_fail;
13772 PyThreadState* __tstate = wxPyBeginAllowThreads();
13773 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13774 wxPyEndAllowThreads(__tstate);
13775 if (PyErr_Occurred()) SWIG_fail;
13776 }
13777 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13778 return resultobj;
13779fail:
13780 return NULL;
13781}
13782
13783
13784SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13785 PyObject *resultobj = 0;
13786 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13787 PyObject *arg2 = (PyObject *) 0 ;
13788 PyObject *arg3 = (PyObject *) 0 ;
13789 void *argp1 = 0 ;
13790 int res1 = 0 ;
13791 PyObject * obj0 = 0 ;
13792 PyObject * obj1 = 0 ;
13793 PyObject * obj2 = 0 ;
13794 char * kwnames[] = {
13795 (char *) "self",(char *) "self",(char *) "_class", NULL
13796 };
13797
13798 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13800 if (!SWIG_IsOK(res1)) {
13801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13802 }
13803 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13804 arg2 = obj1;
13805 arg3 = obj2;
13806 {
13807 PyThreadState* __tstate = wxPyBeginAllowThreads();
13808 (arg1)->_setCallbackInfo(arg2,arg3);
13809 wxPyEndAllowThreads(__tstate);
13810 if (PyErr_Occurred()) SWIG_fail;
13811 }
13812 resultobj = SWIG_Py_Void();
13813 return resultobj;
13814fail:
13815 return NULL;
13816}
13817
13818
13819SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13820 PyObject *resultobj = 0;
13821 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13822 wxWindow *arg2 = (wxWindow *) 0 ;
13823 int arg3 = (int) wxID_ANY ;
13824 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13825 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13826 wxSize const &arg5_defvalue = wxDefaultSize ;
13827 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13828 long arg6 = (long) 0 ;
13829 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13830 wxString *arg7 = (wxString *) &arg7_defvalue ;
13831 bool result;
13832 void *argp1 = 0 ;
13833 int res1 = 0 ;
13834 void *argp2 = 0 ;
13835 int res2 = 0 ;
13836 int val3 ;
13837 int ecode3 = 0 ;
13838 wxPoint temp4 ;
13839 wxSize temp5 ;
13840 long val6 ;
13841 int ecode6 = 0 ;
13842 bool temp7 = false ;
13843 PyObject * obj0 = 0 ;
13844 PyObject * obj1 = 0 ;
13845 PyObject * obj2 = 0 ;
13846 PyObject * obj3 = 0 ;
13847 PyObject * obj4 = 0 ;
13848 PyObject * obj5 = 0 ;
13849 PyObject * obj6 = 0 ;
13850 char * kwnames[] = {
13851 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13852 };
13853
13854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13856 if (!SWIG_IsOK(res1)) {
13857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13858 }
13859 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13860 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13861 if (!SWIG_IsOK(res2)) {
13862 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13863 }
13864 arg2 = reinterpret_cast< wxWindow * >(argp2);
13865 if (obj2) {
13866 ecode3 = SWIG_AsVal_int(obj2, &val3);
13867 if (!SWIG_IsOK(ecode3)) {
13868 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13869 }
13870 arg3 = static_cast< int >(val3);
13871 }
13872 if (obj3) {
d55e5bfc 13873 {
554f62e9
RD
13874 arg4 = &temp4;
13875 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 13876 }
554f62e9
RD
13877 }
13878 if (obj4) {
d55e5bfc 13879 {
554f62e9
RD
13880 arg5 = &temp5;
13881 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 13882 }
554f62e9
RD
13883 }
13884 if (obj5) {
13885 ecode6 = SWIG_AsVal_long(obj5, &val6);
13886 if (!SWIG_IsOK(ecode6)) {
13887 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13888 }
13889 arg6 = static_cast< long >(val6);
13890 }
13891 if (obj6) {
093d3ff1 13892 {
554f62e9
RD
13893 arg7 = wxString_in_helper(obj6);
13894 if (arg7 == NULL) SWIG_fail;
13895 temp7 = true;
093d3ff1 13896 }
554f62e9
RD
13897 }
13898 {
13899 PyThreadState* __tstate = wxPyBeginAllowThreads();
13900 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13901 wxPyEndAllowThreads(__tstate);
13902 if (PyErr_Occurred()) SWIG_fail;
13903 }
13904 {
13905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13906 }
13907 {
13908 if (temp7)
13909 delete arg7;
13910 }
13911 return resultobj;
13912fail:
13913 {
13914 if (temp7)
13915 delete arg7;
13916 }
13917 return NULL;
13918}
13919
13920
13921SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13922 PyObject *resultobj = 0;
13923 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13924 size_t arg2 ;
13925 void *argp1 = 0 ;
13926 int res1 = 0 ;
13927 size_t val2 ;
13928 int ecode2 = 0 ;
13929 PyObject * obj0 = 0 ;
13930 PyObject * obj1 = 0 ;
13931 char * kwnames[] = {
13932 (char *) "self",(char *) "count", NULL
13933 };
13934
13935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13937 if (!SWIG_IsOK(res1)) {
13938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13939 }
13940 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13941 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13942 if (!SWIG_IsOK(ecode2)) {
13943 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13944 }
13945 arg2 = static_cast< size_t >(val2);
13946 {
13947 PyThreadState* __tstate = wxPyBeginAllowThreads();
13948 (arg1)->SetLineCount(arg2);
13949 wxPyEndAllowThreads(__tstate);
13950 if (PyErr_Occurred()) SWIG_fail;
13951 }
13952 resultobj = SWIG_Py_Void();
13953 return resultobj;
13954fail:
13955 return NULL;
13956}
13957
13958
13959SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13960 PyObject *resultobj = 0;
13961 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13962 size_t arg2 ;
13963 bool result;
13964 void *argp1 = 0 ;
13965 int res1 = 0 ;
13966 size_t val2 ;
13967 int ecode2 = 0 ;
13968 PyObject * obj0 = 0 ;
13969 PyObject * obj1 = 0 ;
13970 char * kwnames[] = {
13971 (char *) "self",(char *) "line", NULL
13972 };
13973
13974 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13975 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13976 if (!SWIG_IsOK(res1)) {
13977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13978 }
13979 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13980 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13981 if (!SWIG_IsOK(ecode2)) {
13982 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13983 }
13984 arg2 = static_cast< size_t >(val2);
13985 {
13986 PyThreadState* __tstate = wxPyBeginAllowThreads();
13987 result = (bool)(arg1)->ScrollToLine(arg2);
13988 wxPyEndAllowThreads(__tstate);
13989 if (PyErr_Occurred()) SWIG_fail;
13990 }
13991 {
13992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13993 }
13994 return resultobj;
13995fail:
13996 return NULL;
13997}
13998
13999
14000SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14001 PyObject *resultobj = 0;
14002 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14003 size_t arg2 ;
14004 void *argp1 = 0 ;
14005 int res1 = 0 ;
14006 size_t val2 ;
14007 int ecode2 = 0 ;
14008 PyObject * obj0 = 0 ;
14009 PyObject * obj1 = 0 ;
14010 char * kwnames[] = {
14011 (char *) "self",(char *) "line", NULL
14012 };
14013
14014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
14015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14016 if (!SWIG_IsOK(res1)) {
14017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14018 }
14019 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14020 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14021 if (!SWIG_IsOK(ecode2)) {
14022 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
14023 }
14024 arg2 = static_cast< size_t >(val2);
14025 {
14026 PyThreadState* __tstate = wxPyBeginAllowThreads();
14027 (arg1)->RefreshLine(arg2);
14028 wxPyEndAllowThreads(__tstate);
14029 if (PyErr_Occurred()) SWIG_fail;
14030 }
14031 resultobj = SWIG_Py_Void();
14032 return resultobj;
14033fail:
14034 return NULL;
14035}
14036
14037
14038SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14039 PyObject *resultobj = 0;
14040 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14041 size_t arg2 ;
14042 size_t arg3 ;
14043 void *argp1 = 0 ;
14044 int res1 = 0 ;
14045 size_t val2 ;
14046 int ecode2 = 0 ;
14047 size_t val3 ;
14048 int ecode3 = 0 ;
14049 PyObject * obj0 = 0 ;
14050 PyObject * obj1 = 0 ;
14051 PyObject * obj2 = 0 ;
14052 char * kwnames[] = {
f460c29d 14053 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
14054 };
14055
14056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14058 if (!SWIG_IsOK(res1)) {
14059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14060 }
14061 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14062 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14063 if (!SWIG_IsOK(ecode2)) {
14064 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
14065 }
14066 arg2 = static_cast< size_t >(val2);
14067 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14068 if (!SWIG_IsOK(ecode3)) {
14069 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
14070 }
14071 arg3 = static_cast< size_t >(val3);
14072 {
14073 PyThreadState* __tstate = wxPyBeginAllowThreads();
14074 (arg1)->RefreshLines(arg2,arg3);
14075 wxPyEndAllowThreads(__tstate);
14076 if (PyErr_Occurred()) SWIG_fail;
14077 }
14078 resultobj = SWIG_Py_Void();
14079 return resultobj;
14080fail:
14081 return NULL;
14082}
14083
14084
14085SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14086 PyObject *resultobj = 0;
14087 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14088 int arg2 ;
14089 int arg3 ;
14090 int result;
14091 void *argp1 = 0 ;
14092 int res1 = 0 ;
14093 int val2 ;
14094 int ecode2 = 0 ;
14095 int val3 ;
14096 int ecode3 = 0 ;
14097 PyObject * obj0 = 0 ;
14098 PyObject * obj1 = 0 ;
14099 PyObject * obj2 = 0 ;
14100 char * kwnames[] = {
14101 (char *) "self",(char *) "x",(char *) "y", NULL
14102 };
14103
14104 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14105 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14106 if (!SWIG_IsOK(res1)) {
14107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14108 }
14109 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14110 ecode2 = SWIG_AsVal_int(obj1, &val2);
14111 if (!SWIG_IsOK(ecode2)) {
14112 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14113 }
14114 arg2 = static_cast< int >(val2);
14115 ecode3 = SWIG_AsVal_int(obj2, &val3);
14116 if (!SWIG_IsOK(ecode3)) {
14117 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14118 }
14119 arg3 = static_cast< int >(val3);
14120 {
14121 PyThreadState* __tstate = wxPyBeginAllowThreads();
14122 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
14123 wxPyEndAllowThreads(__tstate);
14124 if (PyErr_Occurred()) SWIG_fail;
14125 }
14126 resultobj = SWIG_From_int(static_cast< int >(result));
14127 return resultobj;
14128fail:
14129 return NULL;
14130}
14131
14132
14133SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14134 PyObject *resultobj = 0;
14135 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14136 wxPoint *arg2 = 0 ;
14137 int result;
14138 void *argp1 = 0 ;
14139 int res1 = 0 ;
14140 wxPoint temp2 ;
14141 PyObject * obj0 = 0 ;
14142 PyObject * obj1 = 0 ;
14143 char * kwnames[] = {
14144 (char *) "self",(char *) "pt", NULL
14145 };
14146
14147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
14148 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14149 if (!SWIG_IsOK(res1)) {
14150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14151 }
14152 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14153 {
14154 arg2 = &temp2;
14155 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14156 }
14157 {
14158 PyThreadState* __tstate = wxPyBeginAllowThreads();
14159 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
14160 wxPyEndAllowThreads(__tstate);
14161 if (PyErr_Occurred()) SWIG_fail;
14162 }
14163 resultobj = SWIG_From_int(static_cast< int >(result));
14164 return resultobj;
14165fail:
14166 return NULL;
f20a2e1f
RD
14167}
14168
14169
554f62e9
RD
14170SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14171 PyObject *resultobj = 0;
14172 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14173 void *argp1 = 0 ;
14174 int res1 = 0 ;
14175 PyObject *swig_obj[1] ;
14176
14177 if (!args) SWIG_fail;
14178 swig_obj[0] = args;
14179 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14180 if (!SWIG_IsOK(res1)) {
14181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14182 }
14183 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14184 {
14185 PyThreadState* __tstate = wxPyBeginAllowThreads();
14186 (arg1)->RefreshAll();
14187 wxPyEndAllowThreads(__tstate);
14188 if (PyErr_Occurred()) SWIG_fail;
14189 }
14190 resultobj = SWIG_Py_Void();
14191 return resultobj;
14192fail:
14193 return NULL;
d55e5bfc
RD
14194}
14195
14196
554f62e9
RD
14197SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14198 PyObject *resultobj = 0;
14199 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14200 size_t result;
14201 void *argp1 = 0 ;
14202 int res1 = 0 ;
14203 PyObject *swig_obj[1] ;
14204
14205 if (!args) SWIG_fail;
14206 swig_obj[0] = args;
14207 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14208 if (!SWIG_IsOK(res1)) {
14209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14210 }
14211 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14212 {
14213 PyThreadState* __tstate = wxPyBeginAllowThreads();
14214 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
14215 wxPyEndAllowThreads(__tstate);
14216 if (PyErr_Occurred()) SWIG_fail;
14217 }
14218 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14219 return resultobj;
14220fail:
14221 return NULL;
d55e5bfc
RD
14222}
14223
14224
554f62e9
RD
14225SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14226 PyObject *resultobj = 0;
14227 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14228 size_t result;
14229 void *argp1 = 0 ;
14230 int res1 = 0 ;
14231 PyObject *swig_obj[1] ;
14232
14233 if (!args) SWIG_fail;
14234 swig_obj[0] = args;
14235 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14236 if (!SWIG_IsOK(res1)) {
14237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14238 }
14239 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14240 {
14241 PyThreadState* __tstate = wxPyBeginAllowThreads();
14242 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14243 wxPyEndAllowThreads(__tstate);
14244 if (PyErr_Occurred()) SWIG_fail;
14245 }
14246 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14247 return resultobj;
14248fail:
14249 return NULL;
d55e5bfc
RD
14250}
14251
14252
554f62e9
RD
14253SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14254 PyObject *resultobj = 0;
14255 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14256 size_t result;
14257 void *argp1 = 0 ;
14258 int res1 = 0 ;
14259 PyObject *swig_obj[1] ;
14260
14261 if (!args) SWIG_fail;
14262 swig_obj[0] = args;
14263 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14264 if (!SWIG_IsOK(res1)) {
14265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14266 }
14267 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14268 {
14269 PyThreadState* __tstate = wxPyBeginAllowThreads();
14270 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14271 wxPyEndAllowThreads(__tstate);
14272 if (PyErr_Occurred()) SWIG_fail;
14273 }
14274 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14275 return resultobj;
14276fail:
14277 return NULL;
14278}
14279
14280
14281SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14282 PyObject *resultobj = 0;
14283 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14284 size_t arg2 ;
14285 bool result;
14286 void *argp1 = 0 ;
14287 int res1 = 0 ;
14288 size_t val2 ;
14289 int ecode2 = 0 ;
14290 PyObject * obj0 = 0 ;
14291 PyObject * obj1 = 0 ;
14292 char * kwnames[] = {
14293 (char *) "self",(char *) "line", NULL
14294 };
14295
14296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14298 if (!SWIG_IsOK(res1)) {
14299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14300 }
14301 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14302 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14303 if (!SWIG_IsOK(ecode2)) {
14304 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14305 }
14306 arg2 = static_cast< size_t >(val2);
14307 {
14308 PyThreadState* __tstate = wxPyBeginAllowThreads();
14309 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14310 wxPyEndAllowThreads(__tstate);
14311 if (PyErr_Occurred()) SWIG_fail;
14312 }
14313 {
14314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14315 }
14316 return resultobj;
14317fail:
14318 return NULL;
d55e5bfc
RD
14319}
14320
14321
554f62e9
RD
14322SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14323 PyObject *resultobj = 0;
14324 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14325 size_t result;
14326 void *argp1 = 0 ;
14327 int res1 = 0 ;
14328 PyObject *swig_obj[1] ;
14329
14330 if (!args) SWIG_fail;
14331 swig_obj[0] = args;
14332 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14333 if (!SWIG_IsOK(res1)) {
14334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14335 }
14336 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14337 {
14338 PyThreadState* __tstate = wxPyBeginAllowThreads();
14339 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14340 wxPyEndAllowThreads(__tstate);
14341 if (PyErr_Occurred()) SWIG_fail;
14342 }
14343 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14344 return resultobj;
14345fail:
14346 return NULL;
d55e5bfc
RD
14347}
14348
14349
554f62e9
RD
14350SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14351 PyObject *resultobj = 0;
14352 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14353 size_t result;
14354 void *argp1 = 0 ;
14355 int res1 = 0 ;
14356 PyObject *swig_obj[1] ;
14357
14358 if (!args) SWIG_fail;
14359 swig_obj[0] = args;
14360 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14361 if (!SWIG_IsOK(res1)) {
14362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14363 }
14364 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14365 {
14366 PyThreadState* __tstate = wxPyBeginAllowThreads();
14367 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14368 wxPyEndAllowThreads(__tstate);
14369 if (PyErr_Occurred()) SWIG_fail;
14370 }
14371 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14372 return resultobj;
14373fail:
14374 return NULL;
14375}
14376
14377
14378SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14379 PyObject *resultobj = 0;
14380 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14381 size_t arg2 ;
14382 bool arg3 = (bool) false ;
14383 size_t result;
14384 void *argp1 = 0 ;
14385 int res1 = 0 ;
14386 size_t val2 ;
14387 int ecode2 = 0 ;
14388 bool val3 ;
14389 int ecode3 = 0 ;
14390 PyObject * obj0 = 0 ;
14391 PyObject * obj1 = 0 ;
14392 PyObject * obj2 = 0 ;
14393 char * kwnames[] = {
14394 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14395 };
14396
14397 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14398 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14399 if (!SWIG_IsOK(res1)) {
14400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14401 }
14402 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14403 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14404 if (!SWIG_IsOK(ecode2)) {
14405 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14406 }
14407 arg2 = static_cast< size_t >(val2);
14408 if (obj2) {
14409 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14410 if (!SWIG_IsOK(ecode3)) {
14411 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14412 }
14413 arg3 = static_cast< bool >(val3);
14414 }
14415 {
14416 PyThreadState* __tstate = wxPyBeginAllowThreads();
14417 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14418 wxPyEndAllowThreads(__tstate);
14419 if (PyErr_Occurred()) SWIG_fail;
14420 }
14421 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14422 return resultobj;
14423fail:
14424 return NULL;
14425}
14426
14427
14428SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14429 PyObject *resultobj = 0;
14430 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14431 size_t arg2 ;
14432 size_t arg3 ;
14433 int result;
14434 void *argp1 = 0 ;
14435 int res1 = 0 ;
14436 size_t val2 ;
14437 int ecode2 = 0 ;
14438 size_t val3 ;
14439 int ecode3 = 0 ;
14440 PyObject * obj0 = 0 ;
14441 PyObject * obj1 = 0 ;
14442 PyObject * obj2 = 0 ;
14443 char * kwnames[] = {
14444 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14445 };
14446
14447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14449 if (!SWIG_IsOK(res1)) {
14450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14451 }
14452 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14453 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14454 if (!SWIG_IsOK(ecode2)) {
14455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14456 }
14457 arg2 = static_cast< size_t >(val2);
14458 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14459 if (!SWIG_IsOK(ecode3)) {
14460 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14461 }
14462 arg3 = static_cast< size_t >(val3);
14463 {
14464 PyThreadState* __tstate = wxPyBeginAllowThreads();
14465 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14466 wxPyEndAllowThreads(__tstate);
14467 if (PyErr_Occurred()) SWIG_fail;
14468 }
14469 resultobj = SWIG_From_int(static_cast< int >(result));
14470 return resultobj;
14471fail:
14472 return NULL;
d55e5bfc
RD
14473}
14474
14475
554f62e9
RD
14476SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14477 PyObject *obj;
14478 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14479 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14480 return SWIG_Py_Void();
d55e5bfc
RD
14481}
14482
554f62e9
RD
14483SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14484 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
14485}
14486
554f62e9
RD
14487SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14488 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14489 return 1;
d55e5bfc
RD
14490}
14491
14492
554f62e9
RD
14493SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14494 PyObject *pyobj = 0;
14495
14496 {
d55e5bfc 14497#if wxUSE_UNICODE
554f62e9 14498 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
d55e5bfc 14499#else
554f62e9 14500 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
d55e5bfc 14501#endif
554f62e9
RD
14502 }
14503 return pyobj;
14504}
14505
14506
14507SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14508 PyObject *resultobj = 0;
14509 wxWindow *arg1 = (wxWindow *) 0 ;
14510 int arg2 = (int) wxID_ANY ;
14511 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14512 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14513 wxSize const &arg4_defvalue = wxDefaultSize ;
14514 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14515 long arg5 = (long) 0 ;
14516 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14517 wxString *arg6 = (wxString *) &arg6_defvalue ;
14518 wxPyVListBox *result = 0 ;
14519 void *argp1 = 0 ;
14520 int res1 = 0 ;
14521 int val2 ;
14522 int ecode2 = 0 ;
14523 wxPoint temp3 ;
14524 wxSize temp4 ;
14525 long val5 ;
14526 int ecode5 = 0 ;
14527 bool temp6 = false ;
14528 PyObject * obj0 = 0 ;
14529 PyObject * obj1 = 0 ;
14530 PyObject * obj2 = 0 ;
14531 PyObject * obj3 = 0 ;
14532 PyObject * obj4 = 0 ;
14533 PyObject * obj5 = 0 ;
14534 char * kwnames[] = {
14535 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14536 };
14537
14538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14540 if (!SWIG_IsOK(res1)) {
14541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14542 }
14543 arg1 = reinterpret_cast< wxWindow * >(argp1);
14544 if (obj1) {
14545 ecode2 = SWIG_AsVal_int(obj1, &val2);
14546 if (!SWIG_IsOK(ecode2)) {
14547 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14548 }
14549 arg2 = static_cast< int >(val2);
14550 }
14551 if (obj2) {
d55e5bfc 14552 {
554f62e9
RD
14553 arg3 = &temp3;
14554 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 14555 }
554f62e9
RD
14556 }
14557 if (obj3) {
d55e5bfc 14558 {
554f62e9
RD
14559 arg4 = &temp4;
14560 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14561 }
554f62e9
RD
14562 }
14563 if (obj4) {
14564 ecode5 = SWIG_AsVal_long(obj4, &val5);
14565 if (!SWIG_IsOK(ecode5)) {
14566 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14567 }
14568 arg5 = static_cast< long >(val5);
14569 }
14570 if (obj5) {
d55e5bfc 14571 {
554f62e9
RD
14572 arg6 = wxString_in_helper(obj5);
14573 if (arg6 == NULL) SWIG_fail;
14574 temp6 = true;
14575 }
14576 }
14577 {
14578 if (!wxPyCheckForApp()) SWIG_fail;
14579 PyThreadState* __tstate = wxPyBeginAllowThreads();
14580 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14581 wxPyEndAllowThreads(__tstate);
14582 if (PyErr_Occurred()) SWIG_fail;
14583 }
14584 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14585 {
14586 if (temp6)
14587 delete arg6;
14588 }
14589 return resultobj;
14590fail:
14591 {
14592 if (temp6)
14593 delete arg6;
14594 }
14595 return NULL;
d55e5bfc
RD
14596}
14597
14598
554f62e9
RD
14599SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14600 PyObject *resultobj = 0;
14601 wxPyVListBox *result = 0 ;
14602
14603 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14604 {
14605 if (!wxPyCheckForApp()) SWIG_fail;
14606 PyThreadState* __tstate = wxPyBeginAllowThreads();
14607 result = (wxPyVListBox *)new wxPyVListBox();
14608 wxPyEndAllowThreads(__tstate);
14609 if (PyErr_Occurred()) SWIG_fail;
14610 }
14611 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14612 return resultobj;
14613fail:
14614 return NULL;
14615}
14616
14617
14618SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14619 PyObject *resultobj = 0;
14620 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14621 PyObject *arg2 = (PyObject *) 0 ;
14622 PyObject *arg3 = (PyObject *) 0 ;
14623 void *argp1 = 0 ;
14624 int res1 = 0 ;
14625 PyObject * obj0 = 0 ;
14626 PyObject * obj1 = 0 ;
14627 PyObject * obj2 = 0 ;
14628 char * kwnames[] = {
14629 (char *) "self",(char *) "self",(char *) "_class", NULL
14630 };
14631
14632 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14633 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14634 if (!SWIG_IsOK(res1)) {
14635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14636 }
14637 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14638 arg2 = obj1;
14639 arg3 = obj2;
14640 {
14641 PyThreadState* __tstate = wxPyBeginAllowThreads();
14642 (arg1)->_setCallbackInfo(arg2,arg3);
14643 wxPyEndAllowThreads(__tstate);
14644 if (PyErr_Occurred()) SWIG_fail;
14645 }
14646 resultobj = SWIG_Py_Void();
14647 return resultobj;
14648fail:
14649 return NULL;
14650}
14651
14652
14653SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14654 PyObject *resultobj = 0;
14655 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14656 wxWindow *arg2 = (wxWindow *) 0 ;
14657 int arg3 = (int) wxID_ANY ;
14658 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14659 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14660 wxSize const &arg5_defvalue = wxDefaultSize ;
14661 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14662 long arg6 = (long) 0 ;
14663 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14664 wxString *arg7 = (wxString *) &arg7_defvalue ;
14665 bool result;
14666 void *argp1 = 0 ;
14667 int res1 = 0 ;
14668 void *argp2 = 0 ;
14669 int res2 = 0 ;
14670 int val3 ;
14671 int ecode3 = 0 ;
14672 wxPoint temp4 ;
14673 wxSize temp5 ;
14674 long val6 ;
14675 int ecode6 = 0 ;
14676 bool temp7 = false ;
14677 PyObject * obj0 = 0 ;
14678 PyObject * obj1 = 0 ;
14679 PyObject * obj2 = 0 ;
14680 PyObject * obj3 = 0 ;
14681 PyObject * obj4 = 0 ;
14682 PyObject * obj5 = 0 ;
14683 PyObject * obj6 = 0 ;
14684 char * kwnames[] = {
14685 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14686 };
14687
14688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14690 if (!SWIG_IsOK(res1)) {
14691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14692 }
14693 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14694 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14695 if (!SWIG_IsOK(res2)) {
14696 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14697 }
14698 arg2 = reinterpret_cast< wxWindow * >(argp2);
14699 if (obj2) {
14700 ecode3 = SWIG_AsVal_int(obj2, &val3);
14701 if (!SWIG_IsOK(ecode3)) {
14702 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14703 }
14704 arg3 = static_cast< int >(val3);
14705 }
14706 if (obj3) {
d55e5bfc 14707 {
554f62e9
RD
14708 arg4 = &temp4;
14709 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14710 }
554f62e9
RD
14711 }
14712 if (obj4) {
d55e5bfc 14713 {
554f62e9
RD
14714 arg5 = &temp5;
14715 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 14716 }
554f62e9
RD
14717 }
14718 if (obj5) {
14719 ecode6 = SWIG_AsVal_long(obj5, &val6);
14720 if (!SWIG_IsOK(ecode6)) {
14721 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14722 }
14723 arg6 = static_cast< long >(val6);
14724 }
14725 if (obj6) {
d55e5bfc 14726 {
554f62e9
RD
14727 arg7 = wxString_in_helper(obj6);
14728 if (arg7 == NULL) SWIG_fail;
14729 temp7 = true;
d55e5bfc 14730 }
554f62e9
RD
14731 }
14732 {
14733 PyThreadState* __tstate = wxPyBeginAllowThreads();
14734 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14735 wxPyEndAllowThreads(__tstate);
14736 if (PyErr_Occurred()) SWIG_fail;
14737 }
14738 {
14739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14740 }
14741 {
14742 if (temp7)
14743 delete arg7;
14744 }
14745 return resultobj;
14746fail:
14747 {
14748 if (temp7)
14749 delete arg7;
14750 }
14751 return NULL;
d55e5bfc
RD
14752}
14753
14754
554f62e9
RD
14755SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14756 PyObject *resultobj = 0;
14757 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14758 size_t result;
14759 void *argp1 = 0 ;
14760 int res1 = 0 ;
14761 PyObject *swig_obj[1] ;
14762
14763 if (!args) SWIG_fail;
14764 swig_obj[0] = args;
14765 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14766 if (!SWIG_IsOK(res1)) {
14767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14768 }
14769 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14770 {
14771 PyThreadState* __tstate = wxPyBeginAllowThreads();
14772 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14773 wxPyEndAllowThreads(__tstate);
14774 if (PyErr_Occurred()) SWIG_fail;
14775 }
14776 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14777 return resultobj;
14778fail:
14779 return NULL;
d55e5bfc
RD
14780}
14781
14782
554f62e9
RD
14783SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14784 PyObject *resultobj = 0;
14785 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14786 bool result;
14787 void *argp1 = 0 ;
14788 int res1 = 0 ;
14789 PyObject *swig_obj[1] ;
14790
14791 if (!args) SWIG_fail;
14792 swig_obj[0] = args;
14793 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14794 if (!SWIG_IsOK(res1)) {
14795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14796 }
14797 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14798 {
14799 PyThreadState* __tstate = wxPyBeginAllowThreads();
14800 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14801 wxPyEndAllowThreads(__tstate);
14802 if (PyErr_Occurred()) SWIG_fail;
14803 }
14804 {
14805 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14806 }
14807 return resultobj;
14808fail:
14809 return NULL;
d55e5bfc
RD
14810}
14811
14812
554f62e9
RD
14813SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14814 PyObject *resultobj = 0;
14815 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14816 int result;
14817 void *argp1 = 0 ;
14818 int res1 = 0 ;
14819 PyObject *swig_obj[1] ;
14820
14821 if (!args) SWIG_fail;
14822 swig_obj[0] = args;
14823 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14824 if (!SWIG_IsOK(res1)) {
14825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14826 }
14827 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14828 {
14829 PyThreadState* __tstate = wxPyBeginAllowThreads();
14830 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14831 wxPyEndAllowThreads(__tstate);
14832 if (PyErr_Occurred()) SWIG_fail;
14833 }
14834 resultobj = SWIG_From_int(static_cast< int >(result));
14835 return resultobj;
14836fail:
14837 return NULL;
14838}
14839
14840
14841SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14842 PyObject *resultobj = 0;
14843 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14844 size_t arg2 ;
14845 bool result;
14846 void *argp1 = 0 ;
14847 int res1 = 0 ;
14848 size_t val2 ;
14849 int ecode2 = 0 ;
14850 PyObject * obj0 = 0 ;
14851 PyObject * obj1 = 0 ;
14852 char * kwnames[] = {
14853 (char *) "self",(char *) "item", NULL
14854 };
14855
14856 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14858 if (!SWIG_IsOK(res1)) {
14859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14860 }
14861 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14862 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14863 if (!SWIG_IsOK(ecode2)) {
14864 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14865 }
14866 arg2 = static_cast< size_t >(val2);
14867 {
14868 PyThreadState* __tstate = wxPyBeginAllowThreads();
14869 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14870 wxPyEndAllowThreads(__tstate);
14871 if (PyErr_Occurred()) SWIG_fail;
14872 }
14873 {
14874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14875 }
14876 return resultobj;
14877fail:
14878 return NULL;
14879}
14880
14881
14882SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14883 PyObject *resultobj = 0;
14884 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14885 size_t arg2 ;
14886 bool result;
14887 void *argp1 = 0 ;
14888 int res1 = 0 ;
14889 size_t val2 ;
14890 int ecode2 = 0 ;
14891 PyObject * obj0 = 0 ;
14892 PyObject * obj1 = 0 ;
14893 char * kwnames[] = {
14894 (char *) "self",(char *) "item", NULL
14895 };
14896
14897 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14898 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14899 if (!SWIG_IsOK(res1)) {
14900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14901 }
14902 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14903 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14904 if (!SWIG_IsOK(ecode2)) {
14905 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14906 }
14907 arg2 = static_cast< size_t >(val2);
14908 {
14909 PyThreadState* __tstate = wxPyBeginAllowThreads();
14910 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14911 wxPyEndAllowThreads(__tstate);
14912 if (PyErr_Occurred()) SWIG_fail;
14913 }
14914 {
14915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14916 }
14917 return resultobj;
14918fail:
14919 return NULL;
d55e5bfc
RD
14920}
14921
14922
554f62e9
RD
14923SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14924 PyObject *resultobj = 0;
14925 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14926 size_t result;
14927 void *argp1 = 0 ;
14928 int res1 = 0 ;
14929 PyObject *swig_obj[1] ;
14930
14931 if (!args) SWIG_fail;
14932 swig_obj[0] = args;
14933 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14934 if (!SWIG_IsOK(res1)) {
14935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14936 }
14937 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14938 {
14939 PyThreadState* __tstate = wxPyBeginAllowThreads();
14940 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14941 wxPyEndAllowThreads(__tstate);
14942 if (PyErr_Occurred()) SWIG_fail;
14943 }
14944 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14945 return resultobj;
14946fail:
14947 return NULL;
d55e5bfc
RD
14948}
14949
14950
554f62e9
RD
14951SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14952 PyObject *resultobj = 0;
14953 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14954 PyObject *result = 0 ;
14955 void *argp1 = 0 ;
14956 int res1 = 0 ;
14957 PyObject *swig_obj[1] ;
14958
14959 if (!args) SWIG_fail;
14960 swig_obj[0] = args;
14961 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14962 if (!SWIG_IsOK(res1)) {
14963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14964 }
14965 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14966 {
14967 PyThreadState* __tstate = wxPyBeginAllowThreads();
14968 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14969 wxPyEndAllowThreads(__tstate);
14970 if (PyErr_Occurred()) SWIG_fail;
14971 }
14972 resultobj = result;
14973 return resultobj;
14974fail:
14975 return NULL;
14976}
14977
14978
14979SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14980 PyObject *resultobj = 0;
14981 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14982 unsigned long arg2 ;
14983 PyObject *result = 0 ;
14984 void *argp1 = 0 ;
14985 int res1 = 0 ;
14986 unsigned long val2 ;
14987 int ecode2 = 0 ;
14988 PyObject * obj0 = 0 ;
14989 PyObject * obj1 = 0 ;
14990 char * kwnames[] = {
14991 (char *) "self",(char *) "cookie", NULL
14992 };
14993
14994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14996 if (!SWIG_IsOK(res1)) {
14997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14998 }
14999 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15000 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
15001 if (!SWIG_IsOK(ecode2)) {
15002 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
15003 }
15004 arg2 = static_cast< unsigned long >(val2);
15005 {
15006 PyThreadState* __tstate = wxPyBeginAllowThreads();
15007 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
15008 wxPyEndAllowThreads(__tstate);
15009 if (PyErr_Occurred()) SWIG_fail;
15010 }
15011 resultobj = result;
15012 return resultobj;
15013fail:
15014 return NULL;
d55e5bfc
RD
15015}
15016
15017
554f62e9
RD
15018SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15019 PyObject *resultobj = 0;
15020 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15021 wxPoint result;
15022 void *argp1 = 0 ;
15023 int res1 = 0 ;
15024 PyObject *swig_obj[1] ;
15025
15026 if (!args) SWIG_fail;
15027 swig_obj[0] = args;
15028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15029 if (!SWIG_IsOK(res1)) {
15030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15031 }
15032 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15033 {
15034 PyThreadState* __tstate = wxPyBeginAllowThreads();
15035 result = ((wxPyVListBox const *)arg1)->GetMargins();
15036 wxPyEndAllowThreads(__tstate);
15037 if (PyErr_Occurred()) SWIG_fail;
15038 }
15039 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
15040 return resultobj;
15041fail:
15042 return NULL;
d55e5bfc
RD
15043}
15044
15045
554f62e9
RD
15046SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15047 PyObject *resultobj = 0;
15048 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15049 wxColour *result = 0 ;
15050 void *argp1 = 0 ;
15051 int res1 = 0 ;
15052 PyObject *swig_obj[1] ;
15053
15054 if (!args) SWIG_fail;
15055 swig_obj[0] = args;
15056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15057 if (!SWIG_IsOK(res1)) {
15058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15059 }
15060 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15061 {
15062 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15063 {
554f62e9
RD
15064 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
15065 result = (wxColour *) &_result_ref;
093d3ff1 15066 }
554f62e9
RD
15067 wxPyEndAllowThreads(__tstate);
15068 if (PyErr_Occurred()) SWIG_fail;
15069 }
15070 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
15071 return resultobj;
15072fail:
15073 return NULL;
15074}
15075
15076
15077SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15078 PyObject *resultobj = 0;
15079 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15080 size_t arg2 ;
15081 void *argp1 = 0 ;
15082 int res1 = 0 ;
15083 size_t val2 ;
15084 int ecode2 = 0 ;
15085 PyObject * obj0 = 0 ;
15086 PyObject * obj1 = 0 ;
15087 char * kwnames[] = {
15088 (char *) "self",(char *) "count", NULL
15089 };
15090
15091 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15092 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15093 if (!SWIG_IsOK(res1)) {
15094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15095 }
15096 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15097 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15098 if (!SWIG_IsOK(ecode2)) {
15099 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15100 }
15101 arg2 = static_cast< size_t >(val2);
15102 {
15103 PyThreadState* __tstate = wxPyBeginAllowThreads();
15104 (arg1)->SetItemCount(arg2);
15105 wxPyEndAllowThreads(__tstate);
15106 if (PyErr_Occurred()) SWIG_fail;
15107 }
15108 resultobj = SWIG_Py_Void();
15109 return resultobj;
15110fail:
15111 return NULL;
d55e5bfc
RD
15112}
15113
15114
554f62e9
RD
15115SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15116 PyObject *resultobj = 0;
15117 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15118 void *argp1 = 0 ;
15119 int res1 = 0 ;
15120 PyObject *swig_obj[1] ;
15121
15122 if (!args) SWIG_fail;
15123 swig_obj[0] = args;
15124 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15125 if (!SWIG_IsOK(res1)) {
15126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15127 }
15128 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15129 {
15130 PyThreadState* __tstate = wxPyBeginAllowThreads();
15131 (arg1)->Clear();
15132 wxPyEndAllowThreads(__tstate);
15133 if (PyErr_Occurred()) SWIG_fail;
15134 }
15135 resultobj = SWIG_Py_Void();
15136 return resultobj;
15137fail:
15138 return NULL;
15139}
15140
15141
15142SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15143 PyObject *resultobj = 0;
15144 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15145 int arg2 ;
15146 void *argp1 = 0 ;
15147 int res1 = 0 ;
15148 int val2 ;
15149 int ecode2 = 0 ;
15150 PyObject * obj0 = 0 ;
15151 PyObject * obj1 = 0 ;
15152 char * kwnames[] = {
15153 (char *) "self",(char *) "selection", NULL
15154 };
15155
15156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
15157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15158 if (!SWIG_IsOK(res1)) {
15159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15160 }
15161 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15162 ecode2 = SWIG_AsVal_int(obj1, &val2);
15163 if (!SWIG_IsOK(ecode2)) {
15164 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15165 }
15166 arg2 = static_cast< int >(val2);
15167 {
15168 PyThreadState* __tstate = wxPyBeginAllowThreads();
15169 (arg1)->SetSelection(arg2);
15170 wxPyEndAllowThreads(__tstate);
15171 if (PyErr_Occurred()) SWIG_fail;
15172 }
15173 resultobj = SWIG_Py_Void();
15174 return resultobj;
15175fail:
15176 return NULL;
15177}
15178
15179
15180SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15181 PyObject *resultobj = 0;
15182 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15183 size_t arg2 ;
15184 bool arg3 = (bool) true ;
15185 bool result;
15186 void *argp1 = 0 ;
15187 int res1 = 0 ;
15188 size_t val2 ;
15189 int ecode2 = 0 ;
15190 bool val3 ;
15191 int ecode3 = 0 ;
15192 PyObject * obj0 = 0 ;
15193 PyObject * obj1 = 0 ;
15194 PyObject * obj2 = 0 ;
15195 char * kwnames[] = {
15196 (char *) "self",(char *) "item",(char *) "select", NULL
15197 };
15198
15199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15200 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15201 if (!SWIG_IsOK(res1)) {
15202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15203 }
15204 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15205 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15206 if (!SWIG_IsOK(ecode2)) {
15207 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15208 }
15209 arg2 = static_cast< size_t >(val2);
15210 if (obj2) {
15211 ecode3 = SWIG_AsVal_bool(obj2, &val3);
15212 if (!SWIG_IsOK(ecode3)) {
15213 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15214 }
15215 arg3 = static_cast< bool >(val3);
15216 }
15217 {
15218 PyThreadState* __tstate = wxPyBeginAllowThreads();
15219 result = (bool)(arg1)->Select(arg2,arg3);
15220 wxPyEndAllowThreads(__tstate);
15221 if (PyErr_Occurred()) SWIG_fail;
15222 }
15223 {
15224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15225 }
15226 return resultobj;
15227fail:
15228 return NULL;
15229}
15230
15231
15232SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15233 PyObject *resultobj = 0;
15234 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15235 size_t arg2 ;
15236 size_t arg3 ;
15237 bool result;
15238 void *argp1 = 0 ;
15239 int res1 = 0 ;
15240 size_t val2 ;
15241 int ecode2 = 0 ;
15242 size_t val3 ;
15243 int ecode3 = 0 ;
15244 PyObject * obj0 = 0 ;
15245 PyObject * obj1 = 0 ;
15246 PyObject * obj2 = 0 ;
15247 char * kwnames[] = {
f460c29d 15248 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
15249 };
15250
15251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15253 if (!SWIG_IsOK(res1)) {
15254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15255 }
15256 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15257 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15258 if (!SWIG_IsOK(ecode2)) {
15259 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15260 }
15261 arg2 = static_cast< size_t >(val2);
15262 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15263 if (!SWIG_IsOK(ecode3)) {
15264 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15265 }
15266 arg3 = static_cast< size_t >(val3);
15267 {
15268 PyThreadState* __tstate = wxPyBeginAllowThreads();
15269 result = (bool)(arg1)->SelectRange(arg2,arg3);
15270 wxPyEndAllowThreads(__tstate);
15271 if (PyErr_Occurred()) SWIG_fail;
15272 }
15273 {
15274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15275 }
15276 return resultobj;
15277fail:
15278 return NULL;
15279}
15280
15281
15282SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15283 PyObject *resultobj = 0;
15284 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15285 size_t arg2 ;
15286 void *argp1 = 0 ;
15287 int res1 = 0 ;
15288 size_t val2 ;
15289 int ecode2 = 0 ;
15290 PyObject * obj0 = 0 ;
15291 PyObject * obj1 = 0 ;
15292 char * kwnames[] = {
15293 (char *) "self",(char *) "item", NULL
15294 };
15295
15296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15298 if (!SWIG_IsOK(res1)) {
15299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15300 }
15301 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15302 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15303 if (!SWIG_IsOK(ecode2)) {
15304 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15305 }
15306 arg2 = static_cast< size_t >(val2);
15307 {
15308 PyThreadState* __tstate = wxPyBeginAllowThreads();
15309 (arg1)->Toggle(arg2);
15310 wxPyEndAllowThreads(__tstate);
15311 if (PyErr_Occurred()) SWIG_fail;
15312 }
15313 resultobj = SWIG_Py_Void();
15314 return resultobj;
15315fail:
15316 return NULL;
d55e5bfc
RD
15317}
15318
15319
554f62e9
RD
15320SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15321 PyObject *resultobj = 0;
15322 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15323 bool result;
15324 void *argp1 = 0 ;
15325 int res1 = 0 ;
15326 PyObject *swig_obj[1] ;
15327
15328 if (!args) SWIG_fail;
15329 swig_obj[0] = args;
15330 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15331 if (!SWIG_IsOK(res1)) {
15332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15333 }
15334 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15335 {
15336 PyThreadState* __tstate = wxPyBeginAllowThreads();
15337 result = (bool)(arg1)->SelectAll();
15338 wxPyEndAllowThreads(__tstate);
15339 if (PyErr_Occurred()) SWIG_fail;
15340 }
15341 {
15342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15343 }
15344 return resultobj;
15345fail:
15346 return NULL;
d55e5bfc
RD
15347}
15348
15349
554f62e9
RD
15350SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15351 PyObject *resultobj = 0;
15352 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15353 bool result;
15354 void *argp1 = 0 ;
15355 int res1 = 0 ;
15356 PyObject *swig_obj[1] ;
15357
15358 if (!args) SWIG_fail;
15359 swig_obj[0] = args;
15360 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15361 if (!SWIG_IsOK(res1)) {
15362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15363 }
15364 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15365 {
15366 PyThreadState* __tstate = wxPyBeginAllowThreads();
15367 result = (bool)(arg1)->DeselectAll();
15368 wxPyEndAllowThreads(__tstate);
15369 if (PyErr_Occurred()) SWIG_fail;
15370 }
15371 {
15372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15373 }
15374 return resultobj;
15375fail:
15376 return NULL;
15377}
15378
15379
15380SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15381 PyObject *resultobj = 0;
15382 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15383 wxPoint *arg2 = 0 ;
15384 void *argp1 = 0 ;
15385 int res1 = 0 ;
15386 wxPoint temp2 ;
15387 PyObject * obj0 = 0 ;
15388 PyObject * obj1 = 0 ;
15389 char * kwnames[] = {
15390 (char *) "self",(char *) "pt", NULL
15391 };
15392
15393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15395 if (!SWIG_IsOK(res1)) {
15396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15397 }
15398 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15399 {
15400 arg2 = &temp2;
15401 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15402 }
15403 {
15404 PyThreadState* __tstate = wxPyBeginAllowThreads();
15405 (arg1)->SetMargins((wxPoint const &)*arg2);
15406 wxPyEndAllowThreads(__tstate);
15407 if (PyErr_Occurred()) SWIG_fail;
15408 }
15409 resultobj = SWIG_Py_Void();
15410 return resultobj;
15411fail:
15412 return NULL;
15413}
15414
15415
15416SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15417 PyObject *resultobj = 0;
15418 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15419 int arg2 ;
15420 int arg3 ;
15421 void *argp1 = 0 ;
15422 int res1 = 0 ;
15423 int val2 ;
15424 int ecode2 = 0 ;
15425 int val3 ;
15426 int ecode3 = 0 ;
15427 PyObject * obj0 = 0 ;
15428 PyObject * obj1 = 0 ;
15429 PyObject * obj2 = 0 ;
15430 char * kwnames[] = {
15431 (char *) "self",(char *) "x",(char *) "y", NULL
15432 };
15433
15434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15436 if (!SWIG_IsOK(res1)) {
15437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15438 }
15439 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15440 ecode2 = SWIG_AsVal_int(obj1, &val2);
15441 if (!SWIG_IsOK(ecode2)) {
15442 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15443 }
15444 arg2 = static_cast< int >(val2);
15445 ecode3 = SWIG_AsVal_int(obj2, &val3);
15446 if (!SWIG_IsOK(ecode3)) {
15447 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15448 }
15449 arg3 = static_cast< int >(val3);
15450 {
15451 PyThreadState* __tstate = wxPyBeginAllowThreads();
15452 (arg1)->SetMargins(arg2,arg3);
15453 wxPyEndAllowThreads(__tstate);
15454 if (PyErr_Occurred()) SWIG_fail;
15455 }
15456 resultobj = SWIG_Py_Void();
15457 return resultobj;
15458fail:
15459 return NULL;
15460}
15461
15462
15463SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15464 PyObject *resultobj = 0;
15465 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15466 wxColour *arg2 = 0 ;
15467 void *argp1 = 0 ;
15468 int res1 = 0 ;
15469 wxColour temp2 ;
15470 PyObject * obj0 = 0 ;
15471 PyObject * obj1 = 0 ;
15472 char * kwnames[] = {
15473 (char *) "self",(char *) "col", NULL
15474 };
15475
15476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15478 if (!SWIG_IsOK(res1)) {
15479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15480 }
15481 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15482 {
15483 arg2 = &temp2;
15484 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15485 }
15486 {
15487 PyThreadState* __tstate = wxPyBeginAllowThreads();
15488 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15489 wxPyEndAllowThreads(__tstate);
15490 if (PyErr_Occurred()) SWIG_fail;
15491 }
15492 resultobj = SWIG_Py_Void();
15493 return resultobj;
15494fail:
15495 return NULL;
15496}
15497
15498
1c71765a
RD
15499SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15500 PyObject *resultobj = 0;
15501 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15502 wxDC *arg2 = 0 ;
15503 wxRect *arg3 = 0 ;
15504 size_t arg4 ;
15505 void *argp1 = 0 ;
15506 int res1 = 0 ;
15507 void *argp2 = 0 ;
15508 int res2 = 0 ;
15509 wxRect temp3 ;
15510 size_t val4 ;
15511 int ecode4 = 0 ;
15512 PyObject * obj0 = 0 ;
15513 PyObject * obj1 = 0 ;
15514 PyObject * obj2 = 0 ;
15515 PyObject * obj3 = 0 ;
15516 char * kwnames[] = {
15517 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15518 };
15519
15520 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15521 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15522 if (!SWIG_IsOK(res1)) {
15523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15524 }
15525 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15526 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15527 if (!SWIG_IsOK(res2)) {
15528 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15529 }
15530 if (!argp2) {
15531 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15532 }
15533 arg2 = reinterpret_cast< wxDC * >(argp2);
15534 {
15535 arg3 = &temp3;
15536 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15537 }
15538 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15539 if (!SWIG_IsOK(ecode4)) {
15540 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15541 }
15542 arg4 = static_cast< size_t >(val4);
15543 {
15544 PyThreadState* __tstate = wxPyBeginAllowThreads();
15545 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15546 wxPyEndAllowThreads(__tstate);
15547 if (PyErr_Occurred()) SWIG_fail;
15548 }
15549 resultobj = SWIG_Py_Void();
15550 return resultobj;
15551fail:
15552 return NULL;
15553}
15554
15555
15556SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15557 PyObject *resultobj = 0;
15558 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15559 wxDC *arg2 = 0 ;
15560 wxRect *arg3 = 0 ;
15561 size_t arg4 ;
15562 void *argp1 = 0 ;
15563 int res1 = 0 ;
15564 void *argp2 = 0 ;
15565 int res2 = 0 ;
15566 wxRect temp3 ;
15567 size_t val4 ;
15568 int ecode4 = 0 ;
15569 PyObject * obj0 = 0 ;
15570 PyObject * obj1 = 0 ;
15571 PyObject * obj2 = 0 ;
15572 PyObject * obj3 = 0 ;
15573 char * kwnames[] = {
15574 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15575 };
15576
15577 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15578 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15579 if (!SWIG_IsOK(res1)) {
15580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15581 }
15582 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15583 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15584 if (!SWIG_IsOK(res2)) {
15585 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15586 }
15587 if (!argp2) {
15588 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15589 }
15590 arg2 = reinterpret_cast< wxDC * >(argp2);
15591 {
15592 arg3 = &temp3;
15593 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15594 }
15595 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15596 if (!SWIG_IsOK(ecode4)) {
15597 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15598 }
15599 arg4 = static_cast< size_t >(val4);
15600 {
15601 PyThreadState* __tstate = wxPyBeginAllowThreads();
15602 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15603 wxPyEndAllowThreads(__tstate);
15604 if (PyErr_Occurred()) SWIG_fail;
15605 }
15606 resultobj = SWIG_Py_Void();
15607 return resultobj;
15608fail:
15609 return NULL;
15610}
15611
15612
554f62e9
RD
15613SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15614 PyObject *obj;
15615 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15616 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15617 return SWIG_Py_Void();
15618}
15619
15620SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15621 return SWIG_Python_InitShadowInstance(args);
15622}
15623
15624SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15625 PyObject *resultobj = 0;
15626 wxWindow *arg1 = (wxWindow *) 0 ;
15627 int arg2 = (int) wxID_ANY ;
15628 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15629 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15630 wxSize const &arg4_defvalue = wxDefaultSize ;
15631 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15632 long arg5 = (long) 0 ;
15633 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15634 wxString *arg6 = (wxString *) &arg6_defvalue ;
15635 wxPyHtmlListBox *result = 0 ;
15636 void *argp1 = 0 ;
15637 int res1 = 0 ;
15638 int val2 ;
15639 int ecode2 = 0 ;
15640 wxPoint temp3 ;
15641 wxSize temp4 ;
15642 long val5 ;
15643 int ecode5 = 0 ;
15644 bool temp6 = false ;
15645 PyObject * obj0 = 0 ;
15646 PyObject * obj1 = 0 ;
15647 PyObject * obj2 = 0 ;
15648 PyObject * obj3 = 0 ;
15649 PyObject * obj4 = 0 ;
15650 PyObject * obj5 = 0 ;
15651 char * kwnames[] = {
15652 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15653 };
15654
15655 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15656 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15657 if (!SWIG_IsOK(res1)) {
15658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15659 }
15660 arg1 = reinterpret_cast< wxWindow * >(argp1);
15661 if (obj1) {
15662 ecode2 = SWIG_AsVal_int(obj1, &val2);
15663 if (!SWIG_IsOK(ecode2)) {
15664 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15665 }
15666 arg2 = static_cast< int >(val2);
15667 }
15668 if (obj2) {
093d3ff1 15669 {
554f62e9
RD
15670 arg3 = &temp3;
15671 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 15672 }
554f62e9
RD
15673 }
15674 if (obj3) {
d55e5bfc 15675 {
554f62e9
RD
15676 arg4 = &temp4;
15677 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 15678 }
554f62e9
RD
15679 }
15680 if (obj4) {
15681 ecode5 = SWIG_AsVal_long(obj4, &val5);
15682 if (!SWIG_IsOK(ecode5)) {
15683 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15684 }
15685 arg5 = static_cast< long >(val5);
15686 }
15687 if (obj5) {
d55e5bfc 15688 {
554f62e9
RD
15689 arg6 = wxString_in_helper(obj5);
15690 if (arg6 == NULL) SWIG_fail;
15691 temp6 = true;
15692 }
15693 }
15694 {
15695 if (!wxPyCheckForApp()) SWIG_fail;
15696 PyThreadState* __tstate = wxPyBeginAllowThreads();
15697 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15698 wxPyEndAllowThreads(__tstate);
15699 if (PyErr_Occurred()) SWIG_fail;
15700 }
15701 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15702 {
15703 if (temp6)
15704 delete arg6;
15705 }
15706 return resultobj;
15707fail:
15708 {
15709 if (temp6)
15710 delete arg6;
15711 }
15712 return NULL;
d55e5bfc
RD
15713}
15714
15715
554f62e9
RD
15716SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15717 PyObject *resultobj = 0;
15718 wxPyHtmlListBox *result = 0 ;
15719
15720 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15721 {
15722 if (!wxPyCheckForApp()) SWIG_fail;
15723 PyThreadState* __tstate = wxPyBeginAllowThreads();
15724 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15725 wxPyEndAllowThreads(__tstate);
15726 if (PyErr_Occurred()) SWIG_fail;
15727 }
15728 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15729 return resultobj;
15730fail:
15731 return NULL;
15732}
15733
15734
15735SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15736 PyObject *resultobj = 0;
15737 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15738 PyObject *arg2 = (PyObject *) 0 ;
15739 PyObject *arg3 = (PyObject *) 0 ;
15740 void *argp1 = 0 ;
15741 int res1 = 0 ;
15742 PyObject * obj0 = 0 ;
15743 PyObject * obj1 = 0 ;
15744 PyObject * obj2 = 0 ;
15745 char * kwnames[] = {
15746 (char *) "self",(char *) "self",(char *) "_class", NULL
15747 };
15748
15749 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15750 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15751 if (!SWIG_IsOK(res1)) {
15752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15753 }
15754 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15755 arg2 = obj1;
15756 arg3 = obj2;
15757 {
15758 PyThreadState* __tstate = wxPyBeginAllowThreads();
15759 (arg1)->_setCallbackInfo(arg2,arg3);
15760 wxPyEndAllowThreads(__tstate);
15761 if (PyErr_Occurred()) SWIG_fail;
15762 }
15763 resultobj = SWIG_Py_Void();
15764 return resultobj;
15765fail:
15766 return NULL;
15767}
15768
15769
15770SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15771 PyObject *resultobj = 0;
15772 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15773 wxWindow *arg2 = (wxWindow *) 0 ;
15774 int arg3 = (int) wxID_ANY ;
15775 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15776 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15777 wxSize const &arg5_defvalue = wxDefaultSize ;
15778 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15779 long arg6 = (long) 0 ;
15780 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15781 wxString *arg7 = (wxString *) &arg7_defvalue ;
15782 bool result;
15783 void *argp1 = 0 ;
15784 int res1 = 0 ;
15785 void *argp2 = 0 ;
15786 int res2 = 0 ;
15787 int val3 ;
15788 int ecode3 = 0 ;
15789 wxPoint temp4 ;
15790 wxSize temp5 ;
15791 long val6 ;
15792 int ecode6 = 0 ;
15793 bool temp7 = false ;
15794 PyObject * obj0 = 0 ;
15795 PyObject * obj1 = 0 ;
15796 PyObject * obj2 = 0 ;
15797 PyObject * obj3 = 0 ;
15798 PyObject * obj4 = 0 ;
15799 PyObject * obj5 = 0 ;
15800 PyObject * obj6 = 0 ;
15801 char * kwnames[] = {
15802 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15803 };
15804
15805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15807 if (!SWIG_IsOK(res1)) {
15808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15809 }
15810 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15811 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15812 if (!SWIG_IsOK(res2)) {
15813 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15814 }
15815 arg2 = reinterpret_cast< wxWindow * >(argp2);
15816 if (obj2) {
15817 ecode3 = SWIG_AsVal_int(obj2, &val3);
15818 if (!SWIG_IsOK(ecode3)) {
15819 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15820 }
15821 arg3 = static_cast< int >(val3);
15822 }
15823 if (obj3) {
093d3ff1 15824 {
554f62e9
RD
15825 arg4 = &temp4;
15826 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 15827 }
554f62e9
RD
15828 }
15829 if (obj4) {
d55e5bfc 15830 {
554f62e9
RD
15831 arg5 = &temp5;
15832 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 15833 }
554f62e9
RD
15834 }
15835 if (obj5) {
15836 ecode6 = SWIG_AsVal_long(obj5, &val6);
15837 if (!SWIG_IsOK(ecode6)) {
15838 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15839 }
15840 arg6 = static_cast< long >(val6);
15841 }
15842 if (obj6) {
093d3ff1 15843 {
554f62e9
RD
15844 arg7 = wxString_in_helper(obj6);
15845 if (arg7 == NULL) SWIG_fail;
15846 temp7 = true;
093d3ff1 15847 }
554f62e9
RD
15848 }
15849 {
15850 PyThreadState* __tstate = wxPyBeginAllowThreads();
15851 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15852 wxPyEndAllowThreads(__tstate);
15853 if (PyErr_Occurred()) SWIG_fail;
15854 }
15855 {
15856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15857 }
15858 {
15859 if (temp7)
15860 delete arg7;
15861 }
15862 return resultobj;
15863fail:
15864 {
15865 if (temp7)
15866 delete arg7;
15867 }
15868 return NULL;
15869}
15870
15871
15872SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15873 PyObject *resultobj = 0;
15874 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15875 size_t arg2 ;
15876 void *argp1 = 0 ;
15877 int res1 = 0 ;
15878 size_t val2 ;
15879 int ecode2 = 0 ;
15880 PyObject * obj0 = 0 ;
15881 PyObject * obj1 = 0 ;
15882 char * kwnames[] = {
15883 (char *) "self",(char *) "count", NULL
15884 };
15885
15886 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15887 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15888 if (!SWIG_IsOK(res1)) {
15889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15890 }
15891 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15892 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15893 if (!SWIG_IsOK(ecode2)) {
15894 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15895 }
15896 arg2 = static_cast< size_t >(val2);
15897 {
15898 PyThreadState* __tstate = wxPyBeginAllowThreads();
15899 (arg1)->SetItemCount(arg2);
15900 wxPyEndAllowThreads(__tstate);
15901 if (PyErr_Occurred()) SWIG_fail;
15902 }
15903 resultobj = SWIG_Py_Void();
15904 return resultobj;
15905fail:
15906 return NULL;
d55e5bfc
RD
15907}
15908
15909
554f62e9
RD
15910SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15911 PyObject *resultobj = 0;
15912 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15913 wxFileSystem *result = 0 ;
15914 void *argp1 = 0 ;
15915 int res1 = 0 ;
15916 PyObject *swig_obj[1] ;
15917
15918 if (!args) SWIG_fail;
15919 swig_obj[0] = args;
15920 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15921 if (!SWIG_IsOK(res1)) {
15922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15923 }
15924 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15925 {
15926 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15927 {
554f62e9
RD
15928 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15929 result = (wxFileSystem *) &_result_ref;
093d3ff1 15930 }
554f62e9
RD
15931 wxPyEndAllowThreads(__tstate);
15932 if (PyErr_Occurred()) SWIG_fail;
15933 }
15934 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15935 return resultobj;
15936fail:
15937 return NULL;
d55e5bfc
RD
15938}
15939
15940
e9d6f3a4
RD
15941SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15942 PyObject *resultobj = 0;
15943 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15944 size_t arg2 ;
15945 wxHtmlLinkInfo *arg3 = 0 ;
15946 void *argp1 = 0 ;
15947 int res1 = 0 ;
15948 size_t val2 ;
15949 int ecode2 = 0 ;
15950 void *argp3 = 0 ;
15951 int res3 = 0 ;
15952 PyObject * obj0 = 0 ;
15953 PyObject * obj1 = 0 ;
15954 PyObject * obj2 = 0 ;
15955 char * kwnames[] = {
15956 (char *) "self",(char *) "n",(char *) "link", NULL
15957 };
15958
15959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15961 if (!SWIG_IsOK(res1)) {
15962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15963 }
15964 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15965 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15966 if (!SWIG_IsOK(ecode2)) {
15967 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15968 }
15969 arg2 = static_cast< size_t >(val2);
15970 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15971 if (!SWIG_IsOK(res3)) {
15972 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15973 }
15974 if (!argp3) {
15975 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15976 }
15977 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15978 {
15979 PyThreadState* __tstate = wxPyBeginAllowThreads();
15980 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15981 wxPyEndAllowThreads(__tstate);
15982 if (PyErr_Occurred()) SWIG_fail;
15983 }
15984 resultobj = SWIG_Py_Void();
15985 return resultobj;
15986fail:
15987 return NULL;
15988}
15989
15990
554f62e9
RD
15991SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15992 PyObject *obj;
15993 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15994 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15995 return SWIG_Py_Void();
d55e5bfc
RD
15996}
15997
554f62e9
RD
15998SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15999 return SWIG_Python_InitShadowInstance(args);
16000}
d55e5bfc 16001
f9bf356b
RD
16002SWIGINTERN int SimpleHtmlListBoxNameStr_set(PyObject *) {
16003 SWIG_Error(SWIG_AttributeError,"Variable SimpleHtmlListBoxNameStr is read-only.");
16004 return 1;
16005}
16006
16007
16008SWIGINTERN PyObject *SimpleHtmlListBoxNameStr_get(void) {
16009 PyObject *pyobj = 0;
16010
16011 {
16012#if wxUSE_UNICODE
16013 pyobj = PyUnicode_FromWideChar((&wxPySimpleHtmlListBoxNameStr)->c_str(), (&wxPySimpleHtmlListBoxNameStr)->Len());
16014#else
16015 pyobj = PyString_FromStringAndSize((&wxPySimpleHtmlListBoxNameStr)->c_str(), (&wxPySimpleHtmlListBoxNameStr)->Len());
16016#endif
16017 }
16018 return pyobj;
16019}
16020
16021
16022SWIGINTERN PyObject *_wrap_new_SimpleHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16023 PyObject *resultobj = 0;
16024 wxWindow *arg1 = (wxWindow *) 0 ;
16025 int arg2 = (int) -1 ;
16026 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16027 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16028 wxSize const &arg4_defvalue = wxDefaultSize ;
16029 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16030 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
16031 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
16032 long arg6 = (long) wxHLB_DEFAULT_STYLE ;
16033 wxValidator const &arg7_defvalue = wxDefaultValidator ;
16034 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
16035 wxString const &arg8_defvalue = wxPySimpleHtmlListBoxNameStr ;
16036 wxString *arg8 = (wxString *) &arg8_defvalue ;
16037 wxSimpleHtmlListBox *result = 0 ;
16038 void *argp1 = 0 ;
16039 int res1 = 0 ;
16040 int val2 ;
16041 int ecode2 = 0 ;
16042 wxPoint temp3 ;
16043 wxSize temp4 ;
16044 bool temp5 = false ;
16045 long val6 ;
16046 int ecode6 = 0 ;
16047 void *argp7 = 0 ;
16048 int res7 = 0 ;
16049 bool temp8 = false ;
16050 PyObject * obj0 = 0 ;
16051 PyObject * obj1 = 0 ;
16052 PyObject * obj2 = 0 ;
16053 PyObject * obj3 = 0 ;
16054 PyObject * obj4 = 0 ;
16055 PyObject * obj5 = 0 ;
16056 PyObject * obj6 = 0 ;
16057 PyObject * obj7 = 0 ;
16058 char * kwnames[] = {
16059 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
16060 };
16061
16062 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_SimpleHtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
16063 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16064 if (!SWIG_IsOK(res1)) {
16065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SimpleHtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16066 }
16067 arg1 = reinterpret_cast< wxWindow * >(argp1);
16068 if (obj1) {
16069 ecode2 = SWIG_AsVal_int(obj1, &val2);
16070 if (!SWIG_IsOK(ecode2)) {
16071 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SimpleHtmlListBox" "', expected argument " "2"" of type '" "int""'");
16072 }
16073 arg2 = static_cast< int >(val2);
16074 }
16075 if (obj2) {
16076 {
16077 arg3 = &temp3;
16078 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16079 }
16080 }
16081 if (obj3) {
16082 {
16083 arg4 = &temp4;
16084 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16085 }
16086 }
16087 if (obj4) {
16088 {
16089 if (! PySequence_Check(obj4)) {
16090 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16091 SWIG_fail;
16092 }
16093 arg5 = new wxArrayString;
16094 temp5 = true;
16095 int i, len=PySequence_Length(obj4);
16096 for (i=0; i<len; i++) {
16097 PyObject* item = PySequence_GetItem(obj4, i);
16098 wxString* s = wxString_in_helper(item);
16099 if (PyErr_Occurred()) SWIG_fail;
16100 arg5->Add(*s);
16101 delete s;
16102 Py_DECREF(item);
16103 }
16104 }
16105 }
16106 if (obj5) {
16107 ecode6 = SWIG_AsVal_long(obj5, &val6);
16108 if (!SWIG_IsOK(ecode6)) {
16109 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SimpleHtmlListBox" "', expected argument " "6"" of type '" "long""'");
16110 }
16111 arg6 = static_cast< long >(val6);
16112 }
16113 if (obj6) {
16114 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
16115 if (!SWIG_IsOK(res7)) {
16116 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
16117 }
16118 if (!argp7) {
16119 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
16120 }
16121 arg7 = reinterpret_cast< wxValidator * >(argp7);
16122 }
16123 if (obj7) {
16124 {
16125 arg8 = wxString_in_helper(obj7);
16126 if (arg8 == NULL) SWIG_fail;
16127 temp8 = true;
16128 }
16129 }
16130 {
16131 if (!wxPyCheckForApp()) SWIG_fail;
16132 PyThreadState* __tstate = wxPyBeginAllowThreads();
16133 result = (wxSimpleHtmlListBox *)new wxSimpleHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
16134 wxPyEndAllowThreads(__tstate);
16135 if (PyErr_Occurred()) SWIG_fail;
16136 }
16137 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_POINTER_NEW | 0 );
16138 {
16139 if (temp5) delete arg5;
16140 }
16141 {
16142 if (temp8)
16143 delete arg8;
16144 }
16145 return resultobj;
16146fail:
16147 {
16148 if (temp5) delete arg5;
16149 }
16150 {
16151 if (temp8)
16152 delete arg8;
16153 }
16154 return NULL;
16155}
16156
16157
16158SWIGINTERN PyObject *_wrap_new_PreSimpleHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16159 PyObject *resultobj = 0;
16160 wxSimpleHtmlListBox *result = 0 ;
16161
16162 if (!SWIG_Python_UnpackTuple(args,"new_PreSimpleHtmlListBox",0,0,0)) SWIG_fail;
16163 {
16164 if (!wxPyCheckForApp()) SWIG_fail;
16165 PyThreadState* __tstate = wxPyBeginAllowThreads();
16166 result = (wxSimpleHtmlListBox *)new wxSimpleHtmlListBox();
16167 wxPyEndAllowThreads(__tstate);
16168 if (PyErr_Occurred()) SWIG_fail;
16169 }
16170 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_POINTER_OWN | 0 );
16171 return resultobj;
16172fail:
16173 return NULL;
16174}
16175
16176
16177SWIGINTERN PyObject *_wrap_SimpleHtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16178 PyObject *resultobj = 0;
16179 wxSimpleHtmlListBox *arg1 = (wxSimpleHtmlListBox *) 0 ;
16180 wxWindow *arg2 = (wxWindow *) 0 ;
16181 int arg3 = (int) -1 ;
16182 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16183 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16184 wxSize const &arg5_defvalue = wxDefaultSize ;
16185 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16186 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
16187 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
16188 long arg7 = (long) wxHLB_DEFAULT_STYLE ;
16189 wxValidator const &arg8_defvalue = wxDefaultValidator ;
16190 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
16191 wxString const &arg9_defvalue = wxPySimpleHtmlListBoxNameStr ;
16192 wxString *arg9 = (wxString *) &arg9_defvalue ;
16193 bool result;
16194 void *argp1 = 0 ;
16195 int res1 = 0 ;
16196 void *argp2 = 0 ;
16197 int res2 = 0 ;
16198 int val3 ;
16199 int ecode3 = 0 ;
16200 wxPoint temp4 ;
16201 wxSize temp5 ;
16202 bool temp6 = false ;
16203 long val7 ;
16204 int ecode7 = 0 ;
16205 void *argp8 = 0 ;
16206 int res8 = 0 ;
16207 bool temp9 = false ;
16208 PyObject * obj0 = 0 ;
16209 PyObject * obj1 = 0 ;
16210 PyObject * obj2 = 0 ;
16211 PyObject * obj3 = 0 ;
16212 PyObject * obj4 = 0 ;
16213 PyObject * obj5 = 0 ;
16214 PyObject * obj6 = 0 ;
16215 PyObject * obj7 = 0 ;
16216 PyObject * obj8 = 0 ;
16217 char * kwnames[] = {
16218 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
16219 };
16220
16221 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:SimpleHtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
16222 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSimpleHtmlListBox, 0 | 0 );
16223 if (!SWIG_IsOK(res1)) {
16224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "1"" of type '" "wxSimpleHtmlListBox *""'");
16225 }
16226 arg1 = reinterpret_cast< wxSimpleHtmlListBox * >(argp1);
16227 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16228 if (!SWIG_IsOK(res2)) {
16229 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16230 }
16231 arg2 = reinterpret_cast< wxWindow * >(argp2);
16232 if (obj2) {
16233 ecode3 = SWIG_AsVal_int(obj2, &val3);
16234 if (!SWIG_IsOK(ecode3)) {
16235 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
16236 }
16237 arg3 = static_cast< int >(val3);
16238 }
16239 if (obj3) {
16240 {
16241 arg4 = &temp4;
16242 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16243 }
16244 }
16245 if (obj4) {
16246 {
16247 arg5 = &temp5;
16248 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16249 }
16250 }
16251 if (obj5) {
16252 {
16253 if (! PySequence_Check(obj5)) {
16254 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16255 SWIG_fail;
16256 }
16257 arg6 = new wxArrayString;
16258 temp6 = true;
16259 int i, len=PySequence_Length(obj5);
16260 for (i=0; i<len; i++) {
16261 PyObject* item = PySequence_GetItem(obj5, i);
16262 wxString* s = wxString_in_helper(item);
16263 if (PyErr_Occurred()) SWIG_fail;
16264 arg6->Add(*s);
16265 delete s;
16266 Py_DECREF(item);
16267 }
16268 }
16269 }
16270 if (obj6) {
16271 ecode7 = SWIG_AsVal_long(obj6, &val7);
16272 if (!SWIG_IsOK(ecode7)) {
16273 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "7"" of type '" "long""'");
16274 }
16275 arg7 = static_cast< long >(val7);
16276 }
16277 if (obj7) {
16278 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
16279 if (!SWIG_IsOK(res8)) {
16280 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16281 }
16282 if (!argp8) {
16283 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16284 }
16285 arg8 = reinterpret_cast< wxValidator * >(argp8);
16286 }
16287 if (obj8) {
16288 {
16289 arg9 = wxString_in_helper(obj8);
16290 if (arg9 == NULL) SWIG_fail;
16291 temp9 = true;
16292 }
16293 }
16294 {
16295 PyThreadState* __tstate = wxPyBeginAllowThreads();
16296 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
16297 wxPyEndAllowThreads(__tstate);
16298 if (PyErr_Occurred()) SWIG_fail;
16299 }
16300 {
16301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16302 }
16303 {
16304 if (temp6) delete arg6;
16305 }
16306 {
16307 if (temp9)
16308 delete arg9;
16309 }
16310 return resultobj;
16311fail:
16312 {
16313 if (temp6) delete arg6;
16314 }
16315 {
16316 if (temp9)
16317 delete arg9;
16318 }
16319 return NULL;
16320}
16321
16322
16323SWIGINTERN PyObject *SimpleHtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16324 PyObject *obj;
16325 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16326 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_NewClientData(obj));
16327 return SWIG_Py_Void();
16328}
16329
16330SWIGINTERN PyObject *SimpleHtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16331 return SWIG_Python_InitShadowInstance(args);
16332}
16333
554f62e9
RD
16334SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16335 PyObject *resultobj = 0;
16336 wxPyTaskBarIcon *result = 0 ;
16337
16338 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
16339 {
16340 if (!wxPyCheckForApp()) SWIG_fail;
16341 PyThreadState* __tstate = wxPyBeginAllowThreads();
16342 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
16343 wxPyEndAllowThreads(__tstate);
16344 if (PyErr_Occurred()) SWIG_fail;
16345 }
16346 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
16347 return resultobj;
16348fail:
16349 return NULL;
d55e5bfc
RD
16350}
16351
16352
554f62e9
RD
16353SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16354 PyObject *resultobj = 0;
16355 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16356 void *argp1 = 0 ;
16357 int res1 = 0 ;
16358 PyObject *swig_obj[1] ;
16359
16360 if (!args) SWIG_fail;
16361 swig_obj[0] = args;
16362 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
16363 if (!SWIG_IsOK(res1)) {
16364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16365 }
16366 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16367 {
16368 PyThreadState* __tstate = wxPyBeginAllowThreads();
16369 delete arg1;
d55e5bfc 16370
554f62e9
RD
16371 wxPyEndAllowThreads(__tstate);
16372 if (PyErr_Occurred()) SWIG_fail;
16373 }
16374 resultobj = SWIG_Py_Void();
16375 return resultobj;
16376fail:
16377 return NULL;
16378}
16379
16380
16381SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16382 PyObject *resultobj = 0;
16383 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16384 PyObject *arg2 = (PyObject *) 0 ;
16385 PyObject *arg3 = (PyObject *) 0 ;
16386 int arg4 ;
16387 void *argp1 = 0 ;
16388 int res1 = 0 ;
16389 int val4 ;
16390 int ecode4 = 0 ;
16391 PyObject * obj0 = 0 ;
16392 PyObject * obj1 = 0 ;
16393 PyObject * obj2 = 0 ;
16394 PyObject * obj3 = 0 ;
16395 char * kwnames[] = {
16396 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16397 };
16398
16399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16400 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16401 if (!SWIG_IsOK(res1)) {
16402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16403 }
16404 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16405 arg2 = obj1;
16406 arg3 = obj2;
16407 ecode4 = SWIG_AsVal_int(obj3, &val4);
16408 if (!SWIG_IsOK(ecode4)) {
16409 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16410 }
16411 arg4 = static_cast< int >(val4);
16412 {
16413 PyThreadState* __tstate = wxPyBeginAllowThreads();
16414 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
16415 wxPyEndAllowThreads(__tstate);
16416 if (PyErr_Occurred()) SWIG_fail;
16417 }
16418 resultobj = SWIG_Py_Void();
16419 return resultobj;
16420fail:
16421 return NULL;
d55e5bfc
RD
16422}
16423
16424
554f62e9
RD
16425SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16426 PyObject *resultobj = 0;
16427 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16428 void *argp1 = 0 ;
16429 int res1 = 0 ;
16430 PyObject *swig_obj[1] ;
16431
16432 if (!args) SWIG_fail;
16433 swig_obj[0] = args;
16434 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16435 if (!SWIG_IsOK(res1)) {
16436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16437 }
16438 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16439 {
16440 PyThreadState* __tstate = wxPyBeginAllowThreads();
16441 wxPyTaskBarIcon_Destroy(arg1);
16442 wxPyEndAllowThreads(__tstate);
16443 if (PyErr_Occurred()) SWIG_fail;
16444 }
16445 resultobj = SWIG_Py_Void();
16446 return resultobj;
16447fail:
16448 return NULL;
d55e5bfc
RD
16449}
16450
16451
554f62e9
RD
16452SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16453 PyObject *resultobj = 0;
16454 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16455 bool result;
16456 void *argp1 = 0 ;
16457 int res1 = 0 ;
16458 PyObject *swig_obj[1] ;
16459
16460 if (!args) SWIG_fail;
16461 swig_obj[0] = args;
16462 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16463 if (!SWIG_IsOK(res1)) {
16464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16465 }
16466 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16467 {
16468 PyThreadState* __tstate = wxPyBeginAllowThreads();
16469 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
16470 wxPyEndAllowThreads(__tstate);
16471 if (PyErr_Occurred()) SWIG_fail;
16472 }
16473 {
16474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16475 }
16476 return resultobj;
16477fail:
16478 return NULL;
d55e5bfc
RD
16479}
16480
16481
554f62e9
RD
16482SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16483 PyObject *resultobj = 0;
16484 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16485 bool result;
16486 void *argp1 = 0 ;
16487 int res1 = 0 ;
16488 PyObject *swig_obj[1] ;
16489
16490 if (!args) SWIG_fail;
16491 swig_obj[0] = args;
16492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16493 if (!SWIG_IsOK(res1)) {
16494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16495 }
16496 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16497 {
16498 PyThreadState* __tstate = wxPyBeginAllowThreads();
16499 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
16500 wxPyEndAllowThreads(__tstate);
16501 if (PyErr_Occurred()) SWIG_fail;
16502 }
16503 {
16504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16505 }
16506 return resultobj;
16507fail:
16508 return NULL;
16509}
16510
16511
16512SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16513 PyObject *resultobj = 0;
16514 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16515 wxIcon *arg2 = 0 ;
16516 wxString const &arg3_defvalue = wxPyEmptyString ;
16517 wxString *arg3 = (wxString *) &arg3_defvalue ;
16518 bool result;
16519 void *argp1 = 0 ;
16520 int res1 = 0 ;
16521 void *argp2 = 0 ;
16522 int res2 = 0 ;
16523 bool temp3 = false ;
16524 PyObject * obj0 = 0 ;
16525 PyObject * obj1 = 0 ;
16526 PyObject * obj2 = 0 ;
16527 char * kwnames[] = {
16528 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16529 };
16530
16531 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16532 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16533 if (!SWIG_IsOK(res1)) {
16534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16535 }
16536 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16537 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
16538 if (!SWIG_IsOK(res2)) {
16539 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16540 }
16541 if (!argp2) {
16542 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16543 }
16544 arg2 = reinterpret_cast< wxIcon * >(argp2);
16545 if (obj2) {
093d3ff1 16546 {
554f62e9
RD
16547 arg3 = wxString_in_helper(obj2);
16548 if (arg3 == NULL) SWIG_fail;
16549 temp3 = true;
093d3ff1 16550 }
554f62e9
RD
16551 }
16552 {
16553 PyThreadState* __tstate = wxPyBeginAllowThreads();
16554 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16555 wxPyEndAllowThreads(__tstate);
16556 if (PyErr_Occurred()) SWIG_fail;
16557 }
16558 {
16559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16560 }
16561 {
16562 if (temp3)
16563 delete arg3;
16564 }
16565 return resultobj;
16566fail:
16567 {
16568 if (temp3)
16569 delete arg3;
16570 }
16571 return NULL;
d55e5bfc
RD
16572}
16573
16574
554f62e9
RD
16575SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16576 PyObject *resultobj = 0;
16577 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16578 bool result;
16579 void *argp1 = 0 ;
16580 int res1 = 0 ;
16581 PyObject *swig_obj[1] ;
16582
16583 if (!args) SWIG_fail;
16584 swig_obj[0] = args;
16585 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16586 if (!SWIG_IsOK(res1)) {
16587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16588 }
16589 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16590 {
16591 PyThreadState* __tstate = wxPyBeginAllowThreads();
16592 result = (bool)(arg1)->RemoveIcon();
16593 wxPyEndAllowThreads(__tstate);
16594 if (PyErr_Occurred()) SWIG_fail;
16595 }
16596 {
16597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16598 }
16599 return resultobj;
16600fail:
16601 return NULL;
16602}
16603
16604
16605SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16606 PyObject *resultobj = 0;
16607 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16608 wxMenu *arg2 = (wxMenu *) 0 ;
16609 bool result;
16610 void *argp1 = 0 ;
16611 int res1 = 0 ;
16612 void *argp2 = 0 ;
16613 int res2 = 0 ;
16614 PyObject * obj0 = 0 ;
16615 PyObject * obj1 = 0 ;
16616 char * kwnames[] = {
16617 (char *) "self",(char *) "menu", NULL
16618 };
16619
16620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16622 if (!SWIG_IsOK(res1)) {
16623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16624 }
16625 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16626 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16627 if (!SWIG_IsOK(res2)) {
16628 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16629 }
16630 arg2 = reinterpret_cast< wxMenu * >(argp2);
16631 {
16632 PyThreadState* __tstate = wxPyBeginAllowThreads();
16633 result = (bool)(arg1)->PopupMenu(arg2);
16634 wxPyEndAllowThreads(__tstate);
16635 if (PyErr_Occurred()) SWIG_fail;
16636 }
16637 {
16638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16639 }
16640 return resultobj;
16641fail:
16642 return NULL;
d55e5bfc
RD
16643}
16644
16645
554f62e9
RD
16646SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16647 PyObject *obj;
16648 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16649 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16650 return SWIG_Py_Void();
d55e5bfc
RD
16651}
16652
554f62e9
RD
16653SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16654 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
16655}
16656
554f62e9
RD
16657SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16658 PyObject *resultobj = 0;
16659 wxEventType arg1 ;
16660 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16661 wxTaskBarIconEvent *result = 0 ;
16662 int val1 ;
16663 int ecode1 = 0 ;
16664 void *argp2 = 0 ;
16665 int res2 = 0 ;
16666 PyObject * obj0 = 0 ;
16667 PyObject * obj1 = 0 ;
16668 char * kwnames[] = {
16669 (char *) "evtType",(char *) "tbIcon", NULL
16670 };
16671
16672 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16673 ecode1 = SWIG_AsVal_int(obj0, &val1);
16674 if (!SWIG_IsOK(ecode1)) {
16675 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16676 }
16677 arg1 = static_cast< wxEventType >(val1);
16678 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16679 if (!SWIG_IsOK(res2)) {
16680 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16681 }
16682 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16683 {
16684 PyThreadState* __tstate = wxPyBeginAllowThreads();
16685 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16686 wxPyEndAllowThreads(__tstate);
16687 if (PyErr_Occurred()) SWIG_fail;
16688 }
16689 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16690 return resultobj;
16691fail:
16692 return NULL;
d55e5bfc
RD
16693}
16694
16695
554f62e9
RD
16696SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16697 PyObject *obj;
16698 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16699 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16700 return SWIG_Py_Void();
d55e5bfc
RD
16701}
16702
554f62e9
RD
16703SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16704 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
16705}
16706
554f62e9
RD
16707SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16708 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16709 return 1;
d55e5bfc
RD
16710}
16711
16712
554f62e9
RD
16713SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16714 PyObject *pyobj = 0;
16715
16716 {
16717#if wxUSE_UNICODE
16718 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16719#else
16720 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16721#endif
16722 }
16723 return pyobj;
d55e5bfc
RD
16724}
16725
16726
554f62e9
RD
16727SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16728 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16729 return 1;
d55e5bfc
RD
16730}
16731
16732
554f62e9
RD
16733SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16734 PyObject *pyobj = 0;
16735
16736 {
16737#if wxUSE_UNICODE
16738 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16739#else
16740 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16741#endif
16742 }
16743 return pyobj;
d55e5bfc
RD
16744}
16745
16746
554f62e9
RD
16747SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16748 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16749 return 1;
d55e5bfc
RD
16750}
16751
16752
554f62e9
RD
16753SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16754 PyObject *pyobj = 0;
16755
16756 {
16757#if wxUSE_UNICODE
16758 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16759#else
16760 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16761#endif
16762 }
16763 return pyobj;
d55e5bfc
RD
16764}
16765
16766
554f62e9
RD
16767SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16768 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16769 return 1;
d55e5bfc
RD
16770}
16771
16772
554f62e9
RD
16773SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16774 PyObject *pyobj = 0;
16775
16776 {
16777#if wxUSE_UNICODE
16778 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16779#else
16780 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16781#endif
16782 }
16783 return pyobj;
d55e5bfc
RD
16784}
16785
16786
554f62e9
RD
16787SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16788 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16789 return 1;
d55e5bfc
RD
16790}
16791
16792
554f62e9
RD
16793SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16794 PyObject *pyobj = 0;
16795
16796 {
16797#if wxUSE_UNICODE
16798 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16799#else
16800 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16801#endif
16802 }
16803 return pyobj;
d55e5bfc
RD
16804}
16805
16806
554f62e9
RD
16807SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16808 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16809 return 1;
d55e5bfc
RD
16810}
16811
16812
554f62e9
RD
16813SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16814 PyObject *pyobj = 0;
16815
16816 {
16817#if wxUSE_UNICODE
16818 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16819#else
16820 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16821#endif
16822 }
16823 return pyobj;
d55e5bfc
RD
16824}
16825
16826
554f62e9
RD
16827SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16828 PyObject *resultobj = 0;
16829 wxColourData *result = 0 ;
16830
16831 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16832 {
16833 PyThreadState* __tstate = wxPyBeginAllowThreads();
16834 result = (wxColourData *)new wxColourData();
16835 wxPyEndAllowThreads(__tstate);
16836 if (PyErr_Occurred()) SWIG_fail;
16837 }
16838 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16839 return resultobj;
16840fail:
16841 return NULL;
d55e5bfc
RD
16842}
16843
16844
554f62e9
RD
16845SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16846 PyObject *resultobj = 0;
16847 wxColourData *arg1 = (wxColourData *) 0 ;
16848 void *argp1 = 0 ;
16849 int res1 = 0 ;
16850 PyObject *swig_obj[1] ;
16851
16852 if (!args) SWIG_fail;
16853 swig_obj[0] = args;
16854 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16855 if (!SWIG_IsOK(res1)) {
16856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16857 }
16858 arg1 = reinterpret_cast< wxColourData * >(argp1);
16859 {
16860 PyThreadState* __tstate = wxPyBeginAllowThreads();
16861 delete arg1;
d55e5bfc 16862
554f62e9
RD
16863 wxPyEndAllowThreads(__tstate);
16864 if (PyErr_Occurred()) SWIG_fail;
16865 }
16866 resultobj = SWIG_Py_Void();
16867 return resultobj;
16868fail:
16869 return NULL;
d55e5bfc
RD
16870}
16871
16872
554f62e9
RD
16873SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16874 PyObject *resultobj = 0;
16875 wxColourData *arg1 = (wxColourData *) 0 ;
16876 bool result;
16877 void *argp1 = 0 ;
16878 int res1 = 0 ;
16879 PyObject *swig_obj[1] ;
16880
16881 if (!args) SWIG_fail;
16882 swig_obj[0] = args;
16883 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16884 if (!SWIG_IsOK(res1)) {
16885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16886 }
16887 arg1 = reinterpret_cast< wxColourData * >(argp1);
16888 {
16889 PyThreadState* __tstate = wxPyBeginAllowThreads();
16890 result = (bool)(arg1)->GetChooseFull();
16891 wxPyEndAllowThreads(__tstate);
16892 if (PyErr_Occurred()) SWIG_fail;
16893 }
16894 {
16895 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16896 }
16897 return resultobj;
16898fail:
16899 return NULL;
d55e5bfc
RD
16900}
16901
16902
554f62e9
RD
16903SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16904 PyObject *resultobj = 0;
16905 wxColourData *arg1 = (wxColourData *) 0 ;
16906 wxColour result;
16907 void *argp1 = 0 ;
16908 int res1 = 0 ;
16909 PyObject *swig_obj[1] ;
16910
16911 if (!args) SWIG_fail;
16912 swig_obj[0] = args;
16913 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16914 if (!SWIG_IsOK(res1)) {
16915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16916 }
16917 arg1 = reinterpret_cast< wxColourData * >(argp1);
16918 {
16919 PyThreadState* __tstate = wxPyBeginAllowThreads();
16920 result = (arg1)->GetColour();
16921 wxPyEndAllowThreads(__tstate);
16922 if (PyErr_Occurred()) SWIG_fail;
16923 }
16924 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16925 return resultobj;
16926fail:
16927 return NULL;
16928}
16929
16930
16931SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16932 PyObject *resultobj = 0;
16933 wxColourData *arg1 = (wxColourData *) 0 ;
16934 int arg2 ;
16935 wxColour result;
16936 void *argp1 = 0 ;
16937 int res1 = 0 ;
16938 int val2 ;
16939 int ecode2 = 0 ;
16940 PyObject * obj0 = 0 ;
16941 PyObject * obj1 = 0 ;
16942 char * kwnames[] = {
16943 (char *) "self",(char *) "i", NULL
16944 };
16945
16946 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16948 if (!SWIG_IsOK(res1)) {
16949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16950 }
16951 arg1 = reinterpret_cast< wxColourData * >(argp1);
16952 ecode2 = SWIG_AsVal_int(obj1, &val2);
16953 if (!SWIG_IsOK(ecode2)) {
16954 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16955 }
16956 arg2 = static_cast< int >(val2);
16957 {
16958 PyThreadState* __tstate = wxPyBeginAllowThreads();
16959 result = (arg1)->GetCustomColour(arg2);
16960 wxPyEndAllowThreads(__tstate);
16961 if (PyErr_Occurred()) SWIG_fail;
16962 }
16963 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16964 return resultobj;
16965fail:
16966 return NULL;
16967}
16968
16969
16970SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16971 PyObject *resultobj = 0;
16972 wxColourData *arg1 = (wxColourData *) 0 ;
16973 int arg2 ;
16974 void *argp1 = 0 ;
16975 int res1 = 0 ;
16976 int val2 ;
16977 int ecode2 = 0 ;
16978 PyObject * obj0 = 0 ;
16979 PyObject * obj1 = 0 ;
16980 char * kwnames[] = {
16981 (char *) "self",(char *) "flag", NULL
16982 };
16983
16984 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16985 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16986 if (!SWIG_IsOK(res1)) {
16987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16988 }
16989 arg1 = reinterpret_cast< wxColourData * >(argp1);
16990 ecode2 = SWIG_AsVal_int(obj1, &val2);
16991 if (!SWIG_IsOK(ecode2)) {
16992 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16993 }
16994 arg2 = static_cast< int >(val2);
16995 {
16996 PyThreadState* __tstate = wxPyBeginAllowThreads();
16997 (arg1)->SetChooseFull(arg2);
16998 wxPyEndAllowThreads(__tstate);
16999 if (PyErr_Occurred()) SWIG_fail;
17000 }
17001 resultobj = SWIG_Py_Void();
17002 return resultobj;
17003fail:
17004 return NULL;
17005}
17006
17007
17008SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17009 PyObject *resultobj = 0;
17010 wxColourData *arg1 = (wxColourData *) 0 ;
17011 wxColour *arg2 = 0 ;
17012 void *argp1 = 0 ;
17013 int res1 = 0 ;
17014 wxColour temp2 ;
17015 PyObject * obj0 = 0 ;
17016 PyObject * obj1 = 0 ;
17017 char * kwnames[] = {
17018 (char *) "self",(char *) "colour", NULL
17019 };
17020
17021 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
17022 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
17023 if (!SWIG_IsOK(res1)) {
17024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
17025 }
17026 arg1 = reinterpret_cast< wxColourData * >(argp1);
17027 {
17028 arg2 = &temp2;
17029 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17030 }
17031 {
17032 PyThreadState* __tstate = wxPyBeginAllowThreads();
17033 (arg1)->SetColour((wxColour const &)*arg2);
17034 wxPyEndAllowThreads(__tstate);
17035 if (PyErr_Occurred()) SWIG_fail;
17036 }
17037 resultobj = SWIG_Py_Void();
17038 return resultobj;
17039fail:
17040 return NULL;
17041}
17042
17043
17044SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17045 PyObject *resultobj = 0;
17046 wxColourData *arg1 = (wxColourData *) 0 ;
17047 int arg2 ;
17048 wxColour *arg3 = 0 ;
17049 void *argp1 = 0 ;
17050 int res1 = 0 ;
17051 int val2 ;
17052 int ecode2 = 0 ;
17053 wxColour temp3 ;
17054 PyObject * obj0 = 0 ;
17055 PyObject * obj1 = 0 ;
17056 PyObject * obj2 = 0 ;
17057 char * kwnames[] = {
17058 (char *) "self",(char *) "i",(char *) "colour", NULL
17059 };
17060
17061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
17063 if (!SWIG_IsOK(res1)) {
17064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
17065 }
17066 arg1 = reinterpret_cast< wxColourData * >(argp1);
17067 ecode2 = SWIG_AsVal_int(obj1, &val2);
17068 if (!SWIG_IsOK(ecode2)) {
17069 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
17070 }
17071 arg2 = static_cast< int >(val2);
17072 {
17073 arg3 = &temp3;
17074 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
17075 }
17076 {
17077 PyThreadState* __tstate = wxPyBeginAllowThreads();
17078 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
17079 wxPyEndAllowThreads(__tstate);
17080 if (PyErr_Occurred()) SWIG_fail;
17081 }
17082 resultobj = SWIG_Py_Void();
17083 return resultobj;
17084fail:
17085 return NULL;
d55e5bfc
RD
17086}
17087
17088
554f62e9
RD
17089SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17090 PyObject *obj;
17091 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17092 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
17093 return SWIG_Py_Void();
d55e5bfc
RD
17094}
17095
554f62e9
RD
17096SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17097 return SWIG_Python_InitShadowInstance(args);
17098}
d55e5bfc 17099
554f62e9
RD
17100SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17101 PyObject *resultobj = 0;
17102 wxWindow *arg1 = (wxWindow *) 0 ;
17103 wxColourData *arg2 = (wxColourData *) NULL ;
17104 wxColourDialog *result = 0 ;
17105 void *argp1 = 0 ;
17106 int res1 = 0 ;
17107 void *argp2 = 0 ;
17108 int res2 = 0 ;
17109 PyObject * obj0 = 0 ;
17110 PyObject * obj1 = 0 ;
17111 char * kwnames[] = {
17112 (char *) "parent",(char *) "data", NULL
17113 };
17114
17115 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
17116 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17117 if (!SWIG_IsOK(res1)) {
17118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17119 }
17120 arg1 = reinterpret_cast< wxWindow * >(argp1);
17121 if (obj1) {
17122 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
17123 if (!SWIG_IsOK(res2)) {
17124 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
d55e5bfc 17125 }
554f62e9
RD
17126 arg2 = reinterpret_cast< wxColourData * >(argp2);
17127 }
17128 {
17129 if (!wxPyCheckForApp()) SWIG_fail;
17130 PyThreadState* __tstate = wxPyBeginAllowThreads();
17131 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
17132 wxPyEndAllowThreads(__tstate);
17133 if (PyErr_Occurred()) SWIG_fail;
17134 }
17135 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
17136 return resultobj;
17137fail:
17138 return NULL;
17139}
17140
17141
17142SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17143 PyObject *resultobj = 0;
17144 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
17145 wxColourData *result = 0 ;
17146 void *argp1 = 0 ;
17147 int res1 = 0 ;
17148 PyObject *swig_obj[1] ;
17149
17150 if (!args) SWIG_fail;
17151 swig_obj[0] = args;
17152 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
17153 if (!SWIG_IsOK(res1)) {
17154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
17155 }
17156 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
17157 {
17158 PyThreadState* __tstate = wxPyBeginAllowThreads();
17159 {
17160 wxColourData &_result_ref = (arg1)->GetColourData();
17161 result = (wxColourData *) &_result_ref;
d55e5bfc 17162 }
554f62e9
RD
17163 wxPyEndAllowThreads(__tstate);
17164 if (PyErr_Occurred()) SWIG_fail;
17165 }
17166 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
17167 return resultobj;
17168fail:
17169 return NULL;
17170}
17171
17172
17173SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17174 PyObject *obj;
17175 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17176 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
17177 return SWIG_Py_Void();
17178}
17179
17180SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17181 return SWIG_Python_InitShadowInstance(args);
17182}
17183
17184SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17185 PyObject *resultobj = 0;
17186 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
17187 wxColour const &arg2_defvalue = wxNullColour ;
17188 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
17189 wxString const &arg3_defvalue = wxPyEmptyString ;
17190 wxString *arg3 = (wxString *) &arg3_defvalue ;
17191 wxColour result;
17192 void *argp1 = 0 ;
17193 int res1 = 0 ;
17194 wxColour temp2 ;
17195 bool temp3 = false ;
17196 PyObject * obj0 = 0 ;
17197 PyObject * obj1 = 0 ;
17198 PyObject * obj2 = 0 ;
17199 char * kwnames[] = {
17200 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
17201 };
17202
17203 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17204 if (obj0) {
17205 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17206 if (!SWIG_IsOK(res1)) {
17207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
d55e5bfc 17208 }
554f62e9
RD
17209 arg1 = reinterpret_cast< wxWindow * >(argp1);
17210 }
17211 if (obj1) {
d55e5bfc 17212 {
554f62e9
RD
17213 arg2 = &temp2;
17214 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc 17215 }
554f62e9
RD
17216 }
17217 if (obj2) {
d55e5bfc 17218 {
554f62e9
RD
17219 arg3 = wxString_in_helper(obj2);
17220 if (arg3 == NULL) SWIG_fail;
17221 temp3 = true;
d55e5bfc 17222 }
554f62e9
RD
17223 }
17224 {
17225 PyThreadState* __tstate = wxPyBeginAllowThreads();
17226 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
17227 wxPyEndAllowThreads(__tstate);
17228 if (PyErr_Occurred()) SWIG_fail;
17229 }
17230 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
17231 {
17232 if (temp3)
17233 delete arg3;
17234 }
17235 return resultobj;
17236fail:
17237 {
17238 if (temp3)
17239 delete arg3;
17240 }
17241 return NULL;
17242}
17243
17244
17245SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17246 PyObject *resultobj = 0;
17247 wxWindow *arg1 = (wxWindow *) 0 ;
17248 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
17249 wxString *arg2 = (wxString *) &arg2_defvalue ;
17250 wxString const &arg3_defvalue = wxPyEmptyString ;
17251 wxString *arg3 = (wxString *) &arg3_defvalue ;
704eda0c 17252 long arg4 = (long) wxDD_DEFAULT_STYLE ;
554f62e9
RD
17253 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17254 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17255 wxSize const &arg6_defvalue = wxDefaultSize ;
17256 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17257 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
17258 wxString *arg7 = (wxString *) &arg7_defvalue ;
17259 wxDirDialog *result = 0 ;
17260 void *argp1 = 0 ;
17261 int res1 = 0 ;
17262 bool temp2 = false ;
17263 bool temp3 = false ;
17264 long val4 ;
17265 int ecode4 = 0 ;
17266 wxPoint temp5 ;
17267 wxSize temp6 ;
17268 bool temp7 = false ;
17269 PyObject * obj0 = 0 ;
17270 PyObject * obj1 = 0 ;
17271 PyObject * obj2 = 0 ;
17272 PyObject * obj3 = 0 ;
17273 PyObject * obj4 = 0 ;
17274 PyObject * obj5 = 0 ;
17275 PyObject * obj6 = 0 ;
17276 char * kwnames[] = {
17277 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
17278 };
17279
17280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17282 if (!SWIG_IsOK(res1)) {
17283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17284 }
17285 arg1 = reinterpret_cast< wxWindow * >(argp1);
17286 if (obj1) {
d55e5bfc 17287 {
554f62e9
RD
17288 arg2 = wxString_in_helper(obj1);
17289 if (arg2 == NULL) SWIG_fail;
17290 temp2 = true;
d55e5bfc 17291 }
554f62e9
RD
17292 }
17293 if (obj2) {
d55e5bfc 17294 {
554f62e9
RD
17295 arg3 = wxString_in_helper(obj2);
17296 if (arg3 == NULL) SWIG_fail;
17297 temp3 = true;
d55e5bfc 17298 }
554f62e9
RD
17299 }
17300 if (obj3) {
17301 ecode4 = SWIG_AsVal_long(obj3, &val4);
17302 if (!SWIG_IsOK(ecode4)) {
17303 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
17304 }
17305 arg4 = static_cast< long >(val4);
17306 }
17307 if (obj4) {
093d3ff1 17308 {
554f62e9
RD
17309 arg5 = &temp5;
17310 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 17311 }
554f62e9
RD
17312 }
17313 if (obj5) {
d55e5bfc 17314 {
554f62e9
RD
17315 arg6 = &temp6;
17316 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 17317 }
554f62e9
RD
17318 }
17319 if (obj6) {
d55e5bfc 17320 {
554f62e9
RD
17321 arg7 = wxString_in_helper(obj6);
17322 if (arg7 == NULL) SWIG_fail;
17323 temp7 = true;
093d3ff1 17324 }
554f62e9
RD
17325 }
17326 {
17327 if (!wxPyCheckForApp()) SWIG_fail;
17328 PyThreadState* __tstate = wxPyBeginAllowThreads();
17329 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
17330 wxPyEndAllowThreads(__tstate);
17331 if (PyErr_Occurred()) SWIG_fail;
17332 }
17333 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
17334 {
17335 if (temp2)
17336 delete arg2;
17337 }
17338 {
17339 if (temp3)
17340 delete arg3;
17341 }
17342 {
17343 if (temp7)
17344 delete arg7;
17345 }
17346 return resultobj;
17347fail:
17348 {
17349 if (temp2)
17350 delete arg2;
17351 }
17352 {
17353 if (temp3)
17354 delete arg3;
17355 }
17356 {
17357 if (temp7)
17358 delete arg7;
17359 }
17360 return NULL;
d55e5bfc
RD
17361}
17362
17363
554f62e9
RD
17364SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17365 PyObject *resultobj = 0;
17366 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17367 wxString result;
17368 void *argp1 = 0 ;
17369 int res1 = 0 ;
17370 PyObject *swig_obj[1] ;
17371
17372 if (!args) SWIG_fail;
17373 swig_obj[0] = args;
17374 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17375 if (!SWIG_IsOK(res1)) {
17376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17377 }
17378 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17379 {
17380 PyThreadState* __tstate = wxPyBeginAllowThreads();
17381 result = (arg1)->GetPath();
17382 wxPyEndAllowThreads(__tstate);
17383 if (PyErr_Occurred()) SWIG_fail;
17384 }
17385 {
17386#if wxUSE_UNICODE
17387 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17388#else
17389 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17390#endif
17391 }
17392 return resultobj;
17393fail:
17394 return NULL;
d55e5bfc
RD
17395}
17396
17397
554f62e9
RD
17398SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17399 PyObject *resultobj = 0;
17400 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17401 wxString result;
17402 void *argp1 = 0 ;
17403 int res1 = 0 ;
17404 PyObject *swig_obj[1] ;
17405
17406 if (!args) SWIG_fail;
17407 swig_obj[0] = args;
17408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17409 if (!SWIG_IsOK(res1)) {
17410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17411 }
17412 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17413 {
17414 PyThreadState* __tstate = wxPyBeginAllowThreads();
17415 result = (arg1)->GetMessage();
17416 wxPyEndAllowThreads(__tstate);
17417 if (PyErr_Occurred()) SWIG_fail;
17418 }
17419 {
17420#if wxUSE_UNICODE
17421 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17422#else
17423 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17424#endif
17425 }
17426 return resultobj;
17427fail:
17428 return NULL;
d55e5bfc
RD
17429}
17430
17431
554f62e9
RD
17432SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17433 PyObject *resultobj = 0;
17434 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17435 wxString *arg2 = 0 ;
17436 void *argp1 = 0 ;
17437 int res1 = 0 ;
17438 bool temp2 = false ;
17439 PyObject * obj0 = 0 ;
17440 PyObject * obj1 = 0 ;
17441 char * kwnames[] = {
17442 (char *) "self",(char *) "message", NULL
17443 };
17444
17445 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17446 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17447 if (!SWIG_IsOK(res1)) {
17448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17449 }
17450 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17451 {
17452 arg2 = wxString_in_helper(obj1);
17453 if (arg2 == NULL) SWIG_fail;
17454 temp2 = true;
17455 }
17456 {
17457 PyThreadState* __tstate = wxPyBeginAllowThreads();
17458 (arg1)->SetMessage((wxString const &)*arg2);
17459 wxPyEndAllowThreads(__tstate);
17460 if (PyErr_Occurred()) SWIG_fail;
17461 }
17462 resultobj = SWIG_Py_Void();
17463 {
17464 if (temp2)
17465 delete arg2;
17466 }
17467 return resultobj;
17468fail:
17469 {
17470 if (temp2)
17471 delete arg2;
17472 }
17473 return NULL;
d55e5bfc
RD
17474}
17475
17476
554f62e9
RD
17477SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17478 PyObject *resultobj = 0;
17479 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17480 wxString *arg2 = 0 ;
17481 void *argp1 = 0 ;
17482 int res1 = 0 ;
17483 bool temp2 = false ;
17484 PyObject * obj0 = 0 ;
17485 PyObject * obj1 = 0 ;
17486 char * kwnames[] = {
17487 (char *) "self",(char *) "path", NULL
17488 };
17489
17490 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17491 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17492 if (!SWIG_IsOK(res1)) {
17493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17494 }
17495 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17496 {
17497 arg2 = wxString_in_helper(obj1);
17498 if (arg2 == NULL) SWIG_fail;
17499 temp2 = true;
17500 }
17501 {
17502 PyThreadState* __tstate = wxPyBeginAllowThreads();
17503 (arg1)->SetPath((wxString const &)*arg2);
17504 wxPyEndAllowThreads(__tstate);
17505 if (PyErr_Occurred()) SWIG_fail;
17506 }
17507 resultobj = SWIG_Py_Void();
17508 {
17509 if (temp2)
17510 delete arg2;
17511 }
17512 return resultobj;
17513fail:
17514 {
17515 if (temp2)
17516 delete arg2;
17517 }
17518 return NULL;
17519}
17520
17521
17522SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17523 PyObject *obj;
17524 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17525 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
17526 return SWIG_Py_Void();
17527}
17528
17529SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17530 return SWIG_Python_InitShadowInstance(args);
17531}
17532
17533SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17534 PyObject *resultobj = 0;
17535 wxWindow *arg1 = (wxWindow *) 0 ;
17536 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
17537 wxString *arg2 = (wxString *) &arg2_defvalue ;
17538 wxString const &arg3_defvalue = wxPyEmptyString ;
17539 wxString *arg3 = (wxString *) &arg3_defvalue ;
17540 wxString const &arg4_defvalue = wxPyEmptyString ;
17541 wxString *arg4 = (wxString *) &arg4_defvalue ;
17542 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
17543 wxString *arg5 = (wxString *) &arg5_defvalue ;
704eda0c 17544 long arg6 = (long) wxFD_DEFAULT_STYLE ;
554f62e9
RD
17545 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17546 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17547 wxFileDialog *result = 0 ;
17548 void *argp1 = 0 ;
17549 int res1 = 0 ;
17550 bool temp2 = false ;
17551 bool temp3 = false ;
17552 bool temp4 = false ;
17553 bool temp5 = false ;
17554 long val6 ;
17555 int ecode6 = 0 ;
17556 wxPoint temp7 ;
17557 PyObject * obj0 = 0 ;
17558 PyObject * obj1 = 0 ;
17559 PyObject * obj2 = 0 ;
17560 PyObject * obj3 = 0 ;
17561 PyObject * obj4 = 0 ;
17562 PyObject * obj5 = 0 ;
17563 PyObject * obj6 = 0 ;
17564 char * kwnames[] = {
17565 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17566 };
17567
17568 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17569 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17570 if (!SWIG_IsOK(res1)) {
17571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17572 }
17573 arg1 = reinterpret_cast< wxWindow * >(argp1);
17574 if (obj1) {
d55e5bfc 17575 {
554f62e9
RD
17576 arg2 = wxString_in_helper(obj1);
17577 if (arg2 == NULL) SWIG_fail;
17578 temp2 = true;
d55e5bfc 17579 }
554f62e9
RD
17580 }
17581 if (obj2) {
d55e5bfc 17582 {
554f62e9
RD
17583 arg3 = wxString_in_helper(obj2);
17584 if (arg3 == NULL) SWIG_fail;
17585 temp3 = true;
d55e5bfc 17586 }
554f62e9
RD
17587 }
17588 if (obj3) {
17589 {
17590 arg4 = wxString_in_helper(obj3);
17591 if (arg4 == NULL) SWIG_fail;
17592 temp4 = true;
d55e5bfc 17593 }
554f62e9
RD
17594 }
17595 if (obj4) {
d55e5bfc 17596 {
554f62e9
RD
17597 arg5 = wxString_in_helper(obj4);
17598 if (arg5 == NULL) SWIG_fail;
17599 temp5 = true;
d55e5bfc 17600 }
554f62e9
RD
17601 }
17602 if (obj5) {
17603 ecode6 = SWIG_AsVal_long(obj5, &val6);
17604 if (!SWIG_IsOK(ecode6)) {
17605 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17606 }
17607 arg6 = static_cast< long >(val6);
17608 }
17609 if (obj6) {
d55e5bfc 17610 {
554f62e9
RD
17611 arg7 = &temp7;
17612 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
d55e5bfc 17613 }
554f62e9
RD
17614 }
17615 {
17616 if (!wxPyCheckForApp()) SWIG_fail;
17617 PyThreadState* __tstate = wxPyBeginAllowThreads();
17618 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17619 wxPyEndAllowThreads(__tstate);
17620 if (PyErr_Occurred()) SWIG_fail;
17621 }
17622 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17623 {
17624 if (temp2)
17625 delete arg2;
17626 }
17627 {
17628 if (temp3)
17629 delete arg3;
17630 }
17631 {
17632 if (temp4)
17633 delete arg4;
17634 }
17635 {
17636 if (temp5)
17637 delete arg5;
17638 }
17639 return resultobj;
17640fail:
17641 {
17642 if (temp2)
17643 delete arg2;
17644 }
17645 {
17646 if (temp3)
17647 delete arg3;
17648 }
17649 {
17650 if (temp4)
17651 delete arg4;
17652 }
17653 {
17654 if (temp5)
17655 delete arg5;
17656 }
17657 return NULL;
d55e5bfc
RD
17658}
17659
17660
554f62e9
RD
17661SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17662 PyObject *resultobj = 0;
17663 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17664 wxString *arg2 = 0 ;
17665 void *argp1 = 0 ;
17666 int res1 = 0 ;
17667 bool temp2 = false ;
17668 PyObject * obj0 = 0 ;
17669 PyObject * obj1 = 0 ;
17670 char * kwnames[] = {
17671 (char *) "self",(char *) "message", NULL
17672 };
17673
17674 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17675 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17676 if (!SWIG_IsOK(res1)) {
17677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17678 }
17679 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17680 {
17681 arg2 = wxString_in_helper(obj1);
17682 if (arg2 == NULL) SWIG_fail;
17683 temp2 = true;
17684 }
17685 {
17686 PyThreadState* __tstate = wxPyBeginAllowThreads();
17687 (arg1)->SetMessage((wxString const &)*arg2);
17688 wxPyEndAllowThreads(__tstate);
17689 if (PyErr_Occurred()) SWIG_fail;
17690 }
17691 resultobj = SWIG_Py_Void();
17692 {
17693 if (temp2)
17694 delete arg2;
17695 }
17696 return resultobj;
17697fail:
17698 {
17699 if (temp2)
17700 delete arg2;
17701 }
17702 return NULL;
d55e5bfc
RD
17703}
17704
17705
554f62e9
RD
17706SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17707 PyObject *resultobj = 0;
17708 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17709 wxString *arg2 = 0 ;
17710 void *argp1 = 0 ;
17711 int res1 = 0 ;
17712 bool temp2 = false ;
17713 PyObject * obj0 = 0 ;
17714 PyObject * obj1 = 0 ;
17715 char * kwnames[] = {
17716 (char *) "self",(char *) "path", NULL
17717 };
17718
17719 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17720 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17721 if (!SWIG_IsOK(res1)) {
17722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17723 }
17724 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17725 {
17726 arg2 = wxString_in_helper(obj1);
17727 if (arg2 == NULL) SWIG_fail;
17728 temp2 = true;
17729 }
17730 {
17731 PyThreadState* __tstate = wxPyBeginAllowThreads();
17732 (arg1)->SetPath((wxString const &)*arg2);
17733 wxPyEndAllowThreads(__tstate);
17734 if (PyErr_Occurred()) SWIG_fail;
17735 }
17736 resultobj = SWIG_Py_Void();
17737 {
17738 if (temp2)
17739 delete arg2;
17740 }
17741 return resultobj;
17742fail:
17743 {
17744 if (temp2)
17745 delete arg2;
17746 }
17747 return NULL;
d55e5bfc
RD
17748}
17749
17750
554f62e9
RD
17751SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17752 PyObject *resultobj = 0;
17753 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17754 wxString *arg2 = 0 ;
17755 void *argp1 = 0 ;
17756 int res1 = 0 ;
17757 bool temp2 = false ;
17758 PyObject * obj0 = 0 ;
17759 PyObject * obj1 = 0 ;
17760 char * kwnames[] = {
17761 (char *) "self",(char *) "dir", NULL
17762 };
17763
17764 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17765 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17766 if (!SWIG_IsOK(res1)) {
17767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17768 }
17769 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17770 {
17771 arg2 = wxString_in_helper(obj1);
17772 if (arg2 == NULL) SWIG_fail;
17773 temp2 = true;
17774 }
17775 {
17776 PyThreadState* __tstate = wxPyBeginAllowThreads();
17777 (arg1)->SetDirectory((wxString const &)*arg2);
17778 wxPyEndAllowThreads(__tstate);
17779 if (PyErr_Occurred()) SWIG_fail;
17780 }
17781 resultobj = SWIG_Py_Void();
17782 {
17783 if (temp2)
17784 delete arg2;
17785 }
17786 return resultobj;
17787fail:
17788 {
17789 if (temp2)
17790 delete arg2;
17791 }
17792 return NULL;
d55e5bfc
RD
17793}
17794
17795
554f62e9
RD
17796SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17797 PyObject *resultobj = 0;
17798 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17799 wxString *arg2 = 0 ;
17800 void *argp1 = 0 ;
17801 int res1 = 0 ;
17802 bool temp2 = false ;
17803 PyObject * obj0 = 0 ;
17804 PyObject * obj1 = 0 ;
17805 char * kwnames[] = {
17806 (char *) "self",(char *) "name", NULL
17807 };
17808
17809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17811 if (!SWIG_IsOK(res1)) {
17812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17813 }
17814 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17815 {
17816 arg2 = wxString_in_helper(obj1);
17817 if (arg2 == NULL) SWIG_fail;
17818 temp2 = true;
17819 }
17820 {
17821 PyThreadState* __tstate = wxPyBeginAllowThreads();
17822 (arg1)->SetFilename((wxString const &)*arg2);
17823 wxPyEndAllowThreads(__tstate);
17824 if (PyErr_Occurred()) SWIG_fail;
17825 }
17826 resultobj = SWIG_Py_Void();
17827 {
17828 if (temp2)
17829 delete arg2;
17830 }
17831 return resultobj;
17832fail:
17833 {
17834 if (temp2)
17835 delete arg2;
17836 }
17837 return NULL;
d55e5bfc
RD
17838}
17839
17840
554f62e9
RD
17841SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17842 PyObject *resultobj = 0;
17843 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17844 wxString *arg2 = 0 ;
17845 void *argp1 = 0 ;
17846 int res1 = 0 ;
17847 bool temp2 = false ;
17848 PyObject * obj0 = 0 ;
17849 PyObject * obj1 = 0 ;
17850 char * kwnames[] = {
17851 (char *) "self",(char *) "wildCard", NULL
17852 };
17853
17854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17856 if (!SWIG_IsOK(res1)) {
17857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17858 }
17859 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17860 {
17861 arg2 = wxString_in_helper(obj1);
17862 if (arg2 == NULL) SWIG_fail;
17863 temp2 = true;
17864 }
17865 {
17866 PyThreadState* __tstate = wxPyBeginAllowThreads();
17867 (arg1)->SetWildcard((wxString const &)*arg2);
17868 wxPyEndAllowThreads(__tstate);
17869 if (PyErr_Occurred()) SWIG_fail;
17870 }
17871 resultobj = SWIG_Py_Void();
17872 {
17873 if (temp2)
17874 delete arg2;
17875 }
17876 return resultobj;
17877fail:
17878 {
17879 if (temp2)
17880 delete arg2;
17881 }
17882 return NULL;
17883}
17884
17885
554f62e9
RD
17886SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17887 PyObject *resultobj = 0;
17888 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17889 int arg2 ;
17890 void *argp1 = 0 ;
17891 int res1 = 0 ;
17892 int val2 ;
17893 int ecode2 = 0 ;
17894 PyObject * obj0 = 0 ;
17895 PyObject * obj1 = 0 ;
17896 char * kwnames[] = {
17897 (char *) "self",(char *) "filterIndex", NULL
17898 };
17899
17900 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17902 if (!SWIG_IsOK(res1)) {
17903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17904 }
17905 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17906 ecode2 = SWIG_AsVal_int(obj1, &val2);
17907 if (!SWIG_IsOK(ecode2)) {
17908 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17909 }
17910 arg2 = static_cast< int >(val2);
17911 {
17912 PyThreadState* __tstate = wxPyBeginAllowThreads();
17913 (arg1)->SetFilterIndex(arg2);
17914 wxPyEndAllowThreads(__tstate);
17915 if (PyErr_Occurred()) SWIG_fail;
17916 }
17917 resultobj = SWIG_Py_Void();
17918 return resultobj;
17919fail:
17920 return NULL;
d55e5bfc
RD
17921}
17922
17923
554f62e9
RD
17924SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17925 PyObject *resultobj = 0;
17926 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17927 wxString result;
17928 void *argp1 = 0 ;
17929 int res1 = 0 ;
17930 PyObject *swig_obj[1] ;
17931
17932 if (!args) SWIG_fail;
17933 swig_obj[0] = args;
17934 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17935 if (!SWIG_IsOK(res1)) {
17936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17937 }
17938 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17939 {
17940 PyThreadState* __tstate = wxPyBeginAllowThreads();
17941 result = ((wxFileDialog const *)arg1)->GetMessage();
17942 wxPyEndAllowThreads(__tstate);
17943 if (PyErr_Occurred()) SWIG_fail;
17944 }
17945 {
17946#if wxUSE_UNICODE
17947 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17948#else
17949 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17950#endif
17951 }
17952 return resultobj;
17953fail:
17954 return NULL;
d55e5bfc
RD
17955}
17956
17957
554f62e9
RD
17958SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17959 PyObject *resultobj = 0;
17960 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17961 wxString result;
17962 void *argp1 = 0 ;
17963 int res1 = 0 ;
17964 PyObject *swig_obj[1] ;
17965
17966 if (!args) SWIG_fail;
17967 swig_obj[0] = args;
17968 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17969 if (!SWIG_IsOK(res1)) {
17970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17971 }
17972 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17973 {
17974 PyThreadState* __tstate = wxPyBeginAllowThreads();
17975 result = ((wxFileDialog const *)arg1)->GetPath();
17976 wxPyEndAllowThreads(__tstate);
17977 if (PyErr_Occurred()) SWIG_fail;
17978 }
17979 {
17980#if wxUSE_UNICODE
17981 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17982#else
17983 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17984#endif
17985 }
17986 return resultobj;
17987fail:
17988 return NULL;
d55e5bfc
RD
17989}
17990
17991
554f62e9
RD
17992SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17993 PyObject *resultobj = 0;
17994 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17995 wxString result;
17996 void *argp1 = 0 ;
17997 int res1 = 0 ;
17998 PyObject *swig_obj[1] ;
17999
18000 if (!args) SWIG_fail;
18001 swig_obj[0] = args;
18002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
18003 if (!SWIG_IsOK(res1)) {
18004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
18005 }
18006 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
18007 {
18008 PyThreadState* __tstate = wxPyBeginAllowThreads();
18009 result = ((wxFileDialog const *)arg1)->GetDirectory();
18010 wxPyEndAllowThreads(__tstate);
18011 if (PyErr_Occurred()) SWIG_fail;
18012 }
18013 {
18014#if wxUSE_UNICODE
18015 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18016#else
18017 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18018#endif
18019 }
18020 return resultobj;
18021fail:
18022 return NULL;
d55e5bfc
RD
18023}
18024
18025
554f62e9
RD
18026SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18027 PyObject *resultobj = 0;
18028 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
18029 wxString result;
18030 void *argp1 = 0 ;
18031 int res1 = 0 ;
18032 PyObject *swig_obj[1] ;
18033
18034 if (!args) SWIG_fail;
18035 swig_obj[0] = args;
18036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
18037 if (!SWIG_IsOK(res1)) {
18038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
18039 }
18040 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
18041 {
18042 PyThreadState* __tstate = wxPyBeginAllowThreads();
18043 result = ((wxFileDialog const *)arg1)->GetFilename();
18044 wxPyEndAllowThreads(__tstate);
18045 if (PyErr_Occurred()) SWIG_fail;
18046 }
18047 {
18048#if wxUSE_UNICODE
18049 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18050#else
18051 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18052#endif
18053 }
18054 return resultobj;
18055fail:
18056 return NULL;
d55e5bfc
RD
18057}
18058
18059
554f62e9
RD
18060SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18061 PyObject *resultobj = 0;
18062 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
18063 wxString result;
18064 void *argp1 = 0 ;
18065 int res1 = 0 ;
18066 PyObject *swig_obj[1] ;
18067
18068 if (!args) SWIG_fail;
18069 swig_obj[0] = args;
18070 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
18071 if (!SWIG_IsOK(res1)) {
18072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
18073 }
18074 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
18075 {
18076 PyThreadState* __tstate = wxPyBeginAllowThreads();
18077 result = ((wxFileDialog const *)arg1)->GetWildcard();
18078 wxPyEndAllowThreads(__tstate);
18079 if (PyErr_Occurred()) SWIG_fail;
18080 }
18081 {
18082#if wxUSE_UNICODE
18083 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18084#else
18085 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18086#endif
18087 }
18088 return resultobj;
18089fail:
18090 return NULL;
d55e5bfc
RD
18091}
18092
18093
554f62e9
RD
18094SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18095 PyObject *resultobj = 0;
18096 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
18097 int result;
18098 void *argp1 = 0 ;
18099 int res1 = 0 ;
18100 PyObject *swig_obj[1] ;
18101
18102 if (!args) SWIG_fail;
18103 swig_obj[0] = args;
18104 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
18105 if (!SWIG_IsOK(res1)) {
18106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
18107 }
18108 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
18109 {
18110 PyThreadState* __tstate = wxPyBeginAllowThreads();
18111 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
18112 wxPyEndAllowThreads(__tstate);
18113 if (PyErr_Occurred()) SWIG_fail;
18114 }
18115 resultobj = SWIG_From_int(static_cast< int >(result));
18116 return resultobj;
18117fail:
18118 return NULL;
d55e5bfc
RD
18119}
18120
18121
554f62e9
RD
18122SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18123 PyObject *resultobj = 0;
18124 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
18125 PyObject *result = 0 ;
18126 void *argp1 = 0 ;
18127 int res1 = 0 ;
18128 PyObject *swig_obj[1] ;
18129
18130 if (!args) SWIG_fail;
18131 swig_obj[0] = args;
18132 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
18133 if (!SWIG_IsOK(res1)) {
18134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
18135 }
18136 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
18137 {
18138 PyThreadState* __tstate = wxPyBeginAllowThreads();
18139 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
18140 wxPyEndAllowThreads(__tstate);
18141 if (PyErr_Occurred()) SWIG_fail;
18142 }
18143 resultobj = result;
18144 return resultobj;
18145fail:
18146 return NULL;
d55e5bfc
RD
18147}
18148
18149
554f62e9
RD
18150SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18151 PyObject *resultobj = 0;
18152 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
18153 PyObject *result = 0 ;
18154 void *argp1 = 0 ;
18155 int res1 = 0 ;
18156 PyObject *swig_obj[1] ;
18157
18158 if (!args) SWIG_fail;
18159 swig_obj[0] = args;
18160 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
18161 if (!SWIG_IsOK(res1)) {
18162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
18163 }
18164 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
18165 {
18166 PyThreadState* __tstate = wxPyBeginAllowThreads();
18167 result = (PyObject *)wxFileDialog_GetPaths(arg1);
18168 wxPyEndAllowThreads(__tstate);
18169 if (PyErr_Occurred()) SWIG_fail;
18170 }
18171 resultobj = result;
18172 return resultobj;
18173fail:
18174 return NULL;
18175}
18176
18177
18178SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18179 PyObject *obj;
18180 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18181 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
18182 return SWIG_Py_Void();
18183}
18184
18185SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18186 return SWIG_Python_InitShadowInstance(args);
18187}
18188
18189SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18190 PyObject *resultobj = 0;
18191 wxWindow *arg1 = (wxWindow *) 0 ;
18192 wxString *arg2 = 0 ;
18193 wxString *arg3 = 0 ;
18194 int arg4 = (int) 0 ;
18195 wxString *arg5 = (wxString *) NULL ;
18196 long arg6 = (long) wxCHOICEDLG_STYLE ;
18197 wxPoint const &arg7_defvalue = wxDefaultPosition ;
18198 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
18199 wxMultiChoiceDialog *result = 0 ;
18200 void *argp1 = 0 ;
18201 int res1 = 0 ;
18202 bool temp2 = false ;
18203 bool temp3 = false ;
18204 long val6 ;
18205 int ecode6 = 0 ;
18206 wxPoint temp7 ;
18207 PyObject * obj0 = 0 ;
18208 PyObject * obj1 = 0 ;
18209 PyObject * obj2 = 0 ;
18210 PyObject * obj3 = 0 ;
18211 PyObject * obj4 = 0 ;
18212 PyObject * obj5 = 0 ;
18213 char * kwnames[] = {
18214 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18215 };
18216
18217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18219 if (!SWIG_IsOK(res1)) {
18220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18221 }
18222 arg1 = reinterpret_cast< wxWindow * >(argp1);
18223 {
18224 arg2 = wxString_in_helper(obj1);
18225 if (arg2 == NULL) SWIG_fail;
18226 temp2 = true;
18227 }
18228 {
18229 arg3 = wxString_in_helper(obj2);
18230 if (arg3 == NULL) SWIG_fail;
18231 temp3 = true;
18232 }
18233 if (obj3) {
d55e5bfc 18234 {
554f62e9
RD
18235 arg4 = PyList_Size(obj3);
18236 arg5 = wxString_LIST_helper(obj3);
18237 if (arg5 == NULL) SWIG_fail;
d55e5bfc 18238 }
554f62e9
RD
18239 }
18240 if (obj4) {
18241 ecode6 = SWIG_AsVal_long(obj4, &val6);
18242 if (!SWIG_IsOK(ecode6)) {
18243 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18244 }
18245 arg6 = static_cast< long >(val6);
18246 }
18247 if (obj5) {
d55e5bfc 18248 {
554f62e9
RD
18249 arg7 = &temp7;
18250 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
d55e5bfc 18251 }
554f62e9
RD
18252 }
18253 {
18254 if (!wxPyCheckForApp()) SWIG_fail;
18255 PyThreadState* __tstate = wxPyBeginAllowThreads();
18256 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18257 wxPyEndAllowThreads(__tstate);
18258 if (PyErr_Occurred()) SWIG_fail;
18259 }
18260 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
18261 {
18262 if (temp2)
18263 delete arg2;
18264 }
18265 {
18266 if (temp3)
18267 delete arg3;
18268 }
18269 {
18270 if (arg5) delete [] arg5;
18271 }
18272 return resultobj;
18273fail:
18274 {
18275 if (temp2)
18276 delete arg2;
18277 }
18278 {
18279 if (temp3)
18280 delete arg3;
18281 }
18282 {
18283 if (arg5) delete [] arg5;
18284 }
18285 return NULL;
d55e5bfc
RD
18286}
18287
18288
554f62e9
RD
18289SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18290 PyObject *resultobj = 0;
18291 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
18292 wxArrayInt *arg2 = 0 ;
18293 void *argp1 = 0 ;
18294 int res1 = 0 ;
18295 bool temp2 = false ;
18296 PyObject * obj0 = 0 ;
18297 PyObject * obj1 = 0 ;
18298 char * kwnames[] = {
18299 (char *) "self",(char *) "selections", NULL
18300 };
18301
18302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
18303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
18304 if (!SWIG_IsOK(res1)) {
18305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18306 }
18307 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
18308 {
18309 if (! PySequence_Check(obj1)) {
18310 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
18311 SWIG_fail;
18312 }
18313 arg2 = new wxArrayInt;
18314 temp2 = true;
18315 int i, len=PySequence_Length(obj1);
18316 for (i=0; i<len; i++) {
18317 PyObject* item = PySequence_GetItem(obj1, i);
18318 PyObject* number = PyNumber_Int(item);
ec8a7755
RD
18319 if (!number) {
18320 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
18321 SWIG_fail;
18322 }
554f62e9
RD
18323 arg2->Add(PyInt_AS_LONG(number));
18324 Py_DECREF(item);
18325 Py_DECREF(number);
093d3ff1 18326 }
554f62e9
RD
18327 }
18328 {
18329 PyThreadState* __tstate = wxPyBeginAllowThreads();
18330 (arg1)->SetSelections((wxArrayInt const &)*arg2);
18331 wxPyEndAllowThreads(__tstate);
18332 if (PyErr_Occurred()) SWIG_fail;
18333 }
18334 resultobj = SWIG_Py_Void();
18335 {
18336 if (temp2) delete arg2;
18337 }
18338 return resultobj;
18339fail:
18340 {
18341 if (temp2) delete arg2;
18342 }
18343 return NULL;
d55e5bfc
RD
18344}
18345
18346
554f62e9
RD
18347SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18348 PyObject *resultobj = 0;
18349 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
18350 PyObject *result = 0 ;
18351 void *argp1 = 0 ;
18352 int res1 = 0 ;
18353 PyObject *swig_obj[1] ;
18354
18355 if (!args) SWIG_fail;
18356 swig_obj[0] = args;
18357 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
18358 if (!SWIG_IsOK(res1)) {
18359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18360 }
18361 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
18362 {
18363 PyThreadState* __tstate = wxPyBeginAllowThreads();
18364 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
18365 wxPyEndAllowThreads(__tstate);
18366 if (PyErr_Occurred()) SWIG_fail;
18367 }
18368 resultobj = result;
18369 return resultobj;
18370fail:
18371 return NULL;
18372}
18373
18374
18375SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18376 PyObject *obj;
18377 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18378 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
18379 return SWIG_Py_Void();
18380}
18381
18382SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18383 return SWIG_Python_InitShadowInstance(args);
18384}
18385
18386SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18387 PyObject *resultobj = 0;
18388 wxWindow *arg1 = (wxWindow *) 0 ;
18389 wxString *arg2 = 0 ;
18390 wxString *arg3 = 0 ;
18391 int arg4 ;
18392 wxString *arg5 = (wxString *) 0 ;
18393 long arg6 = (long) wxCHOICEDLG_STYLE ;
18394 wxPoint const &arg7_defvalue = wxDefaultPosition ;
18395 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
18396 wxSingleChoiceDialog *result = 0 ;
18397 void *argp1 = 0 ;
18398 int res1 = 0 ;
18399 bool temp2 = false ;
18400 bool temp3 = false ;
18401 long val6 ;
18402 int ecode6 = 0 ;
18403 wxPoint temp7 ;
18404 PyObject * obj0 = 0 ;
18405 PyObject * obj1 = 0 ;
18406 PyObject * obj2 = 0 ;
18407 PyObject * obj3 = 0 ;
18408 PyObject * obj4 = 0 ;
18409 PyObject * obj5 = 0 ;
18410 char * kwnames[] = {
18411 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18412 };
18413
18414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18415 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18416 if (!SWIG_IsOK(res1)) {
18417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18418 }
18419 arg1 = reinterpret_cast< wxWindow * >(argp1);
18420 {
18421 arg2 = wxString_in_helper(obj1);
18422 if (arg2 == NULL) SWIG_fail;
18423 temp2 = true;
18424 }
18425 {
18426 arg3 = wxString_in_helper(obj2);
18427 if (arg3 == NULL) SWIG_fail;
18428 temp3 = true;
18429 }
18430 {
18431 arg4 = PyList_Size(obj3);
18432 arg5 = wxString_LIST_helper(obj3);
18433 if (arg5 == NULL) SWIG_fail;
18434 }
18435 if (obj4) {
18436 ecode6 = SWIG_AsVal_long(obj4, &val6);
18437 if (!SWIG_IsOK(ecode6)) {
18438 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18439 }
18440 arg6 = static_cast< long >(val6);
18441 }
18442 if (obj5) {
093d3ff1 18443 {
554f62e9
RD
18444 arg7 = &temp7;
18445 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
093d3ff1 18446 }
554f62e9
RD
18447 }
18448 {
18449 if (!wxPyCheckForApp()) SWIG_fail;
18450 PyThreadState* __tstate = wxPyBeginAllowThreads();
18451 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18452 wxPyEndAllowThreads(__tstate);
18453 if (PyErr_Occurred()) SWIG_fail;
18454 }
18455 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
18456 {
18457 if (temp2)
18458 delete arg2;
18459 }
18460 {
18461 if (temp3)
18462 delete arg3;
18463 }
18464 {
18465 if (arg5) delete [] arg5;
18466 }
18467 return resultobj;
18468fail:
18469 {
18470 if (temp2)
18471 delete arg2;
18472 }
18473 {
18474 if (temp3)
18475 delete arg3;
18476 }
18477 {
18478 if (arg5) delete [] arg5;
18479 }
18480 return NULL;
d55e5bfc
RD
18481}
18482
18483
554f62e9
RD
18484SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18485 PyObject *resultobj = 0;
18486 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18487 int result;
18488 void *argp1 = 0 ;
18489 int res1 = 0 ;
18490 PyObject *swig_obj[1] ;
18491
18492 if (!args) SWIG_fail;
18493 swig_obj[0] = args;
18494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18495 if (!SWIG_IsOK(res1)) {
18496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18497 }
18498 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18499 {
18500 PyThreadState* __tstate = wxPyBeginAllowThreads();
18501 result = (int)(arg1)->GetSelection();
18502 wxPyEndAllowThreads(__tstate);
18503 if (PyErr_Occurred()) SWIG_fail;
18504 }
18505 resultobj = SWIG_From_int(static_cast< int >(result));
18506 return resultobj;
18507fail:
18508 return NULL;
d55e5bfc
RD
18509}
18510
18511
554f62e9
RD
18512SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18513 PyObject *resultobj = 0;
18514 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18515 wxString result;
18516 void *argp1 = 0 ;
18517 int res1 = 0 ;
18518 PyObject *swig_obj[1] ;
18519
18520 if (!args) SWIG_fail;
18521 swig_obj[0] = args;
18522 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18523 if (!SWIG_IsOK(res1)) {
18524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18525 }
18526 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18527 {
18528 PyThreadState* __tstate = wxPyBeginAllowThreads();
18529 result = (arg1)->GetStringSelection();
18530 wxPyEndAllowThreads(__tstate);
18531 if (PyErr_Occurred()) SWIG_fail;
18532 }
18533 {
18534#if wxUSE_UNICODE
18535 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18536#else
18537 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18538#endif
18539 }
18540 return resultobj;
18541fail:
18542 return NULL;
18543}
18544
18545
18546SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18547 PyObject *resultobj = 0;
18548 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18549 int arg2 ;
18550 void *argp1 = 0 ;
18551 int res1 = 0 ;
18552 int val2 ;
18553 int ecode2 = 0 ;
18554 PyObject * obj0 = 0 ;
18555 PyObject * obj1 = 0 ;
18556 char * kwnames[] = {
18557 (char *) "self",(char *) "sel", NULL
18558 };
18559
18560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18562 if (!SWIG_IsOK(res1)) {
18563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18564 }
18565 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18566 ecode2 = SWIG_AsVal_int(obj1, &val2);
18567 if (!SWIG_IsOK(ecode2)) {
18568 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18569 }
18570 arg2 = static_cast< int >(val2);
18571 {
18572 PyThreadState* __tstate = wxPyBeginAllowThreads();
18573 (arg1)->SetSelection(arg2);
18574 wxPyEndAllowThreads(__tstate);
18575 if (PyErr_Occurred()) SWIG_fail;
18576 }
18577 resultobj = SWIG_Py_Void();
18578 return resultobj;
18579fail:
18580 return NULL;
18581}
18582
18583
18584SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18585 PyObject *obj;
18586 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18587 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18588 return SWIG_Py_Void();
18589}
18590
18591SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18592 return SWIG_Python_InitShadowInstance(args);
18593}
18594
18595SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18596 PyObject *resultobj = 0;
18597 wxWindow *arg1 = (wxWindow *) 0 ;
18598 wxString *arg2 = 0 ;
18599 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18600 wxString *arg3 = (wxString *) &arg3_defvalue ;
18601 wxString const &arg4_defvalue = wxPyEmptyString ;
18602 wxString *arg4 = (wxString *) &arg4_defvalue ;
18603 long arg5 = (long) wxTextEntryDialogStyle ;
18604 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18605 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18606 wxTextEntryDialog *result = 0 ;
18607 void *argp1 = 0 ;
18608 int res1 = 0 ;
18609 bool temp2 = false ;
18610 bool temp3 = false ;
18611 bool temp4 = false ;
18612 long val5 ;
18613 int ecode5 = 0 ;
18614 wxPoint temp6 ;
18615 PyObject * obj0 = 0 ;
18616 PyObject * obj1 = 0 ;
18617 PyObject * obj2 = 0 ;
18618 PyObject * obj3 = 0 ;
18619 PyObject * obj4 = 0 ;
18620 PyObject * obj5 = 0 ;
18621 char * kwnames[] = {
18622 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18623 };
18624
18625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18627 if (!SWIG_IsOK(res1)) {
18628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18629 }
18630 arg1 = reinterpret_cast< wxWindow * >(argp1);
18631 {
18632 arg2 = wxString_in_helper(obj1);
18633 if (arg2 == NULL) SWIG_fail;
18634 temp2 = true;
18635 }
18636 if (obj2) {
093d3ff1 18637 {
554f62e9
RD
18638 arg3 = wxString_in_helper(obj2);
18639 if (arg3 == NULL) SWIG_fail;
18640 temp3 = true;
093d3ff1 18641 }
554f62e9
RD
18642 }
18643 if (obj3) {
d55e5bfc 18644 {
554f62e9
RD
18645 arg4 = wxString_in_helper(obj3);
18646 if (arg4 == NULL) SWIG_fail;
18647 temp4 = true;
d55e5bfc 18648 }
554f62e9
RD
18649 }
18650 if (obj4) {
18651 ecode5 = SWIG_AsVal_long(obj4, &val5);
18652 if (!SWIG_IsOK(ecode5)) {
18653 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18654 }
18655 arg5 = static_cast< long >(val5);
18656 }
18657 if (obj5) {
d55e5bfc 18658 {
554f62e9
RD
18659 arg6 = &temp6;
18660 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 18661 }
554f62e9
RD
18662 }
18663 {
18664 if (!wxPyCheckForApp()) SWIG_fail;
18665 PyThreadState* __tstate = wxPyBeginAllowThreads();
18666 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18667 wxPyEndAllowThreads(__tstate);
18668 if (PyErr_Occurred()) SWIG_fail;
18669 }
18670 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18671 {
18672 if (temp2)
18673 delete arg2;
18674 }
18675 {
18676 if (temp3)
18677 delete arg3;
18678 }
18679 {
18680 if (temp4)
18681 delete arg4;
18682 }
18683 return resultobj;
18684fail:
18685 {
18686 if (temp2)
18687 delete arg2;
18688 }
18689 {
18690 if (temp3)
18691 delete arg3;
18692 }
18693 {
18694 if (temp4)
18695 delete arg4;
18696 }
18697 return NULL;
d55e5bfc
RD
18698}
18699
18700
554f62e9
RD
18701SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18702 PyObject *resultobj = 0;
18703 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18704 wxString result;
18705 void *argp1 = 0 ;
18706 int res1 = 0 ;
18707 PyObject *swig_obj[1] ;
18708
18709 if (!args) SWIG_fail;
18710 swig_obj[0] = args;
18711 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18712 if (!SWIG_IsOK(res1)) {
18713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18714 }
18715 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18716 {
18717 PyThreadState* __tstate = wxPyBeginAllowThreads();
18718 result = (arg1)->GetValue();
18719 wxPyEndAllowThreads(__tstate);
18720 if (PyErr_Occurred()) SWIG_fail;
18721 }
18722 {
18723#if wxUSE_UNICODE
18724 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18725#else
18726 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18727#endif
18728 }
18729 return resultobj;
18730fail:
18731 return NULL;
18732}
18733
18734
18735SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18736 PyObject *resultobj = 0;
18737 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18738 wxString *arg2 = 0 ;
18739 void *argp1 = 0 ;
18740 int res1 = 0 ;
18741 bool temp2 = false ;
18742 PyObject * obj0 = 0 ;
18743 PyObject * obj1 = 0 ;
18744 char * kwnames[] = {
18745 (char *) "self",(char *) "value", NULL
18746 };
18747
18748 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18749 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18750 if (!SWIG_IsOK(res1)) {
18751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18752 }
18753 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18754 {
18755 arg2 = wxString_in_helper(obj1);
18756 if (arg2 == NULL) SWIG_fail;
18757 temp2 = true;
18758 }
18759 {
18760 PyThreadState* __tstate = wxPyBeginAllowThreads();
18761 (arg1)->SetValue((wxString const &)*arg2);
18762 wxPyEndAllowThreads(__tstate);
18763 if (PyErr_Occurred()) SWIG_fail;
18764 }
18765 resultobj = SWIG_Py_Void();
18766 {
18767 if (temp2)
18768 delete arg2;
18769 }
18770 return resultobj;
18771fail:
18772 {
18773 if (temp2)
18774 delete arg2;
18775 }
18776 return NULL;
d55e5bfc
RD
18777}
18778
18779
554f62e9
RD
18780SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18781 PyObject *obj;
18782 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18783 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18784 return SWIG_Py_Void();
d55e5bfc
RD
18785}
18786
554f62e9
RD
18787SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18788 return SWIG_Python_InitShadowInstance(args);
18789}
d55e5bfc 18790
554f62e9
RD
18791SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18792 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18793 return 1;
d55e5bfc
RD
18794}
18795
18796
554f62e9
RD
18797SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18798 PyObject *pyobj = 0;
18799
18800 {
18801#if wxUSE_UNICODE
18802 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18803#else
18804 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18805#endif
18806 }
18807 return pyobj;
18808}
18809
18810
18811SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18812 PyObject *resultobj = 0;
18813 wxWindow *arg1 = (wxWindow *) 0 ;
18814 wxString *arg2 = 0 ;
18815 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18816 wxString *arg3 = (wxString *) &arg3_defvalue ;
18817 wxString const &arg4_defvalue = wxPyEmptyString ;
18818 wxString *arg4 = (wxString *) &arg4_defvalue ;
18819 long arg5 = (long) wxTextEntryDialogStyle ;
18820 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18821 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18822 wxPasswordEntryDialog *result = 0 ;
18823 void *argp1 = 0 ;
18824 int res1 = 0 ;
18825 bool temp2 = false ;
18826 bool temp3 = false ;
18827 bool temp4 = false ;
18828 long val5 ;
18829 int ecode5 = 0 ;
18830 wxPoint temp6 ;
18831 PyObject * obj0 = 0 ;
18832 PyObject * obj1 = 0 ;
18833 PyObject * obj2 = 0 ;
18834 PyObject * obj3 = 0 ;
18835 PyObject * obj4 = 0 ;
18836 PyObject * obj5 = 0 ;
18837 char * kwnames[] = {
18838 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18839 };
18840
18841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18842 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18843 if (!SWIG_IsOK(res1)) {
18844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18845 }
18846 arg1 = reinterpret_cast< wxWindow * >(argp1);
18847 {
18848 arg2 = wxString_in_helper(obj1);
18849 if (arg2 == NULL) SWIG_fail;
18850 temp2 = true;
18851 }
18852 if (obj2) {
d55e5bfc 18853 {
554f62e9
RD
18854 arg3 = wxString_in_helper(obj2);
18855 if (arg3 == NULL) SWIG_fail;
18856 temp3 = true;
d55e5bfc 18857 }
554f62e9
RD
18858 }
18859 if (obj3) {
d55e5bfc 18860 {
554f62e9
RD
18861 arg4 = wxString_in_helper(obj3);
18862 if (arg4 == NULL) SWIG_fail;
18863 temp4 = true;
d55e5bfc 18864 }
554f62e9
RD
18865 }
18866 if (obj4) {
18867 ecode5 = SWIG_AsVal_long(obj4, &val5);
18868 if (!SWIG_IsOK(ecode5)) {
18869 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18870 }
18871 arg5 = static_cast< long >(val5);
18872 }
18873 if (obj5) {
093d3ff1 18874 {
554f62e9
RD
18875 arg6 = &temp6;
18876 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
093d3ff1 18877 }
554f62e9
RD
18878 }
18879 {
18880 PyThreadState* __tstate = wxPyBeginAllowThreads();
18881 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18882 wxPyEndAllowThreads(__tstate);
18883 if (PyErr_Occurred()) SWIG_fail;
18884 }
18885 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18886 {
18887 if (temp2)
18888 delete arg2;
18889 }
18890 {
18891 if (temp3)
18892 delete arg3;
18893 }
18894 {
18895 if (temp4)
18896 delete arg4;
18897 }
18898 return resultobj;
18899fail:
18900 {
18901 if (temp2)
18902 delete arg2;
18903 }
18904 {
18905 if (temp3)
18906 delete arg3;
18907 }
18908 {
18909 if (temp4)
18910 delete arg4;
18911 }
18912 return NULL;
d55e5bfc
RD
18913}
18914
18915
554f62e9
RD
18916SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18917 PyObject *obj;
18918 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18919 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18920 return SWIG_Py_Void();
d55e5bfc
RD
18921}
18922
554f62e9
RD
18923SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18924 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
18925}
18926
27e45892
RD
18927SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18928 PyObject *resultobj = 0;
18929 wxWindow *arg1 = (wxWindow *) 0 ;
18930 wxString *arg2 = 0 ;
18931 wxString *arg3 = 0 ;
18932 wxString *arg4 = 0 ;
18933 long arg5 ;
18934 long arg6 ;
18935 long arg7 ;
18936 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18937 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18938 wxNumberEntryDialog *result = 0 ;
18939 void *argp1 = 0 ;
18940 int res1 = 0 ;
18941 bool temp2 = false ;
18942 bool temp3 = false ;
18943 bool temp4 = false ;
18944 long val5 ;
18945 int ecode5 = 0 ;
18946 long val6 ;
18947 int ecode6 = 0 ;
18948 long val7 ;
18949 int ecode7 = 0 ;
18950 wxPoint temp8 ;
18951 PyObject * obj0 = 0 ;
18952 PyObject * obj1 = 0 ;
18953 PyObject * obj2 = 0 ;
18954 PyObject * obj3 = 0 ;
18955 PyObject * obj4 = 0 ;
18956 PyObject * obj5 = 0 ;
18957 PyObject * obj6 = 0 ;
18958 PyObject * obj7 = 0 ;
18959 char * kwnames[] = {
18960 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18961 };
18962
18963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18965 if (!SWIG_IsOK(res1)) {
18966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18967 }
18968 arg1 = reinterpret_cast< wxWindow * >(argp1);
18969 {
18970 arg2 = wxString_in_helper(obj1);
18971 if (arg2 == NULL) SWIG_fail;
18972 temp2 = true;
18973 }
18974 {
18975 arg3 = wxString_in_helper(obj2);
18976 if (arg3 == NULL) SWIG_fail;
18977 temp3 = true;
18978 }
18979 {
18980 arg4 = wxString_in_helper(obj3);
18981 if (arg4 == NULL) SWIG_fail;
18982 temp4 = true;
18983 }
18984 ecode5 = SWIG_AsVal_long(obj4, &val5);
18985 if (!SWIG_IsOK(ecode5)) {
18986 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18987 }
18988 arg5 = static_cast< long >(val5);
18989 ecode6 = SWIG_AsVal_long(obj5, &val6);
18990 if (!SWIG_IsOK(ecode6)) {
18991 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18992 }
18993 arg6 = static_cast< long >(val6);
18994 ecode7 = SWIG_AsVal_long(obj6, &val7);
18995 if (!SWIG_IsOK(ecode7)) {
18996 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18997 }
18998 arg7 = static_cast< long >(val7);
18999 if (obj7) {
19000 {
19001 arg8 = &temp8;
19002 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
19003 }
19004 }
19005 {
19006 if (!wxPyCheckForApp()) SWIG_fail;
19007 PyThreadState* __tstate = wxPyBeginAllowThreads();
19008 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
19009 wxPyEndAllowThreads(__tstate);
19010 if (PyErr_Occurred()) SWIG_fail;
19011 }
19012 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
19013 {
19014 if (temp2)
19015 delete arg2;
19016 }
19017 {
19018 if (temp3)
19019 delete arg3;
19020 }
19021 {
19022 if (temp4)
19023 delete arg4;
19024 }
19025 return resultobj;
19026fail:
19027 {
19028 if (temp2)
19029 delete arg2;
19030 }
19031 {
19032 if (temp3)
19033 delete arg3;
19034 }
19035 {
19036 if (temp4)
19037 delete arg4;
19038 }
19039 return NULL;
19040}
19041
19042
19043SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19044 PyObject *resultobj = 0;
19045 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
19046 long result;
19047 void *argp1 = 0 ;
19048 int res1 = 0 ;
19049 PyObject *swig_obj[1] ;
19050
19051 if (!args) SWIG_fail;
19052 swig_obj[0] = args;
19053 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
19054 if (!SWIG_IsOK(res1)) {
19055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
19056 }
19057 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
19058 {
19059 PyThreadState* __tstate = wxPyBeginAllowThreads();
19060 result = (long)(arg1)->GetValue();
19061 wxPyEndAllowThreads(__tstate);
19062 if (PyErr_Occurred()) SWIG_fail;
19063 }
19064 resultobj = SWIG_From_long(static_cast< long >(result));
19065 return resultobj;
19066fail:
19067 return NULL;
19068}
19069
19070
19071SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19072 PyObject *obj;
19073 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19074 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
19075 return SWIG_Py_Void();
19076}
19077
19078SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19079 return SWIG_Python_InitShadowInstance(args);
19080}
19081
554f62e9
RD
19082SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19083 PyObject *resultobj = 0;
19084 wxFontData *result = 0 ;
19085
19086 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
19087 {
19088 PyThreadState* __tstate = wxPyBeginAllowThreads();
19089 result = (wxFontData *)new wxFontData();
19090 wxPyEndAllowThreads(__tstate);
19091 if (PyErr_Occurred()) SWIG_fail;
19092 }
19093 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
19094 return resultobj;
19095fail:
19096 return NULL;
d55e5bfc
RD
19097}
19098
19099
554f62e9
RD
19100SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19101 PyObject *resultobj = 0;
19102 wxFontData *arg1 = (wxFontData *) 0 ;
19103 void *argp1 = 0 ;
19104 int res1 = 0 ;
19105 PyObject *swig_obj[1] ;
19106
19107 if (!args) SWIG_fail;
19108 swig_obj[0] = args;
19109 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
19110 if (!SWIG_IsOK(res1)) {
19111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
19112 }
19113 arg1 = reinterpret_cast< wxFontData * >(argp1);
19114 {
19115 PyThreadState* __tstate = wxPyBeginAllowThreads();
19116 delete arg1;
d55e5bfc 19117
554f62e9
RD
19118 wxPyEndAllowThreads(__tstate);
19119 if (PyErr_Occurred()) SWIG_fail;
19120 }
19121 resultobj = SWIG_Py_Void();
19122 return resultobj;
19123fail:
19124 return NULL;
19125}
19126
19127
19128SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19129 PyObject *resultobj = 0;
19130 wxFontData *arg1 = (wxFontData *) 0 ;
19131 bool arg2 ;
19132 void *argp1 = 0 ;
19133 int res1 = 0 ;
19134 bool val2 ;
19135 int ecode2 = 0 ;
19136 PyObject * obj0 = 0 ;
19137 PyObject * obj1 = 0 ;
19138 char * kwnames[] = {
19139 (char *) "self",(char *) "enable", NULL
19140 };
19141
19142 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
19143 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19144 if (!SWIG_IsOK(res1)) {
19145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
19146 }
19147 arg1 = reinterpret_cast< wxFontData * >(argp1);
19148 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19149 if (!SWIG_IsOK(ecode2)) {
19150 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
19151 }
19152 arg2 = static_cast< bool >(val2);
19153 {
19154 PyThreadState* __tstate = wxPyBeginAllowThreads();
19155 (arg1)->EnableEffects(arg2);
19156 wxPyEndAllowThreads(__tstate);
19157 if (PyErr_Occurred()) SWIG_fail;
19158 }
19159 resultobj = SWIG_Py_Void();
19160 return resultobj;
19161fail:
19162 return NULL;
d55e5bfc
RD
19163}
19164
19165
554f62e9
RD
19166SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19167 PyObject *resultobj = 0;
19168 wxFontData *arg1 = (wxFontData *) 0 ;
19169 bool result;
19170 void *argp1 = 0 ;
19171 int res1 = 0 ;
19172 PyObject *swig_obj[1] ;
19173
19174 if (!args) SWIG_fail;
19175 swig_obj[0] = args;
19176 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19177 if (!SWIG_IsOK(res1)) {
19178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19179 }
19180 arg1 = reinterpret_cast< wxFontData * >(argp1);
19181 {
19182 PyThreadState* __tstate = wxPyBeginAllowThreads();
19183 result = (bool)(arg1)->GetAllowSymbols();
19184 wxPyEndAllowThreads(__tstate);
19185 if (PyErr_Occurred()) SWIG_fail;
19186 }
19187 {
19188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19189 }
19190 return resultobj;
19191fail:
19192 return NULL;
d55e5bfc
RD
19193}
19194
19195
554f62e9
RD
19196SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19197 PyObject *resultobj = 0;
19198 wxFontData *arg1 = (wxFontData *) 0 ;
19199 wxColour result;
19200 void *argp1 = 0 ;
19201 int res1 = 0 ;
19202 PyObject *swig_obj[1] ;
19203
19204 if (!args) SWIG_fail;
19205 swig_obj[0] = args;
19206 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19207 if (!SWIG_IsOK(res1)) {
19208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19209 }
19210 arg1 = reinterpret_cast< wxFontData * >(argp1);
19211 {
19212 PyThreadState* __tstate = wxPyBeginAllowThreads();
19213 result = (arg1)->GetColour();
19214 wxPyEndAllowThreads(__tstate);
19215 if (PyErr_Occurred()) SWIG_fail;
19216 }
19217 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
19218 return resultobj;
19219fail:
19220 return NULL;
70b7a5fe
RD
19221}
19222
19223
554f62e9
RD
19224SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19225 PyObject *resultobj = 0;
19226 wxFontData *arg1 = (wxFontData *) 0 ;
19227 wxFont result;
19228 void *argp1 = 0 ;
19229 int res1 = 0 ;
19230 PyObject *swig_obj[1] ;
19231
19232 if (!args) SWIG_fail;
19233 swig_obj[0] = args;
19234 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19235 if (!SWIG_IsOK(res1)) {
19236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19237 }
19238 arg1 = reinterpret_cast< wxFontData * >(argp1);
19239 {
19240 PyThreadState* __tstate = wxPyBeginAllowThreads();
19241 result = (arg1)->GetChosenFont();
19242 wxPyEndAllowThreads(__tstate);
19243 if (PyErr_Occurred()) SWIG_fail;
19244 }
19245 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19246 return resultobj;
19247fail:
19248 return NULL;
70b7a5fe
RD
19249}
19250
19251
554f62e9
RD
19252SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19253 PyObject *resultobj = 0;
19254 wxFontData *arg1 = (wxFontData *) 0 ;
19255 bool result;
19256 void *argp1 = 0 ;
19257 int res1 = 0 ;
19258 PyObject *swig_obj[1] ;
19259
19260 if (!args) SWIG_fail;
19261 swig_obj[0] = args;
19262 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19263 if (!SWIG_IsOK(res1)) {
19264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
19265 }
19266 arg1 = reinterpret_cast< wxFontData * >(argp1);
19267 {
19268 PyThreadState* __tstate = wxPyBeginAllowThreads();
19269 result = (bool)(arg1)->GetEnableEffects();
19270 wxPyEndAllowThreads(__tstate);
19271 if (PyErr_Occurred()) SWIG_fail;
19272 }
19273 {
19274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19275 }
19276 return resultobj;
19277fail:
19278 return NULL;
d55e5bfc
RD
19279}
19280
19281
554f62e9
RD
19282SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19283 PyObject *resultobj = 0;
19284 wxFontData *arg1 = (wxFontData *) 0 ;
19285 wxFont result;
19286 void *argp1 = 0 ;
19287 int res1 = 0 ;
19288 PyObject *swig_obj[1] ;
19289
19290 if (!args) SWIG_fail;
19291 swig_obj[0] = args;
19292 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19293 if (!SWIG_IsOK(res1)) {
19294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19295 }
19296 arg1 = reinterpret_cast< wxFontData * >(argp1);
19297 {
19298 PyThreadState* __tstate = wxPyBeginAllowThreads();
19299 result = (arg1)->GetInitialFont();
19300 wxPyEndAllowThreads(__tstate);
19301 if (PyErr_Occurred()) SWIG_fail;
19302 }
19303 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19304 return resultobj;
19305fail:
19306 return NULL;
d55e5bfc
RD
19307}
19308
19309
554f62e9
RD
19310SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19311 PyObject *resultobj = 0;
19312 wxFontData *arg1 = (wxFontData *) 0 ;
19313 bool result;
19314 void *argp1 = 0 ;
19315 int res1 = 0 ;
19316 PyObject *swig_obj[1] ;
19317
19318 if (!args) SWIG_fail;
19319 swig_obj[0] = args;
19320 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19321 if (!SWIG_IsOK(res1)) {
19322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19323 }
19324 arg1 = reinterpret_cast< wxFontData * >(argp1);
19325 {
19326 PyThreadState* __tstate = wxPyBeginAllowThreads();
19327 result = (bool)(arg1)->GetShowHelp();
19328 wxPyEndAllowThreads(__tstate);
19329 if (PyErr_Occurred()) SWIG_fail;
19330 }
19331 {
19332 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19333 }
19334 return resultobj;
19335fail:
19336 return NULL;
19337}
19338
19339
19340SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19341 PyObject *resultobj = 0;
19342 wxFontData *arg1 = (wxFontData *) 0 ;
19343 bool arg2 ;
19344 void *argp1 = 0 ;
19345 int res1 = 0 ;
19346 bool val2 ;
19347 int ecode2 = 0 ;
19348 PyObject * obj0 = 0 ;
19349 PyObject * obj1 = 0 ;
19350 char * kwnames[] = {
19351 (char *) "self",(char *) "allowSymbols", NULL
19352 };
19353
19354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
19355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19356 if (!SWIG_IsOK(res1)) {
19357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19358 }
19359 arg1 = reinterpret_cast< wxFontData * >(argp1);
19360 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19361 if (!SWIG_IsOK(ecode2)) {
19362 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19363 }
19364 arg2 = static_cast< bool >(val2);
19365 {
19366 PyThreadState* __tstate = wxPyBeginAllowThreads();
19367 (arg1)->SetAllowSymbols(arg2);
19368 wxPyEndAllowThreads(__tstate);
19369 if (PyErr_Occurred()) SWIG_fail;
19370 }
19371 resultobj = SWIG_Py_Void();
19372 return resultobj;
19373fail:
19374 return NULL;
19375}
19376
19377
19378SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19379 PyObject *resultobj = 0;
19380 wxFontData *arg1 = (wxFontData *) 0 ;
19381 wxFont *arg2 = 0 ;
19382 void *argp1 = 0 ;
19383 int res1 = 0 ;
19384 void *argp2 = 0 ;
19385 int res2 = 0 ;
19386 PyObject * obj0 = 0 ;
19387 PyObject * obj1 = 0 ;
19388 char * kwnames[] = {
19389 (char *) "self",(char *) "font", NULL
19390 };
19391
19392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
19393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19394 if (!SWIG_IsOK(res1)) {
19395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19396 }
19397 arg1 = reinterpret_cast< wxFontData * >(argp1);
19398 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19399 if (!SWIG_IsOK(res2)) {
19400 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19401 }
19402 if (!argp2) {
19403 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19404 }
19405 arg2 = reinterpret_cast< wxFont * >(argp2);
19406 {
19407 PyThreadState* __tstate = wxPyBeginAllowThreads();
19408 (arg1)->SetChosenFont((wxFont const &)*arg2);
19409 wxPyEndAllowThreads(__tstate);
19410 if (PyErr_Occurred()) SWIG_fail;
19411 }
19412 resultobj = SWIG_Py_Void();
19413 return resultobj;
19414fail:
19415 return NULL;
19416}
19417
19418
19419SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19420 PyObject *resultobj = 0;
19421 wxFontData *arg1 = (wxFontData *) 0 ;
19422 wxColour *arg2 = 0 ;
19423 void *argp1 = 0 ;
19424 int res1 = 0 ;
19425 wxColour temp2 ;
19426 PyObject * obj0 = 0 ;
19427 PyObject * obj1 = 0 ;
19428 char * kwnames[] = {
19429 (char *) "self",(char *) "colour", NULL
19430 };
19431
19432 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
19433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19434 if (!SWIG_IsOK(res1)) {
19435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19436 }
19437 arg1 = reinterpret_cast< wxFontData * >(argp1);
19438 {
19439 arg2 = &temp2;
19440 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19441 }
19442 {
19443 PyThreadState* __tstate = wxPyBeginAllowThreads();
19444 (arg1)->SetColour((wxColour const &)*arg2);
19445 wxPyEndAllowThreads(__tstate);
19446 if (PyErr_Occurred()) SWIG_fail;
19447 }
19448 resultobj = SWIG_Py_Void();
19449 return resultobj;
19450fail:
19451 return NULL;
19452}
19453
19454
19455SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19456 PyObject *resultobj = 0;
19457 wxFontData *arg1 = (wxFontData *) 0 ;
19458 wxFont *arg2 = 0 ;
19459 void *argp1 = 0 ;
19460 int res1 = 0 ;
19461 void *argp2 = 0 ;
19462 int res2 = 0 ;
19463 PyObject * obj0 = 0 ;
19464 PyObject * obj1 = 0 ;
19465 char * kwnames[] = {
19466 (char *) "self",(char *) "font", NULL
19467 };
19468
19469 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
19470 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19471 if (!SWIG_IsOK(res1)) {
19472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19473 }
19474 arg1 = reinterpret_cast< wxFontData * >(argp1);
19475 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19476 if (!SWIG_IsOK(res2)) {
19477 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19478 }
19479 if (!argp2) {
19480 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19481 }
19482 arg2 = reinterpret_cast< wxFont * >(argp2);
19483 {
19484 PyThreadState* __tstate = wxPyBeginAllowThreads();
19485 (arg1)->SetInitialFont((wxFont const &)*arg2);
19486 wxPyEndAllowThreads(__tstate);
19487 if (PyErr_Occurred()) SWIG_fail;
19488 }
19489 resultobj = SWIG_Py_Void();
19490 return resultobj;
19491fail:
19492 return NULL;
19493}
19494
19495
19496SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19497 PyObject *resultobj = 0;
19498 wxFontData *arg1 = (wxFontData *) 0 ;
19499 int arg2 ;
19500 int arg3 ;
19501 void *argp1 = 0 ;
19502 int res1 = 0 ;
19503 int val2 ;
19504 int ecode2 = 0 ;
19505 int val3 ;
19506 int ecode3 = 0 ;
19507 PyObject * obj0 = 0 ;
19508 PyObject * obj1 = 0 ;
19509 PyObject * obj2 = 0 ;
19510 char * kwnames[] = {
19511 (char *) "self",(char *) "min",(char *) "max", NULL
19512 };
19513
19514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19516 if (!SWIG_IsOK(res1)) {
19517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19518 }
19519 arg1 = reinterpret_cast< wxFontData * >(argp1);
19520 ecode2 = SWIG_AsVal_int(obj1, &val2);
19521 if (!SWIG_IsOK(ecode2)) {
19522 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19523 }
19524 arg2 = static_cast< int >(val2);
19525 ecode3 = SWIG_AsVal_int(obj2, &val3);
19526 if (!SWIG_IsOK(ecode3)) {
19527 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19528 }
19529 arg3 = static_cast< int >(val3);
19530 {
19531 PyThreadState* __tstate = wxPyBeginAllowThreads();
19532 (arg1)->SetRange(arg2,arg3);
19533 wxPyEndAllowThreads(__tstate);
19534 if (PyErr_Occurred()) SWIG_fail;
19535 }
19536 resultobj = SWIG_Py_Void();
19537 return resultobj;
19538fail:
19539 return NULL;
19540}
19541
19542
19543SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19544 PyObject *resultobj = 0;
19545 wxFontData *arg1 = (wxFontData *) 0 ;
19546 bool arg2 ;
19547 void *argp1 = 0 ;
19548 int res1 = 0 ;
19549 bool val2 ;
19550 int ecode2 = 0 ;
19551 PyObject * obj0 = 0 ;
19552 PyObject * obj1 = 0 ;
19553 char * kwnames[] = {
19554 (char *) "self",(char *) "showHelp", NULL
19555 };
19556
19557 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
19558 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19559 if (!SWIG_IsOK(res1)) {
19560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19561 }
19562 arg1 = reinterpret_cast< wxFontData * >(argp1);
19563 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19564 if (!SWIG_IsOK(ecode2)) {
19565 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19566 }
19567 arg2 = static_cast< bool >(val2);
19568 {
19569 PyThreadState* __tstate = wxPyBeginAllowThreads();
19570 (arg1)->SetShowHelp(arg2);
19571 wxPyEndAllowThreads(__tstate);
19572 if (PyErr_Occurred()) SWIG_fail;
19573 }
19574 resultobj = SWIG_Py_Void();
19575 return resultobj;
19576fail:
19577 return NULL;
d55e5bfc
RD
19578}
19579
19580
554f62e9
RD
19581SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19582 PyObject *obj;
19583 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19584 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19585 return SWIG_Py_Void();
d55e5bfc
RD
19586}
19587
554f62e9
RD
19588SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19589 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
19590}
19591
554f62e9
RD
19592SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19593 PyObject *resultobj = 0;
19594 wxWindow *arg1 = (wxWindow *) 0 ;
19595 wxFontData *arg2 = 0 ;
19596 wxFontDialog *result = 0 ;
19597 void *argp1 = 0 ;
19598 int res1 = 0 ;
19599 void *argp2 = 0 ;
19600 int res2 = 0 ;
19601 PyObject * obj0 = 0 ;
19602 PyObject * obj1 = 0 ;
19603 char * kwnames[] = {
19604 (char *) "parent",(char *) "data", NULL
19605 };
19606
19607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19609 if (!SWIG_IsOK(res1)) {
19610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19611 }
19612 arg1 = reinterpret_cast< wxWindow * >(argp1);
19613 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19614 if (!SWIG_IsOK(res2)) {
19615 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19616 }
19617 if (!argp2) {
19618 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19619 }
19620 arg2 = reinterpret_cast< wxFontData * >(argp2);
19621 {
19622 if (!wxPyCheckForApp()) SWIG_fail;
19623 PyThreadState* __tstate = wxPyBeginAllowThreads();
19624 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19625 wxPyEndAllowThreads(__tstate);
19626 if (PyErr_Occurred()) SWIG_fail;
19627 }
19628 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19629 return resultobj;
19630fail:
19631 return NULL;
d55e5bfc
RD
19632}
19633
19634
554f62e9
RD
19635SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19636 PyObject *resultobj = 0;
19637 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19638 wxFontData *result = 0 ;
19639 void *argp1 = 0 ;
19640 int res1 = 0 ;
19641 PyObject *swig_obj[1] ;
19642
19643 if (!args) SWIG_fail;
19644 swig_obj[0] = args;
19645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19646 if (!SWIG_IsOK(res1)) {
19647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19648 }
19649 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19650 {
19651 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 19652 {
554f62e9
RD
19653 wxFontData &_result_ref = (arg1)->GetFontData();
19654 result = (wxFontData *) &_result_ref;
d55e5bfc 19655 }
554f62e9
RD
19656 wxPyEndAllowThreads(__tstate);
19657 if (PyErr_Occurred()) SWIG_fail;
19658 }
19659 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19660 return resultobj;
19661fail:
19662 return NULL;
19663}
19664
19665
19666SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19667 PyObject *obj;
19668 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19669 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19670 return SWIG_Py_Void();
19671}
19672
19673SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19674 return SWIG_Python_InitShadowInstance(args);
19675}
19676
19677SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19678 PyObject *resultobj = 0;
19679 wxWindow *arg1 = (wxWindow *) NULL ;
19680 wxFont const &arg2_defvalue = wxNullFont ;
19681 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19682 wxString const &arg3_defvalue = wxPyEmptyString ;
19683 wxString *arg3 = (wxString *) &arg3_defvalue ;
19684 wxFont result;
19685 void *argp1 = 0 ;
19686 int res1 = 0 ;
19687 void *argp2 = 0 ;
19688 int res2 = 0 ;
19689 bool temp3 = false ;
19690 PyObject * obj0 = 0 ;
19691 PyObject * obj1 = 0 ;
19692 PyObject * obj2 = 0 ;
19693 char * kwnames[] = {
19694 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19695 };
19696
19697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19698 if (obj0) {
19699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19700 if (!SWIG_IsOK(res1)) {
19701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
093d3ff1 19702 }
554f62e9
RD
19703 arg1 = reinterpret_cast< wxWindow * >(argp1);
19704 }
19705 if (obj1) {
19706 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19707 if (!SWIG_IsOK(res2)) {
19708 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
093d3ff1 19709 }
554f62e9
RD
19710 if (!argp2) {
19711 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
d55e5bfc 19712 }
554f62e9
RD
19713 arg2 = reinterpret_cast< wxFont * >(argp2);
19714 }
19715 if (obj2) {
d55e5bfc 19716 {
554f62e9
RD
19717 arg3 = wxString_in_helper(obj2);
19718 if (arg3 == NULL) SWIG_fail;
19719 temp3 = true;
d55e5bfc 19720 }
554f62e9
RD
19721 }
19722 {
19723 PyThreadState* __tstate = wxPyBeginAllowThreads();
19724 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19725 wxPyEndAllowThreads(__tstate);
19726 if (PyErr_Occurred()) SWIG_fail;
19727 }
19728 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19729 {
19730 if (temp3)
19731 delete arg3;
19732 }
19733 return resultobj;
19734fail:
19735 {
19736 if (temp3)
19737 delete arg3;
19738 }
19739 return NULL;
19740}
19741
19742
19743SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19744 PyObject *resultobj = 0;
19745 wxWindow *arg1 = (wxWindow *) 0 ;
19746 wxString *arg2 = 0 ;
19747 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19748 wxString *arg3 = (wxString *) &arg3_defvalue ;
19749 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19750 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19751 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19752 wxMessageDialog *result = 0 ;
19753 void *argp1 = 0 ;
19754 int res1 = 0 ;
19755 bool temp2 = false ;
19756 bool temp3 = false ;
19757 long val4 ;
19758 int ecode4 = 0 ;
19759 wxPoint temp5 ;
19760 PyObject * obj0 = 0 ;
19761 PyObject * obj1 = 0 ;
19762 PyObject * obj2 = 0 ;
19763 PyObject * obj3 = 0 ;
19764 PyObject * obj4 = 0 ;
19765 char * kwnames[] = {
19766 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19767 };
19768
19769 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19770 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19771 if (!SWIG_IsOK(res1)) {
19772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19773 }
19774 arg1 = reinterpret_cast< wxWindow * >(argp1);
19775 {
19776 arg2 = wxString_in_helper(obj1);
19777 if (arg2 == NULL) SWIG_fail;
19778 temp2 = true;
19779 }
19780 if (obj2) {
093d3ff1 19781 {
554f62e9
RD
19782 arg3 = wxString_in_helper(obj2);
19783 if (arg3 == NULL) SWIG_fail;
19784 temp3 = true;
093d3ff1 19785 }
554f62e9
RD
19786 }
19787 if (obj3) {
19788 ecode4 = SWIG_AsVal_long(obj3, &val4);
19789 if (!SWIG_IsOK(ecode4)) {
19790 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19791 }
19792 arg4 = static_cast< long >(val4);
19793 }
19794 if (obj4) {
d55e5bfc 19795 {
554f62e9
RD
19796 arg5 = &temp5;
19797 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19798 }
19799 }
19800 {
19801 if (!wxPyCheckForApp()) SWIG_fail;
19802 PyThreadState* __tstate = wxPyBeginAllowThreads();
19803 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19804 wxPyEndAllowThreads(__tstate);
19805 if (PyErr_Occurred()) SWIG_fail;
19806 }
19807 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19808 {
19809 if (temp2)
19810 delete arg2;
19811 }
19812 {
19813 if (temp3)
19814 delete arg3;
19815 }
19816 return resultobj;
19817fail:
19818 {
19819 if (temp2)
19820 delete arg2;
19821 }
19822 {
19823 if (temp3)
19824 delete arg3;
19825 }
19826 return NULL;
19827}
19828
19829
19830SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19831 PyObject *obj;
19832 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19833 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19834 return SWIG_Py_Void();
19835}
19836
19837SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19838 return SWIG_Python_InitShadowInstance(args);
19839}
19840
19841SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19842 PyObject *resultobj = 0;
19843 wxString *arg1 = 0 ;
19844 wxString *arg2 = 0 ;
19845 int arg3 = (int) 100 ;
19846 wxWindow *arg4 = (wxWindow *) NULL ;
19847 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19848 wxProgressDialog *result = 0 ;
19849 bool temp1 = false ;
19850 bool temp2 = false ;
19851 int val3 ;
19852 int ecode3 = 0 ;
19853 void *argp4 = 0 ;
19854 int res4 = 0 ;
19855 int val5 ;
19856 int ecode5 = 0 ;
19857 PyObject * obj0 = 0 ;
19858 PyObject * obj1 = 0 ;
19859 PyObject * obj2 = 0 ;
19860 PyObject * obj3 = 0 ;
19861 PyObject * obj4 = 0 ;
19862 char * kwnames[] = {
19863 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19864 };
19865
19866 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19867 {
19868 arg1 = wxString_in_helper(obj0);
19869 if (arg1 == NULL) SWIG_fail;
19870 temp1 = true;
19871 }
19872 {
19873 arg2 = wxString_in_helper(obj1);
19874 if (arg2 == NULL) SWIG_fail;
19875 temp2 = true;
19876 }
19877 if (obj2) {
19878 ecode3 = SWIG_AsVal_int(obj2, &val3);
19879 if (!SWIG_IsOK(ecode3)) {
19880 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19881 }
19882 arg3 = static_cast< int >(val3);
19883 }
19884 if (obj3) {
19885 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19886 if (!SWIG_IsOK(res4)) {
19887 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
d55e5bfc 19888 }
554f62e9
RD
19889 arg4 = reinterpret_cast< wxWindow * >(argp4);
19890 }
19891 if (obj4) {
19892 ecode5 = SWIG_AsVal_int(obj4, &val5);
19893 if (!SWIG_IsOK(ecode5)) {
19894 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19895 }
19896 arg5 = static_cast< int >(val5);
19897 }
19898 {
19899 if (!wxPyCheckForApp()) SWIG_fail;
19900 PyThreadState* __tstate = wxPyBeginAllowThreads();
19901 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19902 wxPyEndAllowThreads(__tstate);
19903 if (PyErr_Occurred()) SWIG_fail;
19904 }
19905 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19906 {
19907 if (temp1)
19908 delete arg1;
19909 }
19910 {
19911 if (temp2)
19912 delete arg2;
19913 }
19914 return resultobj;
19915fail:
19916 {
19917 if (temp1)
19918 delete arg1;
19919 }
19920 {
19921 if (temp2)
19922 delete arg2;
19923 }
19924 return NULL;
19925}
19926
19927
19928SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19929 PyObject *resultobj = 0;
19930 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19931 int arg2 ;
19932 wxString const &arg3_defvalue = wxPyEmptyString ;
19933 wxString *arg3 = (wxString *) &arg3_defvalue ;
f460c29d 19934 bool *arg4 = (bool *) 0 ;
554f62e9
RD
19935 bool result;
19936 void *argp1 = 0 ;
19937 int res1 = 0 ;
19938 int val2 ;
19939 int ecode2 = 0 ;
19940 bool temp3 = false ;
f460c29d
RD
19941 bool temp4 ;
19942 int res4 = SWIG_TMPOBJ ;
554f62e9
RD
19943 PyObject * obj0 = 0 ;
19944 PyObject * obj1 = 0 ;
19945 PyObject * obj2 = 0 ;
19946 char * kwnames[] = {
19947 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19948 };
19949
f460c29d 19950 arg4 = &temp4;
554f62e9
RD
19951 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19952 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19953 if (!SWIG_IsOK(res1)) {
19954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19955 }
19956 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19957 ecode2 = SWIG_AsVal_int(obj1, &val2);
19958 if (!SWIG_IsOK(ecode2)) {
19959 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19960 }
19961 arg2 = static_cast< int >(val2);
19962 if (obj2) {
d55e5bfc 19963 {
554f62e9
RD
19964 arg3 = wxString_in_helper(obj2);
19965 if (arg3 == NULL) SWIG_fail;
19966 temp3 = true;
d55e5bfc 19967 }
554f62e9
RD
19968 }
19969 {
19970 PyThreadState* __tstate = wxPyBeginAllowThreads();
f460c29d 19971 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
554f62e9
RD
19972 wxPyEndAllowThreads(__tstate);
19973 if (PyErr_Occurred()) SWIG_fail;
19974 }
19975 {
19976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19977 }
f460c29d
RD
19978 if (SWIG_IsTmpObj(res4)) {
19979 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19980 } else {
19981 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19982 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19983 }
554f62e9
RD
19984 {
19985 if (temp3)
19986 delete arg3;
19987 }
19988 return resultobj;
19989fail:
19990 {
19991 if (temp3)
19992 delete arg3;
19993 }
19994 return NULL;
d55e5bfc
RD
19995}
19996
19997
6b449b19 19998SWIGINTERN PyObject *_wrap_ProgressDialog_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0d2c9713
RD
19999 PyObject *resultobj = 0;
20000 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
20001 wxString const &arg2_defvalue = wxPyEmptyString ;
20002 wxString *arg2 = (wxString *) &arg2_defvalue ;
20003 bool *arg3 = (bool *) 0 ;
20004 bool result;
20005 void *argp1 = 0 ;
20006 int res1 = 0 ;
20007 bool temp2 = false ;
20008 bool temp3 ;
20009 int res3 = SWIG_TMPOBJ ;
20010 PyObject * obj0 = 0 ;
20011 PyObject * obj1 = 0 ;
20012 char * kwnames[] = {
20013 (char *) "self",(char *) "newmsg", NULL
20014 };
20015
20016 arg3 = &temp3;
6b449b19 20017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_Pulse",kwnames,&obj0,&obj1)) SWIG_fail;
0d2c9713
RD
20018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
20019 if (!SWIG_IsOK(res1)) {
6b449b19 20020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
0d2c9713
RD
20021 }
20022 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
20023 if (obj1) {
20024 {
20025 arg2 = wxString_in_helper(obj1);
20026 if (arg2 == NULL) SWIG_fail;
20027 temp2 = true;
20028 }
20029 }
20030 {
20031 PyThreadState* __tstate = wxPyBeginAllowThreads();
6b449b19 20032 result = (bool)(arg1)->Pulse((wxString const &)*arg2,arg3);
0d2c9713
RD
20033 wxPyEndAllowThreads(__tstate);
20034 if (PyErr_Occurred()) SWIG_fail;
20035 }
20036 {
20037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20038 }
20039 if (SWIG_IsTmpObj(res3)) {
20040 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg3)));
20041 } else {
20042 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20043 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_bool, new_flags));
20044 }
20045 {
20046 if (temp2)
20047 delete arg2;
20048 }
20049 return resultobj;
20050fail:
20051 {
20052 if (temp2)
20053 delete arg2;
20054 }
20055 return NULL;
20056}
20057
20058
554f62e9
RD
20059SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20060 PyObject *resultobj = 0;
20061 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
20062 void *argp1 = 0 ;
20063 int res1 = 0 ;
20064 PyObject *swig_obj[1] ;
20065
20066 if (!args) SWIG_fail;
20067 swig_obj[0] = args;
20068 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
20069 if (!SWIG_IsOK(res1)) {
20070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
20071 }
20072 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
20073 {
20074 PyThreadState* __tstate = wxPyBeginAllowThreads();
20075 (arg1)->Resume();
20076 wxPyEndAllowThreads(__tstate);
20077 if (PyErr_Occurred()) SWIG_fail;
20078 }
20079 resultobj = SWIG_Py_Void();
20080 return resultobj;
20081fail:
20082 return NULL;
d55e5bfc
RD
20083}
20084
20085
554f62e9
RD
20086SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20087 PyObject *obj;
20088 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20089 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
20090 return SWIG_Py_Void();
d55e5bfc
RD
20091}
20092
554f62e9
RD
20093SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20094 return SWIG_Python_InitShadowInstance(args);
20095}
d55e5bfc 20096
554f62e9
RD
20097SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20098 PyObject *resultobj = 0;
20099 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20100 int arg2 = (int) 0 ;
20101 wxFindDialogEvent *result = 0 ;
20102 int val1 ;
20103 int ecode1 = 0 ;
20104 int val2 ;
20105 int ecode2 = 0 ;
20106 PyObject * obj0 = 0 ;
20107 PyObject * obj1 = 0 ;
20108 char * kwnames[] = {
20109 (char *) "commandType",(char *) "id", NULL
20110 };
20111
20112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
20113 if (obj0) {
20114 ecode1 = SWIG_AsVal_int(obj0, &val1);
20115 if (!SWIG_IsOK(ecode1)) {
20116 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20117 }
20118 arg1 = static_cast< wxEventType >(val1);
20119 }
20120 if (obj1) {
20121 ecode2 = SWIG_AsVal_int(obj1, &val2);
20122 if (!SWIG_IsOK(ecode2)) {
20123 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
20124 }
20125 arg2 = static_cast< int >(val2);
20126 }
20127 {
20128 PyThreadState* __tstate = wxPyBeginAllowThreads();
20129 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
20130 wxPyEndAllowThreads(__tstate);
20131 if (PyErr_Occurred()) SWIG_fail;
20132 }
20133 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
20134 return resultobj;
20135fail:
20136 return NULL;
d55e5bfc
RD
20137}
20138
20139
554f62e9
RD
20140SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20141 PyObject *resultobj = 0;
20142 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20143 int result;
20144 void *argp1 = 0 ;
20145 int res1 = 0 ;
20146 PyObject *swig_obj[1] ;
20147
20148 if (!args) SWIG_fail;
20149 swig_obj[0] = args;
20150 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20151 if (!SWIG_IsOK(res1)) {
20152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20153 }
20154 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20155 {
20156 PyThreadState* __tstate = wxPyBeginAllowThreads();
20157 result = (int)(arg1)->GetFlags();
20158 wxPyEndAllowThreads(__tstate);
20159 if (PyErr_Occurred()) SWIG_fail;
20160 }
20161 resultobj = SWIG_From_int(static_cast< int >(result));
20162 return resultobj;
20163fail:
20164 return NULL;
d55e5bfc
RD
20165}
20166
20167
554f62e9
RD
20168SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20169 PyObject *resultobj = 0;
20170 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20171 wxString *result = 0 ;
20172 void *argp1 = 0 ;
20173 int res1 = 0 ;
20174 PyObject *swig_obj[1] ;
20175
20176 if (!args) SWIG_fail;
20177 swig_obj[0] = args;
20178 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20179 if (!SWIG_IsOK(res1)) {
20180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20181 }
20182 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20183 {
20184 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 20185 {
554f62e9
RD
20186 wxString const &_result_ref = (arg1)->GetFindString();
20187 result = (wxString *) &_result_ref;
d55e5bfc 20188 }
554f62e9
RD
20189 wxPyEndAllowThreads(__tstate);
20190 if (PyErr_Occurred()) SWIG_fail;
20191 }
20192 {
20193#if wxUSE_UNICODE
20194 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20195#else
20196 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20197#endif
20198 }
20199 return resultobj;
20200fail:
20201 return NULL;
d55e5bfc
RD
20202}
20203
20204
554f62e9
RD
20205SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20206 PyObject *resultobj = 0;
20207 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20208 wxString *result = 0 ;
20209 void *argp1 = 0 ;
20210 int res1 = 0 ;
20211 PyObject *swig_obj[1] ;
20212
20213 if (!args) SWIG_fail;
20214 swig_obj[0] = args;
20215 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20216 if (!SWIG_IsOK(res1)) {
20217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20218 }
20219 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20220 {
20221 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 20222 {
554f62e9
RD
20223 wxString const &_result_ref = (arg1)->GetReplaceString();
20224 result = (wxString *) &_result_ref;
093d3ff1 20225 }
554f62e9
RD
20226 wxPyEndAllowThreads(__tstate);
20227 if (PyErr_Occurred()) SWIG_fail;
20228 }
20229 {
20230#if wxUSE_UNICODE
20231 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20232#else
20233 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20234#endif
20235 }
20236 return resultobj;
20237fail:
20238 return NULL;
d55e5bfc
RD
20239}
20240
20241
554f62e9
RD
20242SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20243 PyObject *resultobj = 0;
20244 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20245 wxFindReplaceDialog *result = 0 ;
20246 void *argp1 = 0 ;
20247 int res1 = 0 ;
20248 PyObject *swig_obj[1] ;
20249
20250 if (!args) SWIG_fail;
20251 swig_obj[0] = args;
20252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20253 if (!SWIG_IsOK(res1)) {
20254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20255 }
20256 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20257 {
20258 PyThreadState* __tstate = wxPyBeginAllowThreads();
20259 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
20260 wxPyEndAllowThreads(__tstate);
20261 if (PyErr_Occurred()) SWIG_fail;
20262 }
20263 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20264 return resultobj;
20265fail:
20266 return NULL;
20267}
20268
20269
20270SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20271 PyObject *resultobj = 0;
20272 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20273 int arg2 ;
20274 void *argp1 = 0 ;
20275 int res1 = 0 ;
20276 int val2 ;
20277 int ecode2 = 0 ;
20278 PyObject * obj0 = 0 ;
20279 PyObject * obj1 = 0 ;
20280 char * kwnames[] = {
20281 (char *) "self",(char *) "flags", NULL
20282 };
20283
20284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20286 if (!SWIG_IsOK(res1)) {
20287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20288 }
20289 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20290 ecode2 = SWIG_AsVal_int(obj1, &val2);
20291 if (!SWIG_IsOK(ecode2)) {
20292 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
20293 }
20294 arg2 = static_cast< int >(val2);
20295 {
20296 PyThreadState* __tstate = wxPyBeginAllowThreads();
20297 (arg1)->SetFlags(arg2);
20298 wxPyEndAllowThreads(__tstate);
20299 if (PyErr_Occurred()) SWIG_fail;
20300 }
20301 resultobj = SWIG_Py_Void();
20302 return resultobj;
20303fail:
20304 return NULL;
20305}
20306
20307
20308SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20309 PyObject *resultobj = 0;
20310 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20311 wxString *arg2 = 0 ;
20312 void *argp1 = 0 ;
20313 int res1 = 0 ;
20314 bool temp2 = false ;
20315 PyObject * obj0 = 0 ;
20316 PyObject * obj1 = 0 ;
20317 char * kwnames[] = {
20318 (char *) "self",(char *) "str", NULL
20319 };
20320
20321 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20322 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20323 if (!SWIG_IsOK(res1)) {
20324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20325 }
20326 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20327 {
20328 arg2 = wxString_in_helper(obj1);
20329 if (arg2 == NULL) SWIG_fail;
20330 temp2 = true;
20331 }
20332 {
20333 PyThreadState* __tstate = wxPyBeginAllowThreads();
20334 (arg1)->SetFindString((wxString const &)*arg2);
20335 wxPyEndAllowThreads(__tstate);
20336 if (PyErr_Occurred()) SWIG_fail;
20337 }
20338 resultobj = SWIG_Py_Void();
20339 {
20340 if (temp2)
20341 delete arg2;
20342 }
20343 return resultobj;
20344fail:
20345 {
20346 if (temp2)
20347 delete arg2;
20348 }
20349 return NULL;
d55e5bfc
RD
20350}
20351
20352
554f62e9
RD
20353SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20354 PyObject *resultobj = 0;
20355 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20356 wxString *arg2 = 0 ;
20357 void *argp1 = 0 ;
20358 int res1 = 0 ;
20359 bool temp2 = false ;
20360 PyObject * obj0 = 0 ;
20361 PyObject * obj1 = 0 ;
20362 char * kwnames[] = {
20363 (char *) "self",(char *) "str", NULL
20364 };
20365
20366 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20367 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20368 if (!SWIG_IsOK(res1)) {
20369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20370 }
20371 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20372 {
20373 arg2 = wxString_in_helper(obj1);
20374 if (arg2 == NULL) SWIG_fail;
20375 temp2 = true;
20376 }
20377 {
20378 PyThreadState* __tstate = wxPyBeginAllowThreads();
20379 (arg1)->SetReplaceString((wxString const &)*arg2);
20380 wxPyEndAllowThreads(__tstate);
20381 if (PyErr_Occurred()) SWIG_fail;
20382 }
20383 resultobj = SWIG_Py_Void();
20384 {
20385 if (temp2)
20386 delete arg2;
20387 }
20388 return resultobj;
20389fail:
20390 {
20391 if (temp2)
20392 delete arg2;
20393 }
20394 return NULL;
d55e5bfc
RD
20395}
20396
20397
554f62e9
RD
20398SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20399 PyObject *obj;
20400 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20401 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
20402 return SWIG_Py_Void();
d55e5bfc
RD
20403}
20404
554f62e9
RD
20405SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20406 return SWIG_Python_InitShadowInstance(args);
20407}
d55e5bfc 20408
554f62e9
RD
20409SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20410 PyObject *resultobj = 0;
20411 int arg1 = (int) 0 ;
20412 wxFindReplaceData *result = 0 ;
20413 int val1 ;
20414 int ecode1 = 0 ;
20415 PyObject * obj0 = 0 ;
20416 char * kwnames[] = {
20417 (char *) "flags", NULL
20418 };
20419
20420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
20421 if (obj0) {
20422 ecode1 = SWIG_AsVal_int(obj0, &val1);
20423 if (!SWIG_IsOK(ecode1)) {
20424 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20425 }
20426 arg1 = static_cast< int >(val1);
20427 }
20428 {
20429 PyThreadState* __tstate = wxPyBeginAllowThreads();
20430 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
20431 wxPyEndAllowThreads(__tstate);
20432 if (PyErr_Occurred()) SWIG_fail;
20433 }
20434 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
20435 return resultobj;
20436fail:
20437 return NULL;
d55e5bfc
RD
20438}
20439
20440
554f62e9
RD
20441SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20442 PyObject *resultobj = 0;
20443 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20444 void *argp1 = 0 ;
20445 int res1 = 0 ;
20446 PyObject *swig_obj[1] ;
20447
20448 if (!args) SWIG_fail;
20449 swig_obj[0] = args;
20450 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
20451 if (!SWIG_IsOK(res1)) {
20452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20453 }
20454 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20455 {
20456 PyThreadState* __tstate = wxPyBeginAllowThreads();
20457 delete arg1;
d55e5bfc 20458
554f62e9
RD
20459 wxPyEndAllowThreads(__tstate);
20460 if (PyErr_Occurred()) SWIG_fail;
20461 }
20462 resultobj = SWIG_Py_Void();
20463 return resultobj;
20464fail:
20465 return NULL;
d55e5bfc
RD
20466}
20467
20468
554f62e9
RD
20469SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20470 PyObject *resultobj = 0;
20471 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20472 wxString *result = 0 ;
20473 void *argp1 = 0 ;
20474 int res1 = 0 ;
20475 PyObject *swig_obj[1] ;
20476
20477 if (!args) SWIG_fail;
20478 swig_obj[0] = args;
20479 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20480 if (!SWIG_IsOK(res1)) {
20481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20482 }
20483 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20484 {
20485 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 20486 {
554f62e9
RD
20487 wxString const &_result_ref = (arg1)->GetFindString();
20488 result = (wxString *) &_result_ref;
d55e5bfc 20489 }
554f62e9
RD
20490 wxPyEndAllowThreads(__tstate);
20491 if (PyErr_Occurred()) SWIG_fail;
20492 }
20493 {
20494#if wxUSE_UNICODE
20495 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20496#else
20497 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20498#endif
20499 }
20500 return resultobj;
20501fail:
20502 return NULL;
d55e5bfc
RD
20503}
20504
20505
554f62e9
RD
20506SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20507 PyObject *resultobj = 0;
20508 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20509 wxString *result = 0 ;
20510 void *argp1 = 0 ;
20511 int res1 = 0 ;
20512 PyObject *swig_obj[1] ;
20513
20514 if (!args) SWIG_fail;
20515 swig_obj[0] = args;
20516 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20517 if (!SWIG_IsOK(res1)) {
20518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20519 }
20520 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20521 {
20522 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 20523 {
554f62e9
RD
20524 wxString const &_result_ref = (arg1)->GetReplaceString();
20525 result = (wxString *) &_result_ref;
d55e5bfc 20526 }
554f62e9
RD
20527 wxPyEndAllowThreads(__tstate);
20528 if (PyErr_Occurred()) SWIG_fail;
20529 }
20530 {
20531#if wxUSE_UNICODE
20532 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20533#else
20534 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20535#endif
20536 }
20537 return resultobj;
20538fail:
20539 return NULL;
d55e5bfc
RD
20540}
20541
20542
554f62e9
RD
20543SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20544 PyObject *resultobj = 0;
20545 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20546 int result;
20547 void *argp1 = 0 ;
20548 int res1 = 0 ;
20549 PyObject *swig_obj[1] ;
20550
20551 if (!args) SWIG_fail;
20552 swig_obj[0] = args;
20553 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20554 if (!SWIG_IsOK(res1)) {
20555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20556 }
20557 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20558 {
20559 PyThreadState* __tstate = wxPyBeginAllowThreads();
20560 result = (int)(arg1)->GetFlags();
20561 wxPyEndAllowThreads(__tstate);
20562 if (PyErr_Occurred()) SWIG_fail;
20563 }
20564 resultobj = SWIG_From_int(static_cast< int >(result));
20565 return resultobj;
20566fail:
20567 return NULL;
20568}
20569
20570
20571SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20572 PyObject *resultobj = 0;
20573 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20574 int arg2 ;
20575 void *argp1 = 0 ;
20576 int res1 = 0 ;
20577 int val2 ;
20578 int ecode2 = 0 ;
20579 PyObject * obj0 = 0 ;
20580 PyObject * obj1 = 0 ;
20581 char * kwnames[] = {
20582 (char *) "self",(char *) "flags", NULL
20583 };
20584
20585 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20587 if (!SWIG_IsOK(res1)) {
20588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20589 }
20590 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20591 ecode2 = SWIG_AsVal_int(obj1, &val2);
20592 if (!SWIG_IsOK(ecode2)) {
20593 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20594 }
20595 arg2 = static_cast< int >(val2);
20596 {
20597 PyThreadState* __tstate = wxPyBeginAllowThreads();
20598 (arg1)->SetFlags(arg2);
20599 wxPyEndAllowThreads(__tstate);
20600 if (PyErr_Occurred()) SWIG_fail;
20601 }
20602 resultobj = SWIG_Py_Void();
20603 return resultobj;
20604fail:
20605 return NULL;
20606}
20607
20608
20609SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20610 PyObject *resultobj = 0;
20611 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20612 wxString *arg2 = 0 ;
20613 void *argp1 = 0 ;
20614 int res1 = 0 ;
20615 bool temp2 = false ;
20616 PyObject * obj0 = 0 ;
20617 PyObject * obj1 = 0 ;
20618 char * kwnames[] = {
20619 (char *) "self",(char *) "str", NULL
20620 };
20621
20622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20624 if (!SWIG_IsOK(res1)) {
20625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20626 }
20627 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20628 {
20629 arg2 = wxString_in_helper(obj1);
20630 if (arg2 == NULL) SWIG_fail;
20631 temp2 = true;
20632 }
20633 {
20634 PyThreadState* __tstate = wxPyBeginAllowThreads();
20635 (arg1)->SetFindString((wxString const &)*arg2);
20636 wxPyEndAllowThreads(__tstate);
20637 if (PyErr_Occurred()) SWIG_fail;
20638 }
20639 resultobj = SWIG_Py_Void();
20640 {
20641 if (temp2)
20642 delete arg2;
20643 }
20644 return resultobj;
20645fail:
20646 {
20647 if (temp2)
20648 delete arg2;
20649 }
20650 return NULL;
d55e5bfc
RD
20651}
20652
20653
554f62e9
RD
20654SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20655 PyObject *resultobj = 0;
20656 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20657 wxString *arg2 = 0 ;
20658 void *argp1 = 0 ;
20659 int res1 = 0 ;
20660 bool temp2 = false ;
20661 PyObject * obj0 = 0 ;
20662 PyObject * obj1 = 0 ;
20663 char * kwnames[] = {
20664 (char *) "self",(char *) "str", NULL
20665 };
20666
20667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20669 if (!SWIG_IsOK(res1)) {
20670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20671 }
20672 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20673 {
20674 arg2 = wxString_in_helper(obj1);
20675 if (arg2 == NULL) SWIG_fail;
20676 temp2 = true;
20677 }
20678 {
20679 PyThreadState* __tstate = wxPyBeginAllowThreads();
20680 (arg1)->SetReplaceString((wxString const &)*arg2);
20681 wxPyEndAllowThreads(__tstate);
20682 if (PyErr_Occurred()) SWIG_fail;
20683 }
20684 resultobj = SWIG_Py_Void();
20685 {
20686 if (temp2)
20687 delete arg2;
20688 }
20689 return resultobj;
20690fail:
20691 {
20692 if (temp2)
20693 delete arg2;
20694 }
20695 return NULL;
20696}
20697
20698
20699SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20700 PyObject *obj;
20701 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20702 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20703 return SWIG_Py_Void();
20704}
20705
20706SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20707 return SWIG_Python_InitShadowInstance(args);
20708}
20709
20710SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20711 PyObject *resultobj = 0;
20712 wxWindow *arg1 = (wxWindow *) 0 ;
20713 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20714 wxString *arg3 = 0 ;
20715 int arg4 = (int) 0 ;
20716 wxFindReplaceDialog *result = 0 ;
20717 void *argp1 = 0 ;
20718 int res1 = 0 ;
20719 void *argp2 = 0 ;
20720 int res2 = 0 ;
20721 bool temp3 = false ;
20722 int val4 ;
20723 int ecode4 = 0 ;
20724 PyObject * obj0 = 0 ;
20725 PyObject * obj1 = 0 ;
20726 PyObject * obj2 = 0 ;
20727 PyObject * obj3 = 0 ;
20728 char * kwnames[] = {
20729 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20730 };
20731
20732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20734 if (!SWIG_IsOK(res1)) {
20735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20736 }
20737 arg1 = reinterpret_cast< wxWindow * >(argp1);
20738 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20739 if (!SWIG_IsOK(res2)) {
20740 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20741 }
20742 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20743 {
20744 arg3 = wxString_in_helper(obj2);
20745 if (arg3 == NULL) SWIG_fail;
20746 temp3 = true;
20747 }
20748 if (obj3) {
20749 ecode4 = SWIG_AsVal_int(obj3, &val4);
20750 if (!SWIG_IsOK(ecode4)) {
20751 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20752 }
20753 arg4 = static_cast< int >(val4);
20754 }
20755 {
20756 if (!wxPyCheckForApp()) SWIG_fail;
20757 PyThreadState* __tstate = wxPyBeginAllowThreads();
20758 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20759 wxPyEndAllowThreads(__tstate);
20760 if (PyErr_Occurred()) SWIG_fail;
20761 }
20762 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20763 {
20764 if (temp3)
20765 delete arg3;
20766 }
20767 return resultobj;
20768fail:
20769 {
20770 if (temp3)
20771 delete arg3;
20772 }
20773 return NULL;
d55e5bfc
RD
20774}
20775
20776
554f62e9
RD
20777SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20778 PyObject *resultobj = 0;
20779 wxFindReplaceDialog *result = 0 ;
20780
20781 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20782 {
20783 if (!wxPyCheckForApp()) SWIG_fail;
20784 PyThreadState* __tstate = wxPyBeginAllowThreads();
20785 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20786 wxPyEndAllowThreads(__tstate);
20787 if (PyErr_Occurred()) SWIG_fail;
20788 }
20789 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20790 return resultobj;
20791fail:
20792 return NULL;
20793}
20794
20795
20796SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20797 PyObject *resultobj = 0;
20798 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20799 wxWindow *arg2 = (wxWindow *) 0 ;
20800 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20801 wxString *arg4 = 0 ;
20802 int arg5 = (int) 0 ;
20803 bool result;
20804 void *argp1 = 0 ;
20805 int res1 = 0 ;
20806 void *argp2 = 0 ;
20807 int res2 = 0 ;
20808 void *argp3 = 0 ;
20809 int res3 = 0 ;
20810 bool temp4 = false ;
20811 int val5 ;
20812 int ecode5 = 0 ;
20813 PyObject * obj0 = 0 ;
20814 PyObject * obj1 = 0 ;
20815 PyObject * obj2 = 0 ;
20816 PyObject * obj3 = 0 ;
20817 PyObject * obj4 = 0 ;
20818 char * kwnames[] = {
20819 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20820 };
20821
20822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20824 if (!SWIG_IsOK(res1)) {
20825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20826 }
20827 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20828 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20829 if (!SWIG_IsOK(res2)) {
20830 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20831 }
20832 arg2 = reinterpret_cast< wxWindow * >(argp2);
20833 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20834 if (!SWIG_IsOK(res3)) {
20835 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20836 }
20837 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20838 {
20839 arg4 = wxString_in_helper(obj3);
20840 if (arg4 == NULL) SWIG_fail;
20841 temp4 = true;
20842 }
20843 if (obj4) {
20844 ecode5 = SWIG_AsVal_int(obj4, &val5);
20845 if (!SWIG_IsOK(ecode5)) {
20846 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20847 }
20848 arg5 = static_cast< int >(val5);
20849 }
20850 {
20851 PyThreadState* __tstate = wxPyBeginAllowThreads();
20852 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20853 wxPyEndAllowThreads(__tstate);
20854 if (PyErr_Occurred()) SWIG_fail;
20855 }
20856 {
20857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20858 }
20859 {
20860 if (temp4)
20861 delete arg4;
20862 }
20863 return resultobj;
20864fail:
20865 {
20866 if (temp4)
20867 delete arg4;
20868 }
20869 return NULL;
d55e5bfc
RD
20870}
20871
20872
554f62e9
RD
20873SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20874 PyObject *resultobj = 0;
20875 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20876 wxFindReplaceData *result = 0 ;
20877 void *argp1 = 0 ;
20878 int res1 = 0 ;
20879 PyObject *swig_obj[1] ;
20880
20881 if (!args) SWIG_fail;
20882 swig_obj[0] = args;
20883 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20884 if (!SWIG_IsOK(res1)) {
20885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20886 }
20887 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20888 {
20889 PyThreadState* __tstate = wxPyBeginAllowThreads();
20890 result = (wxFindReplaceData *)(arg1)->GetData();
20891 wxPyEndAllowThreads(__tstate);
20892 if (PyErr_Occurred()) SWIG_fail;
20893 }
20894 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20895 return resultobj;
20896fail:
20897 return NULL;
20898}
20899
20900
20901SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20902 PyObject *resultobj = 0;
20903 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20904 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20905 void *argp1 = 0 ;
20906 int res1 = 0 ;
20907 void *argp2 = 0 ;
20908 int res2 = 0 ;
20909 PyObject * obj0 = 0 ;
20910 PyObject * obj1 = 0 ;
20911 char * kwnames[] = {
20912 (char *) "self",(char *) "data", NULL
20913 };
20914
20915 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20916 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20917 if (!SWIG_IsOK(res1)) {
20918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20919 }
20920 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20921 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20922 if (!SWIG_IsOK(res2)) {
20923 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20924 }
20925 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20926 {
20927 PyThreadState* __tstate = wxPyBeginAllowThreads();
20928 (arg1)->SetData(arg2);
20929 wxPyEndAllowThreads(__tstate);
20930 if (PyErr_Occurred()) SWIG_fail;
20931 }
20932 resultobj = SWIG_Py_Void();
20933 return resultobj;
20934fail:
20935 return NULL;
20936}
20937
20938
20939SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20940 PyObject *obj;
20941 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20942 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20943 return SWIG_Py_Void();
20944}
20945
20946SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20947 return SWIG_Python_InitShadowInstance(args);
20948}
20949
20950SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20951 PyObject *resultobj = 0;
20952 wxWindow *arg1 = (wxWindow *) 0 ;
20953 int arg2 = (int) (int)-1 ;
20954 wxString const &arg3_defvalue = wxPyEmptyString ;
20955 wxString *arg3 = (wxString *) &arg3_defvalue ;
20956 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20957 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20958 wxSize const &arg5_defvalue = wxDefaultSize ;
20959 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20960 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20961 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20962 wxString *arg7 = (wxString *) &arg7_defvalue ;
20963 wxMDIParentFrame *result = 0 ;
20964 void *argp1 = 0 ;
20965 int res1 = 0 ;
20966 int val2 ;
20967 int ecode2 = 0 ;
20968 bool temp3 = false ;
20969 wxPoint temp4 ;
20970 wxSize temp5 ;
20971 long val6 ;
20972 int ecode6 = 0 ;
20973 bool temp7 = false ;
20974 PyObject * obj0 = 0 ;
20975 PyObject * obj1 = 0 ;
20976 PyObject * obj2 = 0 ;
20977 PyObject * obj3 = 0 ;
20978 PyObject * obj4 = 0 ;
20979 PyObject * obj5 = 0 ;
20980 PyObject * obj6 = 0 ;
20981 char * kwnames[] = {
20982 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20983 };
20984
20985 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20986 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20987 if (!SWIG_IsOK(res1)) {
20988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20989 }
20990 arg1 = reinterpret_cast< wxWindow * >(argp1);
20991 if (obj1) {
20992 ecode2 = SWIG_AsVal_int(obj1, &val2);
20993 if (!SWIG_IsOK(ecode2)) {
20994 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20995 }
20996 arg2 = static_cast< int >(val2);
20997 }
20998 if (obj2) {
d55e5bfc 20999 {
554f62e9
RD
21000 arg3 = wxString_in_helper(obj2);
21001 if (arg3 == NULL) SWIG_fail;
21002 temp3 = true;
d55e5bfc 21003 }
554f62e9
RD
21004 }
21005 if (obj3) {
d55e5bfc 21006 {
554f62e9
RD
21007 arg4 = &temp4;
21008 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 21009 }
554f62e9
RD
21010 }
21011 if (obj4) {
d55e5bfc 21012 {
554f62e9
RD
21013 arg5 = &temp5;
21014 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21015 }
21016 }
21017 if (obj5) {
21018 ecode6 = SWIG_AsVal_long(obj5, &val6);
21019 if (!SWIG_IsOK(ecode6)) {
21020 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
21021 }
21022 arg6 = static_cast< long >(val6);
21023 }
21024 if (obj6) {
d55e5bfc 21025 {
554f62e9
RD
21026 arg7 = wxString_in_helper(obj6);
21027 if (arg7 == NULL) SWIG_fail;
21028 temp7 = true;
21029 }
21030 }
21031 {
21032 if (!wxPyCheckForApp()) SWIG_fail;
21033 PyThreadState* __tstate = wxPyBeginAllowThreads();
21034 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21035 wxPyEndAllowThreads(__tstate);
21036 if (PyErr_Occurred()) SWIG_fail;
21037 }
21038 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
21039 {
21040 if (temp3)
21041 delete arg3;
21042 }
21043 {
21044 if (temp7)
21045 delete arg7;
21046 }
21047 return resultobj;
21048fail:
21049 {
21050 if (temp3)
21051 delete arg3;
21052 }
21053 {
21054 if (temp7)
21055 delete arg7;
21056 }
21057 return NULL;
d55e5bfc
RD
21058}
21059
21060
554f62e9
RD
21061SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21062 PyObject *resultobj = 0;
21063 wxMDIParentFrame *result = 0 ;
21064
21065 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
21066 {
21067 if (!wxPyCheckForApp()) SWIG_fail;
21068 PyThreadState* __tstate = wxPyBeginAllowThreads();
21069 result = (wxMDIParentFrame *)new wxMDIParentFrame();
21070 wxPyEndAllowThreads(__tstate);
21071 if (PyErr_Occurred()) SWIG_fail;
21072 }
21073 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
21074 return resultobj;
21075fail:
21076 return NULL;
21077}
21078
21079
21080SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21081 PyObject *resultobj = 0;
21082 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21083 wxWindow *arg2 = (wxWindow *) 0 ;
21084 int arg3 = (int) (int)-1 ;
21085 wxString const &arg4_defvalue = wxPyEmptyString ;
21086 wxString *arg4 = (wxString *) &arg4_defvalue ;
21087 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21088 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21089 wxSize const &arg6_defvalue = wxDefaultSize ;
21090 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21091 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
21092 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21093 wxString *arg8 = (wxString *) &arg8_defvalue ;
21094 bool result;
21095 void *argp1 = 0 ;
21096 int res1 = 0 ;
21097 void *argp2 = 0 ;
21098 int res2 = 0 ;
21099 int val3 ;
21100 int ecode3 = 0 ;
21101 bool temp4 = false ;
21102 wxPoint temp5 ;
21103 wxSize temp6 ;
21104 long val7 ;
21105 int ecode7 = 0 ;
21106 bool temp8 = false ;
21107 PyObject * obj0 = 0 ;
21108 PyObject * obj1 = 0 ;
21109 PyObject * obj2 = 0 ;
21110 PyObject * obj3 = 0 ;
21111 PyObject * obj4 = 0 ;
21112 PyObject * obj5 = 0 ;
21113 PyObject * obj6 = 0 ;
21114 PyObject * obj7 = 0 ;
21115 char * kwnames[] = {
21116 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21117 };
21118
21119 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21120 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21121 if (!SWIG_IsOK(res1)) {
21122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21123 }
21124 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21125 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21126 if (!SWIG_IsOK(res2)) {
21127 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21128 }
21129 arg2 = reinterpret_cast< wxWindow * >(argp2);
21130 if (obj2) {
21131 ecode3 = SWIG_AsVal_int(obj2, &val3);
21132 if (!SWIG_IsOK(ecode3)) {
21133 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
21134 }
21135 arg3 = static_cast< int >(val3);
21136 }
21137 if (obj3) {
d55e5bfc 21138 {
554f62e9
RD
21139 arg4 = wxString_in_helper(obj3);
21140 if (arg4 == NULL) SWIG_fail;
21141 temp4 = true;
d55e5bfc 21142 }
554f62e9
RD
21143 }
21144 if (obj4) {
d55e5bfc 21145 {
554f62e9
RD
21146 arg5 = &temp5;
21147 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 21148 }
554f62e9
RD
21149 }
21150 if (obj5) {
d55e5bfc 21151 {
554f62e9
RD
21152 arg6 = &temp6;
21153 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 21154 }
554f62e9
RD
21155 }
21156 if (obj6) {
21157 ecode7 = SWIG_AsVal_long(obj6, &val7);
21158 if (!SWIG_IsOK(ecode7)) {
21159 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
21160 }
21161 arg7 = static_cast< long >(val7);
21162 }
21163 if (obj7) {
d55e5bfc 21164 {
554f62e9
RD
21165 arg8 = wxString_in_helper(obj7);
21166 if (arg8 == NULL) SWIG_fail;
21167 temp8 = true;
d55e5bfc 21168 }
554f62e9
RD
21169 }
21170 {
21171 PyThreadState* __tstate = wxPyBeginAllowThreads();
21172 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21173 wxPyEndAllowThreads(__tstate);
21174 if (PyErr_Occurred()) SWIG_fail;
21175 }
21176 {
21177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21178 }
21179 {
21180 if (temp4)
21181 delete arg4;
21182 }
21183 {
21184 if (temp8)
21185 delete arg8;
21186 }
21187 return resultobj;
21188fail:
21189 {
21190 if (temp4)
21191 delete arg4;
21192 }
21193 {
21194 if (temp8)
21195 delete arg8;
21196 }
21197 return NULL;
d55e5bfc
RD
21198}
21199
21200
554f62e9
RD
21201SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21202 PyObject *resultobj = 0;
21203 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21204 void *argp1 = 0 ;
21205 int res1 = 0 ;
21206 PyObject *swig_obj[1] ;
21207
21208 if (!args) SWIG_fail;
21209 swig_obj[0] = args;
21210 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21211 if (!SWIG_IsOK(res1)) {
21212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21213 }
21214 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21215 {
21216 PyThreadState* __tstate = wxPyBeginAllowThreads();
21217 (arg1)->ActivateNext();
21218 wxPyEndAllowThreads(__tstate);
21219 if (PyErr_Occurred()) SWIG_fail;
21220 }
21221 resultobj = SWIG_Py_Void();
21222 return resultobj;
21223fail:
21224 return NULL;
d55e5bfc
RD
21225}
21226
21227
554f62e9
RD
21228SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21229 PyObject *resultobj = 0;
21230 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21231 void *argp1 = 0 ;
21232 int res1 = 0 ;
21233 PyObject *swig_obj[1] ;
21234
21235 if (!args) SWIG_fail;
21236 swig_obj[0] = args;
21237 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21238 if (!SWIG_IsOK(res1)) {
21239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21240 }
21241 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21242 {
21243 PyThreadState* __tstate = wxPyBeginAllowThreads();
21244 (arg1)->ActivatePrevious();
21245 wxPyEndAllowThreads(__tstate);
21246 if (PyErr_Occurred()) SWIG_fail;
21247 }
21248 resultobj = SWIG_Py_Void();
21249 return resultobj;
21250fail:
21251 return NULL;
d55e5bfc
RD
21252}
21253
21254
554f62e9
RD
21255SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21256 PyObject *resultobj = 0;
21257 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21258 void *argp1 = 0 ;
21259 int res1 = 0 ;
21260 PyObject *swig_obj[1] ;
21261
21262 if (!args) SWIG_fail;
21263 swig_obj[0] = args;
21264 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21265 if (!SWIG_IsOK(res1)) {
21266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21267 }
21268 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21269 {
21270 PyThreadState* __tstate = wxPyBeginAllowThreads();
21271 (arg1)->ArrangeIcons();
21272 wxPyEndAllowThreads(__tstate);
21273 if (PyErr_Occurred()) SWIG_fail;
21274 }
21275 resultobj = SWIG_Py_Void();
21276 return resultobj;
21277fail:
21278 return NULL;
7e08d4ef
RD
21279}
21280
21281
554f62e9
RD
21282SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21283 PyObject *resultobj = 0;
21284 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21285 void *argp1 = 0 ;
21286 int res1 = 0 ;
21287 PyObject *swig_obj[1] ;
21288
21289 if (!args) SWIG_fail;
21290 swig_obj[0] = args;
21291 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21292 if (!SWIG_IsOK(res1)) {
21293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21294 }
21295 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21296 {
21297 PyThreadState* __tstate = wxPyBeginAllowThreads();
21298 (arg1)->Cascade();
21299 wxPyEndAllowThreads(__tstate);
21300 if (PyErr_Occurred()) SWIG_fail;
21301 }
21302 resultobj = SWIG_Py_Void();
21303 return resultobj;
21304fail:
21305 return NULL;
d55e5bfc
RD
21306}
21307
21308
554f62e9
RD
21309SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21310 PyObject *resultobj = 0;
21311 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21312 wxMDIChildFrame *result = 0 ;
21313 void *argp1 = 0 ;
21314 int res1 = 0 ;
21315 PyObject *swig_obj[1] ;
21316
21317 if (!args) SWIG_fail;
21318 swig_obj[0] = args;
21319 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21320 if (!SWIG_IsOK(res1)) {
21321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21322 }
21323 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21324 {
21325 PyThreadState* __tstate = wxPyBeginAllowThreads();
21326 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
21327 wxPyEndAllowThreads(__tstate);
21328 if (PyErr_Occurred()) SWIG_fail;
21329 }
21330 {
21331 resultobj = wxPyMake_wxObject(result, (bool)0);
21332 }
21333 return resultobj;
21334fail:
21335 return NULL;
d55e5bfc
RD
21336}
21337
21338
554f62e9
RD
21339SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21340 PyObject *resultobj = 0;
21341 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21342 wxMDIClientWindow *result = 0 ;
21343 void *argp1 = 0 ;
21344 int res1 = 0 ;
21345 PyObject *swig_obj[1] ;
21346
21347 if (!args) SWIG_fail;
21348 swig_obj[0] = args;
21349 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21350 if (!SWIG_IsOK(res1)) {
21351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21352 }
21353 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21354 {
21355 PyThreadState* __tstate = wxPyBeginAllowThreads();
21356 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
21357 wxPyEndAllowThreads(__tstate);
21358 if (PyErr_Occurred()) SWIG_fail;
21359 }
21360 {
21361 resultobj = wxPyMake_wxObject(result, (bool)0);
21362 }
21363 return resultobj;
21364fail:
21365 return NULL;
d55e5bfc
RD
21366}
21367
21368
554f62e9
RD
21369SWIGINTERN PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21370 PyObject *resultobj = 0;
21371 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21372 wxMenu *result = 0 ;
21373 void *argp1 = 0 ;
21374 int res1 = 0 ;
21375 PyObject *swig_obj[1] ;
21376
21377 if (!args) SWIG_fail;
21378 swig_obj[0] = args;
21379 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21380 if (!SWIG_IsOK(res1)) {
21381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21382 }
21383 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21384 {
21385 PyThreadState* __tstate = wxPyBeginAllowThreads();
21386 result = (wxMenu *)(arg1)->GetWindowMenu();
21387 wxPyEndAllowThreads(__tstate);
21388 if (PyErr_Occurred()) SWIG_fail;
21389 }
21390 {
21391 resultobj = wxPyMake_wxObject(result, 0);
21392 }
21393 return resultobj;
21394fail:
21395 return NULL;
21396}
21397
21398
21399SWIGINTERN PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21400 PyObject *resultobj = 0;
21401 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21402 wxMenu *arg2 = (wxMenu *) 0 ;
21403 void *argp1 = 0 ;
21404 int res1 = 0 ;
21405 void *argp2 = 0 ;
21406 int res2 = 0 ;
21407 PyObject * obj0 = 0 ;
21408 PyObject * obj1 = 0 ;
21409 char * kwnames[] = {
21410 (char *) "self",(char *) "menu", NULL
21411 };
21412
21413 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) SWIG_fail;
21414 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21415 if (!SWIG_IsOK(res1)) {
21416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21417 }
21418 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21419 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
21420 if (!SWIG_IsOK(res2)) {
21421 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
21422 }
21423 arg2 = reinterpret_cast< wxMenu * >(argp2);
21424 {
21425 PyThreadState* __tstate = wxPyBeginAllowThreads();
21426 (arg1)->SetWindowMenu(arg2);
21427 wxPyEndAllowThreads(__tstate);
21428 if (PyErr_Occurred()) SWIG_fail;
21429 }
21430 resultobj = SWIG_Py_Void();
21431 return resultobj;
21432fail:
21433 return NULL;
21434}
21435
21436
21437SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21438 PyObject *resultobj = 0;
21439 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21440 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
21441 void *argp1 = 0 ;
21442 int res1 = 0 ;
21443 int val2 ;
21444 int ecode2 = 0 ;
21445 PyObject * obj0 = 0 ;
21446 PyObject * obj1 = 0 ;
21447 char * kwnames[] = {
21448 (char *) "self",(char *) "orient", NULL
21449 };
21450
21451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
21452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21453 if (!SWIG_IsOK(res1)) {
21454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21455 }
21456 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21457 if (obj1) {
21458 ecode2 = SWIG_AsVal_int(obj1, &val2);
21459 if (!SWIG_IsOK(ecode2)) {
21460 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21461 }
21462 arg2 = static_cast< wxOrientation >(val2);
21463 }
21464 {
21465 PyThreadState* __tstate = wxPyBeginAllowThreads();
21466 (arg1)->Tile(arg2);
21467 wxPyEndAllowThreads(__tstate);
21468 if (PyErr_Occurred()) SWIG_fail;
21469 }
21470 resultobj = SWIG_Py_Void();
21471 return resultobj;
21472fail:
21473 return NULL;
21474}
21475
21476
21477SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21478 PyObject *obj;
21479 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21480 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
21481 return SWIG_Py_Void();
21482}
21483
21484SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21485 return SWIG_Python_InitShadowInstance(args);
21486}
21487
21488SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21489 PyObject *resultobj = 0;
21490 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21491 int arg2 = (int) (int)-1 ;
21492 wxString const &arg3_defvalue = wxPyEmptyString ;
21493 wxString *arg3 = (wxString *) &arg3_defvalue ;
21494 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21495 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21496 wxSize const &arg5_defvalue = wxDefaultSize ;
21497 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21498 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21499 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21500 wxString *arg7 = (wxString *) &arg7_defvalue ;
21501 wxMDIChildFrame *result = 0 ;
21502 void *argp1 = 0 ;
21503 int res1 = 0 ;
21504 int val2 ;
21505 int ecode2 = 0 ;
21506 bool temp3 = false ;
21507 wxPoint temp4 ;
21508 wxSize temp5 ;
21509 long val6 ;
21510 int ecode6 = 0 ;
21511 bool temp7 = false ;
21512 PyObject * obj0 = 0 ;
21513 PyObject * obj1 = 0 ;
21514 PyObject * obj2 = 0 ;
21515 PyObject * obj3 = 0 ;
21516 PyObject * obj4 = 0 ;
21517 PyObject * obj5 = 0 ;
21518 PyObject * obj6 = 0 ;
21519 char * kwnames[] = {
21520 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21521 };
21522
21523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21525 if (!SWIG_IsOK(res1)) {
21526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21527 }
21528 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21529 if (obj1) {
21530 ecode2 = SWIG_AsVal_int(obj1, &val2);
21531 if (!SWIG_IsOK(ecode2)) {
21532 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21533 }
21534 arg2 = static_cast< int >(val2);
21535 }
21536 if (obj2) {
d55e5bfc 21537 {
554f62e9
RD
21538 arg3 = wxString_in_helper(obj2);
21539 if (arg3 == NULL) SWIG_fail;
21540 temp3 = true;
d55e5bfc 21541 }
554f62e9
RD
21542 }
21543 if (obj3) {
d55e5bfc 21544 {
554f62e9
RD
21545 arg4 = &temp4;
21546 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 21547 }
554f62e9
RD
21548 }
21549 if (obj4) {
d55e5bfc 21550 {
554f62e9
RD
21551 arg5 = &temp5;
21552 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 21553 }
554f62e9
RD
21554 }
21555 if (obj5) {
21556 ecode6 = SWIG_AsVal_long(obj5, &val6);
21557 if (!SWIG_IsOK(ecode6)) {
21558 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21559 }
21560 arg6 = static_cast< long >(val6);
21561 }
21562 if (obj6) {
d55e5bfc 21563 {
554f62e9
RD
21564 arg7 = wxString_in_helper(obj6);
21565 if (arg7 == NULL) SWIG_fail;
21566 temp7 = true;
d55e5bfc 21567 }
554f62e9
RD
21568 }
21569 {
21570 if (!wxPyCheckForApp()) SWIG_fail;
21571 PyThreadState* __tstate = wxPyBeginAllowThreads();
21572 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21573 wxPyEndAllowThreads(__tstate);
21574 if (PyErr_Occurred()) SWIG_fail;
21575 }
21576 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
21577 {
21578 if (temp3)
21579 delete arg3;
21580 }
21581 {
21582 if (temp7)
21583 delete arg7;
21584 }
21585 return resultobj;
21586fail:
21587 {
21588 if (temp3)
21589 delete arg3;
21590 }
21591 {
21592 if (temp7)
21593 delete arg7;
21594 }
21595 return NULL;
d55e5bfc
RD
21596}
21597
21598
554f62e9
RD
21599SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21600 PyObject *resultobj = 0;
21601 wxMDIChildFrame *result = 0 ;
21602
21603 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
21604 {
21605 if (!wxPyCheckForApp()) SWIG_fail;
21606 PyThreadState* __tstate = wxPyBeginAllowThreads();
21607 result = (wxMDIChildFrame *)new wxMDIChildFrame();
21608 wxPyEndAllowThreads(__tstate);
21609 if (PyErr_Occurred()) SWIG_fail;
21610 }
21611 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
21612 return resultobj;
21613fail:
21614 return NULL;
21615}
21616
21617
21618SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21619 PyObject *resultobj = 0;
21620 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21621 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21622 int arg3 = (int) (int)-1 ;
21623 wxString const &arg4_defvalue = wxPyEmptyString ;
21624 wxString *arg4 = (wxString *) &arg4_defvalue ;
21625 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21626 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21627 wxSize const &arg6_defvalue = wxDefaultSize ;
21628 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21629 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
21630 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21631 wxString *arg8 = (wxString *) &arg8_defvalue ;
21632 bool result;
21633 void *argp1 = 0 ;
21634 int res1 = 0 ;
21635 void *argp2 = 0 ;
21636 int res2 = 0 ;
21637 int val3 ;
21638 int ecode3 = 0 ;
21639 bool temp4 = false ;
21640 wxPoint temp5 ;
21641 wxSize temp6 ;
21642 long val7 ;
21643 int ecode7 = 0 ;
21644 bool temp8 = false ;
21645 PyObject * obj0 = 0 ;
21646 PyObject * obj1 = 0 ;
21647 PyObject * obj2 = 0 ;
21648 PyObject * obj3 = 0 ;
21649 PyObject * obj4 = 0 ;
21650 PyObject * obj5 = 0 ;
21651 PyObject * obj6 = 0 ;
21652 PyObject * obj7 = 0 ;
21653 char * kwnames[] = {
21654 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21655 };
21656
21657 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21659 if (!SWIG_IsOK(res1)) {
21660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21661 }
21662 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21663 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21664 if (!SWIG_IsOK(res2)) {
21665 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21666 }
21667 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21668 if (obj2) {
21669 ecode3 = SWIG_AsVal_int(obj2, &val3);
21670 if (!SWIG_IsOK(ecode3)) {
21671 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21672 }
21673 arg3 = static_cast< int >(val3);
21674 }
21675 if (obj3) {
d55e5bfc 21676 {
554f62e9
RD
21677 arg4 = wxString_in_helper(obj3);
21678 if (arg4 == NULL) SWIG_fail;
21679 temp4 = true;
d55e5bfc 21680 }
554f62e9
RD
21681 }
21682 if (obj4) {
d55e5bfc 21683 {
554f62e9
RD
21684 arg5 = &temp5;
21685 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 21686 }
554f62e9
RD
21687 }
21688 if (obj5) {
093d3ff1 21689 {
554f62e9
RD
21690 arg6 = &temp6;
21691 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
093d3ff1 21692 }
554f62e9
RD
21693 }
21694 if (obj6) {
21695 ecode7 = SWIG_AsVal_long(obj6, &val7);
21696 if (!SWIG_IsOK(ecode7)) {
21697 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21698 }
21699 arg7 = static_cast< long >(val7);
21700 }
21701 if (obj7) {
d55e5bfc 21702 {
554f62e9
RD
21703 arg8 = wxString_in_helper(obj7);
21704 if (arg8 == NULL) SWIG_fail;
21705 temp8 = true;
d55e5bfc 21706 }
554f62e9
RD
21707 }
21708 {
21709 PyThreadState* __tstate = wxPyBeginAllowThreads();
21710 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21711 wxPyEndAllowThreads(__tstate);
21712 if (PyErr_Occurred()) SWIG_fail;
21713 }
21714 {
21715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21716 }
21717 {
21718 if (temp4)
21719 delete arg4;
21720 }
21721 {
21722 if (temp8)
21723 delete arg8;
21724 }
21725 return resultobj;
21726fail:
21727 {
21728 if (temp4)
21729 delete arg4;
21730 }
21731 {
21732 if (temp8)
21733 delete arg8;
21734 }
21735 return NULL;
d55e5bfc
RD
21736}
21737
21738
554f62e9
RD
21739SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21740 PyObject *resultobj = 0;
21741 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21742 void *argp1 = 0 ;
21743 int res1 = 0 ;
21744 PyObject *swig_obj[1] ;
21745
21746 if (!args) SWIG_fail;
21747 swig_obj[0] = args;
21748 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21749 if (!SWIG_IsOK(res1)) {
21750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21751 }
21752 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21753 {
21754 PyThreadState* __tstate = wxPyBeginAllowThreads();
21755 (arg1)->Activate();
21756 wxPyEndAllowThreads(__tstate);
21757 if (PyErr_Occurred()) SWIG_fail;
21758 }
21759 resultobj = SWIG_Py_Void();
21760 return resultobj;
21761fail:
21762 return NULL;
d55e5bfc
RD
21763}
21764
21765
554f62e9
RD
21766SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21767 PyObject *obj;
21768 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21769 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21770 return SWIG_Py_Void();
d55e5bfc
RD
21771}
21772
554f62e9
RD
21773SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21774 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
21775}
21776
554f62e9
RD
21777SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21778 PyObject *resultobj = 0;
21779 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21780 long arg2 = (long) 0 ;
21781 wxMDIClientWindow *result = 0 ;
21782 void *argp1 = 0 ;
21783 int res1 = 0 ;
21784 long val2 ;
21785 int ecode2 = 0 ;
21786 PyObject * obj0 = 0 ;
21787 PyObject * obj1 = 0 ;
21788 char * kwnames[] = {
21789 (char *) "parent",(char *) "style", NULL
21790 };
21791
21792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21794 if (!SWIG_IsOK(res1)) {
21795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21796 }
21797 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21798 if (obj1) {
21799 ecode2 = SWIG_AsVal_long(obj1, &val2);
21800 if (!SWIG_IsOK(ecode2)) {
21801 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21802 }
21803 arg2 = static_cast< long >(val2);
21804 }
21805 {
21806 if (!wxPyCheckForApp()) SWIG_fail;
21807 PyThreadState* __tstate = wxPyBeginAllowThreads();
21808 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21809 wxPyEndAllowThreads(__tstate);
21810 if (PyErr_Occurred()) SWIG_fail;
21811 }
21812 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21813 return resultobj;
21814fail:
21815 return NULL;
d55e5bfc
RD
21816}
21817
21818
554f62e9
RD
21819SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21820 PyObject *resultobj = 0;
21821 wxMDIClientWindow *result = 0 ;
21822
21823 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21824 {
21825 if (!wxPyCheckForApp()) SWIG_fail;
21826 PyThreadState* __tstate = wxPyBeginAllowThreads();
21827 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21828 wxPyEndAllowThreads(__tstate);
21829 if (PyErr_Occurred()) SWIG_fail;
21830 }
21831 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21832 return resultobj;
21833fail:
21834 return NULL;
21835}
21836
21837
21838SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21839 PyObject *resultobj = 0;
21840 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21841 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21842 long arg3 = (long) 0 ;
21843 bool result;
21844 void *argp1 = 0 ;
21845 int res1 = 0 ;
21846 void *argp2 = 0 ;
21847 int res2 = 0 ;
21848 long val3 ;
21849 int ecode3 = 0 ;
21850 PyObject * obj0 = 0 ;
21851 PyObject * obj1 = 0 ;
21852 PyObject * obj2 = 0 ;
21853 char * kwnames[] = {
21854 (char *) "self",(char *) "parent",(char *) "style", NULL
21855 };
21856
21857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21859 if (!SWIG_IsOK(res1)) {
21860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21861 }
21862 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21863 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21864 if (!SWIG_IsOK(res2)) {
21865 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21866 }
21867 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21868 if (obj2) {
21869 ecode3 = SWIG_AsVal_long(obj2, &val3);
21870 if (!SWIG_IsOK(ecode3)) {
21871 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21872 }
21873 arg3 = static_cast< long >(val3);
21874 }
21875 {
21876 PyThreadState* __tstate = wxPyBeginAllowThreads();
21877 result = (bool)(arg1)->Create(arg2,arg3);
21878 wxPyEndAllowThreads(__tstate);
21879 if (PyErr_Occurred()) SWIG_fail;
21880 }
21881 {
21882 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21883 }
21884 return resultobj;
21885fail:
21886 return NULL;
21887}
21888
21889
21890SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21891 PyObject *obj;
21892 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21893 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21894 return SWIG_Py_Void();
21895}
21896
21897SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21898 return SWIG_Python_InitShadowInstance(args);
21899}
21900
21901SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21902 PyObject *resultobj = 0;
21903 wxWindow *arg1 = (wxWindow *) 0 ;
21904 int arg2 = (int) (int)-1 ;
21905 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21906 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21907 wxSize const &arg4_defvalue = wxDefaultSize ;
21908 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21909 long arg5 = (long) 0 ;
21910 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21911 wxString *arg6 = (wxString *) &arg6_defvalue ;
21912 wxPyWindow *result = 0 ;
21913 void *argp1 = 0 ;
21914 int res1 = 0 ;
21915 int val2 ;
21916 int ecode2 = 0 ;
21917 wxPoint temp3 ;
21918 wxSize temp4 ;
21919 long val5 ;
21920 int ecode5 = 0 ;
21921 bool temp6 = false ;
21922 PyObject * obj0 = 0 ;
21923 PyObject * obj1 = 0 ;
21924 PyObject * obj2 = 0 ;
21925 PyObject * obj3 = 0 ;
21926 PyObject * obj4 = 0 ;
21927 PyObject * obj5 = 0 ;
21928 char * kwnames[] = {
21929 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21930 };
21931
21932 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21933 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21934 if (!SWIG_IsOK(res1)) {
21935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21936 }
21937 arg1 = reinterpret_cast< wxWindow * >(argp1);
21938 if (obj1) {
21939 ecode2 = SWIG_AsVal_int(obj1, &val2);
21940 if (!SWIG_IsOK(ecode2)) {
21941 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21942 }
21943 arg2 = static_cast< int >(val2);
21944 }
21945 if (obj2) {
d55e5bfc 21946 {
554f62e9
RD
21947 arg3 = &temp3;
21948 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 21949 }
554f62e9
RD
21950 }
21951 if (obj3) {
d55e5bfc 21952 {
554f62e9
RD
21953 arg4 = &temp4;
21954 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 21955 }
554f62e9
RD
21956 }
21957 if (obj4) {
21958 ecode5 = SWIG_AsVal_long(obj4, &val5);
21959 if (!SWIG_IsOK(ecode5)) {
21960 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21961 }
21962 arg5 = static_cast< long >(val5);
21963 }
21964 if (obj5) {
d55e5bfc 21965 {
554f62e9
RD
21966 arg6 = wxString_in_helper(obj5);
21967 if (arg6 == NULL) SWIG_fail;
21968 temp6 = true;
d55e5bfc 21969 }
554f62e9
RD
21970 }
21971 {
21972 if (!wxPyCheckForApp()) SWIG_fail;
21973 PyThreadState* __tstate = wxPyBeginAllowThreads();
21974 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21975 wxPyEndAllowThreads(__tstate);
21976 if (PyErr_Occurred()) SWIG_fail;
21977 }
21978 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21979 {
21980 if (temp6)
21981 delete arg6;
21982 }
21983 return resultobj;
21984fail:
21985 {
21986 if (temp6)
21987 delete arg6;
21988 }
21989 return NULL;
d55e5bfc
RD
21990}
21991
21992
554f62e9
RD
21993SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21994 PyObject *resultobj = 0;
21995 wxPyWindow *result = 0 ;
21996
21997 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21998 {
21999 if (!wxPyCheckForApp()) SWIG_fail;
22000 PyThreadState* __tstate = wxPyBeginAllowThreads();
22001 result = (wxPyWindow *)new wxPyWindow();
22002 wxPyEndAllowThreads(__tstate);
22003 if (PyErr_Occurred()) SWIG_fail;
22004 }
22005 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
22006 return resultobj;
22007fail:
22008 return NULL;
22009}
22010
22011
22012SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22013 PyObject *resultobj = 0;
22014 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22015 PyObject *arg2 = (PyObject *) 0 ;
22016 PyObject *arg3 = (PyObject *) 0 ;
22017 void *argp1 = 0 ;
22018 int res1 = 0 ;
22019 PyObject * obj0 = 0 ;
22020 PyObject * obj1 = 0 ;
22021 PyObject * obj2 = 0 ;
22022 char * kwnames[] = {
22023 (char *) "self",(char *) "self",(char *) "_class", NULL
22024 };
22025
22026 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22027 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22028 if (!SWIG_IsOK(res1)) {
22029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22030 }
22031 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22032 arg2 = obj1;
22033 arg3 = obj2;
22034 {
22035 PyThreadState* __tstate = wxPyBeginAllowThreads();
22036 (arg1)->_setCallbackInfo(arg2,arg3);
22037 wxPyEndAllowThreads(__tstate);
22038 if (PyErr_Occurred()) SWIG_fail;
22039 }
22040 resultobj = SWIG_Py_Void();
22041 return resultobj;
22042fail:
22043 return NULL;
22044}
22045
22046
554f62e9
RD
22047SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22048 PyObject *resultobj = 0;
22049 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22050 wxDC *arg2 = (wxDC *) 0 ;
22051 bool result;
22052 void *argp1 = 0 ;
22053 int res1 = 0 ;
22054 void *argp2 = 0 ;
22055 int res2 = 0 ;
22056 PyObject * obj0 = 0 ;
22057 PyObject * obj1 = 0 ;
22058 char * kwnames[] = {
22059 (char *) "self",(char *) "dc", NULL
22060 };
22061
22062 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22063 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22064 if (!SWIG_IsOK(res1)) {
22065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22066 }
22067 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22068 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22069 if (!SWIG_IsOK(res2)) {
22070 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22071 }
22072 arg2 = reinterpret_cast< wxDC * >(argp2);
22073 {
22074 PyThreadState* __tstate = wxPyBeginAllowThreads();
22075 result = (bool)(arg1)->DoEraseBackground(arg2);
22076 wxPyEndAllowThreads(__tstate);
22077 if (PyErr_Occurred()) SWIG_fail;
22078 }
22079 {
22080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22081 }
22082 return resultobj;
22083fail:
22084 return NULL;
22085}
22086
22087
22088SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22089 PyObject *resultobj = 0;
22090 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22091 int arg2 ;
22092 int arg3 ;
22093 int arg4 ;
22094 int arg5 ;
22095 void *argp1 = 0 ;
22096 int res1 = 0 ;
22097 int val2 ;
22098 int ecode2 = 0 ;
22099 int val3 ;
22100 int ecode3 = 0 ;
22101 int val4 ;
22102 int ecode4 = 0 ;
22103 int val5 ;
22104 int ecode5 = 0 ;
22105 PyObject * obj0 = 0 ;
22106 PyObject * obj1 = 0 ;
22107 PyObject * obj2 = 0 ;
22108 PyObject * obj3 = 0 ;
22109 PyObject * obj4 = 0 ;
22110 char * kwnames[] = {
22111 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22112 };
22113
22114 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22115 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22116 if (!SWIG_IsOK(res1)) {
22117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22118 }
22119 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22120 ecode2 = SWIG_AsVal_int(obj1, &val2);
22121 if (!SWIG_IsOK(ecode2)) {
22122 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22123 }
22124 arg2 = static_cast< int >(val2);
22125 ecode3 = SWIG_AsVal_int(obj2, &val3);
22126 if (!SWIG_IsOK(ecode3)) {
22127 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22128 }
22129 arg3 = static_cast< int >(val3);
22130 ecode4 = SWIG_AsVal_int(obj3, &val4);
22131 if (!SWIG_IsOK(ecode4)) {
22132 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22133 }
22134 arg4 = static_cast< int >(val4);
22135 ecode5 = SWIG_AsVal_int(obj4, &val5);
22136 if (!SWIG_IsOK(ecode5)) {
22137 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22138 }
22139 arg5 = static_cast< int >(val5);
22140 {
22141 PyThreadState* __tstate = wxPyBeginAllowThreads();
22142 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22143 wxPyEndAllowThreads(__tstate);
22144 if (PyErr_Occurred()) SWIG_fail;
22145 }
22146 resultobj = SWIG_Py_Void();
22147 return resultobj;
22148fail:
22149 return NULL;
22150}
22151
22152
22153SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22154 PyObject *resultobj = 0;
22155 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22156 int arg2 ;
22157 int arg3 ;
22158 int arg4 ;
22159 int arg5 ;
22160 int arg6 = (int) wxSIZE_AUTO ;
22161 void *argp1 = 0 ;
22162 int res1 = 0 ;
22163 int val2 ;
22164 int ecode2 = 0 ;
22165 int val3 ;
22166 int ecode3 = 0 ;
22167 int val4 ;
22168 int ecode4 = 0 ;
22169 int val5 ;
22170 int ecode5 = 0 ;
22171 int val6 ;
22172 int ecode6 = 0 ;
22173 PyObject * obj0 = 0 ;
22174 PyObject * obj1 = 0 ;
22175 PyObject * obj2 = 0 ;
22176 PyObject * obj3 = 0 ;
22177 PyObject * obj4 = 0 ;
22178 PyObject * obj5 = 0 ;
22179 char * kwnames[] = {
22180 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22181 };
22182
22183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22184 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22185 if (!SWIG_IsOK(res1)) {
22186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22187 }
22188 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22189 ecode2 = SWIG_AsVal_int(obj1, &val2);
22190 if (!SWIG_IsOK(ecode2)) {
22191 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22192 }
22193 arg2 = static_cast< int >(val2);
22194 ecode3 = SWIG_AsVal_int(obj2, &val3);
22195 if (!SWIG_IsOK(ecode3)) {
22196 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22197 }
22198 arg3 = static_cast< int >(val3);
22199 ecode4 = SWIG_AsVal_int(obj3, &val4);
22200 if (!SWIG_IsOK(ecode4)) {
22201 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22202 }
22203 arg4 = static_cast< int >(val4);
22204 ecode5 = SWIG_AsVal_int(obj4, &val5);
22205 if (!SWIG_IsOK(ecode5)) {
22206 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22207 }
22208 arg5 = static_cast< int >(val5);
22209 if (obj5) {
22210 ecode6 = SWIG_AsVal_int(obj5, &val6);
22211 if (!SWIG_IsOK(ecode6)) {
22212 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22213 }
22214 arg6 = static_cast< int >(val6);
22215 }
22216 {
22217 PyThreadState* __tstate = wxPyBeginAllowThreads();
22218 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22219 wxPyEndAllowThreads(__tstate);
22220 if (PyErr_Occurred()) SWIG_fail;
22221 }
22222 resultobj = SWIG_Py_Void();
22223 return resultobj;
22224fail:
22225 return NULL;
22226}
22227
22228
22229SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22230 PyObject *resultobj = 0;
22231 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22232 int arg2 ;
22233 int arg3 ;
22234 void *argp1 = 0 ;
22235 int res1 = 0 ;
22236 int val2 ;
22237 int ecode2 = 0 ;
22238 int val3 ;
22239 int ecode3 = 0 ;
22240 PyObject * obj0 = 0 ;
22241 PyObject * obj1 = 0 ;
22242 PyObject * obj2 = 0 ;
22243 char * kwnames[] = {
22244 (char *) "self",(char *) "width",(char *) "height", NULL
22245 };
22246
22247 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22248 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22249 if (!SWIG_IsOK(res1)) {
22250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22251 }
22252 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22253 ecode2 = SWIG_AsVal_int(obj1, &val2);
22254 if (!SWIG_IsOK(ecode2)) {
22255 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22256 }
22257 arg2 = static_cast< int >(val2);
22258 ecode3 = SWIG_AsVal_int(obj2, &val3);
22259 if (!SWIG_IsOK(ecode3)) {
22260 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22261 }
22262 arg3 = static_cast< int >(val3);
22263 {
22264 PyThreadState* __tstate = wxPyBeginAllowThreads();
22265 (arg1)->DoSetClientSize(arg2,arg3);
22266 wxPyEndAllowThreads(__tstate);
22267 if (PyErr_Occurred()) SWIG_fail;
22268 }
22269 resultobj = SWIG_Py_Void();
22270 return resultobj;
22271fail:
22272 return NULL;
22273}
22274
22275
22276SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22277 PyObject *resultobj = 0;
22278 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22279 int arg2 ;
22280 int arg3 ;
22281 void *argp1 = 0 ;
22282 int res1 = 0 ;
22283 int val2 ;
22284 int ecode2 = 0 ;
22285 int val3 ;
22286 int ecode3 = 0 ;
22287 PyObject * obj0 = 0 ;
22288 PyObject * obj1 = 0 ;
22289 PyObject * obj2 = 0 ;
22290 char * kwnames[] = {
22291 (char *) "self",(char *) "x",(char *) "y", NULL
22292 };
22293
22294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22296 if (!SWIG_IsOK(res1)) {
22297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22298 }
22299 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22300 ecode2 = SWIG_AsVal_int(obj1, &val2);
22301 if (!SWIG_IsOK(ecode2)) {
22302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22303 }
22304 arg2 = static_cast< int >(val2);
22305 ecode3 = SWIG_AsVal_int(obj2, &val3);
22306 if (!SWIG_IsOK(ecode3)) {
22307 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22308 }
22309 arg3 = static_cast< int >(val3);
22310 {
22311 PyThreadState* __tstate = wxPyBeginAllowThreads();
22312 (arg1)->DoSetVirtualSize(arg2,arg3);
22313 wxPyEndAllowThreads(__tstate);
22314 if (PyErr_Occurred()) SWIG_fail;
22315 }
22316 resultobj = SWIG_Py_Void();
22317 return resultobj;
22318fail:
22319 return NULL;
22320}
22321
22322
22323SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22324 PyObject *resultobj = 0;
22325 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22326 int *arg2 = (int *) 0 ;
22327 int *arg3 = (int *) 0 ;
22328 void *argp1 = 0 ;
22329 int res1 = 0 ;
22330 int temp2 ;
22331 int res2 = SWIG_TMPOBJ ;
22332 int temp3 ;
22333 int res3 = SWIG_TMPOBJ ;
22334 PyObject *swig_obj[1] ;
22335
22336 arg2 = &temp2;
22337 arg3 = &temp3;
22338 if (!args) SWIG_fail;
22339 swig_obj[0] = args;
22340 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22341 if (!SWIG_IsOK(res1)) {
22342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22343 }
22344 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22345 {
22346 PyThreadState* __tstate = wxPyBeginAllowThreads();
22347 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
22348 wxPyEndAllowThreads(__tstate);
22349 if (PyErr_Occurred()) SWIG_fail;
22350 }
22351 resultobj = SWIG_Py_Void();
22352 if (SWIG_IsTmpObj(res2)) {
22353 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22354 } else {
22355 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22356 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22357 }
22358 if (SWIG_IsTmpObj(res3)) {
22359 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22360 } else {
22361 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22362 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22363 }
22364 return resultobj;
22365fail:
22366 return NULL;
22367}
22368
22369
22370SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22371 PyObject *resultobj = 0;
22372 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22373 int *arg2 = (int *) 0 ;
22374 int *arg3 = (int *) 0 ;
22375 void *argp1 = 0 ;
22376 int res1 = 0 ;
22377 int temp2 ;
22378 int res2 = SWIG_TMPOBJ ;
22379 int temp3 ;
22380 int res3 = SWIG_TMPOBJ ;
22381 PyObject *swig_obj[1] ;
22382
22383 arg2 = &temp2;
22384 arg3 = &temp3;
22385 if (!args) SWIG_fail;
22386 swig_obj[0] = args;
22387 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22388 if (!SWIG_IsOK(res1)) {
22389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22390 }
22391 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22392 {
22393 PyThreadState* __tstate = wxPyBeginAllowThreads();
22394 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
22395 wxPyEndAllowThreads(__tstate);
22396 if (PyErr_Occurred()) SWIG_fail;
22397 }
22398 resultobj = SWIG_Py_Void();
22399 if (SWIG_IsTmpObj(res2)) {
22400 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22401 } else {
22402 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22403 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22404 }
22405 if (SWIG_IsTmpObj(res3)) {
22406 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22407 } else {
22408 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22409 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22410 }
22411 return resultobj;
22412fail:
22413 return NULL;
22414}
22415
22416
22417SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22418 PyObject *resultobj = 0;
22419 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22420 int *arg2 = (int *) 0 ;
22421 int *arg3 = (int *) 0 ;
22422 void *argp1 = 0 ;
22423 int res1 = 0 ;
22424 int temp2 ;
22425 int res2 = SWIG_TMPOBJ ;
22426 int temp3 ;
22427 int res3 = SWIG_TMPOBJ ;
22428 PyObject *swig_obj[1] ;
22429
22430 arg2 = &temp2;
22431 arg3 = &temp3;
22432 if (!args) SWIG_fail;
22433 swig_obj[0] = args;
22434 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22435 if (!SWIG_IsOK(res1)) {
22436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22437 }
22438 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22439 {
22440 PyThreadState* __tstate = wxPyBeginAllowThreads();
22441 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
22442 wxPyEndAllowThreads(__tstate);
22443 if (PyErr_Occurred()) SWIG_fail;
22444 }
22445 resultobj = SWIG_Py_Void();
22446 if (SWIG_IsTmpObj(res2)) {
22447 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22448 } else {
22449 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22450 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22451 }
22452 if (SWIG_IsTmpObj(res3)) {
22453 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22454 } else {
22455 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22456 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22457 }
22458 return resultobj;
22459fail:
22460 return NULL;
22461}
d55e5bfc 22462
554f62e9
RD
22463
22464SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22465 PyObject *resultobj = 0;
22466 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22467 wxSize result;
22468 void *argp1 = 0 ;
22469 int res1 = 0 ;
22470 PyObject *swig_obj[1] ;
22471
22472 if (!args) SWIG_fail;
22473 swig_obj[0] = args;
22474 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22475 if (!SWIG_IsOK(res1)) {
22476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22477 }
22478 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22479 {
22480 PyThreadState* __tstate = wxPyBeginAllowThreads();
22481 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
22482 wxPyEndAllowThreads(__tstate);
22483 if (PyErr_Occurred()) SWIG_fail;
22484 }
22485 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22486 return resultobj;
22487fail:
22488 return NULL;
d55e5bfc
RD
22489}
22490
22491
554f62e9
RD
22492SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22493 PyObject *resultobj = 0;
22494 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22495 wxSize result;
22496 void *argp1 = 0 ;
22497 int res1 = 0 ;
22498 PyObject *swig_obj[1] ;
22499
22500 if (!args) SWIG_fail;
22501 swig_obj[0] = args;
22502 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22503 if (!SWIG_IsOK(res1)) {
22504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22505 }
22506 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22507 {
22508 PyThreadState* __tstate = wxPyBeginAllowThreads();
22509 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
22510 wxPyEndAllowThreads(__tstate);
22511 if (PyErr_Occurred()) SWIG_fail;
22512 }
22513 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22514 return resultobj;
22515fail:
22516 return NULL;
d55e5bfc
RD
22517}
22518
22519
554f62e9
RD
22520SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22521 PyObject *resultobj = 0;
22522 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22523 SwigValueWrapper<wxVisualAttributes > result;
22524 void *argp1 = 0 ;
22525 int res1 = 0 ;
22526 PyObject *swig_obj[1] ;
22527
22528 if (!args) SWIG_fail;
22529 swig_obj[0] = args;
22530 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22531 if (!SWIG_IsOK(res1)) {
22532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22533 }
22534 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22535 {
22536 PyThreadState* __tstate = wxPyBeginAllowThreads();
22537 result = (arg1)->GetDefaultAttributes();
22538 wxPyEndAllowThreads(__tstate);
22539 if (PyErr_Occurred()) SWIG_fail;
22540 }
22541 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22542 return resultobj;
22543fail:
22544 return NULL;
d55e5bfc
RD
22545}
22546
22547
554f62e9
RD
22548SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22549 PyObject *resultobj = 0;
22550 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22551 void *argp1 = 0 ;
22552 int res1 = 0 ;
22553 PyObject *swig_obj[1] ;
22554
22555 if (!args) SWIG_fail;
22556 swig_obj[0] = args;
22557 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22558 if (!SWIG_IsOK(res1)) {
22559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22560 }
22561 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22562 {
22563 PyThreadState* __tstate = wxPyBeginAllowThreads();
22564 (arg1)->OnInternalIdle();
22565 wxPyEndAllowThreads(__tstate);
22566 if (PyErr_Occurred()) SWIG_fail;
22567 }
22568 resultobj = SWIG_Py_Void();
22569 return resultobj;
22570fail:
22571 return NULL;
22572}
22573
22574
22575SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22576 PyObject *obj;
22577 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22578 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
22579 return SWIG_Py_Void();
22580}
22581
22582SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22583 return SWIG_Python_InitShadowInstance(args);
22584}
22585
22586SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22587 PyObject *resultobj = 0;
22588 wxWindow *arg1 = (wxWindow *) 0 ;
22589 int arg2 = (int) (int)-1 ;
22590 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22591 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22592 wxSize const &arg4_defvalue = wxDefaultSize ;
22593 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22594 long arg5 = (long) 0 ;
22595 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22596 wxString *arg6 = (wxString *) &arg6_defvalue ;
22597 wxPyPanel *result = 0 ;
22598 void *argp1 = 0 ;
22599 int res1 = 0 ;
22600 int val2 ;
22601 int ecode2 = 0 ;
22602 wxPoint temp3 ;
22603 wxSize temp4 ;
22604 long val5 ;
22605 int ecode5 = 0 ;
22606 bool temp6 = false ;
22607 PyObject * obj0 = 0 ;
22608 PyObject * obj1 = 0 ;
22609 PyObject * obj2 = 0 ;
22610 PyObject * obj3 = 0 ;
22611 PyObject * obj4 = 0 ;
22612 PyObject * obj5 = 0 ;
22613 char * kwnames[] = {
22614 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22615 };
22616
22617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22619 if (!SWIG_IsOK(res1)) {
22620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22621 }
22622 arg1 = reinterpret_cast< wxWindow * >(argp1);
22623 if (obj1) {
22624 ecode2 = SWIG_AsVal_int(obj1, &val2);
22625 if (!SWIG_IsOK(ecode2)) {
22626 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22627 }
22628 arg2 = static_cast< int >(val2);
22629 }
22630 if (obj2) {
093d3ff1 22631 {
554f62e9
RD
22632 arg3 = &temp3;
22633 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 22634 }
554f62e9
RD
22635 }
22636 if (obj3) {
d55e5bfc 22637 {
554f62e9
RD
22638 arg4 = &temp4;
22639 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 22640 }
554f62e9
RD
22641 }
22642 if (obj4) {
22643 ecode5 = SWIG_AsVal_long(obj4, &val5);
22644 if (!SWIG_IsOK(ecode5)) {
22645 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22646 }
22647 arg5 = static_cast< long >(val5);
22648 }
22649 if (obj5) {
d55e5bfc 22650 {
554f62e9
RD
22651 arg6 = wxString_in_helper(obj5);
22652 if (arg6 == NULL) SWIG_fail;
22653 temp6 = true;
d55e5bfc 22654 }
554f62e9
RD
22655 }
22656 {
22657 if (!wxPyCheckForApp()) SWIG_fail;
22658 PyThreadState* __tstate = wxPyBeginAllowThreads();
22659 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22660 wxPyEndAllowThreads(__tstate);
22661 if (PyErr_Occurred()) SWIG_fail;
22662 }
22663 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22664 {
22665 if (temp6)
22666 delete arg6;
22667 }
22668 return resultobj;
22669fail:
22670 {
22671 if (temp6)
22672 delete arg6;
22673 }
22674 return NULL;
d55e5bfc
RD
22675}
22676
22677
554f62e9
RD
22678SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22679 PyObject *resultobj = 0;
22680 wxPyPanel *result = 0 ;
22681
22682 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22683 {
22684 if (!wxPyCheckForApp()) SWIG_fail;
22685 PyThreadState* __tstate = wxPyBeginAllowThreads();
22686 result = (wxPyPanel *)new wxPyPanel();
22687 wxPyEndAllowThreads(__tstate);
22688 if (PyErr_Occurred()) SWIG_fail;
22689 }
22690 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22691 return resultobj;
22692fail:
22693 return NULL;
22694}
22695
22696
22697SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22698 PyObject *resultobj = 0;
22699 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22700 PyObject *arg2 = (PyObject *) 0 ;
22701 PyObject *arg3 = (PyObject *) 0 ;
22702 void *argp1 = 0 ;
22703 int res1 = 0 ;
22704 PyObject * obj0 = 0 ;
22705 PyObject * obj1 = 0 ;
22706 PyObject * obj2 = 0 ;
22707 char * kwnames[] = {
22708 (char *) "self",(char *) "self",(char *) "_class", NULL
22709 };
22710
22711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22713 if (!SWIG_IsOK(res1)) {
22714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22715 }
22716 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22717 arg2 = obj1;
22718 arg3 = obj2;
22719 {
22720 PyThreadState* __tstate = wxPyBeginAllowThreads();
22721 (arg1)->_setCallbackInfo(arg2,arg3);
22722 wxPyEndAllowThreads(__tstate);
22723 if (PyErr_Occurred()) SWIG_fail;
22724 }
22725 resultobj = SWIG_Py_Void();
22726 return resultobj;
22727fail:
22728 return NULL;
22729}
22730
22731
554f62e9
RD
22732SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22733 PyObject *resultobj = 0;
22734 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22735 wxDC *arg2 = (wxDC *) 0 ;
22736 bool result;
22737 void *argp1 = 0 ;
22738 int res1 = 0 ;
22739 void *argp2 = 0 ;
22740 int res2 = 0 ;
22741 PyObject * obj0 = 0 ;
22742 PyObject * obj1 = 0 ;
22743 char * kwnames[] = {
22744 (char *) "self",(char *) "dc", NULL
22745 };
22746
22747 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22748 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22749 if (!SWIG_IsOK(res1)) {
22750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22751 }
22752 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22753 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22754 if (!SWIG_IsOK(res2)) {
22755 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22756 }
22757 arg2 = reinterpret_cast< wxDC * >(argp2);
22758 {
22759 PyThreadState* __tstate = wxPyBeginAllowThreads();
22760 result = (bool)(arg1)->DoEraseBackground(arg2);
22761 wxPyEndAllowThreads(__tstate);
22762 if (PyErr_Occurred()) SWIG_fail;
22763 }
22764 {
22765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22766 }
22767 return resultobj;
22768fail:
22769 return NULL;
22770}
22771
22772
22773SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22774 PyObject *resultobj = 0;
22775 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22776 int arg2 ;
22777 int arg3 ;
22778 int arg4 ;
22779 int arg5 ;
22780 void *argp1 = 0 ;
22781 int res1 = 0 ;
22782 int val2 ;
22783 int ecode2 = 0 ;
22784 int val3 ;
22785 int ecode3 = 0 ;
22786 int val4 ;
22787 int ecode4 = 0 ;
22788 int val5 ;
22789 int ecode5 = 0 ;
22790 PyObject * obj0 = 0 ;
22791 PyObject * obj1 = 0 ;
22792 PyObject * obj2 = 0 ;
22793 PyObject * obj3 = 0 ;
22794 PyObject * obj4 = 0 ;
22795 char * kwnames[] = {
22796 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22797 };
22798
22799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22801 if (!SWIG_IsOK(res1)) {
22802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22803 }
22804 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22805 ecode2 = SWIG_AsVal_int(obj1, &val2);
22806 if (!SWIG_IsOK(ecode2)) {
22807 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22808 }
22809 arg2 = static_cast< int >(val2);
22810 ecode3 = SWIG_AsVal_int(obj2, &val3);
22811 if (!SWIG_IsOK(ecode3)) {
22812 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22813 }
22814 arg3 = static_cast< int >(val3);
22815 ecode4 = SWIG_AsVal_int(obj3, &val4);
22816 if (!SWIG_IsOK(ecode4)) {
22817 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22818 }
22819 arg4 = static_cast< int >(val4);
22820 ecode5 = SWIG_AsVal_int(obj4, &val5);
22821 if (!SWIG_IsOK(ecode5)) {
22822 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22823 }
22824 arg5 = static_cast< int >(val5);
22825 {
22826 PyThreadState* __tstate = wxPyBeginAllowThreads();
22827 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22828 wxPyEndAllowThreads(__tstate);
22829 if (PyErr_Occurred()) SWIG_fail;
22830 }
22831 resultobj = SWIG_Py_Void();
22832 return resultobj;
22833fail:
22834 return NULL;
22835}
22836
22837
22838SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22839 PyObject *resultobj = 0;
22840 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22841 int arg2 ;
22842 int arg3 ;
22843 int arg4 ;
22844 int arg5 ;
22845 int arg6 = (int) wxSIZE_AUTO ;
22846 void *argp1 = 0 ;
22847 int res1 = 0 ;
22848 int val2 ;
22849 int ecode2 = 0 ;
22850 int val3 ;
22851 int ecode3 = 0 ;
22852 int val4 ;
22853 int ecode4 = 0 ;
22854 int val5 ;
22855 int ecode5 = 0 ;
22856 int val6 ;
22857 int ecode6 = 0 ;
22858 PyObject * obj0 = 0 ;
22859 PyObject * obj1 = 0 ;
22860 PyObject * obj2 = 0 ;
22861 PyObject * obj3 = 0 ;
22862 PyObject * obj4 = 0 ;
22863 PyObject * obj5 = 0 ;
22864 char * kwnames[] = {
22865 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22866 };
22867
22868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22870 if (!SWIG_IsOK(res1)) {
22871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22872 }
22873 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22874 ecode2 = SWIG_AsVal_int(obj1, &val2);
22875 if (!SWIG_IsOK(ecode2)) {
22876 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22877 }
22878 arg2 = static_cast< int >(val2);
22879 ecode3 = SWIG_AsVal_int(obj2, &val3);
22880 if (!SWIG_IsOK(ecode3)) {
22881 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22882 }
22883 arg3 = static_cast< int >(val3);
22884 ecode4 = SWIG_AsVal_int(obj3, &val4);
22885 if (!SWIG_IsOK(ecode4)) {
22886 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22887 }
22888 arg4 = static_cast< int >(val4);
22889 ecode5 = SWIG_AsVal_int(obj4, &val5);
22890 if (!SWIG_IsOK(ecode5)) {
22891 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22892 }
22893 arg5 = static_cast< int >(val5);
22894 if (obj5) {
22895 ecode6 = SWIG_AsVal_int(obj5, &val6);
22896 if (!SWIG_IsOK(ecode6)) {
22897 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22898 }
22899 arg6 = static_cast< int >(val6);
22900 }
22901 {
22902 PyThreadState* __tstate = wxPyBeginAllowThreads();
22903 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22904 wxPyEndAllowThreads(__tstate);
22905 if (PyErr_Occurred()) SWIG_fail;
22906 }
22907 resultobj = SWIG_Py_Void();
22908 return resultobj;
22909fail:
22910 return NULL;
22911}
22912
22913
22914SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22915 PyObject *resultobj = 0;
22916 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22917 int arg2 ;
22918 int arg3 ;
22919 void *argp1 = 0 ;
22920 int res1 = 0 ;
22921 int val2 ;
22922 int ecode2 = 0 ;
22923 int val3 ;
22924 int ecode3 = 0 ;
22925 PyObject * obj0 = 0 ;
22926 PyObject * obj1 = 0 ;
22927 PyObject * obj2 = 0 ;
22928 char * kwnames[] = {
22929 (char *) "self",(char *) "width",(char *) "height", NULL
22930 };
22931
22932 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22933 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22934 if (!SWIG_IsOK(res1)) {
22935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22936 }
22937 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22938 ecode2 = SWIG_AsVal_int(obj1, &val2);
22939 if (!SWIG_IsOK(ecode2)) {
22940 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22941 }
22942 arg2 = static_cast< int >(val2);
22943 ecode3 = SWIG_AsVal_int(obj2, &val3);
22944 if (!SWIG_IsOK(ecode3)) {
22945 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22946 }
22947 arg3 = static_cast< int >(val3);
22948 {
22949 PyThreadState* __tstate = wxPyBeginAllowThreads();
22950 (arg1)->DoSetClientSize(arg2,arg3);
22951 wxPyEndAllowThreads(__tstate);
22952 if (PyErr_Occurred()) SWIG_fail;
22953 }
22954 resultobj = SWIG_Py_Void();
22955 return resultobj;
22956fail:
22957 return NULL;
22958}
22959
22960
22961SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22962 PyObject *resultobj = 0;
22963 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22964 int arg2 ;
22965 int arg3 ;
22966 void *argp1 = 0 ;
22967 int res1 = 0 ;
22968 int val2 ;
22969 int ecode2 = 0 ;
22970 int val3 ;
22971 int ecode3 = 0 ;
22972 PyObject * obj0 = 0 ;
22973 PyObject * obj1 = 0 ;
22974 PyObject * obj2 = 0 ;
22975 char * kwnames[] = {
22976 (char *) "self",(char *) "x",(char *) "y", NULL
22977 };
22978
22979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22981 if (!SWIG_IsOK(res1)) {
22982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22983 }
22984 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22985 ecode2 = SWIG_AsVal_int(obj1, &val2);
22986 if (!SWIG_IsOK(ecode2)) {
22987 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22988 }
22989 arg2 = static_cast< int >(val2);
22990 ecode3 = SWIG_AsVal_int(obj2, &val3);
22991 if (!SWIG_IsOK(ecode3)) {
22992 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22993 }
22994 arg3 = static_cast< int >(val3);
22995 {
22996 PyThreadState* __tstate = wxPyBeginAllowThreads();
22997 (arg1)->DoSetVirtualSize(arg2,arg3);
22998 wxPyEndAllowThreads(__tstate);
22999 if (PyErr_Occurred()) SWIG_fail;
23000 }
23001 resultobj = SWIG_Py_Void();
23002 return resultobj;
23003fail:
23004 return NULL;
23005}
23006
23007
23008SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23009 PyObject *resultobj = 0;
23010 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23011 int *arg2 = (int *) 0 ;
23012 int *arg3 = (int *) 0 ;
23013 void *argp1 = 0 ;
23014 int res1 = 0 ;
23015 int temp2 ;
23016 int res2 = SWIG_TMPOBJ ;
23017 int temp3 ;
23018 int res3 = SWIG_TMPOBJ ;
23019 PyObject *swig_obj[1] ;
23020
23021 arg2 = &temp2;
23022 arg3 = &temp3;
23023 if (!args) SWIG_fail;
23024 swig_obj[0] = args;
23025 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23026 if (!SWIG_IsOK(res1)) {
23027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23028 }
23029 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23030 {
23031 PyThreadState* __tstate = wxPyBeginAllowThreads();
23032 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
23033 wxPyEndAllowThreads(__tstate);
23034 if (PyErr_Occurred()) SWIG_fail;
23035 }
23036 resultobj = SWIG_Py_Void();
23037 if (SWIG_IsTmpObj(res2)) {
23038 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23039 } else {
23040 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23041 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23042 }
23043 if (SWIG_IsTmpObj(res3)) {
23044 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23045 } else {
23046 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23047 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23048 }
23049 return resultobj;
23050fail:
23051 return NULL;
23052}
23053
23054
23055SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23056 PyObject *resultobj = 0;
23057 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23058 int *arg2 = (int *) 0 ;
23059 int *arg3 = (int *) 0 ;
23060 void *argp1 = 0 ;
23061 int res1 = 0 ;
23062 int temp2 ;
23063 int res2 = SWIG_TMPOBJ ;
23064 int temp3 ;
23065 int res3 = SWIG_TMPOBJ ;
23066 PyObject *swig_obj[1] ;
23067
23068 arg2 = &temp2;
23069 arg3 = &temp3;
23070 if (!args) SWIG_fail;
23071 swig_obj[0] = args;
23072 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23073 if (!SWIG_IsOK(res1)) {
23074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23075 }
23076 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23077 {
23078 PyThreadState* __tstate = wxPyBeginAllowThreads();
23079 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
23080 wxPyEndAllowThreads(__tstate);
23081 if (PyErr_Occurred()) SWIG_fail;
23082 }
23083 resultobj = SWIG_Py_Void();
23084 if (SWIG_IsTmpObj(res2)) {
23085 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23086 } else {
23087 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23088 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23089 }
23090 if (SWIG_IsTmpObj(res3)) {
23091 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23092 } else {
23093 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23094 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23095 }
23096 return resultobj;
23097fail:
23098 return NULL;
23099}
23100
23101
23102SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23103 PyObject *resultobj = 0;
23104 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23105 int *arg2 = (int *) 0 ;
23106 int *arg3 = (int *) 0 ;
23107 void *argp1 = 0 ;
23108 int res1 = 0 ;
23109 int temp2 ;
23110 int res2 = SWIG_TMPOBJ ;
23111 int temp3 ;
23112 int res3 = SWIG_TMPOBJ ;
23113 PyObject *swig_obj[1] ;
23114
23115 arg2 = &temp2;
23116 arg3 = &temp3;
23117 if (!args) SWIG_fail;
23118 swig_obj[0] = args;
23119 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23120 if (!SWIG_IsOK(res1)) {
23121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23122 }
23123 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23124 {
23125 PyThreadState* __tstate = wxPyBeginAllowThreads();
23126 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
23127 wxPyEndAllowThreads(__tstate);
23128 if (PyErr_Occurred()) SWIG_fail;
23129 }
23130 resultobj = SWIG_Py_Void();
23131 if (SWIG_IsTmpObj(res2)) {
23132 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23133 } else {
23134 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23135 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23136 }
23137 if (SWIG_IsTmpObj(res3)) {
23138 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23139 } else {
23140 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23141 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23142 }
23143 return resultobj;
23144fail:
23145 return NULL;
d55e5bfc
RD
23146}
23147
23148
554f62e9
RD
23149SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23150 PyObject *resultobj = 0;
23151 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23152 wxSize result;
23153 void *argp1 = 0 ;
23154 int res1 = 0 ;
23155 PyObject *swig_obj[1] ;
23156
23157 if (!args) SWIG_fail;
23158 swig_obj[0] = args;
23159 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23160 if (!SWIG_IsOK(res1)) {
23161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23162 }
23163 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23164 {
23165 PyThreadState* __tstate = wxPyBeginAllowThreads();
23166 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
23167 wxPyEndAllowThreads(__tstate);
23168 if (PyErr_Occurred()) SWIG_fail;
23169 }
23170 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23171 return resultobj;
23172fail:
23173 return NULL;
d55e5bfc
RD
23174}
23175
23176
554f62e9
RD
23177SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23178 PyObject *resultobj = 0;
23179 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23180 wxSize result;
23181 void *argp1 = 0 ;
23182 int res1 = 0 ;
23183 PyObject *swig_obj[1] ;
23184
23185 if (!args) SWIG_fail;
23186 swig_obj[0] = args;
23187 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23188 if (!SWIG_IsOK(res1)) {
23189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23190 }
23191 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23192 {
23193 PyThreadState* __tstate = wxPyBeginAllowThreads();
23194 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
23195 wxPyEndAllowThreads(__tstate);
23196 if (PyErr_Occurred()) SWIG_fail;
23197 }
23198 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23199 return resultobj;
23200fail:
23201 return NULL;
d55e5bfc
RD
23202}
23203
23204
554f62e9
RD
23205SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23206 PyObject *resultobj = 0;
23207 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23208 SwigValueWrapper<wxVisualAttributes > result;
23209 void *argp1 = 0 ;
23210 int res1 = 0 ;
23211 PyObject *swig_obj[1] ;
23212
23213 if (!args) SWIG_fail;
23214 swig_obj[0] = args;
23215 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23216 if (!SWIG_IsOK(res1)) {
23217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
23218 }
23219 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23220 {
23221 PyThreadState* __tstate = wxPyBeginAllowThreads();
23222 result = (arg1)->GetDefaultAttributes();
23223 wxPyEndAllowThreads(__tstate);
23224 if (PyErr_Occurred()) SWIG_fail;
23225 }
23226 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23227 return resultobj;
23228fail:
23229 return NULL;
d55e5bfc
RD
23230}
23231
23232
554f62e9
RD
23233SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23234 PyObject *resultobj = 0;
23235 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23236 void *argp1 = 0 ;
23237 int res1 = 0 ;
23238 PyObject *swig_obj[1] ;
23239
23240 if (!args) SWIG_fail;
23241 swig_obj[0] = args;
23242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23243 if (!SWIG_IsOK(res1)) {
23244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
23245 }
23246 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23247 {
23248 PyThreadState* __tstate = wxPyBeginAllowThreads();
23249 (arg1)->OnInternalIdle();
23250 wxPyEndAllowThreads(__tstate);
23251 if (PyErr_Occurred()) SWIG_fail;
23252 }
23253 resultobj = SWIG_Py_Void();
23254 return resultobj;
23255fail:
23256 return NULL;
23257}
23258
23259
23260SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23261 PyObject *obj;
23262 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23263 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
23264 return SWIG_Py_Void();
23265}
23266
23267SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23268 return SWIG_Python_InitShadowInstance(args);
23269}
23270
23271SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23272 PyObject *resultobj = 0;
23273 wxWindow *arg1 = (wxWindow *) 0 ;
23274 int arg2 = (int) (int)-1 ;
23275 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23276 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23277 wxSize const &arg4_defvalue = wxDefaultSize ;
23278 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23279 long arg5 = (long) 0 ;
23280 wxString const &arg6_defvalue = wxPyPanelNameStr ;
23281 wxString *arg6 = (wxString *) &arg6_defvalue ;
23282 wxPyScrolledWindow *result = 0 ;
23283 void *argp1 = 0 ;
23284 int res1 = 0 ;
23285 int val2 ;
23286 int ecode2 = 0 ;
23287 wxPoint temp3 ;
23288 wxSize temp4 ;
23289 long val5 ;
23290 int ecode5 = 0 ;
23291 bool temp6 = false ;
23292 PyObject * obj0 = 0 ;
23293 PyObject * obj1 = 0 ;
23294 PyObject * obj2 = 0 ;
23295 PyObject * obj3 = 0 ;
23296 PyObject * obj4 = 0 ;
23297 PyObject * obj5 = 0 ;
23298 char * kwnames[] = {
23299 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23300 };
23301
23302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
23304 if (!SWIG_IsOK(res1)) {
23305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23306 }
23307 arg1 = reinterpret_cast< wxWindow * >(argp1);
23308 if (obj1) {
23309 ecode2 = SWIG_AsVal_int(obj1, &val2);
23310 if (!SWIG_IsOK(ecode2)) {
23311 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
23312 }
23313 arg2 = static_cast< int >(val2);
23314 }
23315 if (obj2) {
d55e5bfc 23316 {
554f62e9
RD
23317 arg3 = &temp3;
23318 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7449af73 23319 }
554f62e9
RD
23320 }
23321 if (obj3) {
7449af73 23322 {
554f62e9
RD
23323 arg4 = &temp4;
23324 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7449af73 23325 }
554f62e9
RD
23326 }
23327 if (obj4) {
23328 ecode5 = SWIG_AsVal_long(obj4, &val5);
23329 if (!SWIG_IsOK(ecode5)) {
23330 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
23331 }
23332 arg5 = static_cast< long >(val5);
23333 }
23334 if (obj5) {
7449af73 23335 {
554f62e9
RD
23336 arg6 = wxString_in_helper(obj5);
23337 if (arg6 == NULL) SWIG_fail;
23338 temp6 = true;
7449af73 23339 }
554f62e9
RD
23340 }
23341 {
23342 if (!wxPyCheckForApp()) SWIG_fail;
23343 PyThreadState* __tstate = wxPyBeginAllowThreads();
23344 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
23345 wxPyEndAllowThreads(__tstate);
23346 if (PyErr_Occurred()) SWIG_fail;
23347 }
23348 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
23349 {
23350 if (temp6)
23351 delete arg6;
23352 }
23353 return resultobj;
23354fail:
23355 {
23356 if (temp6)
23357 delete arg6;
23358 }
23359 return NULL;
7449af73
RD
23360}
23361
23362
554f62e9
RD
23363SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23364 PyObject *resultobj = 0;
23365 wxPyScrolledWindow *result = 0 ;
23366
23367 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
23368 {
23369 if (!wxPyCheckForApp()) SWIG_fail;
23370 PyThreadState* __tstate = wxPyBeginAllowThreads();
23371 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
23372 wxPyEndAllowThreads(__tstate);
23373 if (PyErr_Occurred()) SWIG_fail;
23374 }
23375 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
23376 return resultobj;
23377fail:
23378 return NULL;
23379}
23380
23381
23382SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23383 PyObject *resultobj = 0;
23384 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23385 PyObject *arg2 = (PyObject *) 0 ;
23386 PyObject *arg3 = (PyObject *) 0 ;
23387 void *argp1 = 0 ;
23388 int res1 = 0 ;
23389 PyObject * obj0 = 0 ;
23390 PyObject * obj1 = 0 ;
23391 PyObject * obj2 = 0 ;
23392 char * kwnames[] = {
23393 (char *) "self",(char *) "self",(char *) "_class", NULL
23394 };
23395
23396 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23397 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23398 if (!SWIG_IsOK(res1)) {
23399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23400 }
23401 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23402 arg2 = obj1;
23403 arg3 = obj2;
23404 {
23405 PyThreadState* __tstate = wxPyBeginAllowThreads();
23406 (arg1)->_setCallbackInfo(arg2,arg3);
23407 wxPyEndAllowThreads(__tstate);
23408 if (PyErr_Occurred()) SWIG_fail;
23409 }
23410 resultobj = SWIG_Py_Void();
23411 return resultobj;
23412fail:
23413 return NULL;
23414}
23415
23416
554f62e9
RD
23417SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23418 PyObject *resultobj = 0;
23419 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23420 wxDC *arg2 = (wxDC *) 0 ;
23421 bool result;
23422 void *argp1 = 0 ;
23423 int res1 = 0 ;
23424 void *argp2 = 0 ;
23425 int res2 = 0 ;
23426 PyObject * obj0 = 0 ;
23427 PyObject * obj1 = 0 ;
23428 char * kwnames[] = {
23429 (char *) "self",(char *) "dc", NULL
23430 };
23431
23432 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
23433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23434 if (!SWIG_IsOK(res1)) {
23435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23436 }
23437 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23438 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
23439 if (!SWIG_IsOK(res2)) {
23440 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23441 }
23442 arg2 = reinterpret_cast< wxDC * >(argp2);
23443 {
23444 PyThreadState* __tstate = wxPyBeginAllowThreads();
23445 result = (bool)(arg1)->DoEraseBackground(arg2);
23446 wxPyEndAllowThreads(__tstate);
23447 if (PyErr_Occurred()) SWIG_fail;
23448 }
23449 {
23450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23451 }
23452 return resultobj;
23453fail:
23454 return NULL;
23455}
23456
23457
23458SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23459 PyObject *resultobj = 0;
23460 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23461 int arg2 ;
23462 int arg3 ;
23463 int arg4 ;
23464 int arg5 ;
23465 void *argp1 = 0 ;
23466 int res1 = 0 ;
23467 int val2 ;
23468 int ecode2 = 0 ;
23469 int val3 ;
23470 int ecode3 = 0 ;
23471 int val4 ;
23472 int ecode4 = 0 ;
23473 int val5 ;
23474 int ecode5 = 0 ;
23475 PyObject * obj0 = 0 ;
23476 PyObject * obj1 = 0 ;
23477 PyObject * obj2 = 0 ;
23478 PyObject * obj3 = 0 ;
23479 PyObject * obj4 = 0 ;
23480 char * kwnames[] = {
23481 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23482 };
23483
23484 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
23485 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23486 if (!SWIG_IsOK(res1)) {
23487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23488 }
23489 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23490 ecode2 = SWIG_AsVal_int(obj1, &val2);
23491 if (!SWIG_IsOK(ecode2)) {
23492 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23493 }
23494 arg2 = static_cast< int >(val2);
23495 ecode3 = SWIG_AsVal_int(obj2, &val3);
23496 if (!SWIG_IsOK(ecode3)) {
23497 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23498 }
23499 arg3 = static_cast< int >(val3);
23500 ecode4 = SWIG_AsVal_int(obj3, &val4);
23501 if (!SWIG_IsOK(ecode4)) {
23502 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23503 }
23504 arg4 = static_cast< int >(val4);
23505 ecode5 = SWIG_AsVal_int(obj4, &val5);
23506 if (!SWIG_IsOK(ecode5)) {
23507 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23508 }
23509 arg5 = static_cast< int >(val5);
23510 {
23511 PyThreadState* __tstate = wxPyBeginAllowThreads();
23512 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
23513 wxPyEndAllowThreads(__tstate);
23514 if (PyErr_Occurred()) SWIG_fail;
23515 }
23516 resultobj = SWIG_Py_Void();
23517 return resultobj;
23518fail:
23519 return NULL;
23520}
23521
23522
23523SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23524 PyObject *resultobj = 0;
23525 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23526 int arg2 ;
23527 int arg3 ;
23528 int arg4 ;
23529 int arg5 ;
23530 int arg6 = (int) wxSIZE_AUTO ;
23531 void *argp1 = 0 ;
23532 int res1 = 0 ;
23533 int val2 ;
23534 int ecode2 = 0 ;
23535 int val3 ;
23536 int ecode3 = 0 ;
23537 int val4 ;
23538 int ecode4 = 0 ;
23539 int val5 ;
23540 int ecode5 = 0 ;
23541 int val6 ;
23542 int ecode6 = 0 ;
23543 PyObject * obj0 = 0 ;
23544 PyObject * obj1 = 0 ;
23545 PyObject * obj2 = 0 ;
23546 PyObject * obj3 = 0 ;
23547 PyObject * obj4 = 0 ;
23548 PyObject * obj5 = 0 ;
23549 char * kwnames[] = {
23550 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23551 };
23552
23553 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23554 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23555 if (!SWIG_IsOK(res1)) {
23556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23557 }
23558 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23559 ecode2 = SWIG_AsVal_int(obj1, &val2);
23560 if (!SWIG_IsOK(ecode2)) {
23561 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23562 }
23563 arg2 = static_cast< int >(val2);
23564 ecode3 = SWIG_AsVal_int(obj2, &val3);
23565 if (!SWIG_IsOK(ecode3)) {
23566 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23567 }
23568 arg3 = static_cast< int >(val3);
23569 ecode4 = SWIG_AsVal_int(obj3, &val4);
23570 if (!SWIG_IsOK(ecode4)) {
23571 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23572 }
23573 arg4 = static_cast< int >(val4);
23574 ecode5 = SWIG_AsVal_int(obj4, &val5);
23575 if (!SWIG_IsOK(ecode5)) {
23576 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23577 }
23578 arg5 = static_cast< int >(val5);
23579 if (obj5) {
23580 ecode6 = SWIG_AsVal_int(obj5, &val6);
23581 if (!SWIG_IsOK(ecode6)) {
23582 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23583 }
23584 arg6 = static_cast< int >(val6);
23585 }
23586 {
23587 PyThreadState* __tstate = wxPyBeginAllowThreads();
23588 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23589 wxPyEndAllowThreads(__tstate);
23590 if (PyErr_Occurred()) SWIG_fail;
23591 }
23592 resultobj = SWIG_Py_Void();
23593 return resultobj;
23594fail:
23595 return NULL;
23596}
23597
23598
23599SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23600 PyObject *resultobj = 0;
23601 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23602 int arg2 ;
23603 int arg3 ;
23604 void *argp1 = 0 ;
23605 int res1 = 0 ;
23606 int val2 ;
23607 int ecode2 = 0 ;
23608 int val3 ;
23609 int ecode3 = 0 ;
23610 PyObject * obj0 = 0 ;
23611 PyObject * obj1 = 0 ;
23612 PyObject * obj2 = 0 ;
23613 char * kwnames[] = {
23614 (char *) "self",(char *) "width",(char *) "height", NULL
23615 };
23616
23617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23619 if (!SWIG_IsOK(res1)) {
23620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23621 }
23622 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23623 ecode2 = SWIG_AsVal_int(obj1, &val2);
23624 if (!SWIG_IsOK(ecode2)) {
23625 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23626 }
23627 arg2 = static_cast< int >(val2);
23628 ecode3 = SWIG_AsVal_int(obj2, &val3);
23629 if (!SWIG_IsOK(ecode3)) {
23630 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23631 }
23632 arg3 = static_cast< int >(val3);
23633 {
23634 PyThreadState* __tstate = wxPyBeginAllowThreads();
23635 (arg1)->DoSetClientSize(arg2,arg3);
23636 wxPyEndAllowThreads(__tstate);
23637 if (PyErr_Occurred()) SWIG_fail;
23638 }
23639 resultobj = SWIG_Py_Void();
23640 return resultobj;
23641fail:
23642 return NULL;
23643}
23644
23645
23646SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23647 PyObject *resultobj = 0;
23648 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23649 int arg2 ;
23650 int arg3 ;
23651 void *argp1 = 0 ;
23652 int res1 = 0 ;
23653 int val2 ;
23654 int ecode2 = 0 ;
23655 int val3 ;
23656 int ecode3 = 0 ;
23657 PyObject * obj0 = 0 ;
23658 PyObject * obj1 = 0 ;
23659 PyObject * obj2 = 0 ;
23660 char * kwnames[] = {
23661 (char *) "self",(char *) "x",(char *) "y", NULL
23662 };
23663
23664 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23665 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23666 if (!SWIG_IsOK(res1)) {
23667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23668 }
23669 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23670 ecode2 = SWIG_AsVal_int(obj1, &val2);
23671 if (!SWIG_IsOK(ecode2)) {
23672 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23673 }
23674 arg2 = static_cast< int >(val2);
23675 ecode3 = SWIG_AsVal_int(obj2, &val3);
23676 if (!SWIG_IsOK(ecode3)) {
23677 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23678 }
23679 arg3 = static_cast< int >(val3);
23680 {
23681 PyThreadState* __tstate = wxPyBeginAllowThreads();
23682 (arg1)->DoSetVirtualSize(arg2,arg3);
23683 wxPyEndAllowThreads(__tstate);
23684 if (PyErr_Occurred()) SWIG_fail;
23685 }
23686 resultobj = SWIG_Py_Void();
23687 return resultobj;
23688fail:
23689 return NULL;
23690}
23691
23692
23693SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23694 PyObject *resultobj = 0;
23695 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23696 int *arg2 = (int *) 0 ;
23697 int *arg3 = (int *) 0 ;
23698 void *argp1 = 0 ;
23699 int res1 = 0 ;
23700 int temp2 ;
23701 int res2 = SWIG_TMPOBJ ;
23702 int temp3 ;
23703 int res3 = SWIG_TMPOBJ ;
23704 PyObject *swig_obj[1] ;
23705
23706 arg2 = &temp2;
23707 arg3 = &temp3;
23708 if (!args) SWIG_fail;
23709 swig_obj[0] = args;
23710 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23711 if (!SWIG_IsOK(res1)) {
23712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23713 }
23714 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23715 {
23716 PyThreadState* __tstate = wxPyBeginAllowThreads();
23717 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23718 wxPyEndAllowThreads(__tstate);
23719 if (PyErr_Occurred()) SWIG_fail;
23720 }
23721 resultobj = SWIG_Py_Void();
23722 if (SWIG_IsTmpObj(res2)) {
23723 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23724 } else {
23725 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23726 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23727 }
23728 if (SWIG_IsTmpObj(res3)) {
23729 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23730 } else {
23731 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23732 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23733 }
23734 return resultobj;
23735fail:
23736 return NULL;
23737}
23738
23739
23740SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23741 PyObject *resultobj = 0;
23742 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23743 int *arg2 = (int *) 0 ;
23744 int *arg3 = (int *) 0 ;
23745 void *argp1 = 0 ;
23746 int res1 = 0 ;
23747 int temp2 ;
23748 int res2 = SWIG_TMPOBJ ;
23749 int temp3 ;
23750 int res3 = SWIG_TMPOBJ ;
23751 PyObject *swig_obj[1] ;
23752
23753 arg2 = &temp2;
23754 arg3 = &temp3;
23755 if (!args) SWIG_fail;
23756 swig_obj[0] = args;
23757 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23758 if (!SWIG_IsOK(res1)) {
23759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23760 }
23761 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23762 {
23763 PyThreadState* __tstate = wxPyBeginAllowThreads();
23764 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23765 wxPyEndAllowThreads(__tstate);
23766 if (PyErr_Occurred()) SWIG_fail;
23767 }
23768 resultobj = SWIG_Py_Void();
23769 if (SWIG_IsTmpObj(res2)) {
23770 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23771 } else {
23772 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23773 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23774 }
23775 if (SWIG_IsTmpObj(res3)) {
23776 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23777 } else {
23778 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23779 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23780 }
23781 return resultobj;
23782fail:
23783 return NULL;
23784}
23785
23786
23787SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23788 PyObject *resultobj = 0;
23789 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23790 int *arg2 = (int *) 0 ;
23791 int *arg3 = (int *) 0 ;
23792 void *argp1 = 0 ;
23793 int res1 = 0 ;
23794 int temp2 ;
23795 int res2 = SWIG_TMPOBJ ;
23796 int temp3 ;
23797 int res3 = SWIG_TMPOBJ ;
23798 PyObject *swig_obj[1] ;
23799
23800 arg2 = &temp2;
23801 arg3 = &temp3;
23802 if (!args) SWIG_fail;
23803 swig_obj[0] = args;
23804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23805 if (!SWIG_IsOK(res1)) {
23806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23807 }
23808 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23809 {
23810 PyThreadState* __tstate = wxPyBeginAllowThreads();
23811 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23812 wxPyEndAllowThreads(__tstate);
23813 if (PyErr_Occurred()) SWIG_fail;
23814 }
23815 resultobj = SWIG_Py_Void();
23816 if (SWIG_IsTmpObj(res2)) {
23817 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23818 } else {
23819 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23820 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23821 }
23822 if (SWIG_IsTmpObj(res3)) {
23823 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23824 } else {
23825 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23826 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23827 }
23828 return resultobj;
23829fail:
23830 return NULL;
d55e5bfc
RD
23831}
23832
23833
554f62e9
RD
23834SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23835 PyObject *resultobj = 0;
23836 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23837 wxSize result;
23838 void *argp1 = 0 ;
23839 int res1 = 0 ;
23840 PyObject *swig_obj[1] ;
23841
23842 if (!args) SWIG_fail;
23843 swig_obj[0] = args;
23844 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23845 if (!SWIG_IsOK(res1)) {
23846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23847 }
23848 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23849 {
23850 PyThreadState* __tstate = wxPyBeginAllowThreads();
23851 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23852 wxPyEndAllowThreads(__tstate);
23853 if (PyErr_Occurred()) SWIG_fail;
23854 }
23855 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23856 return resultobj;
23857fail:
23858 return NULL;
d55e5bfc
RD
23859}
23860
23861
554f62e9
RD
23862SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23863 PyObject *resultobj = 0;
23864 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23865 wxSize result;
23866 void *argp1 = 0 ;
23867 int res1 = 0 ;
23868 PyObject *swig_obj[1] ;
23869
23870 if (!args) SWIG_fail;
23871 swig_obj[0] = args;
23872 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23873 if (!SWIG_IsOK(res1)) {
23874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23875 }
23876 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23877 {
23878 PyThreadState* __tstate = wxPyBeginAllowThreads();
23879 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23880 wxPyEndAllowThreads(__tstate);
23881 if (PyErr_Occurred()) SWIG_fail;
23882 }
23883 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23884 return resultobj;
23885fail:
23886 return NULL;
d55e5bfc
RD
23887}
23888
23889
554f62e9
RD
23890SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23891 PyObject *resultobj = 0;
23892 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23893 SwigValueWrapper<wxVisualAttributes > result;
23894 void *argp1 = 0 ;
23895 int res1 = 0 ;
23896 PyObject *swig_obj[1] ;
23897
23898 if (!args) SWIG_fail;
23899 swig_obj[0] = args;
23900 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23901 if (!SWIG_IsOK(res1)) {
23902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23903 }
23904 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23905 {
23906 PyThreadState* __tstate = wxPyBeginAllowThreads();
23907 result = (arg1)->GetDefaultAttributes();
23908 wxPyEndAllowThreads(__tstate);
23909 if (PyErr_Occurred()) SWIG_fail;
23910 }
23911 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23912 return resultobj;
23913fail:
23914 return NULL;
d55e5bfc
RD
23915}
23916
23917
554f62e9
RD
23918SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23919 PyObject *resultobj = 0;
23920 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23921 void *argp1 = 0 ;
23922 int res1 = 0 ;
23923 PyObject *swig_obj[1] ;
23924
23925 if (!args) SWIG_fail;
23926 swig_obj[0] = args;
23927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23928 if (!SWIG_IsOK(res1)) {
23929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23930 }
23931 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23932 {
23933 PyThreadState* __tstate = wxPyBeginAllowThreads();
23934 (arg1)->OnInternalIdle();
23935 wxPyEndAllowThreads(__tstate);
23936 if (PyErr_Occurred()) SWIG_fail;
23937 }
23938 resultobj = SWIG_Py_Void();
23939 return resultobj;
23940fail:
23941 return NULL;
d55e5bfc
RD
23942}
23943
23944
554f62e9
RD
23945SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23946 PyObject *obj;
23947 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23948 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23949 return SWIG_Py_Void();
d55e5bfc
RD
23950}
23951
554f62e9
RD
23952SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23953 return SWIG_Python_InitShadowInstance(args);
23954}
d55e5bfc 23955
554f62e9
RD
23956SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23957 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23958 return 1;
d55e5bfc
RD
23959}
23960
23961
554f62e9
RD
23962SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23963 PyObject *pyobj = 0;
23964
23965 {
23966#if wxUSE_UNICODE
23967 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23968#else
23969 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23970#endif
23971 }
23972 return pyobj;
d55e5bfc
RD
23973}
23974
23975
554f62e9
RD
23976SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23977 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23978 return 1;
d55e5bfc
RD
23979}
23980
23981
554f62e9
RD
23982SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23983 PyObject *pyobj = 0;
23984
23985 {
23986#if wxUSE_UNICODE
23987 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23988#else
23989 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23990#endif
23991 }
23992 return pyobj;
d55e5bfc
RD
23993}
23994
23995
554f62e9
RD
23996SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23997 PyObject *resultobj = 0;
23998 wxPrintData *result = 0 ;
23999
24000 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24001 {
24002 PyThreadState* __tstate = wxPyBeginAllowThreads();
24003 result = (wxPrintData *)new wxPrintData();
24004 wxPyEndAllowThreads(__tstate);
24005 if (PyErr_Occurred()) SWIG_fail;
24006 }
24007 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
24008 return resultobj;
24009fail:
24010 return NULL;
d55e5bfc
RD
24011}
24012
24013
554f62e9
RD
24014SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24015 PyObject *resultobj = 0;
24016 wxPrintData *arg1 = 0 ;
24017 wxPrintData *result = 0 ;
24018 void *argp1 = 0 ;
24019 int res1 = 0 ;
24020
24021 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24022 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24023 if (!SWIG_IsOK(res1)) {
24024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24025 }
24026 if (!argp1) {
24027 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24028 }
24029 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24030 {
24031 PyThreadState* __tstate = wxPyBeginAllowThreads();
24032 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
24033 wxPyEndAllowThreads(__tstate);
24034 if (PyErr_Occurred()) SWIG_fail;
24035 }
24036 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
24037 return resultobj;
24038fail:
24039 return NULL;
d55e5bfc
RD
24040}
24041
24042
554f62e9
RD
24043SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
24044 int argc;
24045 PyObject *argv[2];
24046
24047 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
24048 --argc;
24049 if (argc == 0) {
24050 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
24051 }
24052 if (argc == 1) {
24053 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
24054 }
24055
24056fail:
24057 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
24058 return NULL;
d55e5bfc
RD
24059}
24060
24061
554f62e9
RD
24062SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24063 PyObject *resultobj = 0;
24064 wxPrintData *arg1 = (wxPrintData *) 0 ;
24065 void *argp1 = 0 ;
24066 int res1 = 0 ;
24067 PyObject *swig_obj[1] ;
24068
24069 if (!args) SWIG_fail;
24070 swig_obj[0] = args;
24071 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
24072 if (!SWIG_IsOK(res1)) {
24073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24074 }
24075 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24076 {
24077 PyThreadState* __tstate = wxPyBeginAllowThreads();
24078 delete arg1;
d55e5bfc 24079
554f62e9
RD
24080 wxPyEndAllowThreads(__tstate);
24081 if (PyErr_Occurred()) SWIG_fail;
24082 }
24083 resultobj = SWIG_Py_Void();
24084 return resultobj;
24085fail:
24086 return NULL;
d55e5bfc
RD
24087}
24088
24089
554f62e9
RD
24090SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24091 PyObject *resultobj = 0;
24092 wxPrintData *arg1 = (wxPrintData *) 0 ;
24093 int result;
24094 void *argp1 = 0 ;
24095 int res1 = 0 ;
24096 PyObject *swig_obj[1] ;
24097
24098 if (!args) SWIG_fail;
24099 swig_obj[0] = args;
24100 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24101 if (!SWIG_IsOK(res1)) {
24102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24103 }
24104 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24105 {
24106 PyThreadState* __tstate = wxPyBeginAllowThreads();
24107 result = (int)(arg1)->GetNoCopies();
24108 wxPyEndAllowThreads(__tstate);
24109 if (PyErr_Occurred()) SWIG_fail;
24110 }
24111 resultobj = SWIG_From_int(static_cast< int >(result));
24112 return resultobj;
24113fail:
24114 return NULL;
d55e5bfc
RD
24115}
24116
24117
554f62e9
RD
24118SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24119 PyObject *resultobj = 0;
24120 wxPrintData *arg1 = (wxPrintData *) 0 ;
24121 bool result;
24122 void *argp1 = 0 ;
24123 int res1 = 0 ;
24124 PyObject *swig_obj[1] ;
24125
24126 if (!args) SWIG_fail;
24127 swig_obj[0] = args;
24128 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24129 if (!SWIG_IsOK(res1)) {
24130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24131 }
24132 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24133 {
24134 PyThreadState* __tstate = wxPyBeginAllowThreads();
24135 result = (bool)(arg1)->GetCollate();
24136 wxPyEndAllowThreads(__tstate);
24137 if (PyErr_Occurred()) SWIG_fail;
24138 }
24139 {
24140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24141 }
24142 return resultobj;
24143fail:
24144 return NULL;
d55e5bfc
RD
24145}
24146
24147
554f62e9
RD
24148SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24149 PyObject *resultobj = 0;
24150 wxPrintData *arg1 = (wxPrintData *) 0 ;
24151 int result;
24152 void *argp1 = 0 ;
24153 int res1 = 0 ;
24154 PyObject *swig_obj[1] ;
24155
24156 if (!args) SWIG_fail;
24157 swig_obj[0] = args;
24158 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24159 if (!SWIG_IsOK(res1)) {
24160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24161 }
24162 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24163 {
24164 PyThreadState* __tstate = wxPyBeginAllowThreads();
24165 result = (int)(arg1)->GetOrientation();
24166 wxPyEndAllowThreads(__tstate);
24167 if (PyErr_Occurred()) SWIG_fail;
24168 }
24169 resultobj = SWIG_From_int(static_cast< int >(result));
24170 return resultobj;
24171fail:
24172 return NULL;
d55e5bfc
RD
24173}
24174
24175
5172800e
RD
24176SWIGINTERN PyObject *_wrap_PrintData_IsOrientationReversed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24177 PyObject *resultobj = 0;
24178 wxPrintData *arg1 = (wxPrintData *) 0 ;
24179 bool result;
24180 void *argp1 = 0 ;
24181 int res1 = 0 ;
24182 PyObject *swig_obj[1] ;
24183
24184 if (!args) SWIG_fail;
24185 swig_obj[0] = args;
24186 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24187 if (!SWIG_IsOK(res1)) {
24188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24189 }
24190 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24191 {
24192 PyThreadState* __tstate = wxPyBeginAllowThreads();
24193 result = (bool)((wxPrintData const *)arg1)->IsOrientationReversed();
24194 wxPyEndAllowThreads(__tstate);
24195 if (PyErr_Occurred()) SWIG_fail;
24196 }
24197 {
24198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24199 }
24200 return resultobj;
24201fail:
24202 return NULL;
24203}
24204
24205
b39fe951 24206SWIGINTERN PyObject *_wrap_PrintData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
554f62e9
RD
24207 PyObject *resultobj = 0;
24208 wxPrintData *arg1 = (wxPrintData *) 0 ;
24209 bool result;
24210 void *argp1 = 0 ;
24211 int res1 = 0 ;
24212 PyObject *swig_obj[1] ;
24213
24214 if (!args) SWIG_fail;
24215 swig_obj[0] = args;
24216 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24217 if (!SWIG_IsOK(res1)) {
b39fe951 24218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
554f62e9
RD
24219 }
24220 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24221 {
24222 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 24223 result = (bool)(arg1)->IsOk();
554f62e9
RD
24224 wxPyEndAllowThreads(__tstate);
24225 if (PyErr_Occurred()) SWIG_fail;
24226 }
24227 {
24228 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24229 }
24230 return resultobj;
24231fail:
24232 return NULL;
d55e5bfc
RD
24233}
24234
24235
554f62e9
RD
24236SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24237 PyObject *resultobj = 0;
24238 wxPrintData *arg1 = (wxPrintData *) 0 ;
24239 wxString *result = 0 ;
24240 void *argp1 = 0 ;
24241 int res1 = 0 ;
24242 PyObject *swig_obj[1] ;
24243
24244 if (!args) SWIG_fail;
24245 swig_obj[0] = args;
24246 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24247 if (!SWIG_IsOK(res1)) {
24248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24249 }
24250 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24251 {
24252 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 24253 {
554f62e9
RD
24254 wxString const &_result_ref = (arg1)->GetPrinterName();
24255 result = (wxString *) &_result_ref;
d55e5bfc 24256 }
554f62e9
RD
24257 wxPyEndAllowThreads(__tstate);
24258 if (PyErr_Occurred()) SWIG_fail;
24259 }
24260 {
d55e5bfc 24261#if wxUSE_UNICODE
554f62e9 24262 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d55e5bfc 24263#else
554f62e9 24264 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d55e5bfc 24265#endif
554f62e9
RD
24266 }
24267 return resultobj;
24268fail:
24269 return NULL;
d55e5bfc
RD
24270}
24271
24272
554f62e9
RD
24273SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24274 PyObject *resultobj = 0;
24275 wxPrintData *arg1 = (wxPrintData *) 0 ;
24276 bool result;
24277 void *argp1 = 0 ;
24278 int res1 = 0 ;
24279 PyObject *swig_obj[1] ;
24280
24281 if (!args) SWIG_fail;
24282 swig_obj[0] = args;
24283 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24284 if (!SWIG_IsOK(res1)) {
24285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24286 }
24287 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24288 {
24289 PyThreadState* __tstate = wxPyBeginAllowThreads();
24290 result = (bool)(arg1)->GetColour();
24291 wxPyEndAllowThreads(__tstate);
24292 if (PyErr_Occurred()) SWIG_fail;
24293 }
24294 {
24295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24296 }
24297 return resultobj;
24298fail:
24299 return NULL;
d55e5bfc
RD
24300}
24301
24302
554f62e9
RD
24303SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24304 PyObject *resultobj = 0;
24305 wxPrintData *arg1 = (wxPrintData *) 0 ;
24306 wxDuplexMode result;
24307 void *argp1 = 0 ;
24308 int res1 = 0 ;
24309 PyObject *swig_obj[1] ;
24310
24311 if (!args) SWIG_fail;
24312 swig_obj[0] = args;
24313 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24314 if (!SWIG_IsOK(res1)) {
24315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24316 }
24317 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24318 {
24319 PyThreadState* __tstate = wxPyBeginAllowThreads();
24320 result = (wxDuplexMode)(arg1)->GetDuplex();
24321 wxPyEndAllowThreads(__tstate);
24322 if (PyErr_Occurred()) SWIG_fail;
24323 }
24324 resultobj = SWIG_From_int(static_cast< int >(result));
24325 return resultobj;
24326fail:
24327 return NULL;
d55e5bfc
RD
24328}
24329
24330
554f62e9
RD
24331SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24332 PyObject *resultobj = 0;
24333 wxPrintData *arg1 = (wxPrintData *) 0 ;
24334 wxPaperSize result;
24335 void *argp1 = 0 ;
24336 int res1 = 0 ;
24337 PyObject *swig_obj[1] ;
24338
24339 if (!args) SWIG_fail;
24340 swig_obj[0] = args;
24341 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24342 if (!SWIG_IsOK(res1)) {
24343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24344 }
24345 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24346 {
24347 PyThreadState* __tstate = wxPyBeginAllowThreads();
24348 result = (wxPaperSize)(arg1)->GetPaperId();
24349 wxPyEndAllowThreads(__tstate);
24350 if (PyErr_Occurred()) SWIG_fail;
24351 }
24352 resultobj = SWIG_From_int(static_cast< int >(result));
24353 return resultobj;
24354fail:
24355 return NULL;
d55e5bfc
RD
24356}
24357
24358
554f62e9
RD
24359SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24360 PyObject *resultobj = 0;
24361 wxPrintData *arg1 = (wxPrintData *) 0 ;
24362 wxSize *result = 0 ;
24363 void *argp1 = 0 ;
24364 int res1 = 0 ;
24365 PyObject *swig_obj[1] ;
24366
24367 if (!args) SWIG_fail;
24368 swig_obj[0] = args;
24369 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24370 if (!SWIG_IsOK(res1)) {
24371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24372 }
24373 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24374 {
24375 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 24376 {
554f62e9
RD
24377 wxSize const &_result_ref = (arg1)->GetPaperSize();
24378 result = (wxSize *) &_result_ref;
d55e5bfc 24379 }
554f62e9
RD
24380 wxPyEndAllowThreads(__tstate);
24381 if (PyErr_Occurred()) SWIG_fail;
24382 }
24383 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
24384 return resultobj;
24385fail:
24386 return NULL;
d55e5bfc
RD
24387}
24388
24389
554f62e9
RD
24390SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24391 PyObject *resultobj = 0;
24392 wxPrintData *arg1 = (wxPrintData *) 0 ;
24393 int result;
24394 void *argp1 = 0 ;
24395 int res1 = 0 ;
24396 PyObject *swig_obj[1] ;
24397
24398 if (!args) SWIG_fail;
24399 swig_obj[0] = args;
24400 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24401 if (!SWIG_IsOK(res1)) {
24402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24403 }
24404 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24405 {
24406 PyThreadState* __tstate = wxPyBeginAllowThreads();
24407 result = (int)(arg1)->GetQuality();
24408 wxPyEndAllowThreads(__tstate);
24409 if (PyErr_Occurred()) SWIG_fail;
24410 }
24411 resultobj = SWIG_From_int(static_cast< int >(result));
24412 return resultobj;
24413fail:
24414 return NULL;
d55e5bfc
RD
24415}
24416
24417
554f62e9
RD
24418SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24419 PyObject *resultobj = 0;
24420 wxPrintData *arg1 = (wxPrintData *) 0 ;
24421 wxPrintBin result;
24422 void *argp1 = 0 ;
24423 int res1 = 0 ;
24424 PyObject *swig_obj[1] ;
24425
24426 if (!args) SWIG_fail;
24427 swig_obj[0] = args;
24428 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24429 if (!SWIG_IsOK(res1)) {
24430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24431 }
24432 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24433 {
24434 PyThreadState* __tstate = wxPyBeginAllowThreads();
24435 result = (wxPrintBin)(arg1)->GetBin();
24436 wxPyEndAllowThreads(__tstate);
24437 if (PyErr_Occurred()) SWIG_fail;
24438 }
24439 resultobj = SWIG_From_int(static_cast< int >(result));
24440 return resultobj;
24441fail:
24442 return NULL;
d55e5bfc
RD
24443}
24444
24445
554f62e9
RD
24446SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24447 PyObject *resultobj = 0;
24448 wxPrintData *arg1 = (wxPrintData *) 0 ;
24449 wxPrintMode result;
24450 void *argp1 = 0 ;
24451 int res1 = 0 ;
24452 PyObject *swig_obj[1] ;
24453
24454 if (!args) SWIG_fail;
24455 swig_obj[0] = args;
24456 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24457 if (!SWIG_IsOK(res1)) {
24458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24459 }
24460 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24461 {
24462 PyThreadState* __tstate = wxPyBeginAllowThreads();
24463 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
24464 wxPyEndAllowThreads(__tstate);
24465 if (PyErr_Occurred()) SWIG_fail;
24466 }
24467 resultobj = SWIG_From_int(static_cast< int >(result));
24468 return resultobj;
24469fail:
24470 return NULL;
24471}
24472
24473
8f514ab4
RD
24474SWIGINTERN PyObject *_wrap_PrintData_GetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24475 PyObject *resultobj = 0;
24476 wxPrintData *arg1 = (wxPrintData *) 0 ;
24477 int result;
24478 void *argp1 = 0 ;
24479 int res1 = 0 ;
24480 PyObject *swig_obj[1] ;
24481
24482 if (!args) SWIG_fail;
24483 swig_obj[0] = args;
24484 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24485 if (!SWIG_IsOK(res1)) {
24486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24487 }
24488 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24489 {
24490 PyThreadState* __tstate = wxPyBeginAllowThreads();
24491 result = (int)((wxPrintData const *)arg1)->GetMedia();
24492 wxPyEndAllowThreads(__tstate);
24493 if (PyErr_Occurred()) SWIG_fail;
24494 }
24495 resultobj = SWIG_From_int(static_cast< int >(result));
24496 return resultobj;
24497fail:
24498 return NULL;
24499}
24500
24501
554f62e9
RD
24502SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24503 PyObject *resultobj = 0;
24504 wxPrintData *arg1 = (wxPrintData *) 0 ;
24505 int arg2 ;
24506 void *argp1 = 0 ;
24507 int res1 = 0 ;
24508 int val2 ;
24509 int ecode2 = 0 ;
24510 PyObject * obj0 = 0 ;
24511 PyObject * obj1 = 0 ;
24512 char * kwnames[] = {
24513 (char *) "self",(char *) "v", NULL
24514 };
24515
24516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
24517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24518 if (!SWIG_IsOK(res1)) {
24519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24520 }
24521 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24522 ecode2 = SWIG_AsVal_int(obj1, &val2);
24523 if (!SWIG_IsOK(ecode2)) {
24524 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24525 }
24526 arg2 = static_cast< int >(val2);
24527 {
24528 PyThreadState* __tstate = wxPyBeginAllowThreads();
24529 (arg1)->SetNoCopies(arg2);
24530 wxPyEndAllowThreads(__tstate);
24531 if (PyErr_Occurred()) SWIG_fail;
24532 }
24533 resultobj = SWIG_Py_Void();
24534 return resultobj;
24535fail:
24536 return NULL;
24537}
24538
24539
24540SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24541 PyObject *resultobj = 0;
24542 wxPrintData *arg1 = (wxPrintData *) 0 ;
24543 bool arg2 ;
24544 void *argp1 = 0 ;
24545 int res1 = 0 ;
24546 bool val2 ;
24547 int ecode2 = 0 ;
24548 PyObject * obj0 = 0 ;
24549 PyObject * obj1 = 0 ;
24550 char * kwnames[] = {
24551 (char *) "self",(char *) "flag", NULL
24552 };
24553
24554 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
24555 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24556 if (!SWIG_IsOK(res1)) {
24557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24558 }
24559 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24560 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24561 if (!SWIG_IsOK(ecode2)) {
24562 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24563 }
24564 arg2 = static_cast< bool >(val2);
24565 {
24566 PyThreadState* __tstate = wxPyBeginAllowThreads();
24567 (arg1)->SetCollate(arg2);
24568 wxPyEndAllowThreads(__tstate);
24569 if (PyErr_Occurred()) SWIG_fail;
24570 }
24571 resultobj = SWIG_Py_Void();
24572 return resultobj;
24573fail:
24574 return NULL;
24575}
24576
24577
24578SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24579 PyObject *resultobj = 0;
24580 wxPrintData *arg1 = (wxPrintData *) 0 ;
24581 int arg2 ;
24582 void *argp1 = 0 ;
24583 int res1 = 0 ;
24584 int val2 ;
24585 int ecode2 = 0 ;
24586 PyObject * obj0 = 0 ;
24587 PyObject * obj1 = 0 ;
24588 char * kwnames[] = {
24589 (char *) "self",(char *) "orient", NULL
24590 };
24591
24592 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24593 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24594 if (!SWIG_IsOK(res1)) {
24595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24596 }
24597 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24598 ecode2 = SWIG_AsVal_int(obj1, &val2);
24599 if (!SWIG_IsOK(ecode2)) {
24600 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24601 }
24602 arg2 = static_cast< int >(val2);
24603 {
24604 PyThreadState* __tstate = wxPyBeginAllowThreads();
24605 (arg1)->SetOrientation(arg2);
24606 wxPyEndAllowThreads(__tstate);
24607 if (PyErr_Occurred()) SWIG_fail;
24608 }
24609 resultobj = SWIG_Py_Void();
24610 return resultobj;
24611fail:
24612 return NULL;
24613}
24614
24615
5172800e
RD
24616SWIGINTERN PyObject *_wrap_PrintData_SetOrientationReversed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24617 PyObject *resultobj = 0;
24618 wxPrintData *arg1 = (wxPrintData *) 0 ;
24619 bool arg2 ;
24620 void *argp1 = 0 ;
24621 int res1 = 0 ;
24622 bool val2 ;
24623 int ecode2 = 0 ;
24624 PyObject * obj0 = 0 ;
24625 PyObject * obj1 = 0 ;
24626 char * kwnames[] = {
24627 (char *) "self",(char *) "reversed", NULL
24628 };
24629
24630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientationReversed",kwnames,&obj0,&obj1)) SWIG_fail;
24631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24632 if (!SWIG_IsOK(res1)) {
24633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData *""'");
24634 }
24635 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24636 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24637 if (!SWIG_IsOK(ecode2)) {
24638 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "2"" of type '" "bool""'");
24639 }
24640 arg2 = static_cast< bool >(val2);
24641 {
24642 PyThreadState* __tstate = wxPyBeginAllowThreads();
24643 (arg1)->SetOrientationReversed(arg2);
24644 wxPyEndAllowThreads(__tstate);
24645 if (PyErr_Occurred()) SWIG_fail;
24646 }
24647 resultobj = SWIG_Py_Void();
24648 return resultobj;
24649fail:
24650 return NULL;
24651}
24652
24653
554f62e9
RD
24654SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24655 PyObject *resultobj = 0;
24656 wxPrintData *arg1 = (wxPrintData *) 0 ;
24657 wxString *arg2 = 0 ;
24658 void *argp1 = 0 ;
24659 int res1 = 0 ;
24660 bool temp2 = false ;
24661 PyObject * obj0 = 0 ;
24662 PyObject * obj1 = 0 ;
24663 char * kwnames[] = {
24664 (char *) "self",(char *) "name", NULL
24665 };
24666
24667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24669 if (!SWIG_IsOK(res1)) {
24670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24671 }
24672 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24673 {
24674 arg2 = wxString_in_helper(obj1);
24675 if (arg2 == NULL) SWIG_fail;
24676 temp2 = true;
24677 }
24678 {
24679 PyThreadState* __tstate = wxPyBeginAllowThreads();
24680 (arg1)->SetPrinterName((wxString const &)*arg2);
24681 wxPyEndAllowThreads(__tstate);
24682 if (PyErr_Occurred()) SWIG_fail;
24683 }
24684 resultobj = SWIG_Py_Void();
24685 {
24686 if (temp2)
24687 delete arg2;
24688 }
24689 return resultobj;
24690fail:
24691 {
24692 if (temp2)
24693 delete arg2;
24694 }
24695 return NULL;
24696}
24697
24698
24699SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24700 PyObject *resultobj = 0;
24701 wxPrintData *arg1 = (wxPrintData *) 0 ;
24702 bool arg2 ;
24703 void *argp1 = 0 ;
24704 int res1 = 0 ;
24705 bool val2 ;
24706 int ecode2 = 0 ;
24707 PyObject * obj0 = 0 ;
24708 PyObject * obj1 = 0 ;
24709 char * kwnames[] = {
24710 (char *) "self",(char *) "colour", NULL
24711 };
24712
24713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24715 if (!SWIG_IsOK(res1)) {
24716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24717 }
24718 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24719 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24720 if (!SWIG_IsOK(ecode2)) {
24721 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24722 }
24723 arg2 = static_cast< bool >(val2);
24724 {
24725 PyThreadState* __tstate = wxPyBeginAllowThreads();
24726 (arg1)->SetColour(arg2);
24727 wxPyEndAllowThreads(__tstate);
24728 if (PyErr_Occurred()) SWIG_fail;
24729 }
24730 resultobj = SWIG_Py_Void();
24731 return resultobj;
24732fail:
24733 return NULL;
24734}
24735
24736
24737SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24738 PyObject *resultobj = 0;
24739 wxPrintData *arg1 = (wxPrintData *) 0 ;
24740 wxDuplexMode arg2 ;
24741 void *argp1 = 0 ;
24742 int res1 = 0 ;
24743 int val2 ;
24744 int ecode2 = 0 ;
24745 PyObject * obj0 = 0 ;
24746 PyObject * obj1 = 0 ;
24747 char * kwnames[] = {
24748 (char *) "self",(char *) "duplex", NULL
24749 };
24750
24751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24753 if (!SWIG_IsOK(res1)) {
24754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24755 }
24756 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24757 ecode2 = SWIG_AsVal_int(obj1, &val2);
24758 if (!SWIG_IsOK(ecode2)) {
24759 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24760 }
24761 arg2 = static_cast< wxDuplexMode >(val2);
24762 {
24763 PyThreadState* __tstate = wxPyBeginAllowThreads();
24764 (arg1)->SetDuplex(arg2);
24765 wxPyEndAllowThreads(__tstate);
24766 if (PyErr_Occurred()) SWIG_fail;
24767 }
24768 resultobj = SWIG_Py_Void();
24769 return resultobj;
24770fail:
24771 return NULL;
24772}
24773
24774
24775SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24776 PyObject *resultobj = 0;
24777 wxPrintData *arg1 = (wxPrintData *) 0 ;
24778 wxPaperSize arg2 ;
24779 void *argp1 = 0 ;
24780 int res1 = 0 ;
24781 int val2 ;
24782 int ecode2 = 0 ;
24783 PyObject * obj0 = 0 ;
24784 PyObject * obj1 = 0 ;
24785 char * kwnames[] = {
24786 (char *) "self",(char *) "sizeId", NULL
24787 };
24788
24789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",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_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24793 }
24794 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24795 ecode2 = SWIG_AsVal_int(obj1, &val2);
24796 if (!SWIG_IsOK(ecode2)) {
24797 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24798 }
24799 arg2 = static_cast< wxPaperSize >(val2);
24800 {
24801 PyThreadState* __tstate = wxPyBeginAllowThreads();
24802 (arg1)->SetPaperId(arg2);
24803 wxPyEndAllowThreads(__tstate);
24804 if (PyErr_Occurred()) SWIG_fail;
24805 }
24806 resultobj = SWIG_Py_Void();
24807 return resultobj;
24808fail:
24809 return NULL;
24810}
24811
24812
24813SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24814 PyObject *resultobj = 0;
24815 wxPrintData *arg1 = (wxPrintData *) 0 ;
24816 wxSize *arg2 = 0 ;
24817 void *argp1 = 0 ;
24818 int res1 = 0 ;
24819 wxSize temp2 ;
24820 PyObject * obj0 = 0 ;
24821 PyObject * obj1 = 0 ;
24822 char * kwnames[] = {
24823 (char *) "self",(char *) "sz", NULL
24824 };
24825
24826 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24828 if (!SWIG_IsOK(res1)) {
24829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24830 }
24831 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24832 {
24833 arg2 = &temp2;
24834 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24835 }
24836 {
24837 PyThreadState* __tstate = wxPyBeginAllowThreads();
24838 (arg1)->SetPaperSize((wxSize const &)*arg2);
24839 wxPyEndAllowThreads(__tstate);
24840 if (PyErr_Occurred()) SWIG_fail;
24841 }
24842 resultobj = SWIG_Py_Void();
24843 return resultobj;
24844fail:
24845 return NULL;
24846}
24847
24848
24849SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24850 PyObject *resultobj = 0;
24851 wxPrintData *arg1 = (wxPrintData *) 0 ;
24852 int arg2 ;
24853 void *argp1 = 0 ;
24854 int res1 = 0 ;
24855 int val2 ;
24856 int ecode2 = 0 ;
24857 PyObject * obj0 = 0 ;
24858 PyObject * obj1 = 0 ;
24859 char * kwnames[] = {
24860 (char *) "self",(char *) "quality", NULL
24861 };
24862
24863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24865 if (!SWIG_IsOK(res1)) {
24866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24867 }
24868 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24869 ecode2 = SWIG_AsVal_int(obj1, &val2);
24870 if (!SWIG_IsOK(ecode2)) {
24871 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24872 }
24873 arg2 = static_cast< int >(val2);
24874 {
24875 PyThreadState* __tstate = wxPyBeginAllowThreads();
24876 (arg1)->SetQuality(arg2);
24877 wxPyEndAllowThreads(__tstate);
24878 if (PyErr_Occurred()) SWIG_fail;
24879 }
24880 resultobj = SWIG_Py_Void();
24881 return resultobj;
24882fail:
24883 return NULL;
24884}
24885
24886
24887SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24888 PyObject *resultobj = 0;
24889 wxPrintData *arg1 = (wxPrintData *) 0 ;
24890 wxPrintBin arg2 ;
24891 void *argp1 = 0 ;
24892 int res1 = 0 ;
24893 int val2 ;
24894 int ecode2 = 0 ;
24895 PyObject * obj0 = 0 ;
24896 PyObject * obj1 = 0 ;
24897 char * kwnames[] = {
24898 (char *) "self",(char *) "bin", NULL
24899 };
24900
24901 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24902 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24903 if (!SWIG_IsOK(res1)) {
24904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24905 }
24906 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24907 ecode2 = SWIG_AsVal_int(obj1, &val2);
24908 if (!SWIG_IsOK(ecode2)) {
24909 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24910 }
24911 arg2 = static_cast< wxPrintBin >(val2);
24912 {
24913 PyThreadState* __tstate = wxPyBeginAllowThreads();
24914 (arg1)->SetBin(arg2);
24915 wxPyEndAllowThreads(__tstate);
24916 if (PyErr_Occurred()) SWIG_fail;
24917 }
24918 resultobj = SWIG_Py_Void();
24919 return resultobj;
24920fail:
24921 return NULL;
24922}
24923
24924
24925SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24926 PyObject *resultobj = 0;
24927 wxPrintData *arg1 = (wxPrintData *) 0 ;
24928 wxPrintMode arg2 ;
24929 void *argp1 = 0 ;
24930 int res1 = 0 ;
24931 int val2 ;
24932 int ecode2 = 0 ;
24933 PyObject * obj0 = 0 ;
24934 PyObject * obj1 = 0 ;
24935 char * kwnames[] = {
24936 (char *) "self",(char *) "printMode", NULL
24937 };
24938
24939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24941 if (!SWIG_IsOK(res1)) {
24942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24943 }
24944 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24945 ecode2 = SWIG_AsVal_int(obj1, &val2);
24946 if (!SWIG_IsOK(ecode2)) {
24947 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24948 }
24949 arg2 = static_cast< wxPrintMode >(val2);
24950 {
24951 PyThreadState* __tstate = wxPyBeginAllowThreads();
24952 (arg1)->SetPrintMode(arg2);
24953 wxPyEndAllowThreads(__tstate);
24954 if (PyErr_Occurred()) SWIG_fail;
24955 }
24956 resultobj = SWIG_Py_Void();
24957 return resultobj;
24958fail:
24959 return NULL;
d55e5bfc
RD
24960}
24961
24962
8f514ab4
RD
24963SWIGINTERN PyObject *_wrap_PrintData_SetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24964 PyObject *resultobj = 0;
24965 wxPrintData *arg1 = (wxPrintData *) 0 ;
24966 int arg2 ;
24967 void *argp1 = 0 ;
24968 int res1 = 0 ;
24969 int val2 ;
24970 int ecode2 = 0 ;
24971 PyObject * obj0 = 0 ;
24972 PyObject * obj1 = 0 ;
24973 char * kwnames[] = {
24974 (char *) "self",(char *) "media", NULL
24975 };
24976
24977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetMedia",kwnames,&obj0,&obj1)) SWIG_fail;
24978 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24979 if (!SWIG_IsOK(res1)) {
24980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24981 }
24982 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24983 ecode2 = SWIG_AsVal_int(obj1, &val2);
24984 if (!SWIG_IsOK(ecode2)) {
24985 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24986 }
24987 arg2 = static_cast< int >(val2);
24988 {
24989 PyThreadState* __tstate = wxPyBeginAllowThreads();
24990 (arg1)->SetMedia(arg2);
24991 wxPyEndAllowThreads(__tstate);
24992 if (PyErr_Occurred()) SWIG_fail;
24993 }
24994 resultobj = SWIG_Py_Void();
24995 return resultobj;
24996fail:
24997 return NULL;
24998}
24999
25000
554f62e9
RD
25001SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25002 PyObject *resultobj = 0;
25003 wxPrintData *arg1 = (wxPrintData *) 0 ;
25004 wxString result;
25005 void *argp1 = 0 ;
25006 int res1 = 0 ;
25007 PyObject *swig_obj[1] ;
25008
25009 if (!args) SWIG_fail;
25010 swig_obj[0] = args;
25011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
25012 if (!SWIG_IsOK(res1)) {
25013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
25014 }
25015 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25016 {
25017 PyThreadState* __tstate = wxPyBeginAllowThreads();
25018 result = ((wxPrintData const *)arg1)->GetFilename();
25019 wxPyEndAllowThreads(__tstate);
25020 if (PyErr_Occurred()) SWIG_fail;
25021 }
25022 {
d55e5bfc 25023#if wxUSE_UNICODE
554f62e9 25024 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 25025#else
554f62e9 25026 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc 25027#endif
554f62e9
RD
25028 }
25029 return resultobj;
25030fail:
25031 return NULL;
25032}
25033
25034
25035SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25036 PyObject *resultobj = 0;
25037 wxPrintData *arg1 = (wxPrintData *) 0 ;
25038 wxString *arg2 = 0 ;
25039 void *argp1 = 0 ;
25040 int res1 = 0 ;
25041 bool temp2 = false ;
25042 PyObject * obj0 = 0 ;
25043 PyObject * obj1 = 0 ;
25044 char * kwnames[] = {
25045 (char *) "self",(char *) "filename", NULL
25046 };
25047
25048 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
25049 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
25050 if (!SWIG_IsOK(res1)) {
25051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
25052 }
25053 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25054 {
25055 arg2 = wxString_in_helper(obj1);
25056 if (arg2 == NULL) SWIG_fail;
25057 temp2 = true;
25058 }
25059 {
25060 PyThreadState* __tstate = wxPyBeginAllowThreads();
25061 (arg1)->SetFilename((wxString const &)*arg2);
25062 wxPyEndAllowThreads(__tstate);
25063 if (PyErr_Occurred()) SWIG_fail;
25064 }
25065 resultobj = SWIG_Py_Void();
25066 {
25067 if (temp2)
25068 delete arg2;
25069 }
25070 return resultobj;
25071fail:
25072 {
25073 if (temp2)
25074 delete arg2;
25075 }
25076 return NULL;
d55e5bfc
RD
25077}
25078
25079
554f62e9
RD
25080SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25081 PyObject *resultobj = 0;
25082 wxPrintData *arg1 = (wxPrintData *) 0 ;
25083 PyObject *result = 0 ;
25084 void *argp1 = 0 ;
25085 int res1 = 0 ;
25086 PyObject *swig_obj[1] ;
25087
25088 if (!args) SWIG_fail;
25089 swig_obj[0] = args;
25090 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
25091 if (!SWIG_IsOK(res1)) {
25092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
25093 }
25094 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25095 {
25096 PyThreadState* __tstate = wxPyBeginAllowThreads();
25097 result = (PyObject *)wxPrintData_GetPrivData(arg1);
25098 wxPyEndAllowThreads(__tstate);
25099 if (PyErr_Occurred()) SWIG_fail;
25100 }
25101 resultobj = result;
25102 return resultobj;
25103fail:
25104 return NULL;
25105}
25106
25107
25108SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25109 PyObject *resultobj = 0;
25110 wxPrintData *arg1 = (wxPrintData *) 0 ;
25111 PyObject *arg2 = (PyObject *) 0 ;
25112 void *argp1 = 0 ;
25113 int res1 = 0 ;
25114 PyObject * obj0 = 0 ;
25115 PyObject * obj1 = 0 ;
25116 char * kwnames[] = {
25117 (char *) "self",(char *) "data", NULL
25118 };
25119
25120 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
25121 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
25122 if (!SWIG_IsOK(res1)) {
25123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
25124 }
25125 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25126 arg2 = obj1;
25127 {
25128 PyThreadState* __tstate = wxPyBeginAllowThreads();
25129 wxPrintData_SetPrivData(arg1,arg2);
25130 wxPyEndAllowThreads(__tstate);
25131 if (PyErr_Occurred()) SWIG_fail;
25132 }
25133 resultobj = SWIG_Py_Void();
25134 return resultobj;
25135fail:
25136 return NULL;
d55e5bfc
RD
25137}
25138
25139
554f62e9
RD
25140SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25141 PyObject *obj;
25142 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25143 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
25144 return SWIG_Py_Void();
c1cb24a4
RD
25145}
25146
554f62e9
RD
25147SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25148 return SWIG_Python_InitShadowInstance(args);
c1cb24a4
RD
25149}
25150
554f62e9
RD
25151SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25152 PyObject *resultobj = 0;
25153 wxPageSetupDialogData *result = 0 ;
25154
25155 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25156 {
25157 PyThreadState* __tstate = wxPyBeginAllowThreads();
25158 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
25159 wxPyEndAllowThreads(__tstate);
25160 if (PyErr_Occurred()) SWIG_fail;
25161 }
25162 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
25163 return resultobj;
25164fail:
25165 return NULL;
d55e5bfc
RD
25166}
25167
25168
554f62e9
RD
25169SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25170 PyObject *resultobj = 0;
25171 wxPageSetupDialogData *arg1 = 0 ;
25172 wxPageSetupDialogData *result = 0 ;
25173 void *argp1 = 0 ;
25174 int res1 = 0 ;
25175
25176 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25177 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
25178 if (!SWIG_IsOK(res1)) {
25179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
25180 }
25181 if (!argp1) {
25182 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
25183 }
25184 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25185 {
25186 PyThreadState* __tstate = wxPyBeginAllowThreads();
25187 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
25188 wxPyEndAllowThreads(__tstate);
25189 if (PyErr_Occurred()) SWIG_fail;
25190 }
25191 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
25192 return resultobj;
25193fail:
25194 return NULL;
d55e5bfc
RD
25195}
25196
25197
554f62e9
RD
25198SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25199 PyObject *resultobj = 0;
25200 wxPrintData *arg1 = 0 ;
25201 wxPageSetupDialogData *result = 0 ;
25202 void *argp1 = 0 ;
25203 int res1 = 0 ;
25204
25205 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25206 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25207 if (!SWIG_IsOK(res1)) {
25208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25209 }
25210 if (!argp1) {
25211 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25212 }
25213 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25214 {
25215 PyThreadState* __tstate = wxPyBeginAllowThreads();
25216 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
25217 wxPyEndAllowThreads(__tstate);
25218 if (PyErr_Occurred()) SWIG_fail;
25219 }
25220 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
25221 return resultobj;
25222fail:
25223 return NULL;
d55e5bfc
RD
25224}
25225
25226
554f62e9
RD
25227SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
25228 int argc;
25229 PyObject *argv[2];
25230
25231 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
25232 --argc;
25233 if (argc == 0) {
25234 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
25235 }
25236 if (argc == 1) {
25237 int _v = 0;
d55e5bfc 25238 {
554f62e9
RD
25239 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
25240 _v = SWIG_CheckState(res);
d55e5bfc 25241 }
554f62e9
RD
25242 if (!_v) goto check_2;
25243 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
25244 }
25245check_2:
25246
25247 if (argc == 1) {
25248 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
25249 }
25250
25251fail:
25252 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
25253 return NULL;
d55e5bfc
RD
25254}
25255
25256
554f62e9
RD
25257SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25258 PyObject *resultobj = 0;
25259 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25260 void *argp1 = 0 ;
25261 int res1 = 0 ;
25262 PyObject *swig_obj[1] ;
25263
25264 if (!args) SWIG_fail;
25265 swig_obj[0] = args;
25266 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
25267 if (!SWIG_IsOK(res1)) {
25268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25269 }
25270 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25271 {
25272 PyThreadState* __tstate = wxPyBeginAllowThreads();
25273 delete arg1;
d55e5bfc 25274
554f62e9
RD
25275 wxPyEndAllowThreads(__tstate);
25276 if (PyErr_Occurred()) SWIG_fail;
25277 }
25278 resultobj = SWIG_Py_Void();
25279 return resultobj;
25280fail:
25281 return NULL;
25282}
25283
25284
25285SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25286 PyObject *resultobj = 0;
25287 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25288 bool arg2 ;
25289 void *argp1 = 0 ;
25290 int res1 = 0 ;
25291 bool val2 ;
25292 int ecode2 = 0 ;
25293 PyObject * obj0 = 0 ;
25294 PyObject * obj1 = 0 ;
25295 char * kwnames[] = {
25296 (char *) "self",(char *) "flag", NULL
25297 };
25298
25299 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
25300 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25301 if (!SWIG_IsOK(res1)) {
25302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25303 }
25304 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25305 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25306 if (!SWIG_IsOK(ecode2)) {
25307 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
25308 }
25309 arg2 = static_cast< bool >(val2);
25310 {
25311 PyThreadState* __tstate = wxPyBeginAllowThreads();
25312 (arg1)->EnableHelp(arg2);
25313 wxPyEndAllowThreads(__tstate);
25314 if (PyErr_Occurred()) SWIG_fail;
25315 }
25316 resultobj = SWIG_Py_Void();
25317 return resultobj;
25318fail:
25319 return NULL;
25320}
25321
25322
25323SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25324 PyObject *resultobj = 0;
25325 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25326 bool arg2 ;
25327 void *argp1 = 0 ;
25328 int res1 = 0 ;
25329 bool val2 ;
25330 int ecode2 = 0 ;
25331 PyObject * obj0 = 0 ;
25332 PyObject * obj1 = 0 ;
25333 char * kwnames[] = {
25334 (char *) "self",(char *) "flag", NULL
25335 };
25336
25337 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25338 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25339 if (!SWIG_IsOK(res1)) {
25340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25341 }
25342 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25343 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25344 if (!SWIG_IsOK(ecode2)) {
25345 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
25346 }
25347 arg2 = static_cast< bool >(val2);
25348 {
25349 PyThreadState* __tstate = wxPyBeginAllowThreads();
25350 (arg1)->EnableMargins(arg2);
25351 wxPyEndAllowThreads(__tstate);
25352 if (PyErr_Occurred()) SWIG_fail;
25353 }
25354 resultobj = SWIG_Py_Void();
25355 return resultobj;
25356fail:
25357 return NULL;
25358}
25359
25360
25361SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25362 PyObject *resultobj = 0;
25363 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25364 bool arg2 ;
25365 void *argp1 = 0 ;
25366 int res1 = 0 ;
25367 bool val2 ;
25368 int ecode2 = 0 ;
25369 PyObject * obj0 = 0 ;
25370 PyObject * obj1 = 0 ;
25371 char * kwnames[] = {
25372 (char *) "self",(char *) "flag", NULL
25373 };
25374
25375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
25376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25377 if (!SWIG_IsOK(res1)) {
25378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25379 }
25380 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25381 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25382 if (!SWIG_IsOK(ecode2)) {
25383 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
25384 }
25385 arg2 = static_cast< bool >(val2);
25386 {
25387 PyThreadState* __tstate = wxPyBeginAllowThreads();
25388 (arg1)->EnableOrientation(arg2);
25389 wxPyEndAllowThreads(__tstate);
25390 if (PyErr_Occurred()) SWIG_fail;
25391 }
25392 resultobj = SWIG_Py_Void();
25393 return resultobj;
25394fail:
25395 return NULL;
25396}
25397
25398
25399SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25400 PyObject *resultobj = 0;
25401 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25402 bool arg2 ;
25403 void *argp1 = 0 ;
25404 int res1 = 0 ;
25405 bool val2 ;
25406 int ecode2 = 0 ;
25407 PyObject * obj0 = 0 ;
25408 PyObject * obj1 = 0 ;
25409 char * kwnames[] = {
25410 (char *) "self",(char *) "flag", NULL
25411 };
25412
25413 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
25414 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25415 if (!SWIG_IsOK(res1)) {
25416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25417 }
25418 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25419 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25420 if (!SWIG_IsOK(ecode2)) {
25421 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
25422 }
25423 arg2 = static_cast< bool >(val2);
25424 {
25425 PyThreadState* __tstate = wxPyBeginAllowThreads();
25426 (arg1)->EnablePaper(arg2);
25427 wxPyEndAllowThreads(__tstate);
25428 if (PyErr_Occurred()) SWIG_fail;
25429 }
25430 resultobj = SWIG_Py_Void();
25431 return resultobj;
25432fail:
25433 return NULL;
25434}
25435
25436
25437SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25438 PyObject *resultobj = 0;
25439 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25440 bool arg2 ;
25441 void *argp1 = 0 ;
25442 int res1 = 0 ;
25443 bool val2 ;
25444 int ecode2 = 0 ;
25445 PyObject * obj0 = 0 ;
25446 PyObject * obj1 = 0 ;
25447 char * kwnames[] = {
25448 (char *) "self",(char *) "flag", NULL
25449 };
25450
25451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
25452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25453 if (!SWIG_IsOK(res1)) {
25454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25455 }
25456 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25457 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25458 if (!SWIG_IsOK(ecode2)) {
25459 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
25460 }
25461 arg2 = static_cast< bool >(val2);
25462 {
25463 PyThreadState* __tstate = wxPyBeginAllowThreads();
25464 (arg1)->EnablePrinter(arg2);
25465 wxPyEndAllowThreads(__tstate);
25466 if (PyErr_Occurred()) SWIG_fail;
25467 }
25468 resultobj = SWIG_Py_Void();
25469 return resultobj;
25470fail:
25471 return NULL;
d55e5bfc
RD
25472}
25473
25474
554f62e9
RD
25475SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25476 PyObject *resultobj = 0;
25477 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25478 bool result;
25479 void *argp1 = 0 ;
25480 int res1 = 0 ;
25481 PyObject *swig_obj[1] ;
25482
25483 if (!args) SWIG_fail;
25484 swig_obj[0] = args;
25485 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25486 if (!SWIG_IsOK(res1)) {
25487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25488 }
25489 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25490 {
25491 PyThreadState* __tstate = wxPyBeginAllowThreads();
25492 result = (bool)(arg1)->GetDefaultMinMargins();
25493 wxPyEndAllowThreads(__tstate);
25494 if (PyErr_Occurred()) SWIG_fail;
25495 }
25496 {
25497 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25498 }
25499 return resultobj;
25500fail:
25501 return NULL;
d55e5bfc
RD
25502}
25503
25504
554f62e9
RD
25505SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25506 PyObject *resultobj = 0;
25507 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25508 bool result;
25509 void *argp1 = 0 ;
25510 int res1 = 0 ;
25511 PyObject *swig_obj[1] ;
25512
25513 if (!args) SWIG_fail;
25514 swig_obj[0] = args;
25515 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25516 if (!SWIG_IsOK(res1)) {
25517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25518 }
25519 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25520 {
25521 PyThreadState* __tstate = wxPyBeginAllowThreads();
25522 result = (bool)(arg1)->GetEnableMargins();
25523 wxPyEndAllowThreads(__tstate);
25524 if (PyErr_Occurred()) SWIG_fail;
25525 }
25526 {
25527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25528 }
25529 return resultobj;
25530fail:
25531 return NULL;
d55e5bfc
RD
25532}
25533
25534
554f62e9
RD
25535SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25536 PyObject *resultobj = 0;
25537 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25538 bool result;
25539 void *argp1 = 0 ;
25540 int res1 = 0 ;
25541 PyObject *swig_obj[1] ;
25542
25543 if (!args) SWIG_fail;
25544 swig_obj[0] = args;
25545 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25546 if (!SWIG_IsOK(res1)) {
25547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25548 }
25549 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25550 {
25551 PyThreadState* __tstate = wxPyBeginAllowThreads();
25552 result = (bool)(arg1)->GetEnableOrientation();
25553 wxPyEndAllowThreads(__tstate);
25554 if (PyErr_Occurred()) SWIG_fail;
25555 }
25556 {
25557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25558 }
25559 return resultobj;
25560fail:
25561 return NULL;
d55e5bfc
RD
25562}
25563
25564
554f62e9
RD
25565SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25566 PyObject *resultobj = 0;
25567 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25568 bool result;
25569 void *argp1 = 0 ;
25570 int res1 = 0 ;
25571 PyObject *swig_obj[1] ;
25572
25573 if (!args) SWIG_fail;
25574 swig_obj[0] = args;
25575 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25576 if (!SWIG_IsOK(res1)) {
25577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25578 }
25579 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25580 {
25581 PyThreadState* __tstate = wxPyBeginAllowThreads();
25582 result = (bool)(arg1)->GetEnablePaper();
25583 wxPyEndAllowThreads(__tstate);
25584 if (PyErr_Occurred()) SWIG_fail;
25585 }
25586 {
25587 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25588 }
25589 return resultobj;
25590fail:
25591 return NULL;
d55e5bfc
RD
25592}
25593
25594
554f62e9
RD
25595SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25596 PyObject *resultobj = 0;
25597 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25598 bool result;
25599 void *argp1 = 0 ;
25600 int res1 = 0 ;
25601 PyObject *swig_obj[1] ;
25602
25603 if (!args) SWIG_fail;
25604 swig_obj[0] = args;
25605 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25606 if (!SWIG_IsOK(res1)) {
25607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25608 }
25609 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25610 {
25611 PyThreadState* __tstate = wxPyBeginAllowThreads();
25612 result = (bool)(arg1)->GetEnablePrinter();
25613 wxPyEndAllowThreads(__tstate);
25614 if (PyErr_Occurred()) SWIG_fail;
25615 }
25616 {
25617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25618 }
25619 return resultobj;
25620fail:
25621 return NULL;
d55e5bfc
RD
25622}
25623
25624
554f62e9
RD
25625SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25626 PyObject *resultobj = 0;
25627 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25628 bool result;
25629 void *argp1 = 0 ;
25630 int res1 = 0 ;
25631 PyObject *swig_obj[1] ;
25632
25633 if (!args) SWIG_fail;
25634 swig_obj[0] = args;
25635 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25636 if (!SWIG_IsOK(res1)) {
25637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25638 }
25639 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25640 {
25641 PyThreadState* __tstate = wxPyBeginAllowThreads();
25642 result = (bool)(arg1)->GetEnableHelp();
25643 wxPyEndAllowThreads(__tstate);
25644 if (PyErr_Occurred()) SWIG_fail;
25645 }
25646 {
25647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25648 }
25649 return resultobj;
25650fail:
25651 return NULL;
d55e5bfc
RD
25652}
25653
25654
554f62e9
RD
25655SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25656 PyObject *resultobj = 0;
25657 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25658 bool result;
25659 void *argp1 = 0 ;
25660 int res1 = 0 ;
25661 PyObject *swig_obj[1] ;
25662
25663 if (!args) SWIG_fail;
25664 swig_obj[0] = args;
25665 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25666 if (!SWIG_IsOK(res1)) {
25667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25668 }
25669 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25670 {
25671 PyThreadState* __tstate = wxPyBeginAllowThreads();
25672 result = (bool)(arg1)->GetDefaultInfo();
25673 wxPyEndAllowThreads(__tstate);
25674 if (PyErr_Occurred()) SWIG_fail;
25675 }
25676 {
25677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25678 }
25679 return resultobj;
25680fail:
25681 return NULL;
d55e5bfc
RD
25682}
25683
25684
554f62e9
RD
25685SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25686 PyObject *resultobj = 0;
25687 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25688 wxPoint result;
25689 void *argp1 = 0 ;
25690 int res1 = 0 ;
25691 PyObject *swig_obj[1] ;
25692
25693 if (!args) SWIG_fail;
25694 swig_obj[0] = args;
25695 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25696 if (!SWIG_IsOK(res1)) {
25697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25698 }
25699 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25700 {
25701 PyThreadState* __tstate = wxPyBeginAllowThreads();
25702 result = (arg1)->GetMarginTopLeft();
25703 wxPyEndAllowThreads(__tstate);
25704 if (PyErr_Occurred()) SWIG_fail;
25705 }
25706 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25707 return resultobj;
25708fail:
25709 return NULL;
d55e5bfc
RD
25710}
25711
25712
554f62e9
RD
25713SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25714 PyObject *resultobj = 0;
25715 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25716 wxPoint result;
25717 void *argp1 = 0 ;
25718 int res1 = 0 ;
25719 PyObject *swig_obj[1] ;
25720
25721 if (!args) SWIG_fail;
25722 swig_obj[0] = args;
25723 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25724 if (!SWIG_IsOK(res1)) {
25725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25726 }
25727 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25728 {
25729 PyThreadState* __tstate = wxPyBeginAllowThreads();
25730 result = (arg1)->GetMarginBottomRight();
25731 wxPyEndAllowThreads(__tstate);
25732 if (PyErr_Occurred()) SWIG_fail;
25733 }
25734 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25735 return resultobj;
25736fail:
25737 return NULL;
d55e5bfc
RD
25738}
25739
25740
554f62e9
RD
25741SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25742 PyObject *resultobj = 0;
25743 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25744 wxPoint result;
25745 void *argp1 = 0 ;
25746 int res1 = 0 ;
25747 PyObject *swig_obj[1] ;
25748
25749 if (!args) SWIG_fail;
25750 swig_obj[0] = args;
25751 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25752 if (!SWIG_IsOK(res1)) {
25753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25754 }
25755 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25756 {
25757 PyThreadState* __tstate = wxPyBeginAllowThreads();
25758 result = (arg1)->GetMinMarginTopLeft();
25759 wxPyEndAllowThreads(__tstate);
25760 if (PyErr_Occurred()) SWIG_fail;
25761 }
25762 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25763 return resultobj;
25764fail:
25765 return NULL;
d55e5bfc
RD
25766}
25767
25768
554f62e9
RD
25769SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25770 PyObject *resultobj = 0;
25771 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25772 wxPoint result;
25773 void *argp1 = 0 ;
25774 int res1 = 0 ;
25775 PyObject *swig_obj[1] ;
25776
25777 if (!args) SWIG_fail;
25778 swig_obj[0] = args;
25779 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25780 if (!SWIG_IsOK(res1)) {
25781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25782 }
25783 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25784 {
25785 PyThreadState* __tstate = wxPyBeginAllowThreads();
25786 result = (arg1)->GetMinMarginBottomRight();
25787 wxPyEndAllowThreads(__tstate);
25788 if (PyErr_Occurred()) SWIG_fail;
25789 }
25790 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25791 return resultobj;
25792fail:
25793 return NULL;
d55e5bfc
RD
25794}
25795
25796
554f62e9
RD
25797SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25798 PyObject *resultobj = 0;
25799 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25800 wxPaperSize result;
25801 void *argp1 = 0 ;
25802 int res1 = 0 ;
25803 PyObject *swig_obj[1] ;
25804
25805 if (!args) SWIG_fail;
25806 swig_obj[0] = args;
25807 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25808 if (!SWIG_IsOK(res1)) {
25809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25810 }
25811 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25812 {
25813 PyThreadState* __tstate = wxPyBeginAllowThreads();
25814 result = (wxPaperSize)(arg1)->GetPaperId();
25815 wxPyEndAllowThreads(__tstate);
25816 if (PyErr_Occurred()) SWIG_fail;
25817 }
25818 resultobj = SWIG_From_int(static_cast< int >(result));
25819 return resultobj;
25820fail:
25821 return NULL;
d55e5bfc
RD
25822}
25823
25824
554f62e9
RD
25825SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25826 PyObject *resultobj = 0;
25827 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25828 wxSize result;
25829 void *argp1 = 0 ;
25830 int res1 = 0 ;
25831 PyObject *swig_obj[1] ;
25832
25833 if (!args) SWIG_fail;
25834 swig_obj[0] = args;
25835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25836 if (!SWIG_IsOK(res1)) {
25837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25838 }
25839 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25840 {
25841 PyThreadState* __tstate = wxPyBeginAllowThreads();
25842 result = (arg1)->GetPaperSize();
25843 wxPyEndAllowThreads(__tstate);
25844 if (PyErr_Occurred()) SWIG_fail;
25845 }
25846 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25847 return resultobj;
25848fail:
25849 return NULL;
7449af73
RD
25850}
25851
25852
554f62e9
RD
25853SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25854 PyObject *resultobj = 0;
25855 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25856 wxPrintData *result = 0 ;
25857 void *argp1 = 0 ;
25858 int res1 = 0 ;
25859 PyObject *swig_obj[1] ;
25860
25861 if (!args) SWIG_fail;
25862 swig_obj[0] = args;
25863 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25864 if (!SWIG_IsOK(res1)) {
25865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25866 }
25867 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25868 {
25869 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 25870 {
554f62e9
RD
25871 wxPrintData &_result_ref = (arg1)->GetPrintData();
25872 result = (wxPrintData *) &_result_ref;
d55e5bfc 25873 }
554f62e9
RD
25874 wxPyEndAllowThreads(__tstate);
25875 if (PyErr_Occurred()) SWIG_fail;
25876 }
25877 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25878 return resultobj;
25879fail:
25880 return NULL;
d55e5bfc
RD
25881}
25882
25883
b39fe951 25884SWIGINTERN PyObject *_wrap_PageSetupDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
554f62e9
RD
25885 PyObject *resultobj = 0;
25886 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25887 bool result;
25888 void *argp1 = 0 ;
25889 int res1 = 0 ;
25890 PyObject *swig_obj[1] ;
25891
25892 if (!args) SWIG_fail;
25893 swig_obj[0] = args;
25894 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25895 if (!SWIG_IsOK(res1)) {
b39fe951 25896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
554f62e9
RD
25897 }
25898 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25899 {
25900 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 25901 result = (bool)(arg1)->IsOk();
554f62e9
RD
25902 wxPyEndAllowThreads(__tstate);
25903 if (PyErr_Occurred()) SWIG_fail;
25904 }
25905 {
25906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25907 }
25908 return resultobj;
25909fail:
25910 return NULL;
25911}
25912
25913
25914SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25915 PyObject *resultobj = 0;
25916 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25917 bool arg2 ;
25918 void *argp1 = 0 ;
25919 int res1 = 0 ;
25920 bool val2 ;
25921 int ecode2 = 0 ;
25922 PyObject * obj0 = 0 ;
25923 PyObject * obj1 = 0 ;
25924 char * kwnames[] = {
25925 (char *) "self",(char *) "flag", NULL
25926 };
25927
25928 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25929 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25930 if (!SWIG_IsOK(res1)) {
25931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25932 }
25933 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25934 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25935 if (!SWIG_IsOK(ecode2)) {
25936 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25937 }
25938 arg2 = static_cast< bool >(val2);
25939 {
25940 PyThreadState* __tstate = wxPyBeginAllowThreads();
25941 (arg1)->SetDefaultInfo(arg2);
25942 wxPyEndAllowThreads(__tstate);
25943 if (PyErr_Occurred()) SWIG_fail;
25944 }
25945 resultobj = SWIG_Py_Void();
25946 return resultobj;
25947fail:
25948 return NULL;
25949}
25950
25951
25952SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25953 PyObject *resultobj = 0;
25954 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25955 bool arg2 ;
25956 void *argp1 = 0 ;
25957 int res1 = 0 ;
25958 bool val2 ;
25959 int ecode2 = 0 ;
25960 PyObject * obj0 = 0 ;
25961 PyObject * obj1 = 0 ;
25962 char * kwnames[] = {
25963 (char *) "self",(char *) "flag", NULL
25964 };
25965
25966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25968 if (!SWIG_IsOK(res1)) {
25969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25970 }
25971 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25972 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25973 if (!SWIG_IsOK(ecode2)) {
25974 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25975 }
25976 arg2 = static_cast< bool >(val2);
25977 {
25978 PyThreadState* __tstate = wxPyBeginAllowThreads();
25979 (arg1)->SetDefaultMinMargins(arg2);
25980 wxPyEndAllowThreads(__tstate);
25981 if (PyErr_Occurred()) SWIG_fail;
25982 }
25983 resultobj = SWIG_Py_Void();
25984 return resultobj;
25985fail:
25986 return NULL;
25987}
25988
25989
25990SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25991 PyObject *resultobj = 0;
25992 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25993 wxPoint *arg2 = 0 ;
25994 void *argp1 = 0 ;
25995 int res1 = 0 ;
25996 wxPoint temp2 ;
25997 PyObject * obj0 = 0 ;
25998 PyObject * obj1 = 0 ;
25999 char * kwnames[] = {
26000 (char *) "self",(char *) "pt", NULL
26001 };
26002
26003 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
26004 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26005 if (!SWIG_IsOK(res1)) {
26006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26007 }
26008 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26009 {
26010 arg2 = &temp2;
26011 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26012 }
26013 {
26014 PyThreadState* __tstate = wxPyBeginAllowThreads();
26015 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
26016 wxPyEndAllowThreads(__tstate);
26017 if (PyErr_Occurred()) SWIG_fail;
26018 }
26019 resultobj = SWIG_Py_Void();
26020 return resultobj;
26021fail:
26022 return NULL;
26023}
26024
26025
26026SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26027 PyObject *resultobj = 0;
26028 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26029 wxPoint *arg2 = 0 ;
26030 void *argp1 = 0 ;
26031 int res1 = 0 ;
26032 wxPoint temp2 ;
26033 PyObject * obj0 = 0 ;
26034 PyObject * obj1 = 0 ;
26035 char * kwnames[] = {
26036 (char *) "self",(char *) "pt", NULL
26037 };
26038
26039 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
26040 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26041 if (!SWIG_IsOK(res1)) {
26042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26043 }
26044 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26045 {
26046 arg2 = &temp2;
26047 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26048 }
26049 {
26050 PyThreadState* __tstate = wxPyBeginAllowThreads();
26051 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
26052 wxPyEndAllowThreads(__tstate);
26053 if (PyErr_Occurred()) SWIG_fail;
26054 }
26055 resultobj = SWIG_Py_Void();
26056 return resultobj;
26057fail:
26058 return NULL;
26059}
26060
26061
26062SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26063 PyObject *resultobj = 0;
26064 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26065 wxPoint *arg2 = 0 ;
26066 void *argp1 = 0 ;
26067 int res1 = 0 ;
26068 wxPoint temp2 ;
26069 PyObject * obj0 = 0 ;
26070 PyObject * obj1 = 0 ;
26071 char * kwnames[] = {
26072 (char *) "self",(char *) "pt", NULL
26073 };
26074
26075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
26076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26077 if (!SWIG_IsOK(res1)) {
26078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26079 }
26080 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26081 {
26082 arg2 = &temp2;
26083 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26084 }
26085 {
26086 PyThreadState* __tstate = wxPyBeginAllowThreads();
26087 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
26088 wxPyEndAllowThreads(__tstate);
26089 if (PyErr_Occurred()) SWIG_fail;
26090 }
26091 resultobj = SWIG_Py_Void();
26092 return resultobj;
26093fail:
26094 return NULL;
26095}
26096
26097
26098SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26099 PyObject *resultobj = 0;
26100 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26101 wxPoint *arg2 = 0 ;
26102 void *argp1 = 0 ;
26103 int res1 = 0 ;
26104 wxPoint temp2 ;
26105 PyObject * obj0 = 0 ;
26106 PyObject * obj1 = 0 ;
26107 char * kwnames[] = {
26108 (char *) "self",(char *) "pt", NULL
26109 };
26110
26111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
26112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26113 if (!SWIG_IsOK(res1)) {
26114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26115 }
26116 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26117 {
26118 arg2 = &temp2;
26119 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26120 }
26121 {
26122 PyThreadState* __tstate = wxPyBeginAllowThreads();
26123 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
26124 wxPyEndAllowThreads(__tstate);
26125 if (PyErr_Occurred()) SWIG_fail;
26126 }
26127 resultobj = SWIG_Py_Void();
26128 return resultobj;
26129fail:
26130 return NULL;
26131}
26132
26133
26134SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26135 PyObject *resultobj = 0;
26136 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26137 wxPaperSize arg2 ;
26138 void *argp1 = 0 ;
26139 int res1 = 0 ;
26140 int val2 ;
26141 int ecode2 = 0 ;
26142 PyObject * obj0 = 0 ;
26143 PyObject * obj1 = 0 ;
26144 char * kwnames[] = {
26145 (char *) "self",(char *) "id", NULL
26146 };
26147
26148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
26149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26150 if (!SWIG_IsOK(res1)) {
26151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26152 }
26153 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26154 ecode2 = SWIG_AsVal_int(obj1, &val2);
26155 if (!SWIG_IsOK(ecode2)) {
26156 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
26157 }
26158 arg2 = static_cast< wxPaperSize >(val2);
26159 {
26160 PyThreadState* __tstate = wxPyBeginAllowThreads();
26161 (arg1)->SetPaperId(arg2);
26162 wxPyEndAllowThreads(__tstate);
26163 if (PyErr_Occurred()) SWIG_fail;
26164 }
26165 resultobj = SWIG_Py_Void();
26166 return resultobj;
26167fail:
26168 return NULL;
26169}
26170
26171
26172SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26173 PyObject *resultobj = 0;
26174 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26175 wxSize *arg2 = 0 ;
26176 void *argp1 = 0 ;
26177 int res1 = 0 ;
26178 wxSize temp2 ;
26179 PyObject * obj0 = 0 ;
26180 PyObject * obj1 = 0 ;
26181 char * kwnames[] = {
26182 (char *) "self",(char *) "size", NULL
26183 };
26184
26185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
26186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26187 if (!SWIG_IsOK(res1)) {
26188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26189 }
26190 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26191 {
26192 arg2 = &temp2;
26193 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
26194 }
26195 {
26196 PyThreadState* __tstate = wxPyBeginAllowThreads();
26197 (arg1)->SetPaperSize((wxSize const &)*arg2);
26198 wxPyEndAllowThreads(__tstate);
26199 if (PyErr_Occurred()) SWIG_fail;
26200 }
26201 resultobj = SWIG_Py_Void();
26202 return resultobj;
26203fail:
26204 return NULL;
26205}
26206
26207
26208SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26209 PyObject *resultobj = 0;
26210 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26211 wxPrintData *arg2 = 0 ;
26212 void *argp1 = 0 ;
26213 int res1 = 0 ;
26214 void *argp2 = 0 ;
26215 int res2 = 0 ;
26216 PyObject * obj0 = 0 ;
26217 PyObject * obj1 = 0 ;
26218 char * kwnames[] = {
26219 (char *) "self",(char *) "printData", NULL
26220 };
26221
26222 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26223 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26224 if (!SWIG_IsOK(res1)) {
26225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26226 }
26227 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26228 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26229 if (!SWIG_IsOK(res2)) {
26230 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26231 }
26232 if (!argp2) {
26233 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26234 }
26235 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26236 {
26237 PyThreadState* __tstate = wxPyBeginAllowThreads();
26238 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26239 wxPyEndAllowThreads(__tstate);
26240 if (PyErr_Occurred()) SWIG_fail;
26241 }
26242 resultobj = SWIG_Py_Void();
26243 return resultobj;
26244fail:
26245 return NULL;
d55e5bfc
RD
26246}
26247
26248
554f62e9
RD
26249SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26250 PyObject *resultobj = 0;
26251 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26252 void *argp1 = 0 ;
26253 int res1 = 0 ;
26254 PyObject *swig_obj[1] ;
26255
26256 if (!args) SWIG_fail;
26257 swig_obj[0] = args;
26258 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26259 if (!SWIG_IsOK(res1)) {
26260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26261 }
26262 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26263 {
26264 PyThreadState* __tstate = wxPyBeginAllowThreads();
26265 (arg1)->CalculateIdFromPaperSize();
26266 wxPyEndAllowThreads(__tstate);
26267 if (PyErr_Occurred()) SWIG_fail;
26268 }
26269 resultobj = SWIG_Py_Void();
26270 return resultobj;
26271fail:
26272 return NULL;
d55e5bfc
RD
26273}
26274
26275
554f62e9
RD
26276SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26277 PyObject *resultobj = 0;
26278 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26279 void *argp1 = 0 ;
26280 int res1 = 0 ;
26281 PyObject *swig_obj[1] ;
26282
26283 if (!args) SWIG_fail;
26284 swig_obj[0] = args;
26285 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26286 if (!SWIG_IsOK(res1)) {
26287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26288 }
26289 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26290 {
26291 PyThreadState* __tstate = wxPyBeginAllowThreads();
26292 (arg1)->CalculatePaperSizeFromId();
26293 wxPyEndAllowThreads(__tstate);
26294 if (PyErr_Occurred()) SWIG_fail;
26295 }
26296 resultobj = SWIG_Py_Void();
26297 return resultobj;
26298fail:
26299 return NULL;
d55e5bfc
RD
26300}
26301
26302
554f62e9
RD
26303SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26304 PyObject *obj;
26305 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26306 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
26307 return SWIG_Py_Void();
d55e5bfc
RD
26308}
26309
554f62e9
RD
26310SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26311 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
26312}
26313
554f62e9
RD
26314SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26315 PyObject *resultobj = 0;
26316 wxWindow *arg1 = (wxWindow *) 0 ;
26317 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
26318 wxPageSetupDialog *result = 0 ;
26319 void *argp1 = 0 ;
26320 int res1 = 0 ;
26321 void *argp2 = 0 ;
26322 int res2 = 0 ;
26323 PyObject * obj0 = 0 ;
26324 PyObject * obj1 = 0 ;
26325 char * kwnames[] = {
26326 (char *) "parent",(char *) "data", NULL
26327 };
26328
26329 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26330 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26331 if (!SWIG_IsOK(res1)) {
26332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26333 }
26334 arg1 = reinterpret_cast< wxWindow * >(argp1);
26335 if (obj1) {
26336 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26337 if (!SWIG_IsOK(res2)) {
26338 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
d55e5bfc 26339 }
554f62e9
RD
26340 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
26341 }
26342 {
26343 if (!wxPyCheckForApp()) SWIG_fail;
26344 PyThreadState* __tstate = wxPyBeginAllowThreads();
26345 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
26346 wxPyEndAllowThreads(__tstate);
26347 if (PyErr_Occurred()) SWIG_fail;
26348 }
26349 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
26350 return resultobj;
26351fail:
26352 return NULL;
d55e5bfc
RD
26353}
26354
26355
f05326ba
RD
26356SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26357 PyObject *resultobj = 0;
26358 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26359 void *argp1 = 0 ;
26360 int res1 = 0 ;
26361 PyObject *swig_obj[1] ;
26362
26363 if (!args) SWIG_fail;
26364 swig_obj[0] = args;
26365 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
26366 if (!SWIG_IsOK(res1)) {
26367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26368 }
26369 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26370 {
26371 PyThreadState* __tstate = wxPyBeginAllowThreads();
26372 delete arg1;
26373
26374 wxPyEndAllowThreads(__tstate);
26375 if (PyErr_Occurred()) SWIG_fail;
26376 }
26377 resultobj = SWIG_Py_Void();
26378 return resultobj;
26379fail:
26380 return NULL;
26381}
26382
26383
554f62e9
RD
26384SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26385 PyObject *resultobj = 0;
26386 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26387 wxPageSetupDialogData *result = 0 ;
26388 void *argp1 = 0 ;
26389 int res1 = 0 ;
26390 PyObject *swig_obj[1] ;
26391
26392 if (!args) SWIG_fail;
26393 swig_obj[0] = args;
26394 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26395 if (!SWIG_IsOK(res1)) {
26396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26397 }
26398 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26399 {
26400 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 26401 {
554f62e9
RD
26402 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
26403 result = (wxPageSetupDialogData *) &_result_ref;
d55e5bfc 26404 }
554f62e9
RD
26405 wxPyEndAllowThreads(__tstate);
26406 if (PyErr_Occurred()) SWIG_fail;
26407 }
26408 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26409 return resultobj;
26410fail:
26411 return NULL;
d55e5bfc
RD
26412}
26413
26414
554f62e9
RD
26415SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26416 PyObject *resultobj = 0;
26417 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26418 wxPageSetupDialogData *result = 0 ;
26419 void *argp1 = 0 ;
26420 int res1 = 0 ;
26421 PyObject *swig_obj[1] ;
26422
26423 if (!args) SWIG_fail;
26424 swig_obj[0] = args;
26425 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26426 if (!SWIG_IsOK(res1)) {
26427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26428 }
26429 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26430 {
26431 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 26432 {
554f62e9
RD
26433 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
26434 result = (wxPageSetupDialogData *) &_result_ref;
093d3ff1 26435 }
554f62e9
RD
26436 wxPyEndAllowThreads(__tstate);
26437 if (PyErr_Occurred()) SWIG_fail;
26438 }
26439 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26440 return resultobj;
26441fail:
26442 return NULL;
d55e5bfc
RD
26443}
26444
26445
554f62e9
RD
26446SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26447 PyObject *resultobj = 0;
26448 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26449 int result;
26450 void *argp1 = 0 ;
26451 int res1 = 0 ;
26452 PyObject *swig_obj[1] ;
26453
26454 if (!args) SWIG_fail;
26455 swig_obj[0] = args;
26456 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26457 if (!SWIG_IsOK(res1)) {
26458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26459 }
26460 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26461 {
26462 PyThreadState* __tstate = wxPyBeginAllowThreads();
26463 result = (int)(arg1)->ShowModal();
26464 wxPyEndAllowThreads(__tstate);
26465 if (PyErr_Occurred()) SWIG_fail;
26466 }
26467 resultobj = SWIG_From_int(static_cast< int >(result));
26468 return resultobj;
26469fail:
26470 return NULL;
d55e5bfc
RD
26471}
26472
26473
554f62e9
RD
26474SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26475 PyObject *obj;
26476 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26477 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
26478 return SWIG_Py_Void();
d55e5bfc
RD
26479}
26480
554f62e9
RD
26481SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26482 return SWIG_Python_InitShadowInstance(args);
d55e5bfc 26483}
554f62e9
RD
26484
26485SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
26486 PyObject *resultobj = 0;
26487 wxPrintDialogData *result = 0 ;
26488
26489 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
26490 {
26491 PyThreadState* __tstate = wxPyBeginAllowThreads();
26492 result = (wxPrintDialogData *)new wxPrintDialogData();
26493 wxPyEndAllowThreads(__tstate);
26494 if (PyErr_Occurred()) SWIG_fail;
26495 }
26496 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26497 return resultobj;
26498fail:
26499 return NULL;
d55e5bfc
RD
26500}
26501
26502
554f62e9
RD
26503SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26504 PyObject *resultobj = 0;
26505 wxPrintData *arg1 = 0 ;
26506 wxPrintDialogData *result = 0 ;
26507 void *argp1 = 0 ;
26508 int res1 = 0 ;
26509
26510 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26511 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
26512 if (!SWIG_IsOK(res1)) {
26513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26514 }
26515 if (!argp1) {
26516 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26517 }
26518 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26519 {
26520 PyThreadState* __tstate = wxPyBeginAllowThreads();
26521 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
26522 wxPyEndAllowThreads(__tstate);
26523 if (PyErr_Occurred()) SWIG_fail;
26524 }
26525 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26526 return resultobj;
26527fail:
26528 return NULL;
d55e5bfc
RD
26529}
26530
26531
554f62e9
RD
26532SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26533 PyObject *resultobj = 0;
26534 wxPrintDialogData *arg1 = 0 ;
26535 wxPrintDialogData *result = 0 ;
26536 void *argp1 = 0 ;
26537 int res1 = 0 ;
26538
26539 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26540 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
26541 if (!SWIG_IsOK(res1)) {
26542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26543 }
26544 if (!argp1) {
26545 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26546 }
26547 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26548 {
26549 PyThreadState* __tstate = wxPyBeginAllowThreads();
26550 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
26551 wxPyEndAllowThreads(__tstate);
26552 if (PyErr_Occurred()) SWIG_fail;
26553 }
26554 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26555 return resultobj;
26556fail:
26557 return NULL;
d55e5bfc
RD
26558}
26559
26560
554f62e9
RD
26561SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
26562 int argc;
26563 PyObject *argv[2];
26564
26565 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
26566 --argc;
26567 if (argc == 0) {
26568 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
26569 }
26570 if (argc == 1) {
26571 int _v = 0;
d55e5bfc 26572 {
554f62e9
RD
26573 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
26574 _v = SWIG_CheckState(res);
d55e5bfc 26575 }
554f62e9
RD
26576 if (!_v) goto check_2;
26577 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
26578 }
26579check_2:
26580
26581 if (argc == 1) {
26582 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
26583 }
26584
26585fail:
26586 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
26587 return NULL;
d55e5bfc
RD
26588}
26589
26590
554f62e9
RD
26591SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26592 PyObject *resultobj = 0;
26593 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26594 void *argp1 = 0 ;
26595 int res1 = 0 ;
26596 PyObject *swig_obj[1] ;
26597
26598 if (!args) SWIG_fail;
26599 swig_obj[0] = args;
26600 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
26601 if (!SWIG_IsOK(res1)) {
26602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26603 }
26604 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26605 {
26606 PyThreadState* __tstate = wxPyBeginAllowThreads();
26607 delete arg1;
d55e5bfc 26608
554f62e9
RD
26609 wxPyEndAllowThreads(__tstate);
26610 if (PyErr_Occurred()) SWIG_fail;
26611 }
26612 resultobj = SWIG_Py_Void();
26613 return resultobj;
26614fail:
26615 return NULL;
d55e5bfc
RD
26616}
26617
26618
554f62e9
RD
26619SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26620 PyObject *resultobj = 0;
26621 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26622 int result;
26623 void *argp1 = 0 ;
26624 int res1 = 0 ;
26625 PyObject *swig_obj[1] ;
26626
26627 if (!args) SWIG_fail;
26628 swig_obj[0] = args;
26629 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26630 if (!SWIG_IsOK(res1)) {
26631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26632 }
26633 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26634 {
26635 PyThreadState* __tstate = wxPyBeginAllowThreads();
26636 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
26637 wxPyEndAllowThreads(__tstate);
26638 if (PyErr_Occurred()) SWIG_fail;
26639 }
26640 resultobj = SWIG_From_int(static_cast< int >(result));
26641 return resultobj;
26642fail:
26643 return NULL;
d55e5bfc
RD
26644}
26645
26646
554f62e9
RD
26647SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26648 PyObject *resultobj = 0;
26649 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26650 int result;
26651 void *argp1 = 0 ;
26652 int res1 = 0 ;
26653 PyObject *swig_obj[1] ;
26654
26655 if (!args) SWIG_fail;
26656 swig_obj[0] = args;
26657 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26658 if (!SWIG_IsOK(res1)) {
26659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26660 }
26661 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26662 {
26663 PyThreadState* __tstate = wxPyBeginAllowThreads();
26664 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
26665 wxPyEndAllowThreads(__tstate);
26666 if (PyErr_Occurred()) SWIG_fail;
26667 }
26668 resultobj = SWIG_From_int(static_cast< int >(result));
26669 return resultobj;
26670fail:
26671 return NULL;
d55e5bfc
RD
26672}
26673
26674
554f62e9
RD
26675SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26676 PyObject *resultobj = 0;
26677 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26678 int result;
26679 void *argp1 = 0 ;
26680 int res1 = 0 ;
26681 PyObject *swig_obj[1] ;
26682
26683 if (!args) SWIG_fail;
26684 swig_obj[0] = args;
26685 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26686 if (!SWIG_IsOK(res1)) {
26687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26688 }
26689 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26690 {
26691 PyThreadState* __tstate = wxPyBeginAllowThreads();
26692 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
26693 wxPyEndAllowThreads(__tstate);
26694 if (PyErr_Occurred()) SWIG_fail;
26695 }
26696 resultobj = SWIG_From_int(static_cast< int >(result));
26697 return resultobj;
26698fail:
26699 return NULL;
d55e5bfc
RD
26700}
26701
26702
554f62e9
RD
26703SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26704 PyObject *resultobj = 0;
26705 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26706 int result;
26707 void *argp1 = 0 ;
26708 int res1 = 0 ;
26709 PyObject *swig_obj[1] ;
26710
26711 if (!args) SWIG_fail;
26712 swig_obj[0] = args;
26713 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26714 if (!SWIG_IsOK(res1)) {
26715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26716 }
26717 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26718 {
26719 PyThreadState* __tstate = wxPyBeginAllowThreads();
26720 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26721 wxPyEndAllowThreads(__tstate);
26722 if (PyErr_Occurred()) SWIG_fail;
26723 }
26724 resultobj = SWIG_From_int(static_cast< int >(result));
26725 return resultobj;
26726fail:
26727 return NULL;
d55e5bfc
RD
26728}
26729
26730
554f62e9
RD
26731SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26732 PyObject *resultobj = 0;
26733 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26734 int result;
26735 void *argp1 = 0 ;
26736 int res1 = 0 ;
26737 PyObject *swig_obj[1] ;
26738
26739 if (!args) SWIG_fail;
26740 swig_obj[0] = args;
26741 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26742 if (!SWIG_IsOK(res1)) {
26743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26744 }
26745 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26746 {
26747 PyThreadState* __tstate = wxPyBeginAllowThreads();
26748 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26749 wxPyEndAllowThreads(__tstate);
26750 if (PyErr_Occurred()) SWIG_fail;
26751 }
26752 resultobj = SWIG_From_int(static_cast< int >(result));
26753 return resultobj;
26754fail:
26755 return NULL;
d55e5bfc
RD
26756}
26757
26758
554f62e9
RD
26759SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26760 PyObject *resultobj = 0;
26761 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26762 bool result;
26763 void *argp1 = 0 ;
26764 int res1 = 0 ;
26765 PyObject *swig_obj[1] ;
26766
26767 if (!args) SWIG_fail;
26768 swig_obj[0] = args;
26769 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26770 if (!SWIG_IsOK(res1)) {
26771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26772 }
26773 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26774 {
26775 PyThreadState* __tstate = wxPyBeginAllowThreads();
26776 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26777 wxPyEndAllowThreads(__tstate);
26778 if (PyErr_Occurred()) SWIG_fail;
26779 }
26780 {
26781 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26782 }
26783 return resultobj;
26784fail:
26785 return NULL;
d55e5bfc
RD
26786}
26787
26788
554f62e9
RD
26789SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26790 PyObject *resultobj = 0;
26791 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26792 bool result;
26793 void *argp1 = 0 ;
26794 int res1 = 0 ;
26795 PyObject *swig_obj[1] ;
26796
26797 if (!args) SWIG_fail;
26798 swig_obj[0] = args;
26799 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26800 if (!SWIG_IsOK(res1)) {
26801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26802 }
26803 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26804 {
26805 PyThreadState* __tstate = wxPyBeginAllowThreads();
26806 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26807 wxPyEndAllowThreads(__tstate);
26808 if (PyErr_Occurred()) SWIG_fail;
26809 }
26810 {
26811 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26812 }
26813 return resultobj;
26814fail:
26815 return NULL;
d55e5bfc
RD
26816}
26817
26818
554f62e9
RD
26819SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26820 PyObject *resultobj = 0;
26821 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26822 bool result;
26823 void *argp1 = 0 ;
26824 int res1 = 0 ;
26825 PyObject *swig_obj[1] ;
26826
26827 if (!args) SWIG_fail;
26828 swig_obj[0] = args;
26829 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26830 if (!SWIG_IsOK(res1)) {
26831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26832 }
26833 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26834 {
26835 PyThreadState* __tstate = wxPyBeginAllowThreads();
26836 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26837 wxPyEndAllowThreads(__tstate);
26838 if (PyErr_Occurred()) SWIG_fail;
26839 }
26840 {
26841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26842 }
26843 return resultobj;
26844fail:
26845 return NULL;
d55e5bfc
RD
26846}
26847
26848
554f62e9
RD
26849SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26850 PyObject *resultobj = 0;
26851 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26852 bool result;
26853 void *argp1 = 0 ;
26854 int res1 = 0 ;
26855 PyObject *swig_obj[1] ;
26856
26857 if (!args) SWIG_fail;
26858 swig_obj[0] = args;
26859 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26860 if (!SWIG_IsOK(res1)) {
26861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26862 }
26863 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26864 {
26865 PyThreadState* __tstate = wxPyBeginAllowThreads();
26866 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26867 wxPyEndAllowThreads(__tstate);
26868 if (PyErr_Occurred()) SWIG_fail;
26869 }
26870 {
26871 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26872 }
26873 return resultobj;
26874fail:
26875 return NULL;
26876}
26877
26878
26879SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26880 PyObject *resultobj = 0;
26881 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26882 int arg2 ;
26883 void *argp1 = 0 ;
26884 int res1 = 0 ;
26885 int val2 ;
26886 int ecode2 = 0 ;
26887 PyObject * obj0 = 0 ;
26888 PyObject * obj1 = 0 ;
26889 char * kwnames[] = {
26890 (char *) "self",(char *) "v", NULL
26891 };
26892
26893 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26894 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26895 if (!SWIG_IsOK(res1)) {
26896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26897 }
26898 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26899 ecode2 = SWIG_AsVal_int(obj1, &val2);
26900 if (!SWIG_IsOK(ecode2)) {
26901 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26902 }
26903 arg2 = static_cast< int >(val2);
26904 {
26905 PyThreadState* __tstate = wxPyBeginAllowThreads();
26906 (arg1)->SetFromPage(arg2);
26907 wxPyEndAllowThreads(__tstate);
26908 if (PyErr_Occurred()) SWIG_fail;
26909 }
26910 resultobj = SWIG_Py_Void();
26911 return resultobj;
26912fail:
26913 return NULL;
26914}
26915
26916
26917SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26918 PyObject *resultobj = 0;
26919 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26920 int arg2 ;
26921 void *argp1 = 0 ;
26922 int res1 = 0 ;
26923 int val2 ;
26924 int ecode2 = 0 ;
26925 PyObject * obj0 = 0 ;
26926 PyObject * obj1 = 0 ;
26927 char * kwnames[] = {
26928 (char *) "self",(char *) "v", NULL
26929 };
26930
26931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26933 if (!SWIG_IsOK(res1)) {
26934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26935 }
26936 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26937 ecode2 = SWIG_AsVal_int(obj1, &val2);
26938 if (!SWIG_IsOK(ecode2)) {
26939 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26940 }
26941 arg2 = static_cast< int >(val2);
26942 {
26943 PyThreadState* __tstate = wxPyBeginAllowThreads();
26944 (arg1)->SetToPage(arg2);
26945 wxPyEndAllowThreads(__tstate);
26946 if (PyErr_Occurred()) SWIG_fail;
26947 }
26948 resultobj = SWIG_Py_Void();
26949 return resultobj;
26950fail:
26951 return NULL;
26952}
26953
26954
26955SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26956 PyObject *resultobj = 0;
26957 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26958 int arg2 ;
26959 void *argp1 = 0 ;
26960 int res1 = 0 ;
26961 int val2 ;
26962 int ecode2 = 0 ;
26963 PyObject * obj0 = 0 ;
26964 PyObject * obj1 = 0 ;
26965 char * kwnames[] = {
26966 (char *) "self",(char *) "v", NULL
26967 };
26968
26969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26971 if (!SWIG_IsOK(res1)) {
26972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26973 }
26974 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26975 ecode2 = SWIG_AsVal_int(obj1, &val2);
26976 if (!SWIG_IsOK(ecode2)) {
26977 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26978 }
26979 arg2 = static_cast< int >(val2);
26980 {
26981 PyThreadState* __tstate = wxPyBeginAllowThreads();
26982 (arg1)->SetMinPage(arg2);
26983 wxPyEndAllowThreads(__tstate);
26984 if (PyErr_Occurred()) SWIG_fail;
26985 }
26986 resultobj = SWIG_Py_Void();
26987 return resultobj;
26988fail:
26989 return NULL;
26990}
26991
26992
26993SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26994 PyObject *resultobj = 0;
26995 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26996 int arg2 ;
26997 void *argp1 = 0 ;
26998 int res1 = 0 ;
26999 int val2 ;
27000 int ecode2 = 0 ;
27001 PyObject * obj0 = 0 ;
27002 PyObject * obj1 = 0 ;
27003 char * kwnames[] = {
27004 (char *) "self",(char *) "v", NULL
27005 };
27006
27007 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
27008 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27009 if (!SWIG_IsOK(res1)) {
27010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27011 }
27012 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27013 ecode2 = SWIG_AsVal_int(obj1, &val2);
27014 if (!SWIG_IsOK(ecode2)) {
27015 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
27016 }
27017 arg2 = static_cast< int >(val2);
27018 {
27019 PyThreadState* __tstate = wxPyBeginAllowThreads();
27020 (arg1)->SetMaxPage(arg2);
27021 wxPyEndAllowThreads(__tstate);
27022 if (PyErr_Occurred()) SWIG_fail;
27023 }
27024 resultobj = SWIG_Py_Void();
27025 return resultobj;
27026fail:
27027 return NULL;
27028}
27029
27030
27031SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27032 PyObject *resultobj = 0;
27033 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27034 int arg2 ;
27035 void *argp1 = 0 ;
27036 int res1 = 0 ;
27037 int val2 ;
27038 int ecode2 = 0 ;
27039 PyObject * obj0 = 0 ;
27040 PyObject * obj1 = 0 ;
27041 char * kwnames[] = {
27042 (char *) "self",(char *) "v", NULL
27043 };
27044
27045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
27046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27047 if (!SWIG_IsOK(res1)) {
27048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27049 }
27050 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27051 ecode2 = SWIG_AsVal_int(obj1, &val2);
27052 if (!SWIG_IsOK(ecode2)) {
27053 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
27054 }
27055 arg2 = static_cast< int >(val2);
27056 {
27057 PyThreadState* __tstate = wxPyBeginAllowThreads();
27058 (arg1)->SetNoCopies(arg2);
27059 wxPyEndAllowThreads(__tstate);
27060 if (PyErr_Occurred()) SWIG_fail;
27061 }
27062 resultobj = SWIG_Py_Void();
27063 return resultobj;
27064fail:
27065 return NULL;
27066}
27067
27068
27069SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27070 PyObject *resultobj = 0;
27071 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27072 bool arg2 ;
27073 void *argp1 = 0 ;
27074 int res1 = 0 ;
27075 bool val2 ;
27076 int ecode2 = 0 ;
27077 PyObject * obj0 = 0 ;
27078 PyObject * obj1 = 0 ;
27079 char * kwnames[] = {
27080 (char *) "self",(char *) "flag", NULL
27081 };
27082
27083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
27084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27085 if (!SWIG_IsOK(res1)) {
27086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27087 }
27088 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27089 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27090 if (!SWIG_IsOK(ecode2)) {
27091 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
27092 }
27093 arg2 = static_cast< bool >(val2);
27094 {
27095 PyThreadState* __tstate = wxPyBeginAllowThreads();
27096 (arg1)->SetAllPages(arg2);
27097 wxPyEndAllowThreads(__tstate);
27098 if (PyErr_Occurred()) SWIG_fail;
27099 }
27100 resultobj = SWIG_Py_Void();
27101 return resultobj;
27102fail:
27103 return NULL;
27104}
27105
27106
27107SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27108 PyObject *resultobj = 0;
27109 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27110 bool arg2 ;
27111 void *argp1 = 0 ;
27112 int res1 = 0 ;
27113 bool val2 ;
27114 int ecode2 = 0 ;
27115 PyObject * obj0 = 0 ;
27116 PyObject * obj1 = 0 ;
27117 char * kwnames[] = {
27118 (char *) "self",(char *) "flag", NULL
27119 };
27120
27121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
27122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27123 if (!SWIG_IsOK(res1)) {
27124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27125 }
27126 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27127 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27128 if (!SWIG_IsOK(ecode2)) {
27129 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
27130 }
27131 arg2 = static_cast< bool >(val2);
27132 {
27133 PyThreadState* __tstate = wxPyBeginAllowThreads();
27134 (arg1)->SetSelection(arg2);
27135 wxPyEndAllowThreads(__tstate);
27136 if (PyErr_Occurred()) SWIG_fail;
27137 }
27138 resultobj = SWIG_Py_Void();
27139 return resultobj;
27140fail:
27141 return NULL;
27142}
27143
27144
27145SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27146 PyObject *resultobj = 0;
27147 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27148 bool arg2 ;
27149 void *argp1 = 0 ;
27150 int res1 = 0 ;
27151 bool val2 ;
27152 int ecode2 = 0 ;
27153 PyObject * obj0 = 0 ;
27154 PyObject * obj1 = 0 ;
27155 char * kwnames[] = {
27156 (char *) "self",(char *) "flag", NULL
27157 };
27158
27159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
27160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27161 if (!SWIG_IsOK(res1)) {
27162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27163 }
27164 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27165 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27166 if (!SWIG_IsOK(ecode2)) {
27167 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
27168 }
27169 arg2 = static_cast< bool >(val2);
27170 {
27171 PyThreadState* __tstate = wxPyBeginAllowThreads();
27172 (arg1)->SetCollate(arg2);
27173 wxPyEndAllowThreads(__tstate);
27174 if (PyErr_Occurred()) SWIG_fail;
27175 }
27176 resultobj = SWIG_Py_Void();
27177 return resultobj;
27178fail:
27179 return NULL;
27180}
27181
27182
27183SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27184 PyObject *resultobj = 0;
27185 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27186 bool arg2 ;
27187 void *argp1 = 0 ;
27188 int res1 = 0 ;
27189 bool val2 ;
27190 int ecode2 = 0 ;
27191 PyObject * obj0 = 0 ;
27192 PyObject * obj1 = 0 ;
27193 char * kwnames[] = {
27194 (char *) "self",(char *) "flag", NULL
27195 };
27196
27197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
27198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27199 if (!SWIG_IsOK(res1)) {
27200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27201 }
27202 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27203 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27204 if (!SWIG_IsOK(ecode2)) {
27205 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
27206 }
27207 arg2 = static_cast< bool >(val2);
27208 {
27209 PyThreadState* __tstate = wxPyBeginAllowThreads();
27210 (arg1)->SetPrintToFile(arg2);
27211 wxPyEndAllowThreads(__tstate);
27212 if (PyErr_Occurred()) SWIG_fail;
27213 }
27214 resultobj = SWIG_Py_Void();
27215 return resultobj;
27216fail:
27217 return NULL;
27218}
27219
27220
27221SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27222 PyObject *resultobj = 0;
27223 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27224 bool arg2 ;
27225 void *argp1 = 0 ;
27226 int res1 = 0 ;
27227 bool val2 ;
27228 int ecode2 = 0 ;
27229 PyObject * obj0 = 0 ;
27230 PyObject * obj1 = 0 ;
27231 char * kwnames[] = {
27232 (char *) "self",(char *) "flag", NULL
27233 };
27234
27235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
27236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27237 if (!SWIG_IsOK(res1)) {
27238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27239 }
27240 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27241 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27242 if (!SWIG_IsOK(ecode2)) {
27243 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
27244 }
27245 arg2 = static_cast< bool >(val2);
27246 {
27247 PyThreadState* __tstate = wxPyBeginAllowThreads();
27248 (arg1)->EnablePrintToFile(arg2);
27249 wxPyEndAllowThreads(__tstate);
27250 if (PyErr_Occurred()) SWIG_fail;
27251 }
27252 resultobj = SWIG_Py_Void();
27253 return resultobj;
27254fail:
27255 return NULL;
27256}
27257
27258
27259SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27260 PyObject *resultobj = 0;
27261 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27262 bool arg2 ;
27263 void *argp1 = 0 ;
27264 int res1 = 0 ;
27265 bool val2 ;
27266 int ecode2 = 0 ;
27267 PyObject * obj0 = 0 ;
27268 PyObject * obj1 = 0 ;
27269 char * kwnames[] = {
27270 (char *) "self",(char *) "flag", NULL
27271 };
27272
27273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
27274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27275 if (!SWIG_IsOK(res1)) {
27276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27277 }
27278 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27279 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27280 if (!SWIG_IsOK(ecode2)) {
27281 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
27282 }
27283 arg2 = static_cast< bool >(val2);
27284 {
27285 PyThreadState* __tstate = wxPyBeginAllowThreads();
27286 (arg1)->EnableSelection(arg2);
27287 wxPyEndAllowThreads(__tstate);
27288 if (PyErr_Occurred()) SWIG_fail;
27289 }
27290 resultobj = SWIG_Py_Void();
27291 return resultobj;
27292fail:
27293 return NULL;
27294}
27295
27296
27297SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27298 PyObject *resultobj = 0;
27299 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27300 bool arg2 ;
27301 void *argp1 = 0 ;
27302 int res1 = 0 ;
27303 bool val2 ;
27304 int ecode2 = 0 ;
27305 PyObject * obj0 = 0 ;
27306 PyObject * obj1 = 0 ;
27307 char * kwnames[] = {
27308 (char *) "self",(char *) "flag", NULL
27309 };
27310
27311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
27312 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27313 if (!SWIG_IsOK(res1)) {
27314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27315 }
27316 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27317 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27318 if (!SWIG_IsOK(ecode2)) {
27319 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
27320 }
27321 arg2 = static_cast< bool >(val2);
27322 {
27323 PyThreadState* __tstate = wxPyBeginAllowThreads();
27324 (arg1)->EnablePageNumbers(arg2);
27325 wxPyEndAllowThreads(__tstate);
27326 if (PyErr_Occurred()) SWIG_fail;
27327 }
27328 resultobj = SWIG_Py_Void();
27329 return resultobj;
27330fail:
27331 return NULL;
27332}
27333
27334
27335SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27336 PyObject *resultobj = 0;
27337 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27338 bool arg2 ;
27339 void *argp1 = 0 ;
27340 int res1 = 0 ;
27341 bool val2 ;
27342 int ecode2 = 0 ;
27343 PyObject * obj0 = 0 ;
27344 PyObject * obj1 = 0 ;
27345 char * kwnames[] = {
27346 (char *) "self",(char *) "flag", NULL
27347 };
27348
27349 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
27350 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27351 if (!SWIG_IsOK(res1)) {
27352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27353 }
27354 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27355 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27356 if (!SWIG_IsOK(ecode2)) {
27357 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27358 }
27359 arg2 = static_cast< bool >(val2);
27360 {
27361 PyThreadState* __tstate = wxPyBeginAllowThreads();
27362 (arg1)->EnableHelp(arg2);
27363 wxPyEndAllowThreads(__tstate);
27364 if (PyErr_Occurred()) SWIG_fail;
27365 }
27366 resultobj = SWIG_Py_Void();
27367 return resultobj;
27368fail:
27369 return NULL;
d55e5bfc
RD
27370}
27371
27372
554f62e9
RD
27373SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27374 PyObject *resultobj = 0;
27375 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27376 bool result;
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_wxPrintDialogData, 0 | 0 );
27384 if (!SWIG_IsOK(res1)) {
27385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27386 }
27387 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27388 {
27389 PyThreadState* __tstate = wxPyBeginAllowThreads();
27390 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
27391 wxPyEndAllowThreads(__tstate);
27392 if (PyErr_Occurred()) SWIG_fail;
27393 }
27394 {
27395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27396 }
27397 return resultobj;
27398fail:
27399 return NULL;
d55e5bfc
RD
27400}
27401
27402
554f62e9
RD
27403SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27404 PyObject *resultobj = 0;
27405 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27406 bool result;
27407 void *argp1 = 0 ;
27408 int res1 = 0 ;
27409 PyObject *swig_obj[1] ;
27410
27411 if (!args) SWIG_fail;
27412 swig_obj[0] = args;
27413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27414 if (!SWIG_IsOK(res1)) {
27415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27416 }
27417 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27418 {
27419 PyThreadState* __tstate = wxPyBeginAllowThreads();
27420 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
27421 wxPyEndAllowThreads(__tstate);
27422 if (PyErr_Occurred()) SWIG_fail;
27423 }
27424 {
27425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27426 }
27427 return resultobj;
27428fail:
27429 return NULL;
d55e5bfc
RD
27430}
27431
27432
554f62e9
RD
27433SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27434 PyObject *resultobj = 0;
27435 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27436 bool result;
27437 void *argp1 = 0 ;
27438 int res1 = 0 ;
27439 PyObject *swig_obj[1] ;
27440
27441 if (!args) SWIG_fail;
27442 swig_obj[0] = args;
27443 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27444 if (!SWIG_IsOK(res1)) {
27445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27446 }
27447 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27448 {
27449 PyThreadState* __tstate = wxPyBeginAllowThreads();
27450 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
27451 wxPyEndAllowThreads(__tstate);
27452 if (PyErr_Occurred()) SWIG_fail;
27453 }
27454 {
27455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27456 }
27457 return resultobj;
27458fail:
27459 return NULL;
d55e5bfc
RD
27460}
27461
27462
554f62e9
RD
27463SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27464 PyObject *resultobj = 0;
27465 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27466 bool result;
27467 void *argp1 = 0 ;
27468 int res1 = 0 ;
27469 PyObject *swig_obj[1] ;
27470
27471 if (!args) SWIG_fail;
27472 swig_obj[0] = args;
27473 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27474 if (!SWIG_IsOK(res1)) {
27475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27476 }
27477 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27478 {
27479 PyThreadState* __tstate = wxPyBeginAllowThreads();
27480 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
27481 wxPyEndAllowThreads(__tstate);
27482 if (PyErr_Occurred()) SWIG_fail;
27483 }
27484 {
27485 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27486 }
27487 return resultobj;
27488fail:
27489 return NULL;
d55e5bfc
RD
27490}
27491
27492
b39fe951 27493SWIGINTERN PyObject *_wrap_PrintDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
554f62e9
RD
27494 PyObject *resultobj = 0;
27495 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27496 bool result;
27497 void *argp1 = 0 ;
27498 int res1 = 0 ;
27499 PyObject *swig_obj[1] ;
27500
27501 if (!args) SWIG_fail;
27502 swig_obj[0] = args;
27503 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27504 if (!SWIG_IsOK(res1)) {
b39fe951 27505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
554f62e9
RD
27506 }
27507 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27508 {
27509 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 27510 result = (bool)((wxPrintDialogData const *)arg1)->IsOk();
554f62e9
RD
27511 wxPyEndAllowThreads(__tstate);
27512 if (PyErr_Occurred()) SWIG_fail;
27513 }
27514 {
27515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27516 }
27517 return resultobj;
27518fail:
27519 return NULL;
d55e5bfc
RD
27520}
27521
27522
554f62e9
RD
27523SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27524 PyObject *resultobj = 0;
27525 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27526 wxPrintData *result = 0 ;
27527 void *argp1 = 0 ;
27528 int res1 = 0 ;
27529 PyObject *swig_obj[1] ;
27530
27531 if (!args) SWIG_fail;
27532 swig_obj[0] = args;
27533 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27534 if (!SWIG_IsOK(res1)) {
27535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27536 }
27537 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27538 {
27539 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 27540 {
554f62e9
RD
27541 wxPrintData &_result_ref = (arg1)->GetPrintData();
27542 result = (wxPrintData *) &_result_ref;
27543 }
27544 wxPyEndAllowThreads(__tstate);
27545 if (PyErr_Occurred()) SWIG_fail;
27546 }
27547 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27548 return resultobj;
27549fail:
27550 return NULL;
27551}
27552
27553
27554SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27555 PyObject *resultobj = 0;
27556 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27557 wxPrintData *arg2 = 0 ;
27558 void *argp1 = 0 ;
27559 int res1 = 0 ;
27560 void *argp2 = 0 ;
27561 int res2 = 0 ;
27562 PyObject * obj0 = 0 ;
27563 PyObject * obj1 = 0 ;
27564 char * kwnames[] = {
27565 (char *) "self",(char *) "printData", NULL
27566 };
27567
27568 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
27569 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27570 if (!SWIG_IsOK(res1)) {
27571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27572 }
27573 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27574 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
27575 if (!SWIG_IsOK(res2)) {
27576 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27577 }
27578 if (!argp2) {
27579 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27580 }
27581 arg2 = reinterpret_cast< wxPrintData * >(argp2);
27582 {
27583 PyThreadState* __tstate = wxPyBeginAllowThreads();
27584 (arg1)->SetPrintData((wxPrintData const &)*arg2);
27585 wxPyEndAllowThreads(__tstate);
27586 if (PyErr_Occurred()) SWIG_fail;
27587 }
27588 resultobj = SWIG_Py_Void();
27589 return resultobj;
27590fail:
27591 return NULL;
d55e5bfc
RD
27592}
27593
27594
554f62e9
RD
27595SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27596 PyObject *obj;
27597 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27598 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
27599 return SWIG_Py_Void();
d55e5bfc
RD
27600}
27601
554f62e9
RD
27602SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27603 return SWIG_Python_InitShadowInstance(args);
27604}
d55e5bfc 27605
554f62e9
RD
27606SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27607 PyObject *resultobj = 0;
27608 wxWindow *arg1 = (wxWindow *) 0 ;
27609 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
27610 wxPrintDialog *result = 0 ;
27611 void *argp1 = 0 ;
27612 int res1 = 0 ;
27613 void *argp2 = 0 ;
27614 int res2 = 0 ;
27615 PyObject * obj0 = 0 ;
27616 PyObject * obj1 = 0 ;
27617 char * kwnames[] = {
27618 (char *) "parent",(char *) "data", NULL
27619 };
27620
27621 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27622 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
27623 if (!SWIG_IsOK(res1)) {
27624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27625 }
27626 arg1 = reinterpret_cast< wxWindow * >(argp1);
27627 if (obj1) {
27628 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27629 if (!SWIG_IsOK(res2)) {
27630 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
d55e5bfc 27631 }
554f62e9
RD
27632 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
27633 }
27634 {
27635 if (!wxPyCheckForApp()) SWIG_fail;
27636 PyThreadState* __tstate = wxPyBeginAllowThreads();
27637 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
27638 wxPyEndAllowThreads(__tstate);
27639 if (PyErr_Occurred()) SWIG_fail;
27640 }
27641 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
27642 return resultobj;
27643fail:
27644 return NULL;
d55e5bfc
RD
27645}
27646
27647
f05326ba
RD
27648SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27649 PyObject *resultobj = 0;
27650 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27651 void *argp1 = 0 ;
27652 int res1 = 0 ;
27653 PyObject *swig_obj[1] ;
27654
27655 if (!args) SWIG_fail;
27656 swig_obj[0] = args;
27657 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
27658 if (!SWIG_IsOK(res1)) {
27659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27660 }
27661 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27662 {
27663 PyThreadState* __tstate = wxPyBeginAllowThreads();
27664 delete arg1;
27665
27666 wxPyEndAllowThreads(__tstate);
27667 if (PyErr_Occurred()) SWIG_fail;
27668 }
27669 resultobj = SWIG_Py_Void();
27670 return resultobj;
27671fail:
27672 return NULL;
27673}
27674
27675
554f62e9
RD
27676SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27677 PyObject *resultobj = 0;
27678 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27679 int result;
27680 void *argp1 = 0 ;
27681 int res1 = 0 ;
27682 PyObject *swig_obj[1] ;
27683
27684 if (!args) SWIG_fail;
27685 swig_obj[0] = args;
27686 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27687 if (!SWIG_IsOK(res1)) {
27688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27689 }
27690 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27691 {
27692 PyThreadState* __tstate = wxPyBeginAllowThreads();
27693 result = (int)(arg1)->ShowModal();
27694 wxPyEndAllowThreads(__tstate);
27695 if (PyErr_Occurred()) SWIG_fail;
27696 }
27697 resultobj = SWIG_From_int(static_cast< int >(result));
27698 return resultobj;
27699fail:
27700 return NULL;
d55e5bfc
RD
27701}
27702
27703
554f62e9
RD
27704SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27705 PyObject *resultobj = 0;
27706 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27707 wxPrintDialogData *result = 0 ;
27708 void *argp1 = 0 ;
27709 int res1 = 0 ;
27710 PyObject *swig_obj[1] ;
27711
27712 if (!args) SWIG_fail;
27713 swig_obj[0] = args;
27714 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27715 if (!SWIG_IsOK(res1)) {
27716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27717 }
27718 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27719 {
27720 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 27721 {
554f62e9
RD
27722 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27723 result = (wxPrintDialogData *) &_result_ref;
d55e5bfc 27724 }
554f62e9
RD
27725 wxPyEndAllowThreads(__tstate);
27726 if (PyErr_Occurred()) SWIG_fail;
27727 }
27728 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27729 return resultobj;
27730fail:
27731 return NULL;
27732}
27733
27734
27735SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27736 PyObject *resultobj = 0;
27737 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27738 wxPrintData *result = 0 ;
27739 void *argp1 = 0 ;
27740 int res1 = 0 ;
27741 PyObject *swig_obj[1] ;
27742
27743 if (!args) SWIG_fail;
27744 swig_obj[0] = args;
27745 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27746 if (!SWIG_IsOK(res1)) {
27747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27748 }
27749 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27750 {
27751 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 27752 {
554f62e9
RD
27753 wxPrintData &_result_ref = (arg1)->GetPrintData();
27754 result = (wxPrintData *) &_result_ref;
d55e5bfc 27755 }
554f62e9
RD
27756 wxPyEndAllowThreads(__tstate);
27757 if (PyErr_Occurred()) SWIG_fail;
27758 }
27759 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27760 return resultobj;
27761fail:
27762 return NULL;
d55e5bfc
RD
27763}
27764
27765
554f62e9
RD
27766SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27767 PyObject *resultobj = 0;
27768 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27769 wxDC *result = 0 ;
27770 void *argp1 = 0 ;
27771 int res1 = 0 ;
27772 PyObject *swig_obj[1] ;
27773
27774 if (!args) SWIG_fail;
27775 swig_obj[0] = args;
27776 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27777 if (!SWIG_IsOK(res1)) {
27778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27779 }
27780 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27781 {
27782 PyThreadState* __tstate = wxPyBeginAllowThreads();
27783 result = (wxDC *)(arg1)->GetPrintDC();
27784 wxPyEndAllowThreads(__tstate);
27785 if (PyErr_Occurred()) SWIG_fail;
27786 }
27787 {
27788 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27789 }
27790 return resultobj;
27791fail:
27792 return NULL;
d55e5bfc
RD
27793}
27794
27795
554f62e9
RD
27796SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27797 PyObject *obj;
27798 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27799 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27800 return SWIG_Py_Void();
d55e5bfc
RD
27801}
27802
554f62e9
RD
27803SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27804 return SWIG_Python_InitShadowInstance(args);
27805}
d55e5bfc 27806
554f62e9
RD
27807SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27808 PyObject *resultobj = 0;
27809 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27810 wxPrinter *result = 0 ;
27811 void *argp1 = 0 ;
27812 int res1 = 0 ;
27813 PyObject * obj0 = 0 ;
27814 char * kwnames[] = {
27815 (char *) "data", NULL
27816 };
27817
27818 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27819 if (obj0) {
27820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27821 if (!SWIG_IsOK(res1)) {
27822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
396fb509 27823 }
554f62e9
RD
27824 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27825 }
27826 {
27827 if (!wxPyCheckForApp()) SWIG_fail;
27828 PyThreadState* __tstate = wxPyBeginAllowThreads();
27829 result = (wxPrinter *)new wxPrinter(arg1);
27830 wxPyEndAllowThreads(__tstate);
27831 if (PyErr_Occurred()) SWIG_fail;
27832 }
27833 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27834 return resultobj;
27835fail:
27836 return NULL;
d55e5bfc
RD
27837}
27838
27839
554f62e9
RD
27840SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27841 PyObject *resultobj = 0;
27842 wxPrinter *arg1 = (wxPrinter *) 0 ;
27843 void *argp1 = 0 ;
27844 int res1 = 0 ;
27845 PyObject *swig_obj[1] ;
27846
27847 if (!args) SWIG_fail;
27848 swig_obj[0] = args;
27849 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27850 if (!SWIG_IsOK(res1)) {
27851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27852 }
27853 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27854 {
27855 PyThreadState* __tstate = wxPyBeginAllowThreads();
27856 delete arg1;
d55e5bfc 27857
554f62e9
RD
27858 wxPyEndAllowThreads(__tstate);
27859 if (PyErr_Occurred()) SWIG_fail;
27860 }
27861 resultobj = SWIG_Py_Void();
27862 return resultobj;
27863fail:
27864 return NULL;
27865}
27866
27867
27868SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27869 PyObject *resultobj = 0;
27870 wxPrinter *arg1 = (wxPrinter *) 0 ;
27871 wxWindow *arg2 = (wxWindow *) 0 ;
27872 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27873 wxWindow *result = 0 ;
27874 void *argp1 = 0 ;
27875 int res1 = 0 ;
27876 void *argp2 = 0 ;
27877 int res2 = 0 ;
27878 void *argp3 = 0 ;
27879 int res3 = 0 ;
27880 PyObject * obj0 = 0 ;
27881 PyObject * obj1 = 0 ;
27882 PyObject * obj2 = 0 ;
27883 char * kwnames[] = {
27884 (char *) "self",(char *) "parent",(char *) "printout", NULL
27885 };
27886
27887 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27888 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27889 if (!SWIG_IsOK(res1)) {
27890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27891 }
27892 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27893 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27894 if (!SWIG_IsOK(res2)) {
27895 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27896 }
27897 arg2 = reinterpret_cast< wxWindow * >(argp2);
27898 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27899 if (!SWIG_IsOK(res3)) {
27900 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27901 }
27902 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27903 {
27904 PyThreadState* __tstate = wxPyBeginAllowThreads();
27905 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27906 wxPyEndAllowThreads(__tstate);
27907 if (PyErr_Occurred()) SWIG_fail;
27908 }
27909 {
27910 resultobj = wxPyMake_wxObject(result, 0);
27911 }
27912 return resultobj;
27913fail:
27914 return NULL;
27915}
27916
27917
27918SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27919 PyObject *resultobj = 0;
27920 wxPrinter *arg1 = (wxPrinter *) 0 ;
27921 wxWindow *arg2 = (wxWindow *) 0 ;
27922 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27923 wxString *arg4 = 0 ;
27924 void *argp1 = 0 ;
27925 int res1 = 0 ;
27926 void *argp2 = 0 ;
27927 int res2 = 0 ;
27928 void *argp3 = 0 ;
27929 int res3 = 0 ;
27930 bool temp4 = false ;
27931 PyObject * obj0 = 0 ;
27932 PyObject * obj1 = 0 ;
27933 PyObject * obj2 = 0 ;
27934 PyObject * obj3 = 0 ;
27935 char * kwnames[] = {
27936 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27937 };
27938
27939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27941 if (!SWIG_IsOK(res1)) {
27942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27943 }
27944 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27945 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27946 if (!SWIG_IsOK(res2)) {
27947 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27948 }
27949 arg2 = reinterpret_cast< wxWindow * >(argp2);
27950 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27951 if (!SWIG_IsOK(res3)) {
27952 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27953 }
27954 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27955 {
27956 arg4 = wxString_in_helper(obj3);
27957 if (arg4 == NULL) SWIG_fail;
27958 temp4 = true;
27959 }
27960 {
27961 PyThreadState* __tstate = wxPyBeginAllowThreads();
27962 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27963 wxPyEndAllowThreads(__tstate);
27964 if (PyErr_Occurred()) SWIG_fail;
27965 }
27966 resultobj = SWIG_Py_Void();
27967 {
27968 if (temp4)
27969 delete arg4;
27970 }
27971 return resultobj;
27972fail:
27973 {
27974 if (temp4)
27975 delete arg4;
27976 }
27977 return NULL;
27978}
27979
27980
27981SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27982 PyObject *resultobj = 0;
27983 wxPrinter *arg1 = (wxPrinter *) 0 ;
27984 wxWindow *arg2 = (wxWindow *) 0 ;
27985 bool result;
27986 void *argp1 = 0 ;
27987 int res1 = 0 ;
27988 void *argp2 = 0 ;
27989 int res2 = 0 ;
27990 PyObject * obj0 = 0 ;
27991 PyObject * obj1 = 0 ;
27992 char * kwnames[] = {
27993 (char *) "self",(char *) "parent", NULL
27994 };
27995
27996 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27997 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27998 if (!SWIG_IsOK(res1)) {
27999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
28000 }
28001 arg1 = reinterpret_cast< wxPrinter * >(argp1);
28002 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28003 if (!SWIG_IsOK(res2)) {
28004 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
28005 }
28006 arg2 = reinterpret_cast< wxWindow * >(argp2);
28007 {
28008 PyThreadState* __tstate = wxPyBeginAllowThreads();
28009 result = (bool)(arg1)->Setup(arg2);
28010 wxPyEndAllowThreads(__tstate);
28011 if (PyErr_Occurred()) SWIG_fail;
28012 }
28013 {
28014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28015 }
28016 return resultobj;
28017fail:
28018 return NULL;
28019}
28020
28021
28022SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28023 PyObject *resultobj = 0;
28024 wxPrinter *arg1 = (wxPrinter *) 0 ;
28025 wxWindow *arg2 = (wxWindow *) 0 ;
28026 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
28027 bool arg4 = (bool) true ;
28028 bool result;
28029 void *argp1 = 0 ;
28030 int res1 = 0 ;
28031 void *argp2 = 0 ;
28032 int res2 = 0 ;
28033 void *argp3 = 0 ;
28034 int res3 = 0 ;
28035 bool val4 ;
28036 int ecode4 = 0 ;
28037 PyObject * obj0 = 0 ;
28038 PyObject * obj1 = 0 ;
28039 PyObject * obj2 = 0 ;
28040 PyObject * obj3 = 0 ;
28041 char * kwnames[] = {
28042 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
28043 };
28044
28045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
28046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
28047 if (!SWIG_IsOK(res1)) {
28048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
28049 }
28050 arg1 = reinterpret_cast< wxPrinter * >(argp1);
28051 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28052 if (!SWIG_IsOK(res2)) {
28053 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
28054 }
28055 arg2 = reinterpret_cast< wxWindow * >(argp2);
28056 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28057 if (!SWIG_IsOK(res3)) {
28058 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
28059 }
28060 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
28061 if (obj3) {
28062 ecode4 = SWIG_AsVal_bool(obj3, &val4);
28063 if (!SWIG_IsOK(ecode4)) {
28064 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
28065 }
28066 arg4 = static_cast< bool >(val4);
28067 }
28068 {
28069 PyThreadState* __tstate = wxPyBeginAllowThreads();
28070 result = (bool)(arg1)->Print(arg2,arg3,arg4);
28071 wxPyEndAllowThreads(__tstate);
28072 if (PyErr_Occurred()) SWIG_fail;
28073 }
28074 {
28075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28076 }
28077 return resultobj;
28078fail:
28079 return NULL;
28080}
28081
28082
28083SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28084 PyObject *resultobj = 0;
28085 wxPrinter *arg1 = (wxPrinter *) 0 ;
28086 wxWindow *arg2 = (wxWindow *) 0 ;
28087 wxDC *result = 0 ;
28088 void *argp1 = 0 ;
28089 int res1 = 0 ;
28090 void *argp2 = 0 ;
28091 int res2 = 0 ;
28092 PyObject * obj0 = 0 ;
28093 PyObject * obj1 = 0 ;
28094 char * kwnames[] = {
28095 (char *) "self",(char *) "parent", NULL
28096 };
28097
28098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
28099 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
28100 if (!SWIG_IsOK(res1)) {
28101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
28102 }
28103 arg1 = reinterpret_cast< wxPrinter * >(argp1);
28104 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28105 if (!SWIG_IsOK(res2)) {
28106 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
28107 }
28108 arg2 = reinterpret_cast< wxWindow * >(argp2);
28109 {
28110 PyThreadState* __tstate = wxPyBeginAllowThreads();
28111 result = (wxDC *)(arg1)->PrintDialog(arg2);
28112 wxPyEndAllowThreads(__tstate);
28113 if (PyErr_Occurred()) SWIG_fail;
28114 }
28115 {
28116 resultobj = wxPyMake_wxObject(result, (bool)0);
28117 }
28118 return resultobj;
28119fail:
28120 return NULL;
d55e5bfc
RD
28121}
28122
28123
554f62e9
RD
28124SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28125 PyObject *resultobj = 0;
28126 wxPrinter *arg1 = (wxPrinter *) 0 ;
28127 wxPrintDialogData *result = 0 ;
28128 void *argp1 = 0 ;
28129 int res1 = 0 ;
28130 PyObject *swig_obj[1] ;
28131
28132 if (!args) SWIG_fail;
28133 swig_obj[0] = args;
28134 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
28135 if (!SWIG_IsOK(res1)) {
28136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
28137 }
28138 arg1 = reinterpret_cast< wxPrinter * >(argp1);
28139 {
28140 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 28141 {
554f62e9
RD
28142 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
28143 result = (wxPrintDialogData *) &_result_ref;
d55e5bfc 28144 }
554f62e9
RD
28145 wxPyEndAllowThreads(__tstate);
28146 if (PyErr_Occurred()) SWIG_fail;
28147 }
28148 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28149 return resultobj;
28150fail:
28151 return NULL;
d55e5bfc
RD
28152}
28153
28154
554f62e9
RD
28155SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28156 PyObject *resultobj = 0;
28157 wxPrinter *arg1 = (wxPrinter *) 0 ;
28158 bool result;
28159 void *argp1 = 0 ;
28160 int res1 = 0 ;
28161 PyObject *swig_obj[1] ;
28162
28163 if (!args) SWIG_fail;
28164 swig_obj[0] = args;
28165 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
28166 if (!SWIG_IsOK(res1)) {
28167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
28168 }
28169 arg1 = reinterpret_cast< wxPrinter * >(argp1);
28170 {
28171 PyThreadState* __tstate = wxPyBeginAllowThreads();
28172 result = (bool)(arg1)->GetAbort();
28173 wxPyEndAllowThreads(__tstate);
28174 if (PyErr_Occurred()) SWIG_fail;
28175 }
28176 {
28177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28178 }
28179 return resultobj;
28180fail:
28181 return NULL;
d55e5bfc
RD
28182}
28183
28184
554f62e9
RD
28185SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28186 PyObject *resultobj = 0;
28187 wxPrinterError result;
28188
28189 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
28190 {
28191 PyThreadState* __tstate = wxPyBeginAllowThreads();
28192 result = (wxPrinterError)wxPrinter::GetLastError();
28193 wxPyEndAllowThreads(__tstate);
28194 if (PyErr_Occurred()) SWIG_fail;
28195 }
28196 resultobj = SWIG_From_int(static_cast< int >(result));
28197 return resultobj;
28198fail:
28199 return NULL;
d55e5bfc
RD
28200}
28201
28202
554f62e9
RD
28203SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28204 PyObject *obj;
28205 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28206 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
28207 return SWIG_Py_Void();
d55e5bfc
RD
28208}
28209
554f62e9
RD
28210SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28211 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
28212}
28213
554f62e9
RD
28214SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28215 PyObject *resultobj = 0;
28216 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
28217 wxString *arg1 = (wxString *) &arg1_defvalue ;
28218 wxPyPrintout *result = 0 ;
28219 bool temp1 = false ;
28220 PyObject * obj0 = 0 ;
28221 char * kwnames[] = {
28222 (char *) "title", NULL
28223 };
28224
28225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
28226 if (obj0) {
d55e5bfc 28227 {
554f62e9
RD
28228 arg1 = wxString_in_helper(obj0);
28229 if (arg1 == NULL) SWIG_fail;
28230 temp1 = true;
28231 }
28232 }
28233 {
28234 if (!wxPyCheckForApp()) SWIG_fail;
28235 PyThreadState* __tstate = wxPyBeginAllowThreads();
28236 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
28237 wxPyEndAllowThreads(__tstate);
28238 if (PyErr_Occurred()) SWIG_fail;
28239 }
28240 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
28241 {
28242 if (temp1)
28243 delete arg1;
28244 }
28245 return resultobj;
28246fail:
28247 {
28248 if (temp1)
28249 delete arg1;
28250 }
28251 return NULL;
d55e5bfc
RD
28252}
28253
28254
554f62e9
RD
28255SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28256 PyObject *resultobj = 0;
28257 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28258 void *argp1 = 0 ;
28259 int res1 = 0 ;
28260 PyObject *swig_obj[1] ;
28261
28262 if (!args) SWIG_fail;
28263 swig_obj[0] = args;
28264 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28265 if (!SWIG_IsOK(res1)) {
28266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28267 }
28268 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28269 {
28270 PyThreadState* __tstate = wxPyBeginAllowThreads();
28271 delete arg1;
d55e5bfc 28272
554f62e9
RD
28273 wxPyEndAllowThreads(__tstate);
28274 if (PyErr_Occurred()) SWIG_fail;
28275 }
28276 resultobj = SWIG_Py_Void();
28277 return resultobj;
28278fail:
28279 return NULL;
28280}
28281
28282
28283SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28284 PyObject *resultobj = 0;
28285 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28286 PyObject *arg2 = (PyObject *) 0 ;
28287 PyObject *arg3 = (PyObject *) 0 ;
28288 void *argp1 = 0 ;
28289 int res1 = 0 ;
28290 PyObject * obj0 = 0 ;
28291 PyObject * obj1 = 0 ;
28292 PyObject * obj2 = 0 ;
28293 char * kwnames[] = {
28294 (char *) "self",(char *) "self",(char *) "_class", NULL
28295 };
28296
28297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28299 if (!SWIG_IsOK(res1)) {
28300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28301 }
28302 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28303 arg2 = obj1;
28304 arg3 = obj2;
28305 {
28306 PyThreadState* __tstate = wxPyBeginAllowThreads();
28307 (arg1)->_setCallbackInfo(arg2,arg3);
28308 wxPyEndAllowThreads(__tstate);
28309 if (PyErr_Occurred()) SWIG_fail;
28310 }
28311 resultobj = SWIG_Py_Void();
28312 return resultobj;
28313fail:
28314 return NULL;
d55e5bfc
RD
28315}
28316
28317
554f62e9
RD
28318SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28319 PyObject *resultobj = 0;
28320 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28321 wxString result;
28322 void *argp1 = 0 ;
28323 int res1 = 0 ;
28324 PyObject *swig_obj[1] ;
28325
28326 if (!args) SWIG_fail;
28327 swig_obj[0] = args;
28328 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28329 if (!SWIG_IsOK(res1)) {
28330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28331 }
28332 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28333 {
28334 PyThreadState* __tstate = wxPyBeginAllowThreads();
28335 result = ((wxPyPrintout const *)arg1)->GetTitle();
28336 wxPyEndAllowThreads(__tstate);
28337 if (PyErr_Occurred()) SWIG_fail;
28338 }
28339 {
28340#if wxUSE_UNICODE
28341 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28342#else
28343 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28344#endif
28345 }
28346 return resultobj;
28347fail:
28348 return NULL;
d55e5bfc
RD
28349}
28350
28351
554f62e9
RD
28352SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28353 PyObject *resultobj = 0;
28354 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28355 wxDC *result = 0 ;
28356 void *argp1 = 0 ;
28357 int res1 = 0 ;
28358 PyObject *swig_obj[1] ;
28359
28360 if (!args) SWIG_fail;
28361 swig_obj[0] = args;
28362 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28363 if (!SWIG_IsOK(res1)) {
28364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28365 }
28366 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28367 {
28368 PyThreadState* __tstate = wxPyBeginAllowThreads();
28369 result = (wxDC *)(arg1)->GetDC();
28370 wxPyEndAllowThreads(__tstate);
28371 if (PyErr_Occurred()) SWIG_fail;
28372 }
28373 {
28374 resultobj = wxPyMake_wxObject(result, (bool)0);
28375 }
28376 return resultobj;
28377fail:
28378 return NULL;
28379}
28380
28381
28382SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28383 PyObject *resultobj = 0;
28384 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28385 wxDC *arg2 = (wxDC *) 0 ;
28386 void *argp1 = 0 ;
28387 int res1 = 0 ;
28388 void *argp2 = 0 ;
28389 int res2 = 0 ;
28390 PyObject * obj0 = 0 ;
28391 PyObject * obj1 = 0 ;
28392 char * kwnames[] = {
28393 (char *) "self",(char *) "dc", NULL
28394 };
28395
28396 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
28397 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28398 if (!SWIG_IsOK(res1)) {
28399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28400 }
28401 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28402 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
28403 if (!SWIG_IsOK(res2)) {
28404 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
28405 }
28406 arg2 = reinterpret_cast< wxDC * >(argp2);
28407 {
28408 PyThreadState* __tstate = wxPyBeginAllowThreads();
28409 (arg1)->SetDC(arg2);
28410 wxPyEndAllowThreads(__tstate);
28411 if (PyErr_Occurred()) SWIG_fail;
28412 }
28413 resultobj = SWIG_Py_Void();
28414 return resultobj;
28415fail:
28416 return NULL;
28417}
28418
28419
70d7cb34
RD
28420SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28421 PyObject *resultobj = 0;
28422 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28423 wxSize *arg2 = 0 ;
28424 void *argp1 = 0 ;
28425 int res1 = 0 ;
28426 wxSize temp2 ;
28427 PyObject * obj0 = 0 ;
28428 PyObject * obj1 = 0 ;
28429 char * kwnames[] = {
28430 (char *) "self",(char *) "imageSize", NULL
28431 };
28432
28433 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPaper",kwnames,&obj0,&obj1)) SWIG_fail;
28434 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28435 if (!SWIG_IsOK(res1)) {
28436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28437 }
28438 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28439 {
28440 arg2 = &temp2;
28441 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28442 }
28443 {
28444 PyThreadState* __tstate = wxPyBeginAllowThreads();
28445 (arg1)->FitThisSizeToPaper((wxSize const &)*arg2);
28446 wxPyEndAllowThreads(__tstate);
28447 if (PyErr_Occurred()) SWIG_fail;
28448 }
28449 resultobj = SWIG_Py_Void();
28450 return resultobj;
28451fail:
28452 return NULL;
28453}
28454
28455
28456SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28457 PyObject *resultobj = 0;
28458 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28459 wxSize *arg2 = 0 ;
28460 void *argp1 = 0 ;
28461 int res1 = 0 ;
28462 wxSize temp2 ;
28463 PyObject * obj0 = 0 ;
28464 PyObject * obj1 = 0 ;
28465 char * kwnames[] = {
28466 (char *) "self",(char *) "imageSize", NULL
28467 };
28468
28469 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPage",kwnames,&obj0,&obj1)) SWIG_fail;
28470 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28471 if (!SWIG_IsOK(res1)) {
28472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28473 }
28474 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28475 {
28476 arg2 = &temp2;
28477 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28478 }
28479 {
28480 PyThreadState* __tstate = wxPyBeginAllowThreads();
28481 (arg1)->FitThisSizeToPage((wxSize const &)*arg2);
28482 wxPyEndAllowThreads(__tstate);
28483 if (PyErr_Occurred()) SWIG_fail;
28484 }
28485 resultobj = SWIG_Py_Void();
28486 return resultobj;
28487fail:
28488 return NULL;
28489}
28490
28491
28492SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28493 PyObject *resultobj = 0;
28494 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28495 wxSize *arg2 = 0 ;
28496 wxPageSetupDialogData *arg3 = 0 ;
28497 void *argp1 = 0 ;
28498 int res1 = 0 ;
28499 wxSize temp2 ;
28500 void *argp3 = 0 ;
28501 int res3 = 0 ;
28502 PyObject * obj0 = 0 ;
28503 PyObject * obj1 = 0 ;
28504 PyObject * obj2 = 0 ;
28505 char * kwnames[] = {
28506 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
28507 };
28508
28509 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames,&obj0,&obj1,&obj2)) 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_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28513 }
28514 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28515 {
28516 arg2 = &temp2;
28517 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28518 }
28519 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28520 if (!SWIG_IsOK(res3)) {
28521 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28522 }
28523 if (!argp3) {
28524 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28525 }
28526 arg3 = reinterpret_cast< wxPageSetupDialogData * >(argp3);
28527 {
28528 PyThreadState* __tstate = wxPyBeginAllowThreads();
28529 (arg1)->FitThisSizeToPageMargins((wxSize const &)*arg2,(wxPageSetupDialogData const &)*arg3);
28530 wxPyEndAllowThreads(__tstate);
28531 if (PyErr_Occurred()) SWIG_fail;
28532 }
28533 resultobj = SWIG_Py_Void();
28534 return resultobj;
28535fail:
28536 return NULL;
28537}
28538
28539
28540SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28541 PyObject *resultobj = 0;
28542 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28543 void *argp1 = 0 ;
28544 int res1 = 0 ;
28545 PyObject *swig_obj[1] ;
28546
28547 if (!args) SWIG_fail;
28548 swig_obj[0] = args;
28549 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28550 if (!SWIG_IsOK(res1)) {
28551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28552 }
28553 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28554 {
28555 PyThreadState* __tstate = wxPyBeginAllowThreads();
28556 (arg1)->MapScreenSizeToPaper();
28557 wxPyEndAllowThreads(__tstate);
28558 if (PyErr_Occurred()) SWIG_fail;
28559 }
28560 resultobj = SWIG_Py_Void();
28561 return resultobj;
28562fail:
28563 return NULL;
28564}
28565
28566
28567SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28568 PyObject *resultobj = 0;
28569 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28570 void *argp1 = 0 ;
28571 int res1 = 0 ;
28572 PyObject *swig_obj[1] ;
28573
28574 if (!args) SWIG_fail;
28575 swig_obj[0] = args;
28576 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28577 if (!SWIG_IsOK(res1)) {
28578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28579 }
28580 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28581 {
28582 PyThreadState* __tstate = wxPyBeginAllowThreads();
28583 (arg1)->MapScreenSizeToPage();
28584 wxPyEndAllowThreads(__tstate);
28585 if (PyErr_Occurred()) SWIG_fail;
28586 }
28587 resultobj = SWIG_Py_Void();
28588 return resultobj;
28589fail:
28590 return NULL;
28591}
28592
28593
28594SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28595 PyObject *resultobj = 0;
28596 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28597 wxPageSetupDialogData *arg2 = 0 ;
28598 void *argp1 = 0 ;
28599 int res1 = 0 ;
28600 void *argp2 = 0 ;
28601 int res2 = 0 ;
28602 PyObject * obj0 = 0 ;
28603 PyObject * obj1 = 0 ;
28604 char * kwnames[] = {
28605 (char *) "self",(char *) "pageSetupData", NULL
28606 };
28607
28608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames,&obj0,&obj1)) SWIG_fail;
28609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28610 if (!SWIG_IsOK(res1)) {
28611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28612 }
28613 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28614 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28615 if (!SWIG_IsOK(res2)) {
28616 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28617 }
28618 if (!argp2) {
28619 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28620 }
28621 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28622 {
28623 PyThreadState* __tstate = wxPyBeginAllowThreads();
28624 (arg1)->MapScreenSizeToPageMargins((wxPageSetupDialogData const &)*arg2);
28625 wxPyEndAllowThreads(__tstate);
28626 if (PyErr_Occurred()) SWIG_fail;
28627 }
28628 resultobj = SWIG_Py_Void();
28629 return resultobj;
28630fail:
28631 return NULL;
28632}
28633
28634
28635SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToDevice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28636 PyObject *resultobj = 0;
28637 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28638 void *argp1 = 0 ;
28639 int res1 = 0 ;
28640 PyObject *swig_obj[1] ;
28641
28642 if (!args) SWIG_fail;
28643 swig_obj[0] = args;
28644 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28645 if (!SWIG_IsOK(res1)) {
28646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28647 }
28648 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28649 {
28650 PyThreadState* __tstate = wxPyBeginAllowThreads();
28651 (arg1)->MapScreenSizeToDevice();
28652 wxPyEndAllowThreads(__tstate);
28653 if (PyErr_Occurred()) SWIG_fail;
28654 }
28655 resultobj = SWIG_Py_Void();
28656 return resultobj;
28657fail:
28658 return NULL;
28659}
28660
28661
28662SWIGINTERN PyObject *_wrap_Printout_GetLogicalPaperRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28663 PyObject *resultobj = 0;
28664 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28665 wxRect result;
28666 void *argp1 = 0 ;
28667 int res1 = 0 ;
28668 PyObject *swig_obj[1] ;
28669
28670 if (!args) SWIG_fail;
28671 swig_obj[0] = args;
28672 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28673 if (!SWIG_IsOK(res1)) {
28674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28675 }
28676 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28677 {
28678 PyThreadState* __tstate = wxPyBeginAllowThreads();
28679 result = ((wxPyPrintout const *)arg1)->GetLogicalPaperRect();
28680 wxPyEndAllowThreads(__tstate);
28681 if (PyErr_Occurred()) SWIG_fail;
28682 }
28683 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28684 return resultobj;
28685fail:
28686 return NULL;
28687}
28688
28689
28690SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28691 PyObject *resultobj = 0;
28692 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28693 wxRect result;
28694 void *argp1 = 0 ;
28695 int res1 = 0 ;
28696 PyObject *swig_obj[1] ;
28697
28698 if (!args) SWIG_fail;
28699 swig_obj[0] = args;
28700 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28701 if (!SWIG_IsOK(res1)) {
28702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28703 }
28704 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28705 {
28706 PyThreadState* __tstate = wxPyBeginAllowThreads();
28707 result = ((wxPyPrintout const *)arg1)->GetLogicalPageRect();
28708 wxPyEndAllowThreads(__tstate);
28709 if (PyErr_Occurred()) SWIG_fail;
28710 }
28711 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28712 return resultobj;
28713fail:
28714 return NULL;
28715}
28716
28717
28718SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageMarginsRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28719 PyObject *resultobj = 0;
28720 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28721 wxPageSetupDialogData *arg2 = 0 ;
28722 wxRect result;
28723 void *argp1 = 0 ;
28724 int res1 = 0 ;
28725 void *argp2 = 0 ;
28726 int res2 = 0 ;
28727 PyObject * obj0 = 0 ;
28728 PyObject * obj1 = 0 ;
28729 char * kwnames[] = {
28730 (char *) "self",(char *) "pageSetupData", NULL
28731 };
28732
28733 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames,&obj0,&obj1)) SWIG_fail;
28734 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28735 if (!SWIG_IsOK(res1)) {
28736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28737 }
28738 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28739 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28740 if (!SWIG_IsOK(res2)) {
28741 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28742 }
28743 if (!argp2) {
28744 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28745 }
28746 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28747 {
28748 PyThreadState* __tstate = wxPyBeginAllowThreads();
28749 result = ((wxPyPrintout const *)arg1)->GetLogicalPageMarginsRect((wxPageSetupDialogData const &)*arg2);
28750 wxPyEndAllowThreads(__tstate);
28751 if (PyErr_Occurred()) SWIG_fail;
28752 }
28753 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28754 return resultobj;
28755fail:
28756 return NULL;
28757}
28758
28759
28760SWIGINTERN PyObject *_wrap_Printout_SetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28761 PyObject *resultobj = 0;
28762 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28763 int arg2 ;
28764 int arg3 ;
28765 void *argp1 = 0 ;
28766 int res1 = 0 ;
28767 int val2 ;
28768 int ecode2 = 0 ;
28769 int val3 ;
28770 int ecode3 = 0 ;
28771 PyObject * obj0 = 0 ;
28772 PyObject * obj1 = 0 ;
28773 PyObject * obj2 = 0 ;
28774 char * kwnames[] = {
28775 (char *) "self",(char *) "x",(char *) "y", NULL
28776 };
28777
28778 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28779 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28780 if (!SWIG_IsOK(res1)) {
28781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28782 }
28783 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28784 ecode2 = SWIG_AsVal_int(obj1, &val2);
28785 if (!SWIG_IsOK(ecode2)) {
28786 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28787 }
28788 arg2 = static_cast< int >(val2);
28789 ecode3 = SWIG_AsVal_int(obj2, &val3);
28790 if (!SWIG_IsOK(ecode3)) {
28791 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28792 }
28793 arg3 = static_cast< int >(val3);
28794 {
28795 PyThreadState* __tstate = wxPyBeginAllowThreads();
28796 (arg1)->SetLogicalOrigin(arg2,arg3);
28797 wxPyEndAllowThreads(__tstate);
28798 if (PyErr_Occurred()) SWIG_fail;
28799 }
28800 resultobj = SWIG_Py_Void();
28801 return resultobj;
28802fail:
28803 return NULL;
28804}
28805
28806
28807SWIGINTERN PyObject *_wrap_Printout_OffsetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28808 PyObject *resultobj = 0;
28809 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28810 int arg2 ;
28811 int arg3 ;
28812 void *argp1 = 0 ;
28813 int res1 = 0 ;
28814 int val2 ;
28815 int ecode2 = 0 ;
28816 int val3 ;
28817 int ecode3 = 0 ;
28818 PyObject * obj0 = 0 ;
28819 PyObject * obj1 = 0 ;
28820 PyObject * obj2 = 0 ;
28821 char * kwnames[] = {
28822 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28823 };
28824
28825 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28826 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28827 if (!SWIG_IsOK(res1)) {
28828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28829 }
28830 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28831 ecode2 = SWIG_AsVal_int(obj1, &val2);
28832 if (!SWIG_IsOK(ecode2)) {
28833 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28834 }
28835 arg2 = static_cast< int >(val2);
28836 ecode3 = SWIG_AsVal_int(obj2, &val3);
28837 if (!SWIG_IsOK(ecode3)) {
28838 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28839 }
28840 arg3 = static_cast< int >(val3);
28841 {
28842 PyThreadState* __tstate = wxPyBeginAllowThreads();
28843 (arg1)->OffsetLogicalOrigin(arg2,arg3);
28844 wxPyEndAllowThreads(__tstate);
28845 if (PyErr_Occurred()) SWIG_fail;
28846 }
28847 resultobj = SWIG_Py_Void();
28848 return resultobj;
28849fail:
28850 return NULL;
28851}
28852
28853
554f62e9
RD
28854SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28855 PyObject *resultobj = 0;
28856 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28857 int arg2 ;
28858 int arg3 ;
28859 void *argp1 = 0 ;
28860 int res1 = 0 ;
28861 int val2 ;
28862 int ecode2 = 0 ;
28863 int val3 ;
28864 int ecode3 = 0 ;
28865 PyObject * obj0 = 0 ;
28866 PyObject * obj1 = 0 ;
28867 PyObject * obj2 = 0 ;
28868 char * kwnames[] = {
28869 (char *) "self",(char *) "w",(char *) "h", NULL
28870 };
28871
28872 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28873 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28874 if (!SWIG_IsOK(res1)) {
28875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28876 }
28877 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28878 ecode2 = SWIG_AsVal_int(obj1, &val2);
28879 if (!SWIG_IsOK(ecode2)) {
28880 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28881 }
28882 arg2 = static_cast< int >(val2);
28883 ecode3 = SWIG_AsVal_int(obj2, &val3);
28884 if (!SWIG_IsOK(ecode3)) {
28885 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28886 }
28887 arg3 = static_cast< int >(val3);
28888 {
28889 PyThreadState* __tstate = wxPyBeginAllowThreads();
28890 (arg1)->SetPageSizePixels(arg2,arg3);
28891 wxPyEndAllowThreads(__tstate);
28892 if (PyErr_Occurred()) SWIG_fail;
28893 }
28894 resultobj = SWIG_Py_Void();
28895 return resultobj;
28896fail:
28897 return NULL;
28898}
28899
28900
28901SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28902 PyObject *resultobj = 0;
28903 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28904 int *arg2 = (int *) 0 ;
28905 int *arg3 = (int *) 0 ;
28906 void *argp1 = 0 ;
28907 int res1 = 0 ;
28908 int temp2 ;
28909 int res2 = SWIG_TMPOBJ ;
28910 int temp3 ;
28911 int res3 = SWIG_TMPOBJ ;
28912 PyObject *swig_obj[1] ;
28913
28914 arg2 = &temp2;
28915 arg3 = &temp3;
28916 if (!args) SWIG_fail;
28917 swig_obj[0] = args;
28918 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28919 if (!SWIG_IsOK(res1)) {
28920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28921 }
28922 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28923 {
28924 PyThreadState* __tstate = wxPyBeginAllowThreads();
28925 (arg1)->GetPageSizePixels(arg2,arg3);
28926 wxPyEndAllowThreads(__tstate);
28927 if (PyErr_Occurred()) SWIG_fail;
28928 }
28929 resultobj = SWIG_Py_Void();
28930 if (SWIG_IsTmpObj(res2)) {
28931 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28932 } else {
28933 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28934 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28935 }
28936 if (SWIG_IsTmpObj(res3)) {
28937 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28938 } else {
28939 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28940 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28941 }
28942 return resultobj;
28943fail:
28944 return NULL;
28945}
28946
28947
28948SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28949 PyObject *resultobj = 0;
28950 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28951 int arg2 ;
28952 int arg3 ;
28953 void *argp1 = 0 ;
28954 int res1 = 0 ;
28955 int val2 ;
28956 int ecode2 = 0 ;
28957 int val3 ;
28958 int ecode3 = 0 ;
28959 PyObject * obj0 = 0 ;
28960 PyObject * obj1 = 0 ;
28961 PyObject * obj2 = 0 ;
28962 char * kwnames[] = {
28963 (char *) "self",(char *) "w",(char *) "h", NULL
28964 };
28965
28966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28968 if (!SWIG_IsOK(res1)) {
28969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28970 }
28971 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28972 ecode2 = SWIG_AsVal_int(obj1, &val2);
28973 if (!SWIG_IsOK(ecode2)) {
28974 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28975 }
28976 arg2 = static_cast< int >(val2);
28977 ecode3 = SWIG_AsVal_int(obj2, &val3);
28978 if (!SWIG_IsOK(ecode3)) {
28979 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28980 }
28981 arg3 = static_cast< int >(val3);
28982 {
28983 PyThreadState* __tstate = wxPyBeginAllowThreads();
28984 (arg1)->SetPageSizeMM(arg2,arg3);
28985 wxPyEndAllowThreads(__tstate);
28986 if (PyErr_Occurred()) SWIG_fail;
28987 }
28988 resultobj = SWIG_Py_Void();
28989 return resultobj;
28990fail:
28991 return NULL;
28992}
28993
28994
28995SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28996 PyObject *resultobj = 0;
28997 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28998 int *arg2 = (int *) 0 ;
28999 int *arg3 = (int *) 0 ;
29000 void *argp1 = 0 ;
29001 int res1 = 0 ;
29002 int temp2 ;
29003 int res2 = SWIG_TMPOBJ ;
29004 int temp3 ;
29005 int res3 = SWIG_TMPOBJ ;
29006 PyObject *swig_obj[1] ;
29007
29008 arg2 = &temp2;
29009 arg3 = &temp3;
29010 if (!args) SWIG_fail;
29011 swig_obj[0] = args;
29012 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29013 if (!SWIG_IsOK(res1)) {
29014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29015 }
29016 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29017 {
29018 PyThreadState* __tstate = wxPyBeginAllowThreads();
29019 (arg1)->GetPageSizeMM(arg2,arg3);
29020 wxPyEndAllowThreads(__tstate);
29021 if (PyErr_Occurred()) SWIG_fail;
29022 }
29023 resultobj = SWIG_Py_Void();
29024 if (SWIG_IsTmpObj(res2)) {
29025 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
29026 } else {
29027 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29028 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
29029 }
29030 if (SWIG_IsTmpObj(res3)) {
29031 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
29032 } else {
29033 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29034 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
29035 }
29036 return resultobj;
29037fail:
29038 return NULL;
29039}
29040
29041
29042SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29043 PyObject *resultobj = 0;
29044 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29045 int arg2 ;
29046 int arg3 ;
29047 void *argp1 = 0 ;
29048 int res1 = 0 ;
29049 int val2 ;
29050 int ecode2 = 0 ;
29051 int val3 ;
29052 int ecode3 = 0 ;
29053 PyObject * obj0 = 0 ;
29054 PyObject * obj1 = 0 ;
29055 PyObject * obj2 = 0 ;
29056 char * kwnames[] = {
29057 (char *) "self",(char *) "x",(char *) "y", NULL
29058 };
29059
29060 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29061 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29062 if (!SWIG_IsOK(res1)) {
29063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29064 }
29065 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29066 ecode2 = SWIG_AsVal_int(obj1, &val2);
29067 if (!SWIG_IsOK(ecode2)) {
29068 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
29069 }
29070 arg2 = static_cast< int >(val2);
29071 ecode3 = SWIG_AsVal_int(obj2, &val3);
29072 if (!SWIG_IsOK(ecode3)) {
29073 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
29074 }
29075 arg3 = static_cast< int >(val3);
29076 {
29077 PyThreadState* __tstate = wxPyBeginAllowThreads();
29078 (arg1)->SetPPIScreen(arg2,arg3);
29079 wxPyEndAllowThreads(__tstate);
29080 if (PyErr_Occurred()) SWIG_fail;
29081 }
29082 resultobj = SWIG_Py_Void();
29083 return resultobj;
29084fail:
29085 return NULL;
29086}
29087
29088
29089SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29090 PyObject *resultobj = 0;
29091 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29092 int *arg2 = (int *) 0 ;
29093 int *arg3 = (int *) 0 ;
29094 void *argp1 = 0 ;
29095 int res1 = 0 ;
29096 int temp2 ;
29097 int res2 = SWIG_TMPOBJ ;
29098 int temp3 ;
29099 int res3 = SWIG_TMPOBJ ;
29100 PyObject *swig_obj[1] ;
29101
29102 arg2 = &temp2;
29103 arg3 = &temp3;
29104 if (!args) SWIG_fail;
29105 swig_obj[0] = args;
29106 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29107 if (!SWIG_IsOK(res1)) {
29108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29109 }
29110 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29111 {
29112 PyThreadState* __tstate = wxPyBeginAllowThreads();
29113 (arg1)->GetPPIScreen(arg2,arg3);
29114 wxPyEndAllowThreads(__tstate);
29115 if (PyErr_Occurred()) SWIG_fail;
29116 }
29117 resultobj = SWIG_Py_Void();
29118 if (SWIG_IsTmpObj(res2)) {
29119 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
29120 } else {
29121 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29122 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
29123 }
29124 if (SWIG_IsTmpObj(res3)) {
29125 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
29126 } else {
29127 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29128 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
29129 }
29130 return resultobj;
29131fail:
29132 return NULL;
29133}
29134
29135
29136SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29137 PyObject *resultobj = 0;
29138 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29139 int arg2 ;
29140 int arg3 ;
29141 void *argp1 = 0 ;
29142 int res1 = 0 ;
29143 int val2 ;
29144 int ecode2 = 0 ;
29145 int val3 ;
29146 int ecode3 = 0 ;
29147 PyObject * obj0 = 0 ;
29148 PyObject * obj1 = 0 ;
29149 PyObject * obj2 = 0 ;
29150 char * kwnames[] = {
29151 (char *) "self",(char *) "x",(char *) "y", NULL
29152 };
29153
29154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29156 if (!SWIG_IsOK(res1)) {
29157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29158 }
29159 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29160 ecode2 = SWIG_AsVal_int(obj1, &val2);
29161 if (!SWIG_IsOK(ecode2)) {
29162 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
29163 }
29164 arg2 = static_cast< int >(val2);
29165 ecode3 = SWIG_AsVal_int(obj2, &val3);
29166 if (!SWIG_IsOK(ecode3)) {
29167 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
29168 }
29169 arg3 = static_cast< int >(val3);
29170 {
29171 PyThreadState* __tstate = wxPyBeginAllowThreads();
29172 (arg1)->SetPPIPrinter(arg2,arg3);
29173 wxPyEndAllowThreads(__tstate);
29174 if (PyErr_Occurred()) SWIG_fail;
29175 }
29176 resultobj = SWIG_Py_Void();
29177 return resultobj;
29178fail:
29179 return NULL;
29180}
29181
29182
29183SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29184 PyObject *resultobj = 0;
29185 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29186 int *arg2 = (int *) 0 ;
29187 int *arg3 = (int *) 0 ;
29188 void *argp1 = 0 ;
29189 int res1 = 0 ;
29190 int temp2 ;
29191 int res2 = SWIG_TMPOBJ ;
29192 int temp3 ;
29193 int res3 = SWIG_TMPOBJ ;
29194 PyObject *swig_obj[1] ;
29195
29196 arg2 = &temp2;
29197 arg3 = &temp3;
29198 if (!args) SWIG_fail;
29199 swig_obj[0] = args;
29200 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29201 if (!SWIG_IsOK(res1)) {
29202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29203 }
29204 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29205 {
29206 PyThreadState* __tstate = wxPyBeginAllowThreads();
29207 (arg1)->GetPPIPrinter(arg2,arg3);
29208 wxPyEndAllowThreads(__tstate);
29209 if (PyErr_Occurred()) SWIG_fail;
29210 }
29211 resultobj = SWIG_Py_Void();
29212 if (SWIG_IsTmpObj(res2)) {
29213 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
29214 } else {
29215 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29216 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
29217 }
29218 if (SWIG_IsTmpObj(res3)) {
29219 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
29220 } else {
29221 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29222 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
29223 }
29224 return resultobj;
29225fail:
29226 return NULL;
d55e5bfc
RD
29227}
29228
29229
70d7cb34
RD
29230SWIGINTERN PyObject *_wrap_Printout_SetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29231 PyObject *resultobj = 0;
29232 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29233 wxRect *arg2 = 0 ;
29234 void *argp1 = 0 ;
29235 int res1 = 0 ;
29236 wxRect temp2 ;
29237 PyObject * obj0 = 0 ;
29238 PyObject * obj1 = 0 ;
29239 char * kwnames[] = {
29240 (char *) "self",(char *) "paperRectPixels", NULL
29241 };
29242
29243 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetPaperRectPixels",kwnames,&obj0,&obj1)) SWIG_fail;
29244 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29245 if (!SWIG_IsOK(res1)) {
29246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29247 }
29248 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29249 {
29250 arg2 = &temp2;
29251 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
29252 }
29253 {
29254 PyThreadState* __tstate = wxPyBeginAllowThreads();
29255 (arg1)->SetPaperRectPixels((wxRect const &)*arg2);
29256 wxPyEndAllowThreads(__tstate);
29257 if (PyErr_Occurred()) SWIG_fail;
29258 }
29259 resultobj = SWIG_Py_Void();
29260 return resultobj;
29261fail:
29262 return NULL;
29263}
29264
29265
29266SWIGINTERN PyObject *_wrap_Printout_GetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29267 PyObject *resultobj = 0;
29268 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29269 wxRect result;
29270 void *argp1 = 0 ;
29271 int res1 = 0 ;
29272 PyObject *swig_obj[1] ;
29273
29274 if (!args) SWIG_fail;
29275 swig_obj[0] = args;
29276 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29277 if (!SWIG_IsOK(res1)) {
29278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
29279 }
29280 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29281 {
29282 PyThreadState* __tstate = wxPyBeginAllowThreads();
29283 result = ((wxPyPrintout const *)arg1)->GetPaperRectPixels();
29284 wxPyEndAllowThreads(__tstate);
29285 if (PyErr_Occurred()) SWIG_fail;
29286 }
29287 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
29288 return resultobj;
29289fail:
29290 return NULL;
29291}
29292
29293
554f62e9
RD
29294SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29295 PyObject *resultobj = 0;
29296 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29297 bool result;
29298 void *argp1 = 0 ;
29299 int res1 = 0 ;
29300 PyObject *swig_obj[1] ;
29301
29302 if (!args) SWIG_fail;
29303 swig_obj[0] = args;
29304 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29305 if (!SWIG_IsOK(res1)) {
29306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29307 }
29308 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29309 {
29310 PyThreadState* __tstate = wxPyBeginAllowThreads();
29311 result = (bool)(arg1)->IsPreview();
29312 wxPyEndAllowThreads(__tstate);
29313 if (PyErr_Occurred()) SWIG_fail;
29314 }
29315 {
29316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29317 }
29318 return resultobj;
29319fail:
29320 return NULL;
29321}
29322
29323
29324SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29325 PyObject *resultobj = 0;
29326 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29327 bool arg2 ;
29328 void *argp1 = 0 ;
29329 int res1 = 0 ;
29330 bool val2 ;
29331 int ecode2 = 0 ;
29332 PyObject * obj0 = 0 ;
29333 PyObject * obj1 = 0 ;
29334 char * kwnames[] = {
29335 (char *) "self",(char *) "p", NULL
29336 };
29337
29338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
29339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29340 if (!SWIG_IsOK(res1)) {
29341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29342 }
29343 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29344 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29345 if (!SWIG_IsOK(ecode2)) {
29346 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
29347 }
29348 arg2 = static_cast< bool >(val2);
29349 {
29350 PyThreadState* __tstate = wxPyBeginAllowThreads();
29351 (arg1)->SetIsPreview(arg2);
29352 wxPyEndAllowThreads(__tstate);
29353 if (PyErr_Occurred()) SWIG_fail;
29354 }
29355 resultobj = SWIG_Py_Void();
29356 return resultobj;
29357fail:
29358 return NULL;
29359}
29360
29361
29362SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29363 PyObject *resultobj = 0;
29364 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29365 int arg2 ;
29366 int arg3 ;
29367 bool result;
29368 void *argp1 = 0 ;
29369 int res1 = 0 ;
29370 int val2 ;
29371 int ecode2 = 0 ;
29372 int val3 ;
29373 int ecode3 = 0 ;
29374 PyObject * obj0 = 0 ;
29375 PyObject * obj1 = 0 ;
29376 PyObject * obj2 = 0 ;
29377 char * kwnames[] = {
29378 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
29379 };
29380
29381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29383 if (!SWIG_IsOK(res1)) {
29384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29385 }
29386 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29387 ecode2 = SWIG_AsVal_int(obj1, &val2);
29388 if (!SWIG_IsOK(ecode2)) {
29389 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
29390 }
29391 arg2 = static_cast< int >(val2);
29392 ecode3 = SWIG_AsVal_int(obj2, &val3);
29393 if (!SWIG_IsOK(ecode3)) {
29394 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
29395 }
29396 arg3 = static_cast< int >(val3);
29397 {
29398 PyThreadState* __tstate = wxPyBeginAllowThreads();
29399 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
29400 wxPyEndAllowThreads(__tstate);
29401 if (PyErr_Occurred()) SWIG_fail;
29402 }
29403 {
29404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29405 }
29406 return resultobj;
29407fail:
29408 return NULL;
d55e5bfc
RD
29409}
29410
29411
554f62e9
RD
29412SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29413 PyObject *resultobj = 0;
29414 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29415 void *argp1 = 0 ;
29416 int res1 = 0 ;
29417 PyObject *swig_obj[1] ;
29418
29419 if (!args) SWIG_fail;
29420 swig_obj[0] = args;
29421 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29422 if (!SWIG_IsOK(res1)) {
29423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29424 }
29425 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29426 {
29427 PyThreadState* __tstate = wxPyBeginAllowThreads();
29428 (arg1)->OnEndDocument();
29429 wxPyEndAllowThreads(__tstate);
29430 if (PyErr_Occurred()) SWIG_fail;
29431 }
29432 resultobj = SWIG_Py_Void();
29433 return resultobj;
29434fail:
29435 return NULL;
caef1a4d
RD
29436}
29437
29438
554f62e9
RD
29439SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29440 PyObject *resultobj = 0;
29441 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29442 void *argp1 = 0 ;
29443 int res1 = 0 ;
29444 PyObject *swig_obj[1] ;
29445
29446 if (!args) SWIG_fail;
29447 swig_obj[0] = args;
29448 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29449 if (!SWIG_IsOK(res1)) {
29450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29451 }
29452 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29453 {
29454 PyThreadState* __tstate = wxPyBeginAllowThreads();
29455 (arg1)->OnBeginPrinting();
29456 wxPyEndAllowThreads(__tstate);
29457 if (PyErr_Occurred()) SWIG_fail;
29458 }
29459 resultobj = SWIG_Py_Void();
29460 return resultobj;
29461fail:
29462 return NULL;
60d5fcc1
RD
29463}
29464
29465
554f62e9
RD
29466SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29467 PyObject *resultobj = 0;
29468 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29469 void *argp1 = 0 ;
29470 int res1 = 0 ;
29471 PyObject *swig_obj[1] ;
29472
29473 if (!args) SWIG_fail;
29474 swig_obj[0] = args;
29475 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29476 if (!SWIG_IsOK(res1)) {
29477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29478 }
29479 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29480 {
29481 PyThreadState* __tstate = wxPyBeginAllowThreads();
29482 (arg1)->OnEndPrinting();
29483 wxPyEndAllowThreads(__tstate);
29484 if (PyErr_Occurred()) SWIG_fail;
29485 }
29486 resultobj = SWIG_Py_Void();
29487 return resultobj;
29488fail:
29489 return NULL;
d55e5bfc
RD
29490}
29491
29492
554f62e9
RD
29493SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29494 PyObject *resultobj = 0;
29495 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29496 void *argp1 = 0 ;
29497 int res1 = 0 ;
29498 PyObject *swig_obj[1] ;
29499
29500 if (!args) SWIG_fail;
29501 swig_obj[0] = args;
29502 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29503 if (!SWIG_IsOK(res1)) {
29504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29505 }
29506 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29507 {
29508 PyThreadState* __tstate = wxPyBeginAllowThreads();
29509 (arg1)->OnPreparePrinting();
29510 wxPyEndAllowThreads(__tstate);
29511 if (PyErr_Occurred()) SWIG_fail;
29512 }
29513 resultobj = SWIG_Py_Void();
29514 return resultobj;
29515fail:
29516 return NULL;
29517}
29518
29519
29520SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29521 PyObject *resultobj = 0;
29522 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29523 int arg2 ;
29524 bool result;
29525 void *argp1 = 0 ;
29526 int res1 = 0 ;
29527 int val2 ;
29528 int ecode2 = 0 ;
29529 PyObject * obj0 = 0 ;
29530 PyObject * obj1 = 0 ;
29531 char * kwnames[] = {
29532 (char *) "self",(char *) "page", NULL
29533 };
29534
29535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
29536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29537 if (!SWIG_IsOK(res1)) {
29538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29539 }
29540 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29541 ecode2 = SWIG_AsVal_int(obj1, &val2);
29542 if (!SWIG_IsOK(ecode2)) {
29543 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
29544 }
29545 arg2 = static_cast< int >(val2);
29546 {
29547 PyThreadState* __tstate = wxPyBeginAllowThreads();
29548 result = (bool)(arg1)->HasPage(arg2);
29549 wxPyEndAllowThreads(__tstate);
29550 if (PyErr_Occurred()) SWIG_fail;
29551 }
29552 {
29553 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29554 }
29555 return resultobj;
29556fail:
29557 return NULL;
29558}
29559
29560
29561SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29562 PyObject *resultobj = 0;
29563 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29564 int *arg2 = (int *) 0 ;
29565 int *arg3 = (int *) 0 ;
29566 int *arg4 = (int *) 0 ;
29567 int *arg5 = (int *) 0 ;
29568 void *argp1 = 0 ;
29569 int res1 = 0 ;
29570 int temp2 ;
29571 int res2 = SWIG_TMPOBJ ;
29572 int temp3 ;
29573 int res3 = SWIG_TMPOBJ ;
29574 int temp4 ;
29575 int res4 = SWIG_TMPOBJ ;
29576 int temp5 ;
29577 int res5 = SWIG_TMPOBJ ;
29578 PyObject *swig_obj[1] ;
29579
29580 arg2 = &temp2;
29581 arg3 = &temp3;
29582 arg4 = &temp4;
29583 arg5 = &temp5;
29584 if (!args) SWIG_fail;
29585 swig_obj[0] = args;
29586 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29587 if (!SWIG_IsOK(res1)) {
29588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29589 }
29590 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29591 {
29592 PyThreadState* __tstate = wxPyBeginAllowThreads();
29593 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
29594 wxPyEndAllowThreads(__tstate);
29595 if (PyErr_Occurred()) SWIG_fail;
29596 }
29597 resultobj = SWIG_Py_Void();
29598 if (SWIG_IsTmpObj(res2)) {
29599 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
29600 } else {
29601 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29602 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
29603 }
29604 if (SWIG_IsTmpObj(res3)) {
29605 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
29606 } else {
29607 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29608 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
29609 }
29610 if (SWIG_IsTmpObj(res4)) {
29611 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
29612 } else {
29613 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29614 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
29615 }
29616 if (SWIG_IsTmpObj(res5)) {
29617 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
29618 } else {
29619 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29620 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
29621 }
29622 return resultobj;
29623fail:
29624 return NULL;
29625}
29626
29627
29628SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29629 PyObject *obj;
29630 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29631 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
29632 return SWIG_Py_Void();
29633}
29634
29635SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29636 return SWIG_Python_InitShadowInstance(args);
29637}
29638
29639SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29640 PyObject *resultobj = 0;
29641 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29642 wxWindow *arg2 = (wxWindow *) 0 ;
29643 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29644 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29645 wxSize const &arg4_defvalue = wxDefaultSize ;
29646 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29647 long arg5 = (long) 0 ;
29648 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
29649 wxString *arg6 = (wxString *) &arg6_defvalue ;
29650 wxPreviewCanvas *result = 0 ;
29651 void *argp1 = 0 ;
29652 int res1 = 0 ;
29653 void *argp2 = 0 ;
29654 int res2 = 0 ;
29655 wxPoint temp3 ;
29656 wxSize temp4 ;
29657 long val5 ;
29658 int ecode5 = 0 ;
29659 bool temp6 = false ;
29660 PyObject * obj0 = 0 ;
29661 PyObject * obj1 = 0 ;
29662 PyObject * obj2 = 0 ;
29663 PyObject * obj3 = 0 ;
29664 PyObject * obj4 = 0 ;
29665 PyObject * obj5 = 0 ;
29666 char * kwnames[] = {
29667 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29668 };
29669
29670 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
29671 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29672 if (!SWIG_IsOK(res1)) {
29673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29674 }
29675 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29676 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29677 if (!SWIG_IsOK(res2)) {
29678 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29679 }
29680 arg2 = reinterpret_cast< wxWindow * >(argp2);
29681 if (obj2) {
093d3ff1 29682 {
554f62e9
RD
29683 arg3 = &temp3;
29684 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 29685 }
554f62e9
RD
29686 }
29687 if (obj3) {
093d3ff1 29688 {
554f62e9
RD
29689 arg4 = &temp4;
29690 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 29691 }
554f62e9
RD
29692 }
29693 if (obj4) {
29694 ecode5 = SWIG_AsVal_long(obj4, &val5);
29695 if (!SWIG_IsOK(ecode5)) {
29696 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29697 }
29698 arg5 = static_cast< long >(val5);
29699 }
29700 if (obj5) {
093d3ff1 29701 {
554f62e9
RD
29702 arg6 = wxString_in_helper(obj5);
29703 if (arg6 == NULL) SWIG_fail;
29704 temp6 = true;
093d3ff1 29705 }
554f62e9
RD
29706 }
29707 {
29708 if (!wxPyCheckForApp()) SWIG_fail;
29709 PyThreadState* __tstate = wxPyBeginAllowThreads();
29710 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
29711 wxPyEndAllowThreads(__tstate);
29712 if (PyErr_Occurred()) SWIG_fail;
29713 }
29714 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
29715 {
29716 if (temp6)
29717 delete arg6;
29718 }
29719 return resultobj;
29720fail:
29721 {
29722 if (temp6)
29723 delete arg6;
29724 }
29725 return NULL;
29726}
29727
29728
29729SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29730 PyObject *obj;
29731 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29732 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
29733 return SWIG_Py_Void();
29734}
29735
29736SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29737 return SWIG_Python_InitShadowInstance(args);
29738}
29739
29740SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29741 PyObject *resultobj = 0;
29742 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29743 wxFrame *arg2 = (wxFrame *) 0 ;
29744 wxString *arg3 = 0 ;
29745 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29746 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29747 wxSize const &arg5_defvalue = wxDefaultSize ;
29748 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29749 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
29750 wxString const &arg7_defvalue = wxPyFrameNameStr ;
29751 wxString *arg7 = (wxString *) &arg7_defvalue ;
29752 wxPreviewFrame *result = 0 ;
29753 int res1 = 0 ;
29754 void *argp2 = 0 ;
29755 int res2 = 0 ;
29756 bool temp3 = false ;
29757 wxPoint temp4 ;
29758 wxSize temp5 ;
29759 long val6 ;
29760 int ecode6 = 0 ;
29761 bool temp7 = false ;
29762 PyObject * obj0 = 0 ;
29763 PyObject * obj1 = 0 ;
29764 PyObject * obj2 = 0 ;
29765 PyObject * obj3 = 0 ;
29766 PyObject * obj4 = 0 ;
29767 PyObject * obj5 = 0 ;
29768 PyObject * obj6 = 0 ;
29769 char * kwnames[] = {
29770 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29771 };
29772
29773 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29774 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29775 if (!SWIG_IsOK(res1)) {
29776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29777 }
29778 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29779 if (!SWIG_IsOK(res2)) {
29780 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29781 }
29782 arg2 = reinterpret_cast< wxFrame * >(argp2);
29783 {
29784 arg3 = wxString_in_helper(obj2);
29785 if (arg3 == NULL) SWIG_fail;
29786 temp3 = true;
29787 }
29788 if (obj3) {
093d3ff1 29789 {
554f62e9
RD
29790 arg4 = &temp4;
29791 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 29792 }
554f62e9
RD
29793 }
29794 if (obj4) {
d55e5bfc 29795 {
554f62e9
RD
29796 arg5 = &temp5;
29797 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 29798 }
554f62e9
RD
29799 }
29800 if (obj5) {
29801 ecode6 = SWIG_AsVal_long(obj5, &val6);
29802 if (!SWIG_IsOK(ecode6)) {
29803 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29804 }
29805 arg6 = static_cast< long >(val6);
29806 }
29807 if (obj6) {
093d3ff1 29808 {
554f62e9
RD
29809 arg7 = wxString_in_helper(obj6);
29810 if (arg7 == NULL) SWIG_fail;
29811 temp7 = true;
093d3ff1 29812 }
554f62e9
RD
29813 }
29814 {
29815 if (!wxPyCheckForApp()) SWIG_fail;
29816 PyThreadState* __tstate = wxPyBeginAllowThreads();
29817 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29818 wxPyEndAllowThreads(__tstate);
29819 if (PyErr_Occurred()) SWIG_fail;
29820 }
29821 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
29822 {
29823 if (temp3)
29824 delete arg3;
29825 }
29826 {
29827 if (temp7)
29828 delete arg7;
29829 }
29830 return resultobj;
29831fail:
29832 {
29833 if (temp3)
29834 delete arg3;
29835 }
29836 {
29837 if (temp7)
29838 delete arg7;
29839 }
29840 return NULL;
d55e5bfc
RD
29841}
29842
29843
554f62e9
RD
29844SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29845 PyObject *resultobj = 0;
29846 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29847 void *argp1 = 0 ;
29848 int res1 = 0 ;
29849 PyObject *swig_obj[1] ;
29850
29851 if (!args) SWIG_fail;
29852 swig_obj[0] = args;
29853 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29854 if (!SWIG_IsOK(res1)) {
29855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29856 }
29857 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29858 {
29859 PyThreadState* __tstate = wxPyBeginAllowThreads();
29860 (arg1)->Initialize();
29861 wxPyEndAllowThreads(__tstate);
29862 if (PyErr_Occurred()) SWIG_fail;
29863 }
29864 resultobj = SWIG_Py_Void();
29865 return resultobj;
29866fail:
29867 return NULL;
d55e5bfc
RD
29868}
29869
29870
554f62e9
RD
29871SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29872 PyObject *resultobj = 0;
29873 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29874 void *argp1 = 0 ;
29875 int res1 = 0 ;
29876 PyObject *swig_obj[1] ;
29877
29878 if (!args) SWIG_fail;
29879 swig_obj[0] = args;
29880 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29881 if (!SWIG_IsOK(res1)) {
29882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29883 }
29884 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29885 {
29886 PyThreadState* __tstate = wxPyBeginAllowThreads();
29887 (arg1)->CreateControlBar();
29888 wxPyEndAllowThreads(__tstate);
29889 if (PyErr_Occurred()) SWIG_fail;
29890 }
29891 resultobj = SWIG_Py_Void();
29892 return resultobj;
29893fail:
29894 return NULL;
d55e5bfc
RD
29895}
29896
29897
554f62e9
RD
29898SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29899 PyObject *resultobj = 0;
29900 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29901 void *argp1 = 0 ;
29902 int res1 = 0 ;
29903 PyObject *swig_obj[1] ;
29904
29905 if (!args) SWIG_fail;
29906 swig_obj[0] = args;
29907 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29908 if (!SWIG_IsOK(res1)) {
29909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29910 }
29911 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29912 {
29913 PyThreadState* __tstate = wxPyBeginAllowThreads();
29914 (arg1)->CreateCanvas();
29915 wxPyEndAllowThreads(__tstate);
29916 if (PyErr_Occurred()) SWIG_fail;
29917 }
29918 resultobj = SWIG_Py_Void();
29919 return resultobj;
29920fail:
29921 return NULL;
d55e5bfc
RD
29922}
29923
29924
554f62e9
RD
29925SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29926 PyObject *resultobj = 0;
29927 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29928 wxPreviewControlBar *result = 0 ;
29929 void *argp1 = 0 ;
29930 int res1 = 0 ;
29931 PyObject *swig_obj[1] ;
29932
29933 if (!args) SWIG_fail;
29934 swig_obj[0] = args;
29935 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29936 if (!SWIG_IsOK(res1)) {
29937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29938 }
29939 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29940 {
29941 PyThreadState* __tstate = wxPyBeginAllowThreads();
29942 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
29943 wxPyEndAllowThreads(__tstate);
29944 if (PyErr_Occurred()) SWIG_fail;
29945 }
29946 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29947 return resultobj;
29948fail:
29949 return NULL;
29950}
29951
29952
29953SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29954 PyObject *obj;
29955 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29956 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
29957 return SWIG_Py_Void();
29958}
29959
29960SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29961 return SWIG_Python_InitShadowInstance(args);
29962}
29963
29964SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29965 PyObject *resultobj = 0;
29966 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29967 long arg2 ;
29968 wxWindow *arg3 = (wxWindow *) 0 ;
29969 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29970 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29971 wxSize const &arg5_defvalue = wxDefaultSize ;
29972 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29973 long arg6 = (long) wxTAB_TRAVERSAL ;
29974 wxString const &arg7_defvalue = wxPyPanelNameStr ;
29975 wxString *arg7 = (wxString *) &arg7_defvalue ;
29976 wxPreviewControlBar *result = 0 ;
29977 void *argp1 = 0 ;
29978 int res1 = 0 ;
29979 long val2 ;
29980 int ecode2 = 0 ;
29981 void *argp3 = 0 ;
29982 int res3 = 0 ;
29983 wxPoint temp4 ;
29984 wxSize temp5 ;
29985 long val6 ;
29986 int ecode6 = 0 ;
29987 bool temp7 = false ;
29988 PyObject * obj0 = 0 ;
29989 PyObject * obj1 = 0 ;
29990 PyObject * obj2 = 0 ;
29991 PyObject * obj3 = 0 ;
29992 PyObject * obj4 = 0 ;
29993 PyObject * obj5 = 0 ;
29994 PyObject * obj6 = 0 ;
29995 char * kwnames[] = {
29996 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29997 };
29998
29999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30000 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30001 if (!SWIG_IsOK(res1)) {
30002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30003 }
30004 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30005 ecode2 = SWIG_AsVal_long(obj1, &val2);
30006 if (!SWIG_IsOK(ecode2)) {
30007 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30008 }
30009 arg2 = static_cast< long >(val2);
30010 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30011 if (!SWIG_IsOK(res3)) {
30012 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30013 }
30014 arg3 = reinterpret_cast< wxWindow * >(argp3);
30015 if (obj3) {
d55e5bfc 30016 {
554f62e9
RD
30017 arg4 = &temp4;
30018 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30019 }
30020 }
30021 if (obj4) {
d55e5bfc 30022 {
554f62e9
RD
30023 arg5 = &temp5;
30024 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 30025 }
554f62e9
RD
30026 }
30027 if (obj5) {
30028 ecode6 = SWIG_AsVal_long(obj5, &val6);
30029 if (!SWIG_IsOK(ecode6)) {
30030 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30031 }
30032 arg6 = static_cast< long >(val6);
30033 }
30034 if (obj6) {
d55e5bfc 30035 {
554f62e9
RD
30036 arg7 = wxString_in_helper(obj6);
30037 if (arg7 == NULL) SWIG_fail;
30038 temp7 = true;
d55e5bfc 30039 }
554f62e9
RD
30040 }
30041 {
30042 if (!wxPyCheckForApp()) SWIG_fail;
30043 PyThreadState* __tstate = wxPyBeginAllowThreads();
30044 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30045 wxPyEndAllowThreads(__tstate);
30046 if (PyErr_Occurred()) SWIG_fail;
30047 }
30048 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
30049 {
30050 if (temp7)
30051 delete arg7;
30052 }
30053 return resultobj;
30054fail:
30055 {
30056 if (temp7)
30057 delete arg7;
30058 }
30059 return NULL;
d55e5bfc
RD
30060}
30061
30062
554f62e9
RD
30063SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30064 PyObject *resultobj = 0;
30065 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30066 int result;
30067 void *argp1 = 0 ;
30068 int res1 = 0 ;
30069 PyObject *swig_obj[1] ;
30070
30071 if (!args) SWIG_fail;
30072 swig_obj[0] = args;
30073 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30074 if (!SWIG_IsOK(res1)) {
30075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30076 }
30077 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30078 {
30079 PyThreadState* __tstate = wxPyBeginAllowThreads();
30080 result = (int)(arg1)->GetZoomControl();
30081 wxPyEndAllowThreads(__tstate);
30082 if (PyErr_Occurred()) SWIG_fail;
30083 }
30084 resultobj = SWIG_From_int(static_cast< int >(result));
30085 return resultobj;
30086fail:
30087 return NULL;
30088}
30089
30090
30091SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30092 PyObject *resultobj = 0;
30093 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30094 int arg2 ;
30095 void *argp1 = 0 ;
30096 int res1 = 0 ;
30097 int val2 ;
30098 int ecode2 = 0 ;
30099 PyObject * obj0 = 0 ;
30100 PyObject * obj1 = 0 ;
30101 char * kwnames[] = {
30102 (char *) "self",(char *) "zoom", NULL
30103 };
30104
30105 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
30106 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30107 if (!SWIG_IsOK(res1)) {
30108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30109 }
30110 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30111 ecode2 = SWIG_AsVal_int(obj1, &val2);
30112 if (!SWIG_IsOK(ecode2)) {
30113 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30114 }
30115 arg2 = static_cast< int >(val2);
30116 {
30117 PyThreadState* __tstate = wxPyBeginAllowThreads();
30118 (arg1)->SetZoomControl(arg2);
30119 wxPyEndAllowThreads(__tstate);
30120 if (PyErr_Occurred()) SWIG_fail;
30121 }
30122 resultobj = SWIG_Py_Void();
30123 return resultobj;
30124fail:
30125 return NULL;
d55e5bfc
RD
30126}
30127
30128
554f62e9
RD
30129SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30130 PyObject *resultobj = 0;
30131 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30132 wxPrintPreview *result = 0 ;
30133 void *argp1 = 0 ;
30134 int res1 = 0 ;
30135 PyObject *swig_obj[1] ;
30136
30137 if (!args) SWIG_fail;
30138 swig_obj[0] = args;
30139 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30140 if (!SWIG_IsOK(res1)) {
30141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30142 }
30143 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30144 {
30145 PyThreadState* __tstate = wxPyBeginAllowThreads();
30146 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
30147 wxPyEndAllowThreads(__tstate);
30148 if (PyErr_Occurred()) SWIG_fail;
30149 }
30150 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30151 return resultobj;
30152fail:
30153 return NULL;
d55e5bfc
RD
30154}
30155
30156
554f62e9
RD
30157SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30158 PyObject *resultobj = 0;
30159 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30160 void *argp1 = 0 ;
30161 int res1 = 0 ;
30162 PyObject *swig_obj[1] ;
30163
30164 if (!args) SWIG_fail;
30165 swig_obj[0] = args;
30166 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30167 if (!SWIG_IsOK(res1)) {
30168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30169 }
30170 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30171 {
30172 PyThreadState* __tstate = wxPyBeginAllowThreads();
30173 (arg1)->OnNext();
30174 wxPyEndAllowThreads(__tstate);
30175 if (PyErr_Occurred()) SWIG_fail;
30176 }
30177 resultobj = SWIG_Py_Void();
30178 return resultobj;
30179fail:
30180 return NULL;
d55e5bfc
RD
30181}
30182
30183
554f62e9
RD
30184SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30185 PyObject *resultobj = 0;
30186 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30187 void *argp1 = 0 ;
30188 int res1 = 0 ;
30189 PyObject *swig_obj[1] ;
30190
30191 if (!args) SWIG_fail;
30192 swig_obj[0] = args;
30193 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30194 if (!SWIG_IsOK(res1)) {
30195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30196 }
30197 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30198 {
30199 PyThreadState* __tstate = wxPyBeginAllowThreads();
30200 (arg1)->OnPrevious();
30201 wxPyEndAllowThreads(__tstate);
30202 if (PyErr_Occurred()) SWIG_fail;
30203 }
30204 resultobj = SWIG_Py_Void();
30205 return resultobj;
30206fail:
30207 return NULL;
d55e5bfc
RD
30208}
30209
30210
554f62e9
RD
30211SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30212 PyObject *resultobj = 0;
30213 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30214 void *argp1 = 0 ;
30215 int res1 = 0 ;
30216 PyObject *swig_obj[1] ;
30217
30218 if (!args) SWIG_fail;
30219 swig_obj[0] = args;
30220 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30221 if (!SWIG_IsOK(res1)) {
30222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30223 }
30224 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30225 {
30226 PyThreadState* __tstate = wxPyBeginAllowThreads();
30227 (arg1)->OnFirst();
30228 wxPyEndAllowThreads(__tstate);
30229 if (PyErr_Occurred()) SWIG_fail;
30230 }
30231 resultobj = SWIG_Py_Void();
30232 return resultobj;
30233fail:
30234 return NULL;
d55e5bfc
RD
30235}
30236
30237
554f62e9
RD
30238SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30239 PyObject *resultobj = 0;
30240 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30241 void *argp1 = 0 ;
30242 int res1 = 0 ;
30243 PyObject *swig_obj[1] ;
30244
30245 if (!args) SWIG_fail;
30246 swig_obj[0] = args;
30247 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30248 if (!SWIG_IsOK(res1)) {
30249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30250 }
30251 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30252 {
30253 PyThreadState* __tstate = wxPyBeginAllowThreads();
30254 (arg1)->OnLast();
30255 wxPyEndAllowThreads(__tstate);
30256 if (PyErr_Occurred()) SWIG_fail;
30257 }
30258 resultobj = SWIG_Py_Void();
30259 return resultobj;
30260fail:
30261 return NULL;
d55e5bfc
RD
30262}
30263
30264
554f62e9
RD
30265SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30266 PyObject *resultobj = 0;
30267 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30268 void *argp1 = 0 ;
30269 int res1 = 0 ;
30270 PyObject *swig_obj[1] ;
30271
30272 if (!args) SWIG_fail;
30273 swig_obj[0] = args;
30274 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30275 if (!SWIG_IsOK(res1)) {
30276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30277 }
30278 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30279 {
30280 PyThreadState* __tstate = wxPyBeginAllowThreads();
30281 (arg1)->OnGoto();
30282 wxPyEndAllowThreads(__tstate);
30283 if (PyErr_Occurred()) SWIG_fail;
30284 }
30285 resultobj = SWIG_Py_Void();
30286 return resultobj;
30287fail:
30288 return NULL;
d55e5bfc
RD
30289}
30290
30291
554f62e9
RD
30292SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30293 PyObject *obj;
30294 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30295 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
30296 return SWIG_Py_Void();
d55e5bfc
RD
30297}
30298
554f62e9
RD
30299SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30300 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
30301}
30302
554f62e9
RD
30303SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30304 PyObject *resultobj = 0;
30305 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30306 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30307 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30308 wxPrintPreview *result = 0 ;
30309 int res1 = 0 ;
30310 int res2 = 0 ;
30311 void *argp3 = 0 ;
30312 int res3 = 0 ;
30313
30314 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30315 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30316 if (!SWIG_IsOK(res1)) {
30317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30318 }
30319 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30320 if (!SWIG_IsOK(res2)) {
30321 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30322 }
30323 if (swig_obj[2]) {
30324 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30325 if (!SWIG_IsOK(res3)) {
30326 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30327 }
30328 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30329 }
30330 {
30331 if (!wxPyCheckForApp()) SWIG_fail;
30332 PyThreadState* __tstate = wxPyBeginAllowThreads();
30333 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
30334 wxPyEndAllowThreads(__tstate);
30335 if (PyErr_Occurred()) SWIG_fail;
30336 }
30337 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
30338 return resultobj;
30339fail:
30340 return NULL;
30341}
30342
30343
30344SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30345 PyObject *resultobj = 0;
30346 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30347 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30348 wxPrintData *arg3 = (wxPrintData *) 0 ;
30349 wxPrintPreview *result = 0 ;
30350 int res1 = 0 ;
30351 int res2 = 0 ;
30352 void *argp3 = 0 ;
30353 int res3 = 0 ;
30354
30355 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30356 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30357 if (!SWIG_IsOK(res1)) {
30358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30359 }
30360 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30361 if (!SWIG_IsOK(res2)) {
30362 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30363 }
30364 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30365 if (!SWIG_IsOK(res3)) {
30366 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30367 }
30368 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30369 {
30370 if (!wxPyCheckForApp()) SWIG_fail;
30371 PyThreadState* __tstate = wxPyBeginAllowThreads();
30372 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
30373 wxPyEndAllowThreads(__tstate);
30374 if (PyErr_Occurred()) SWIG_fail;
30375 }
30376 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
30377 return resultobj;
30378fail:
30379 return NULL;
d55e5bfc
RD
30380}
30381
30382
554f62e9
RD
30383SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
30384 int argc;
30385 PyObject *argv[4];
30386
30387 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
30388 --argc;
30389 if ((argc >= 2) && (argc <= 3)) {
30390 int _v = 0;
30391 if (argc > 2) {
30392 {
30393 void *vptr = 0;
30394 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30395 _v = SWIG_CheckState(res);
30396 }
30397 if (!_v) goto check_1;
d55e5bfc 30398 }
554f62e9
RD
30399 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
30400 }
30401check_1:
30402
30403 if (argc == 3) {
30404 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
30405 }
30406
30407fail:
30408 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
30409 return NULL;
d55e5bfc
RD
30410}
30411
30412
554f62e9
RD
30413SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30414 PyObject *resultobj = 0;
30415 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30416 void *argp1 = 0 ;
30417 int res1 = 0 ;
30418 PyObject *swig_obj[1] ;
30419
30420 if (!args) SWIG_fail;
30421 swig_obj[0] = args;
30422 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
30423 if (!SWIG_IsOK(res1)) {
30424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30425 }
30426 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30427 {
30428 PyThreadState* __tstate = wxPyBeginAllowThreads();
30429 delete arg1;
caef1a4d 30430
554f62e9
RD
30431 wxPyEndAllowThreads(__tstate);
30432 if (PyErr_Occurred()) SWIG_fail;
30433 }
30434 resultobj = SWIG_Py_Void();
30435 return resultobj;
30436fail:
30437 return NULL;
30438}
30439
30440
30441SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30442 PyObject *resultobj = 0;
30443 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30444 int arg2 ;
30445 bool result;
30446 void *argp1 = 0 ;
30447 int res1 = 0 ;
30448 int val2 ;
30449 int ecode2 = 0 ;
30450 PyObject * obj0 = 0 ;
30451 PyObject * obj1 = 0 ;
30452 char * kwnames[] = {
30453 (char *) "self",(char *) "pageNum", NULL
30454 };
30455
30456 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
30457 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30458 if (!SWIG_IsOK(res1)) {
30459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30460 }
30461 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30462 ecode2 = SWIG_AsVal_int(obj1, &val2);
30463 if (!SWIG_IsOK(ecode2)) {
30464 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
30465 }
30466 arg2 = static_cast< int >(val2);
30467 {
30468 PyThreadState* __tstate = wxPyBeginAllowThreads();
30469 result = (bool)(arg1)->SetCurrentPage(arg2);
30470 wxPyEndAllowThreads(__tstate);
30471 if (PyErr_Occurred()) SWIG_fail;
30472 }
30473 {
30474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30475 }
30476 return resultobj;
30477fail:
30478 return NULL;
caef1a4d
RD
30479}
30480
30481
554f62e9
RD
30482SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30483 PyObject *resultobj = 0;
30484 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30485 int result;
30486 void *argp1 = 0 ;
30487 int res1 = 0 ;
30488 PyObject *swig_obj[1] ;
30489
30490 if (!args) SWIG_fail;
30491 swig_obj[0] = args;
30492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30493 if (!SWIG_IsOK(res1)) {
30494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30495 }
30496 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30497 {
30498 PyThreadState* __tstate = wxPyBeginAllowThreads();
30499 result = (int)(arg1)->GetCurrentPage();
30500 wxPyEndAllowThreads(__tstate);
30501 if (PyErr_Occurred()) SWIG_fail;
30502 }
30503 resultobj = SWIG_From_int(static_cast< int >(result));
30504 return resultobj;
30505fail:
30506 return NULL;
30507}
30508
30509
30510SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30511 PyObject *resultobj = 0;
30512 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30513 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30514 void *argp1 = 0 ;
30515 int res1 = 0 ;
30516 int res2 = 0 ;
30517 PyObject * obj0 = 0 ;
30518 PyObject * obj1 = 0 ;
30519 char * kwnames[] = {
30520 (char *) "self",(char *) "printout", NULL
30521 };
30522
30523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
30524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30525 if (!SWIG_IsOK(res1)) {
30526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30527 }
30528 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30529 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30530 if (!SWIG_IsOK(res2)) {
30531 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30532 }
30533 {
30534 PyThreadState* __tstate = wxPyBeginAllowThreads();
30535 (arg1)->SetPrintout(arg2);
30536 wxPyEndAllowThreads(__tstate);
30537 if (PyErr_Occurred()) SWIG_fail;
30538 }
30539 resultobj = SWIG_Py_Void();
30540 return resultobj;
30541fail:
30542 return NULL;
8d38bd1d
RD
30543}
30544
30545
554f62e9
RD
30546SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30547 PyObject *resultobj = 0;
30548 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30549 wxPyPrintout *result = 0 ;
30550 void *argp1 = 0 ;
30551 int res1 = 0 ;
30552 PyObject *swig_obj[1] ;
30553
30554 if (!args) SWIG_fail;
30555 swig_obj[0] = args;
30556 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30557 if (!SWIG_IsOK(res1)) {
30558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30559 }
30560 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30561 {
30562 PyThreadState* __tstate = wxPyBeginAllowThreads();
30563 result = (wxPyPrintout *)(arg1)->GetPrintout();
30564 wxPyEndAllowThreads(__tstate);
30565 if (PyErr_Occurred()) SWIG_fail;
30566 }
30567 {
30568 resultobj = wxPyMake_wxObject(result, 0);
30569 }
30570 return resultobj;
30571fail:
30572 return NULL;
d55e5bfc
RD
30573}
30574
30575
554f62e9
RD
30576SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30577 PyObject *resultobj = 0;
30578 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30579 wxPyPrintout *result = 0 ;
30580 void *argp1 = 0 ;
30581 int res1 = 0 ;
30582 PyObject *swig_obj[1] ;
30583
30584 if (!args) SWIG_fail;
30585 swig_obj[0] = args;
30586 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30587 if (!SWIG_IsOK(res1)) {
30588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30589 }
30590 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30591 {
30592 PyThreadState* __tstate = wxPyBeginAllowThreads();
30593 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
30594 wxPyEndAllowThreads(__tstate);
30595 if (PyErr_Occurred()) SWIG_fail;
30596 }
30597 {
30598 resultobj = wxPyMake_wxObject(result, 0);
30599 }
30600 return resultobj;
30601fail:
30602 return NULL;
30603}
30604
30605
30606SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30607 PyObject *resultobj = 0;
30608 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30609 wxFrame *arg2 = (wxFrame *) 0 ;
30610 void *argp1 = 0 ;
30611 int res1 = 0 ;
30612 void *argp2 = 0 ;
30613 int res2 = 0 ;
30614 PyObject * obj0 = 0 ;
30615 PyObject * obj1 = 0 ;
30616 char * kwnames[] = {
30617 (char *) "self",(char *) "frame", NULL
30618 };
30619
30620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
30621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30622 if (!SWIG_IsOK(res1)) {
30623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30624 }
30625 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30626 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30627 if (!SWIG_IsOK(res2)) {
30628 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30629 }
30630 arg2 = reinterpret_cast< wxFrame * >(argp2);
30631 {
30632 PyThreadState* __tstate = wxPyBeginAllowThreads();
30633 (arg1)->SetFrame(arg2);
30634 wxPyEndAllowThreads(__tstate);
30635 if (PyErr_Occurred()) SWIG_fail;
30636 }
30637 resultobj = SWIG_Py_Void();
30638 return resultobj;
30639fail:
30640 return NULL;
30641}
30642
30643
30644SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30645 PyObject *resultobj = 0;
30646 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30647 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30648 void *argp1 = 0 ;
30649 int res1 = 0 ;
30650 void *argp2 = 0 ;
30651 int res2 = 0 ;
30652 PyObject * obj0 = 0 ;
30653 PyObject * obj1 = 0 ;
30654 char * kwnames[] = {
30655 (char *) "self",(char *) "canvas", NULL
30656 };
30657
30658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30660 if (!SWIG_IsOK(res1)) {
30661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30662 }
30663 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30664 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30665 if (!SWIG_IsOK(res2)) {
30666 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30667 }
30668 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30669 {
30670 PyThreadState* __tstate = wxPyBeginAllowThreads();
30671 (arg1)->SetCanvas(arg2);
30672 wxPyEndAllowThreads(__tstate);
30673 if (PyErr_Occurred()) SWIG_fail;
30674 }
30675 resultobj = SWIG_Py_Void();
30676 return resultobj;
30677fail:
30678 return NULL;
d55e5bfc
RD
30679}
30680
30681
554f62e9
RD
30682SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30683 PyObject *resultobj = 0;
30684 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30685 wxFrame *result = 0 ;
30686 void *argp1 = 0 ;
30687 int res1 = 0 ;
30688 PyObject *swig_obj[1] ;
30689
30690 if (!args) SWIG_fail;
30691 swig_obj[0] = args;
30692 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30693 if (!SWIG_IsOK(res1)) {
30694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30695 }
30696 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30697 {
30698 PyThreadState* __tstate = wxPyBeginAllowThreads();
30699 result = (wxFrame *)(arg1)->GetFrame();
30700 wxPyEndAllowThreads(__tstate);
30701 if (PyErr_Occurred()) SWIG_fail;
30702 }
30703 {
30704 resultobj = wxPyMake_wxObject(result, 0);
30705 }
30706 return resultobj;
30707fail:
30708 return NULL;
d55e5bfc
RD
30709}
30710
30711
554f62e9
RD
30712SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30713 PyObject *resultobj = 0;
30714 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30715 wxPreviewCanvas *result = 0 ;
30716 void *argp1 = 0 ;
30717 int res1 = 0 ;
30718 PyObject *swig_obj[1] ;
30719
30720 if (!args) SWIG_fail;
30721 swig_obj[0] = args;
30722 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30723 if (!SWIG_IsOK(res1)) {
30724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30725 }
30726 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30727 {
30728 PyThreadState* __tstate = wxPyBeginAllowThreads();
30729 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
30730 wxPyEndAllowThreads(__tstate);
30731 if (PyErr_Occurred()) SWIG_fail;
30732 }
30733 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30734 return resultobj;
30735fail:
30736 return NULL;
30737}
30738
30739
30740SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30741 PyObject *resultobj = 0;
30742 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30743 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30744 wxDC *arg3 = 0 ;
30745 bool result;
30746 void *argp1 = 0 ;
30747 int res1 = 0 ;
30748 void *argp2 = 0 ;
30749 int res2 = 0 ;
30750 void *argp3 = 0 ;
30751 int res3 = 0 ;
30752 PyObject * obj0 = 0 ;
30753 PyObject * obj1 = 0 ;
30754 PyObject * obj2 = 0 ;
30755 char * kwnames[] = {
30756 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30757 };
30758
30759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30761 if (!SWIG_IsOK(res1)) {
30762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30763 }
30764 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30765 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30766 if (!SWIG_IsOK(res2)) {
30767 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30768 }
30769 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30770 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30771 if (!SWIG_IsOK(res3)) {
30772 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30773 }
30774 if (!argp3) {
30775 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30776 }
30777 arg3 = reinterpret_cast< wxDC * >(argp3);
30778 {
30779 PyThreadState* __tstate = wxPyBeginAllowThreads();
30780 result = (bool)(arg1)->PaintPage(arg2,*arg3);
30781 wxPyEndAllowThreads(__tstate);
30782 if (PyErr_Occurred()) SWIG_fail;
30783 }
30784 {
30785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30786 }
30787 return resultobj;
30788fail:
30789 return NULL;
30790}
30791
30792
30793SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30794 PyObject *resultobj = 0;
30795 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30796 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30797 wxDC *arg3 = 0 ;
30798 bool result;
30799 void *argp1 = 0 ;
30800 int res1 = 0 ;
30801 void *argp2 = 0 ;
30802 int res2 = 0 ;
30803 void *argp3 = 0 ;
30804 int res3 = 0 ;
30805 PyObject * obj0 = 0 ;
30806 PyObject * obj1 = 0 ;
30807 PyObject * obj2 = 0 ;
30808 char * kwnames[] = {
30809 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30810 };
30811
30812 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30813 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30814 if (!SWIG_IsOK(res1)) {
30815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30816 }
30817 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30818 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30819 if (!SWIG_IsOK(res2)) {
30820 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30821 }
30822 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30823 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30824 if (!SWIG_IsOK(res3)) {
30825 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30826 }
30827 if (!argp3) {
30828 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30829 }
30830 arg3 = reinterpret_cast< wxDC * >(argp3);
30831 {
30832 PyThreadState* __tstate = wxPyBeginAllowThreads();
30833 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
30834 wxPyEndAllowThreads(__tstate);
30835 if (PyErr_Occurred()) SWIG_fail;
30836 }
30837 {
30838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30839 }
30840 return resultobj;
30841fail:
30842 return NULL;
30843}
30844
30845
30846SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30847 PyObject *resultobj = 0;
30848 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30849 int arg2 ;
30850 bool result;
30851 void *argp1 = 0 ;
30852 int res1 = 0 ;
30853 int val2 ;
30854 int ecode2 = 0 ;
30855 PyObject * obj0 = 0 ;
30856 PyObject * obj1 = 0 ;
30857 char * kwnames[] = {
30858 (char *) "self",(char *) "pageNum", NULL
30859 };
30860
30861 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
30862 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30863 if (!SWIG_IsOK(res1)) {
30864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30865 }
30866 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30867 ecode2 = SWIG_AsVal_int(obj1, &val2);
30868 if (!SWIG_IsOK(ecode2)) {
30869 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30870 }
30871 arg2 = static_cast< int >(val2);
30872 {
30873 PyThreadState* __tstate = wxPyBeginAllowThreads();
30874 result = (bool)(arg1)->RenderPage(arg2);
30875 wxPyEndAllowThreads(__tstate);
30876 if (PyErr_Occurred()) SWIG_fail;
30877 }
30878 {
30879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30880 }
30881 return resultobj;
30882fail:
30883 return NULL;
30884}
30885
30886
30887SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30888 PyObject *resultobj = 0;
30889 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30890 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30891 void *argp1 = 0 ;
30892 int res1 = 0 ;
30893 void *argp2 = 0 ;
30894 int res2 = 0 ;
30895 PyObject * obj0 = 0 ;
30896 PyObject * obj1 = 0 ;
30897 char * kwnames[] = {
30898 (char *) "self",(char *) "canvas", NULL
30899 };
30900
30901 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
30902 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30903 if (!SWIG_IsOK(res1)) {
30904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30905 }
30906 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30907 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30908 if (!SWIG_IsOK(res2)) {
30909 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30910 }
30911 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30912 {
30913 PyThreadState* __tstate = wxPyBeginAllowThreads();
30914 (arg1)->AdjustScrollbars(arg2);
30915 wxPyEndAllowThreads(__tstate);
30916 if (PyErr_Occurred()) SWIG_fail;
30917 }
30918 resultobj = SWIG_Py_Void();
30919 return resultobj;
30920fail:
30921 return NULL;
caef1a4d
RD
30922}
30923
30924
554f62e9
RD
30925SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30926 PyObject *resultobj = 0;
30927 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30928 wxPrintDialogData *result = 0 ;
30929 void *argp1 = 0 ;
30930 int res1 = 0 ;
30931 PyObject *swig_obj[1] ;
30932
30933 if (!args) SWIG_fail;
30934 swig_obj[0] = args;
30935 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30936 if (!SWIG_IsOK(res1)) {
30937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30938 }
30939 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30940 {
30941 PyThreadState* __tstate = wxPyBeginAllowThreads();
60d5fcc1 30942 {
554f62e9
RD
30943 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
30944 result = (wxPrintDialogData *) &_result_ref;
60d5fcc1 30945 }
554f62e9
RD
30946 wxPyEndAllowThreads(__tstate);
30947 if (PyErr_Occurred()) SWIG_fail;
30948 }
30949 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30950 return resultobj;
30951fail:
30952 return NULL;
30953}
30954
30955
30956SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30957 PyObject *resultobj = 0;
30958 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30959 int arg2 ;
30960 void *argp1 = 0 ;
30961 int res1 = 0 ;
30962 int val2 ;
30963 int ecode2 = 0 ;
30964 PyObject * obj0 = 0 ;
30965 PyObject * obj1 = 0 ;
30966 char * kwnames[] = {
30967 (char *) "self",(char *) "percent", NULL
30968 };
30969
30970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
30971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30972 if (!SWIG_IsOK(res1)) {
30973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30974 }
30975 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30976 ecode2 = SWIG_AsVal_int(obj1, &val2);
30977 if (!SWIG_IsOK(ecode2)) {
30978 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30979 }
30980 arg2 = static_cast< int >(val2);
30981 {
30982 PyThreadState* __tstate = wxPyBeginAllowThreads();
30983 (arg1)->SetZoom(arg2);
30984 wxPyEndAllowThreads(__tstate);
30985 if (PyErr_Occurred()) SWIG_fail;
30986 }
30987 resultobj = SWIG_Py_Void();
30988 return resultobj;
30989fail:
30990 return NULL;
60d5fcc1
RD
30991}
30992
30993
554f62e9
RD
30994SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30995 PyObject *resultobj = 0;
30996 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30997 int result;
30998 void *argp1 = 0 ;
30999 int res1 = 0 ;
31000 PyObject *swig_obj[1] ;
31001
31002 if (!args) SWIG_fail;
31003 swig_obj[0] = args;
31004 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31005 if (!SWIG_IsOK(res1)) {
31006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31007 }
31008 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31009 {
31010 PyThreadState* __tstate = wxPyBeginAllowThreads();
31011 result = (int)(arg1)->GetZoom();
31012 wxPyEndAllowThreads(__tstate);
31013 if (PyErr_Occurred()) SWIG_fail;
31014 }
31015 resultobj = SWIG_From_int(static_cast< int >(result));
31016 return resultobj;
31017fail:
31018 return NULL;
d55e5bfc
RD
31019}
31020
31021
554f62e9
RD
31022SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31023 PyObject *resultobj = 0;
31024 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31025 int result;
31026 void *argp1 = 0 ;
31027 int res1 = 0 ;
31028 PyObject *swig_obj[1] ;
31029
31030 if (!args) SWIG_fail;
31031 swig_obj[0] = args;
31032 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31033 if (!SWIG_IsOK(res1)) {
31034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31035 }
31036 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31037 {
31038 PyThreadState* __tstate = wxPyBeginAllowThreads();
31039 result = (int)(arg1)->GetMaxPage();
31040 wxPyEndAllowThreads(__tstate);
31041 if (PyErr_Occurred()) SWIG_fail;
31042 }
31043 resultobj = SWIG_From_int(static_cast< int >(result));
31044 return resultobj;
31045fail:
31046 return NULL;
d55e5bfc
RD
31047}
31048
31049
554f62e9
RD
31050SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31051 PyObject *resultobj = 0;
31052 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31053 int result;
31054 void *argp1 = 0 ;
31055 int res1 = 0 ;
31056 PyObject *swig_obj[1] ;
31057
31058 if (!args) SWIG_fail;
31059 swig_obj[0] = args;
31060 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31061 if (!SWIG_IsOK(res1)) {
31062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31063 }
31064 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31065 {
31066 PyThreadState* __tstate = wxPyBeginAllowThreads();
31067 result = (int)(arg1)->GetMinPage();
31068 wxPyEndAllowThreads(__tstate);
31069 if (PyErr_Occurred()) SWIG_fail;
31070 }
31071 resultobj = SWIG_From_int(static_cast< int >(result));
31072 return resultobj;
31073fail:
31074 return NULL;
d55e5bfc
RD
31075}
31076
31077
b39fe951 31078SWIGINTERN PyObject *_wrap_PrintPreview_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
554f62e9
RD
31079 PyObject *resultobj = 0;
31080 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31081 bool result;
31082 void *argp1 = 0 ;
31083 int res1 = 0 ;
31084 PyObject *swig_obj[1] ;
31085
31086 if (!args) SWIG_fail;
31087 swig_obj[0] = args;
31088 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31089 if (!SWIG_IsOK(res1)) {
b39fe951 31090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
554f62e9
RD
31091 }
31092 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31093 {
31094 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 31095 result = (bool)(arg1)->IsOk();
554f62e9
RD
31096 wxPyEndAllowThreads(__tstate);
31097 if (PyErr_Occurred()) SWIG_fail;
31098 }
31099 {
31100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31101 }
31102 return resultobj;
31103fail:
31104 return NULL;
31105}
31106
31107
31108SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31109 PyObject *resultobj = 0;
31110 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31111 bool arg2 ;
31112 void *argp1 = 0 ;
31113 int res1 = 0 ;
31114 bool val2 ;
31115 int ecode2 = 0 ;
31116 PyObject * obj0 = 0 ;
31117 PyObject * obj1 = 0 ;
31118 char * kwnames[] = {
31119 (char *) "self",(char *) "ok", NULL
31120 };
31121
31122 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
31123 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31124 if (!SWIG_IsOK(res1)) {
31125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31126 }
31127 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31128 ecode2 = SWIG_AsVal_bool(obj1, &val2);
31129 if (!SWIG_IsOK(ecode2)) {
31130 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
31131 }
31132 arg2 = static_cast< bool >(val2);
31133 {
31134 PyThreadState* __tstate = wxPyBeginAllowThreads();
31135 (arg1)->SetOk(arg2);
31136 wxPyEndAllowThreads(__tstate);
31137 if (PyErr_Occurred()) SWIG_fail;
31138 }
31139 resultobj = SWIG_Py_Void();
31140 return resultobj;
31141fail:
31142 return NULL;
31143}
31144
31145
31146SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31147 PyObject *resultobj = 0;
31148 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31149 bool arg2 ;
31150 bool result;
31151 void *argp1 = 0 ;
31152 int res1 = 0 ;
31153 bool val2 ;
31154 int ecode2 = 0 ;
31155 PyObject * obj0 = 0 ;
31156 PyObject * obj1 = 0 ;
31157 char * kwnames[] = {
31158 (char *) "self",(char *) "interactive", NULL
31159 };
31160
31161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
31162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31163 if (!SWIG_IsOK(res1)) {
31164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31165 }
31166 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31167 ecode2 = SWIG_AsVal_bool(obj1, &val2);
31168 if (!SWIG_IsOK(ecode2)) {
31169 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
31170 }
31171 arg2 = static_cast< bool >(val2);
31172 {
31173 PyThreadState* __tstate = wxPyBeginAllowThreads();
31174 result = (bool)(arg1)->Print(arg2);
31175 wxPyEndAllowThreads(__tstate);
31176 if (PyErr_Occurred()) SWIG_fail;
31177 }
31178 {
31179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31180 }
31181 return resultobj;
31182fail:
31183 return NULL;
d55e5bfc
RD
31184}
31185
31186
554f62e9
RD
31187SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31188 PyObject *resultobj = 0;
31189 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31190 void *argp1 = 0 ;
31191 int res1 = 0 ;
31192 PyObject *swig_obj[1] ;
31193
31194 if (!args) SWIG_fail;
31195 swig_obj[0] = args;
31196 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31197 if (!SWIG_IsOK(res1)) {
31198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31199 }
31200 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31201 {
31202 PyThreadState* __tstate = wxPyBeginAllowThreads();
31203 (arg1)->DetermineScaling();
31204 wxPyEndAllowThreads(__tstate);
31205 if (PyErr_Occurred()) SWIG_fail;
31206 }
31207 resultobj = SWIG_Py_Void();
31208 return resultobj;
31209fail:
31210 return NULL;
d55e5bfc
RD
31211}
31212
31213
554f62e9
RD
31214SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31215 PyObject *obj;
31216 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31217 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
31218 return SWIG_Py_Void();
d55e5bfc
RD
31219}
31220
554f62e9
RD
31221SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31222 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
31223}
31224
554f62e9
RD
31225SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
31226 PyObject *resultobj = 0;
31227 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31228 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
31229 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
31230 wxPyPrintPreview *result = 0 ;
31231 int res1 = 0 ;
31232 int res2 = 0 ;
31233 void *argp3 = 0 ;
31234 int res3 = 0 ;
31235
31236 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
31237 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
31238 if (!SWIG_IsOK(res1)) {
31239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31240 }
31241 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
31242 if (!SWIG_IsOK(res2)) {
31243 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
31244 }
31245 if (swig_obj[2]) {
31246 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
31247 if (!SWIG_IsOK(res3)) {
31248 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
d55e5bfc 31249 }
554f62e9
RD
31250 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
31251 }
31252 {
31253 if (!wxPyCheckForApp()) SWIG_fail;
31254 PyThreadState* __tstate = wxPyBeginAllowThreads();
31255 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
31256 wxPyEndAllowThreads(__tstate);
31257 if (PyErr_Occurred()) SWIG_fail;
31258 }
31259 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
31260 return resultobj;
31261fail:
31262 return NULL;
31263}
31264
31265
31266SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
31267 PyObject *resultobj = 0;
31268 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31269 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
31270 wxPrintData *arg3 = (wxPrintData *) 0 ;
31271 wxPyPrintPreview *result = 0 ;
31272 int res1 = 0 ;
31273 int res2 = 0 ;
31274 void *argp3 = 0 ;
31275 int res3 = 0 ;
31276
31277 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
31278 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
31279 if (!SWIG_IsOK(res1)) {
31280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31281 }
31282 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
31283 if (!SWIG_IsOK(res2)) {
31284 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
31285 }
31286 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
31287 if (!SWIG_IsOK(res3)) {
31288 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
31289 }
31290 arg3 = reinterpret_cast< wxPrintData * >(argp3);
31291 {
31292 if (!wxPyCheckForApp()) SWIG_fail;
31293 PyThreadState* __tstate = wxPyBeginAllowThreads();
31294 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
31295 wxPyEndAllowThreads(__tstate);
31296 if (PyErr_Occurred()) SWIG_fail;
31297 }
31298 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
31299 return resultobj;
31300fail:
31301 return NULL;
d55e5bfc
RD
31302}
31303
31304
554f62e9
RD
31305SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
31306 int argc;
31307 PyObject *argv[4];
31308
31309 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
31310 --argc;
31311 if ((argc >= 2) && (argc <= 3)) {
31312 int _v = 0;
31313 if (argc > 2) {
31314 {
31315 void *vptr = 0;
31316 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
31317 _v = SWIG_CheckState(res);
31318 }
31319 if (!_v) goto check_1;
d55e5bfc 31320 }
554f62e9
RD
31321 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
31322 }
31323check_1:
31324
31325 if (argc == 3) {
31326 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
31327 }
31328
31329fail:
31330 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
31331 return NULL;
31332}
31333
31334
31335SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31336 PyObject *resultobj = 0;
31337 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
31338 PyObject *arg2 = (PyObject *) 0 ;
31339 PyObject *arg3 = (PyObject *) 0 ;
31340 void *argp1 = 0 ;
31341 int res1 = 0 ;
31342 PyObject * obj0 = 0 ;
31343 PyObject * obj1 = 0 ;
31344 PyObject * obj2 = 0 ;
31345 char * kwnames[] = {
31346 (char *) "self",(char *) "self",(char *) "_class", NULL
31347 };
31348
31349 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31350 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
31351 if (!SWIG_IsOK(res1)) {
31352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
31353 }
31354 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
31355 arg2 = obj1;
31356 arg3 = obj2;
31357 {
31358 PyThreadState* __tstate = wxPyBeginAllowThreads();
31359 (arg1)->_setCallbackInfo(arg2,arg3);
31360 wxPyEndAllowThreads(__tstate);
31361 if (PyErr_Occurred()) SWIG_fail;
31362 }
31363 resultobj = SWIG_Py_Void();
31364 return resultobj;
31365fail:
31366 return NULL;
31367}
31368
31369
31370SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31371 PyObject *obj;
31372 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31373 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
31374 return SWIG_Py_Void();
31375}
31376
31377SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31378 return SWIG_Python_InitShadowInstance(args);
31379}
31380
31381SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31382 PyObject *resultobj = 0;
31383 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31384 wxFrame *arg2 = (wxFrame *) 0 ;
31385 wxString *arg3 = 0 ;
31386 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31387 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31388 wxSize const &arg5_defvalue = wxDefaultSize ;
31389 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31390 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
31391 wxString const &arg7_defvalue = wxPyFrameNameStr ;
31392 wxString *arg7 = (wxString *) &arg7_defvalue ;
31393 wxPyPreviewFrame *result = 0 ;
554f62e9
RD
31394 int res1 = 0 ;
31395 void *argp2 = 0 ;
31396 int res2 = 0 ;
31397 bool temp3 = false ;
31398 wxPoint temp4 ;
31399 wxSize temp5 ;
31400 long val6 ;
31401 int ecode6 = 0 ;
31402 bool temp7 = false ;
31403 PyObject * obj0 = 0 ;
31404 PyObject * obj1 = 0 ;
31405 PyObject * obj2 = 0 ;
31406 PyObject * obj3 = 0 ;
31407 PyObject * obj4 = 0 ;
31408 PyObject * obj5 = 0 ;
31409 PyObject * obj6 = 0 ;
31410 char * kwnames[] = {
31411 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31412 };
31413
31414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9057d6d4 31415 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
554f62e9 31416 if (!SWIG_IsOK(res1)) {
9057d6d4 31417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
554f62e9 31418 }
554f62e9
RD
31419 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
31420 if (!SWIG_IsOK(res2)) {
31421 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31422 }
31423 arg2 = reinterpret_cast< wxFrame * >(argp2);
31424 {
31425 arg3 = wxString_in_helper(obj2);
31426 if (arg3 == NULL) SWIG_fail;
31427 temp3 = true;
31428 }
31429 if (obj3) {
d55e5bfc 31430 {
554f62e9
RD
31431 arg4 = &temp4;
31432 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 31433 }
554f62e9
RD
31434 }
31435 if (obj4) {
d55e5bfc 31436 {
554f62e9
RD
31437 arg5 = &temp5;
31438 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 31439 }
554f62e9
RD
31440 }
31441 if (obj5) {
31442 ecode6 = SWIG_AsVal_long(obj5, &val6);
31443 if (!SWIG_IsOK(ecode6)) {
31444 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
31445 }
31446 arg6 = static_cast< long >(val6);
31447 }
31448 if (obj6) {
d55e5bfc 31449 {
554f62e9
RD
31450 arg7 = wxString_in_helper(obj6);
31451 if (arg7 == NULL) SWIG_fail;
31452 temp7 = true;
d55e5bfc 31453 }
554f62e9
RD
31454 }
31455 {
31456 if (!wxPyCheckForApp()) SWIG_fail;
31457 PyThreadState* __tstate = wxPyBeginAllowThreads();
31458 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31459 wxPyEndAllowThreads(__tstate);
31460 if (PyErr_Occurred()) SWIG_fail;
31461 }
31462 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
31463 {
31464 if (temp3)
31465 delete arg3;
31466 }
31467 {
31468 if (temp7)
31469 delete arg7;
31470 }
31471 return resultobj;
31472fail:
31473 {
31474 if (temp3)
31475 delete arg3;
31476 }
31477 {
31478 if (temp7)
31479 delete arg7;
31480 }
31481 return NULL;
31482}
31483
31484
31485SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31486 PyObject *resultobj = 0;
31487 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31488 PyObject *arg2 = (PyObject *) 0 ;
31489 PyObject *arg3 = (PyObject *) 0 ;
31490 void *argp1 = 0 ;
31491 int res1 = 0 ;
31492 PyObject * obj0 = 0 ;
31493 PyObject * obj1 = 0 ;
31494 PyObject * obj2 = 0 ;
31495 char * kwnames[] = {
31496 (char *) "self",(char *) "self",(char *) "_class", NULL
31497 };
31498
31499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31501 if (!SWIG_IsOK(res1)) {
31502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31503 }
31504 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31505 arg2 = obj1;
31506 arg3 = obj2;
31507 {
31508 PyThreadState* __tstate = wxPyBeginAllowThreads();
31509 (arg1)->_setCallbackInfo(arg2,arg3);
31510 wxPyEndAllowThreads(__tstate);
31511 if (PyErr_Occurred()) SWIG_fail;
31512 }
31513 resultobj = SWIG_Py_Void();
31514 return resultobj;
31515fail:
31516 return NULL;
31517}
31518
31519
31520SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31521 PyObject *resultobj = 0;
31522 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31523 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
31524 void *argp1 = 0 ;
31525 int res1 = 0 ;
31526 void *argp2 = 0 ;
31527 int res2 = 0 ;
31528 PyObject * obj0 = 0 ;
31529 PyObject * obj1 = 0 ;
31530 char * kwnames[] = {
31531 (char *) "self",(char *) "canvas", NULL
31532 };
31533
31534 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
31535 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31536 if (!SWIG_IsOK(res1)) {
31537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31538 }
31539 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31540 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
31541 if (!SWIG_IsOK(res2)) {
31542 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
31543 }
31544 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
31545 {
31546 PyThreadState* __tstate = wxPyBeginAllowThreads();
31547 (arg1)->SetPreviewCanvas(arg2);
31548 wxPyEndAllowThreads(__tstate);
31549 if (PyErr_Occurred()) SWIG_fail;
31550 }
31551 resultobj = SWIG_Py_Void();
31552 return resultobj;
31553fail:
31554 return NULL;
31555}
31556
31557
31558SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31559 PyObject *resultobj = 0;
31560 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31561 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
31562 void *argp1 = 0 ;
31563 int res1 = 0 ;
31564 void *argp2 = 0 ;
31565 int res2 = 0 ;
31566 PyObject * obj0 = 0 ;
31567 PyObject * obj1 = 0 ;
31568 char * kwnames[] = {
31569 (char *) "self",(char *) "bar", NULL
31570 };
31571
31572 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
31573 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31574 if (!SWIG_IsOK(res1)) {
31575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31576 }
31577 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31578 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
31579 if (!SWIG_IsOK(res2)) {
31580 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31581 }
31582 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
31583 {
31584 PyThreadState* __tstate = wxPyBeginAllowThreads();
31585 (arg1)->SetControlBar(arg2);
31586 wxPyEndAllowThreads(__tstate);
31587 if (PyErr_Occurred()) SWIG_fail;
31588 }
31589 resultobj = SWIG_Py_Void();
31590 return resultobj;
31591fail:
31592 return NULL;
d55e5bfc
RD
31593}
31594
31595
554f62e9
RD
31596SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31597 PyObject *resultobj = 0;
31598 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31599 void *argp1 = 0 ;
31600 int res1 = 0 ;
31601 PyObject *swig_obj[1] ;
31602
31603 if (!args) SWIG_fail;
31604 swig_obj[0] = args;
31605 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31606 if (!SWIG_IsOK(res1)) {
31607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31608 }
31609 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31610 {
31611 PyThreadState* __tstate = wxPyBeginAllowThreads();
31612 (arg1)->Initialize();
31613 wxPyEndAllowThreads(__tstate);
31614 if (PyErr_Occurred()) SWIG_fail;
31615 }
31616 resultobj = SWIG_Py_Void();
31617 return resultobj;
31618fail:
31619 return NULL;
d55e5bfc
RD
31620}
31621
31622
554f62e9
RD
31623SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31624 PyObject *resultobj = 0;
31625 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31626 void *argp1 = 0 ;
31627 int res1 = 0 ;
31628 PyObject *swig_obj[1] ;
31629
31630 if (!args) SWIG_fail;
31631 swig_obj[0] = args;
31632 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31633 if (!SWIG_IsOK(res1)) {
31634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31635 }
31636 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31637 {
31638 PyThreadState* __tstate = wxPyBeginAllowThreads();
31639 (arg1)->CreateCanvas();
31640 wxPyEndAllowThreads(__tstate);
31641 if (PyErr_Occurred()) SWIG_fail;
31642 }
31643 resultobj = SWIG_Py_Void();
31644 return resultobj;
31645fail:
31646 return NULL;
caef1a4d
RD
31647}
31648
31649
554f62e9
RD
31650SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31651 PyObject *resultobj = 0;
31652 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31653 void *argp1 = 0 ;
31654 int res1 = 0 ;
31655 PyObject *swig_obj[1] ;
31656
31657 if (!args) SWIG_fail;
31658 swig_obj[0] = args;
31659 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31660 if (!SWIG_IsOK(res1)) {
31661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31662 }
31663 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31664 {
31665 PyThreadState* __tstate = wxPyBeginAllowThreads();
31666 (arg1)->CreateControlBar();
31667 wxPyEndAllowThreads(__tstate);
31668 if (PyErr_Occurred()) SWIG_fail;
31669 }
31670 resultobj = SWIG_Py_Void();
31671 return resultobj;
31672fail:
31673 return NULL;
31674}
31675
31676
31677SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31678 PyObject *obj;
31679 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31680 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
31681 return SWIG_Py_Void();
31682}
31683
31684SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31685 return SWIG_Python_InitShadowInstance(args);
31686}
31687
31688SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31689 PyObject *resultobj = 0;
31690 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31691 long arg2 ;
31692 wxWindow *arg3 = (wxWindow *) 0 ;
31693 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31694 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31695 wxSize const &arg5_defvalue = wxDefaultSize ;
31696 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31697 long arg6 = (long) 0 ;
31698 wxString const &arg7_defvalue = wxPyPanelNameStr ;
31699 wxString *arg7 = (wxString *) &arg7_defvalue ;
31700 wxPyPreviewControlBar *result = 0 ;
554f62e9
RD
31701 int res1 = 0 ;
31702 long val2 ;
31703 int ecode2 = 0 ;
31704 void *argp3 = 0 ;
31705 int res3 = 0 ;
31706 wxPoint temp4 ;
31707 wxSize temp5 ;
31708 long val6 ;
31709 int ecode6 = 0 ;
31710 bool temp7 = false ;
31711 PyObject * obj0 = 0 ;
31712 PyObject * obj1 = 0 ;
31713 PyObject * obj2 = 0 ;
31714 PyObject * obj3 = 0 ;
31715 PyObject * obj4 = 0 ;
31716 PyObject * obj5 = 0 ;
31717 PyObject * obj6 = 0 ;
31718 char * kwnames[] = {
31719 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31720 };
31721
31722 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9057d6d4 31723 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
554f62e9 31724 if (!SWIG_IsOK(res1)) {
9057d6d4 31725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
554f62e9 31726 }
554f62e9
RD
31727 ecode2 = SWIG_AsVal_long(obj1, &val2);
31728 if (!SWIG_IsOK(ecode2)) {
31729 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31730 }
31731 arg2 = static_cast< long >(val2);
31732 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
31733 if (!SWIG_IsOK(res3)) {
31734 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31735 }
31736 arg3 = reinterpret_cast< wxWindow * >(argp3);
31737 if (obj3) {
8d38bd1d 31738 {
554f62e9
RD
31739 arg4 = &temp4;
31740 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 31741 }
554f62e9
RD
31742 }
31743 if (obj4) {
d55e5bfc 31744 {
554f62e9
RD
31745 arg5 = &temp5;
31746 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 31747 }
554f62e9
RD
31748 }
31749 if (obj5) {
31750 ecode6 = SWIG_AsVal_long(obj5, &val6);
31751 if (!SWIG_IsOK(ecode6)) {
31752 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31753 }
31754 arg6 = static_cast< long >(val6);
31755 }
31756 if (obj6) {
d55e5bfc 31757 {
554f62e9
RD
31758 arg7 = wxString_in_helper(obj6);
31759 if (arg7 == NULL) SWIG_fail;
31760 temp7 = true;
d55e5bfc 31761 }
554f62e9
RD
31762 }
31763 {
31764 if (!wxPyCheckForApp()) SWIG_fail;
31765 PyThreadState* __tstate = wxPyBeginAllowThreads();
31766 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31767 wxPyEndAllowThreads(__tstate);
31768 if (PyErr_Occurred()) SWIG_fail;
31769 }
31770 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
31771 {
31772 if (temp7)
31773 delete arg7;
31774 }
31775 return resultobj;
31776fail:
31777 {
31778 if (temp7)
31779 delete arg7;
31780 }
31781 return NULL;
31782}
31783
31784
31785SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31786 PyObject *resultobj = 0;
31787 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31788 PyObject *arg2 = (PyObject *) 0 ;
31789 PyObject *arg3 = (PyObject *) 0 ;
31790 void *argp1 = 0 ;
31791 int res1 = 0 ;
31792 PyObject * obj0 = 0 ;
31793 PyObject * obj1 = 0 ;
31794 PyObject * obj2 = 0 ;
31795 char * kwnames[] = {
31796 (char *) "self",(char *) "self",(char *) "_class", NULL
31797 };
31798
31799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31801 if (!SWIG_IsOK(res1)) {
31802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31803 }
31804 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31805 arg2 = obj1;
31806 arg3 = obj2;
31807 {
31808 PyThreadState* __tstate = wxPyBeginAllowThreads();
31809 (arg1)->_setCallbackInfo(arg2,arg3);
31810 wxPyEndAllowThreads(__tstate);
31811 if (PyErr_Occurred()) SWIG_fail;
31812 }
31813 resultobj = SWIG_Py_Void();
31814 return resultobj;
31815fail:
31816 return NULL;
31817}
31818
31819
31820SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31821 PyObject *resultobj = 0;
31822 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31823 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
31824 void *argp1 = 0 ;
31825 int res1 = 0 ;
554f62e9
RD
31826 int res2 = 0 ;
31827 PyObject * obj0 = 0 ;
31828 PyObject * obj1 = 0 ;
31829 char * kwnames[] = {
31830 (char *) "self",(char *) "preview", NULL
31831 };
31832
31833 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
31834 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31835 if (!SWIG_IsOK(res1)) {
31836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31837 }
31838 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
9057d6d4 31839 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
554f62e9 31840 if (!SWIG_IsOK(res2)) {
9057d6d4 31841 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
554f62e9 31842 }
554f62e9
RD
31843 {
31844 PyThreadState* __tstate = wxPyBeginAllowThreads();
31845 (arg1)->SetPrintPreview(arg2);
31846 wxPyEndAllowThreads(__tstate);
31847 if (PyErr_Occurred()) SWIG_fail;
31848 }
31849 resultobj = SWIG_Py_Void();
31850 return resultobj;
31851fail:
31852 return NULL;
d55e5bfc
RD
31853}
31854
31855
554f62e9
RD
31856SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31857 PyObject *resultobj = 0;
31858 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31859 void *argp1 = 0 ;
31860 int res1 = 0 ;
31861 PyObject *swig_obj[1] ;
31862
31863 if (!args) SWIG_fail;
31864 swig_obj[0] = args;
31865 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31866 if (!SWIG_IsOK(res1)) {
31867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31868 }
31869 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31870 {
31871 PyThreadState* __tstate = wxPyBeginAllowThreads();
31872 (arg1)->CreateButtons();
31873 wxPyEndAllowThreads(__tstate);
31874 if (PyErr_Occurred()) SWIG_fail;
31875 }
31876 resultobj = SWIG_Py_Void();
31877 return resultobj;
31878fail:
31879 return NULL;
31880}
31881
31882
31883SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31884 PyObject *resultobj = 0;
31885 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31886 int arg2 ;
31887 void *argp1 = 0 ;
31888 int res1 = 0 ;
31889 int val2 ;
31890 int ecode2 = 0 ;
31891 PyObject * obj0 = 0 ;
31892 PyObject * obj1 = 0 ;
31893 char * kwnames[] = {
31894 (char *) "self",(char *) "zoom", NULL
31895 };
31896
31897 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
31898 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31899 if (!SWIG_IsOK(res1)) {
31900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31901 }
31902 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31903 ecode2 = SWIG_AsVal_int(obj1, &val2);
31904 if (!SWIG_IsOK(ecode2)) {
31905 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31906 }
31907 arg2 = static_cast< int >(val2);
31908 {
31909 PyThreadState* __tstate = wxPyBeginAllowThreads();
31910 (arg1)->SetZoomControl(arg2);
31911 wxPyEndAllowThreads(__tstate);
31912 if (PyErr_Occurred()) SWIG_fail;
31913 }
31914 resultobj = SWIG_Py_Void();
31915 return resultobj;
31916fail:
31917 return NULL;
caef1a4d
RD
31918}
31919
31920
554f62e9
RD
31921SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31922 PyObject *obj;
31923 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31924 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
31925 return SWIG_Py_Void();
60d5fcc1
RD
31926}
31927
554f62e9
RD
31928SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31929 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
31930}
31931
d55e5bfc 31932static PyMethodDef SwigMethods[] = {
093d3ff1 31933 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31934 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
093d3ff1 31935 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31936 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
093d3ff1
RD
31937 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31938 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
554f62e9 31939 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
093d3ff1 31940 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31941 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
093d3ff1
RD
31942 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31943 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31944 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
31945 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31946 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31947 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31948 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
093d3ff1 31949 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31950 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
093d3ff1 31951 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31952 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
31953 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
093d3ff1
RD
31954 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
31955 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
554f62e9 31956 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
093d3ff1
RD
31957 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
31958 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31959 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
093d3ff1 31960 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31961 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
093d3ff1
RD
31962 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
31963 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31964 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
554f62e9 31965 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 31966 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31967 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
093d3ff1 31968 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31969 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
f460c29d 31970 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
554f62e9
RD
31971 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
31972 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
093d3ff1
RD
31973 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31974 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
31975 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31976 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
093d3ff1 31977 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31978 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
70d7cb34 31979 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31980 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
31981 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31982 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
093d3ff1 31983 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31984 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
b1fcee84 31985 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
1eeb270e
RD
31986 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
31987 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31988 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31989 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
093d3ff1
RD
31990 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
31991 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31992 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
093d3ff1 31993 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31994 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
093d3ff1 31995 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31996 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
093d3ff1
RD
31997 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31998 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31999 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
093d3ff1
RD
32000 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
32001 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
32002 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
32003 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
32004 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
32005 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32006 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
093d3ff1 32007 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32008 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
093d3ff1
RD
32009 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
32010 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32011 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
32012 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
32013 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
554f62e9 32014 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
093d3ff1 32015 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32016 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
093d3ff1
RD
32017 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32018 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32019 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
b1fcee84 32020 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32021 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
b1fcee84 32022 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32023 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
093d3ff1 32024 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
b39fe951
RD
32025 { (char *)"Dialog__CreateButtonSizer", (PyCFunction) _wrap_Dialog__CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
32026 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction) _wrap_Dialog_CreateSeparatedButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
62d32a5f 32027 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32028 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
32029 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
093d3ff1
RD
32030 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
32031 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
32032 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
554f62e9 32033 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
093d3ff1 32034 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32035 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
093d3ff1
RD
32036 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32037 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
554f62e9 32038 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
32039 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32040 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32041 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
093d3ff1 32042 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
554f62e9 32043 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 32044 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32045 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
32046 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
32047 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
093d3ff1 32048 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
554f62e9 32049 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
093d3ff1 32050 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32051 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
093d3ff1
RD
32052 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32053 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32054 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
093d3ff1
RD
32055 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
32056 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
32057 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
32058 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
32059 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
32060 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
32061 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
32062 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32063 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
32064 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
093d3ff1
RD
32065 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
32066 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
554f62e9 32067 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
093d3ff1 32068 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32069 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
093d3ff1 32070 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32071 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
32072 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
093d3ff1 32073 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32074 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
093d3ff1
RD
32075 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
32076 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
32077 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
32078 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
32079 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32080 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
32081 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
093d3ff1
RD
32082 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
32083 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32084 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
32085 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
093d3ff1 32086 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32087 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
093d3ff1 32088 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32089 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
093d3ff1 32090 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32091 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
093d3ff1 32092 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32093 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
093d3ff1 32094 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32095 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
093d3ff1
RD
32096 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
32097 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
554f62e9 32098 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
32099 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32100 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32101 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
32102 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
32103 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
32104 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
093d3ff1 32105 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
554f62e9 32106 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
093d3ff1 32107 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32108 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
093d3ff1
RD
32109 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32110 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
32111 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
32112 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
32113 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
32114 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
32115 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32116 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
093d3ff1 32117 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32118 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
093d3ff1
RD
32119 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
32120 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32121 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
32122 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
093d3ff1
RD
32123 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
32124 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32125 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
32126 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
093d3ff1 32127 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32128 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
093d3ff1 32129 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
554f62e9 32130 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
32131 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32132 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32133 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
093d3ff1 32134 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32135 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
093d3ff1 32136 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32137 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
093d3ff1 32138 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
554f62e9 32139 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
32140 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32141 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32142 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
093d3ff1 32143 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32144 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
093d3ff1 32145 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32146 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
093d3ff1 32147 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32148 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
093d3ff1 32149 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32150 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
093d3ff1 32151 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
554f62e9 32152 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
32153 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32154 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32155 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
093d3ff1 32156 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32157 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
093d3ff1 32158 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
554f62e9 32159 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
093d3ff1 32160 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32161 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
093d3ff1 32162 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32163 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
32164 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
093d3ff1
RD
32165 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
32166 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
32167 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32168 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
554f62e9
RD
32169 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
32170 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
32171 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
093d3ff1
RD
32172 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32173 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32174 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32175 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
554f62e9 32176 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
093d3ff1 32177 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32178 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
093d3ff1
RD
32179 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32180 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
32181 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
554f62e9 32182 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 32183 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32184 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
093d3ff1
RD
32185 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32186 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32187 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
093d3ff1 32188 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
554f62e9 32189 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
32190 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32191 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32192 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
093d3ff1 32193 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
554f62e9 32194 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 32195 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32196 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
093d3ff1
RD
32197 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32198 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32199 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
32200 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
32201 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
32202 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
32203 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
32204 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32205 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
32206 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
32207 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
32208 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
70b7a5fe 32209 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32210 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
32211 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
32212 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
32213 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 32214 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
554f62e9 32215 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 32216 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32217 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
093d3ff1
RD
32218 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32219 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32220 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
32221 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
32222 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
093d3ff1
RD
32223 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
32224 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32225 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
32226 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
093d3ff1 32227 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32228 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
32229 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
093d3ff1 32230 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32231 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
093d3ff1
RD
32232 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32233 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
32234 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
32235 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32236 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
32237 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
093d3ff1
RD
32238 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32239 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
32240 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
1c71765a
RD
32241 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
32242 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 32243 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
554f62e9 32244 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
093d3ff1 32245 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32246 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
093d3ff1
RD
32247 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32248 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 32249 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32250 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
e9d6f3a4 32251 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 32252 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
554f62e9 32253 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
f9bf356b
RD
32254 { (char *)"new_SimpleHtmlListBox", (PyCFunction) _wrap_new_SimpleHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
32255 { (char *)"new_PreSimpleHtmlListBox", (PyCFunction)_wrap_new_PreSimpleHtmlListBox, METH_NOARGS, NULL},
32256 { (char *)"SimpleHtmlListBox_Create", (PyCFunction) _wrap_SimpleHtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32257 { (char *)"SimpleHtmlListBox_swigregister", SimpleHtmlListBox_swigregister, METH_VARARGS, NULL},
32258 { (char *)"SimpleHtmlListBox_swiginit", SimpleHtmlListBox_swiginit, METH_VARARGS, NULL},
554f62e9
RD
32259 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
32260 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
093d3ff1 32261 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32262 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
32263 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
32264 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
093d3ff1 32265 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32266 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
093d3ff1
RD
32267 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
32268 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
554f62e9 32269 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
32270 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32271 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
554f62e9
RD
32272 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
32273 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
32274 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
32275 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
32276 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
093d3ff1
RD
32277 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
32278 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
32279 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32280 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
32281 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
554f62e9 32282 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
093d3ff1 32283 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32284 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
093d3ff1 32285 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
554f62e9 32286 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
7449af73 32287 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 32288 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32289 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
32290 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
093d3ff1
RD
32291 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
32292 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
32293 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
554f62e9 32294 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
32295 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32296 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
32297 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
32298 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
32299 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
32300 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 32301 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32302 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
32303 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
32304 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
32305 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
32306 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
554f62e9
RD
32307 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
32308 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
32309 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
093d3ff1 32310 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
554f62e9 32311 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
32312 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32313 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32314 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
093d3ff1 32315 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
554f62e9 32316 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 32317 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32318 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
32319 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
093d3ff1
RD
32320 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32321 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
554f62e9 32322 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 32323 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32324 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
093d3ff1
RD
32325 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
32326 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
554f62e9 32327 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
32328 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32329 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
554f62e9 32330 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
27e45892
RD
32331 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32332 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
32333 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
32334 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
554f62e9
RD
32335 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
32336 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
093d3ff1 32337 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32338 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
32339 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
32340 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
32341 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
32342 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
32343 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
093d3ff1
RD
32344 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
32345 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
32346 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32347 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
32348 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
32349 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32350 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
554f62e9 32351 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
093d3ff1 32352 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32353 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
093d3ff1 32354 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
554f62e9 32355 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
7449af73 32356 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
32357 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32358 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
554f62e9 32359 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
32360 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32361 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
6b449b19 32362 { (char *)"ProgressDialog_Pulse", (PyCFunction) _wrap_ProgressDialog_Pulse, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32363 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
093d3ff1 32364 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
554f62e9 32365 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 32366 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32367 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
32368 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
32369 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
32370 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
093d3ff1
RD
32371 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
32372 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
32373 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
32374 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
554f62e9 32375 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
093d3ff1 32376 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32377 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
32378 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
32379 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
32380 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
093d3ff1
RD
32381 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
32382 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
32383 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
32384 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
554f62e9 32385 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
093d3ff1 32386 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32387 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
093d3ff1 32388 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32389 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
093d3ff1
RD
32390 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32391 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
554f62e9 32392 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 32393 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32394 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
093d3ff1 32395 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32396 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
32397 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
32398 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
32399 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
32400 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
32401 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
554f62e9 32402 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction)_wrap_MDIParentFrame_GetWindowMenu, METH_O, NULL},
093d3ff1 32403 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
32404 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
32405 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
554f62e9 32406 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
093d3ff1 32407 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32408 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
093d3ff1 32409 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32410 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
093d3ff1 32411 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
554f62e9 32412 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
093d3ff1 32413 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32414 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
093d3ff1
RD
32415 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32416 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
554f62e9 32417 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 32418 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32419 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
093d3ff1 32420 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
60d5fcc1 32421 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70
RD
32422 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32423 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32424 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32425 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32426 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
32427 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
32428 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
32429 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
32430 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
32431 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
32432 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
093d3ff1 32433 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
554f62e9 32434 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 32435 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32436 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
093d3ff1 32437 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
60d5fcc1 32438 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70
RD
32439 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32440 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32441 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32442 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32443 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
32444 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
32445 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
32446 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
32447 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
32448 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
32449 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
093d3ff1 32450 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
554f62e9 32451 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
093d3ff1 32452 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32453 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
093d3ff1 32454 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
60d5fcc1 32455 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70
RD
32456 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32457 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32458 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32459 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32460 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
32461 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
32462 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
32463 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
32464 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
32465 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
32466 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
093d3ff1 32467 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
554f62e9 32468 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 32469 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
554f62e9
RD
32470 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
32471 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
32472 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
32473 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
5172800e 32474 { (char *)"PrintData_IsOrientationReversed", (PyCFunction)_wrap_PrintData_IsOrientationReversed, METH_O, NULL},
b39fe951 32475 { (char *)"PrintData_IsOk", (PyCFunction)_wrap_PrintData_IsOk, METH_O, NULL},
554f62e9
RD
32476 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
32477 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
32478 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
32479 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
32480 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
32481 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
32482 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
32483 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
8f514ab4 32484 { (char *)"PrintData_GetMedia", (PyCFunction)_wrap_PrintData_GetMedia, METH_O, NULL},
093d3ff1
RD
32485 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
32486 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
32487 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
5172800e 32488 { (char *)"PrintData_SetOrientationReversed", (PyCFunction) _wrap_PrintData_SetOrientationReversed, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
32489 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
32490 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32491 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
32492 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
32493 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
32494 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
32495 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
32496 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
8f514ab4 32497 { (char *)"PrintData_SetMedia", (PyCFunction) _wrap_PrintData_SetMedia, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32498 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
093d3ff1 32499 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32500 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
b9d6a5f3 32501 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 32502 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
554f62e9 32503 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
093d3ff1 32504 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
554f62e9 32505 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
093d3ff1
RD
32506 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32507 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32508 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32509 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
32510 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32511 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
32512 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
32513 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
32514 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
32515 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
32516 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
32517 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
32518 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
32519 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
32520 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
32521 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
32522 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
32523 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
32524 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
b39fe951 32525 { (char *)"PageSetupDialogData_IsOk", (PyCFunction)_wrap_PageSetupDialogData_IsOk, METH_O, NULL},
093d3ff1
RD
32526 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32527 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32528 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
32529 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
32530 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
32531 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
32532 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
32533 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
32534 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32535 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
32536 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
093d3ff1 32537 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
554f62e9 32538 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
093d3ff1 32539 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
f05326ba 32540 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
554f62e9
RD
32541 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
32542 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
32543 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
093d3ff1 32544 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
554f62e9 32545 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 32546 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
554f62e9
RD
32547 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
32548 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
32549 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
32550 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
32551 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
32552 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
32553 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
32554 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
32555 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
32556 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
093d3ff1
RD
32557 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
32558 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
32559 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
32560 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
32561 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
32562 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
32563 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32564 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
32565 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
32566 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
32567 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32568 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
32569 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32570 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
32571 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
32572 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
32573 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
b39fe951 32574 { (char *)"PrintDialogData_IsOk", (PyCFunction)_wrap_PrintDialogData_IsOk, METH_O, NULL},
554f62e9 32575 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
093d3ff1
RD
32576 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
32577 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
554f62e9 32578 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
093d3ff1 32579 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
f05326ba 32580 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
554f62e9
RD
32581 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
32582 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
32583 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
32584 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
093d3ff1 32585 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
554f62e9 32586 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 32587 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32588 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
093d3ff1
RD
32589 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32590 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
32591 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
32592 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
32593 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32594 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
32595 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
32596 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
093d3ff1 32597 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
554f62e9 32598 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
093d3ff1 32599 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32600 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
093d3ff1 32601 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32602 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
32603 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
093d3ff1 32604 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
70d7cb34
RD
32605 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction) _wrap_Printout_FitThisSizeToPaper, METH_VARARGS | METH_KEYWORDS, NULL},
32606 { (char *)"Printout_FitThisSizeToPage", (PyCFunction) _wrap_Printout_FitThisSizeToPage, METH_VARARGS | METH_KEYWORDS, NULL},
32607 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction) _wrap_Printout_FitThisSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32608 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction)_wrap_Printout_MapScreenSizeToPaper, METH_O, NULL},
32609 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction)_wrap_Printout_MapScreenSizeToPage, METH_O, NULL},
32610 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction) _wrap_Printout_MapScreenSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32611 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction)_wrap_Printout_MapScreenSizeToDevice, METH_O, NULL},
32612 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction)_wrap_Printout_GetLogicalPaperRect, METH_O, NULL},
32613 { (char *)"Printout_GetLogicalPageRect", (PyCFunction)_wrap_Printout_GetLogicalPageRect, METH_O, NULL},
32614 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction) _wrap_Printout_GetLogicalPageMarginsRect, METH_VARARGS | METH_KEYWORDS, NULL},
32615 { (char *)"Printout_SetLogicalOrigin", (PyCFunction) _wrap_Printout_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
32616 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction) _wrap_Printout_OffsetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 32617 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32618 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
093d3ff1 32619 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32620 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
093d3ff1 32621 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32622 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
093d3ff1 32623 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32624 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
70d7cb34
RD
32625 { (char *)"Printout_SetPaperRectPixels", (PyCFunction) _wrap_Printout_SetPaperRectPixels, METH_VARARGS | METH_KEYWORDS, NULL},
32626 { (char *)"Printout_GetPaperRectPixels", (PyCFunction)_wrap_Printout_GetPaperRectPixels, METH_O, NULL},
554f62e9 32627 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
093d3ff1 32628 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70 32629 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32630 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
32631 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
32632 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
32633 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
b06b3e70 32634 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32635 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
093d3ff1 32636 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
554f62e9 32637 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
32638 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32639 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
554f62e9 32640 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
093d3ff1 32641 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32642 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
32643 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
32644 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
32645 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
093d3ff1 32646 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
554f62e9 32647 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
093d3ff1 32648 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32649 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
093d3ff1 32650 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32651 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
32652 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
32653 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
32654 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
32655 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
32656 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
093d3ff1 32657 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
554f62e9 32658 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
093d3ff1 32659 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
554f62e9 32660 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
093d3ff1 32661 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32662 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
093d3ff1 32663 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32664 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
32665 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
093d3ff1
RD
32666 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32667 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32668 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
32669 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
093d3ff1
RD
32670 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
32671 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
32672 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
32673 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32674 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
093d3ff1 32675 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32676 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
32677 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
32678 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
b39fe951 32679 { (char *)"PrintPreview_IsOk", (PyCFunction)_wrap_PrintPreview_IsOk, METH_O, NULL},
093d3ff1
RD
32680 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
32681 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32682 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
093d3ff1 32683 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
554f62e9 32684 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
32685 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
32686 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 32687 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
554f62e9 32688 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
32689 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32690 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32691 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32692 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
32693 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
32694 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
32695 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
093d3ff1 32696 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
554f62e9 32697 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
32698 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32699 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32700 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 32701 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
b06b3e70 32702 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 32703 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
554f62e9 32704 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
c32bde28 32705 { NULL, NULL, 0, NULL }
d55e5bfc
RD
32706};
32707
32708
32709/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32710
32711static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
32712 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32713}
32714static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32715 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32716}
32717static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32718 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32719}
32720static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32721 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32722}
32723static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32724 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32725}
32726static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32727 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32728}
32729static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32730 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32731}
32732static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
32733 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32734}
32735static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32736 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32737}
32738static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32739 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32740}
32741static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
32742 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
32743}
d55e5bfc
RD
32744static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32745 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32746}
0f83f5da
RD
32747static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
32748 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
32749}
2131d850
RD
32750static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32751 return (void *)((wxEvent *) ((wxPyEvent *) x));
32752}
d55e5bfc
RD
32753static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
32754 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
32755}
32756static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32757 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32758}
32759static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32760 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32761}
32762static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32763 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32764}
32765static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32766 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32767}
32768static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32769 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32770}
32771static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32772 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32773}
32774static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32775 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32776}
32777static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32778 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32779}
53aa7709
RD
32780static void *_p_wxDateEventTo_p_wxEvent(void *x) {
32781 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
32782}
d55e5bfc
RD
32783static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32784 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32785}
32786static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32787 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32788}
0f83f5da
RD
32789static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
32790 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
32791}
d55e5bfc
RD
32792static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32793 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32794}
32795static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32796 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32797}
32798static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32799 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32800}
32801static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32802 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32803}
32804static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32805 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32806}
32807static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32808 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32809}
32810static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32811 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32812}
32813static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32814 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32815}
32816static void *_p_wxSashEventTo_p_wxEvent(void *x) {
32817 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
32818}
32819static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
32820 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32821}
32822static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32823 return (void *)((wxEvent *) ((wxShowEvent *) x));
32824}
32825static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32826 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32827}
32828static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32829 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32830}
32831static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32832 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32833}
32834static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32835 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32836}
32837static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32838 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32839}
32840static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32841 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32842}
32843static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
32844 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
32845}
f9bf356b
RD
32846static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
32847 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
32848}
32849static void *_p_wxSimpleHtmlListBoxTo_p_wxItemContainer(void *x) {
32850 return (void *)((wxItemContainer *) ((wxSimpleHtmlListBox *) x));
32851}
d55e5bfc
RD
32852static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
32853 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
32854}
c1cb24a4
RD
32855static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
32856 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32857}
d55e5bfc
RD
32858static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
32859 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32860}
32861static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
32862 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32863}
32864static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
32865 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32866}
32867static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32868 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32869}
32870static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32871 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32872}
32873static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32874 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32875}
32876static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32877 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32878}
32879static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
32880 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32881}
32882static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
32883 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32884}
32885static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
32886 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32887}
32888static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
32889 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32890}
f9bf356b
RD
32891static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
32892 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32893}
27e45892
RD
32894static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
32895 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32896}
d55e5bfc
RD
32897static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
32898 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32899}
32900static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
32901 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32902}
32903static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
32904 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32905}
32906static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
32907 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
32908}
32909static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
32910 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
32911}
32912static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
32913 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32914}
32915static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
32916 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32917}
32918static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
32919 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32920}
32921static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
32922 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
32923}
32924static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
32925 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32926}
32927static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
32928 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
32929}
32930static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
32931 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
32932}
32933static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
32934 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
32935}
32936static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32937 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32938}
32939static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
32940 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32941}
32942static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
32943 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
32944}
32945static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
32946 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
32947}
32948static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
32949 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32950}
32951static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32952 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32953}
32954static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
32955 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32956}
32957static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
32958 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32959}
32960static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
32961 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32962}
32963static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32964 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32965}
32966static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32967 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32968}
32969static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
32970 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
32971}
32972static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
32973 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32974}
f9bf356b
RD
32975static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) {
32976 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
32977}
d55e5bfc
RD
32978static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
32979 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32980}
32981static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
32982 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32983}
32984static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
32985 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32986}
32987static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
32988 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32989}
5e483524
RD
32990static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
32991 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
32992}
32993static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
32994 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32995}
d55e5bfc
RD
32996static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
32997 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32998}
32999static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
33000 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33001}
33002static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
33003 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
33004}
c1cb24a4
RD
33005static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
33006 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33007}
d55e5bfc
RD
33008static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
33009 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33010}
33011static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
33012 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
33013}
f9bf356b
RD
33014static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVListBox(void *x) {
33015 return (void *)((wxPyVListBox *) (wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33016}
33017static void *_p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox(void *x) {
33018 return (void *)((wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33019}
d55e5bfc
RD
33020static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
33021 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
33022}
33023static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
33024 return (void *)((wxFrame *) ((wxProgressDialog *) x));
33025}
33026static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
33027 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
33028}
33029static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
33030 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33031}
33032static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
33033 return (void *)((wxFrame *) ((wxMiniFrame *) x));
33034}
33035static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
33036 return (void *)((wxFrame *) ((wxSplashScreen *) x));
33037}
33038static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
33039 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
33040}
33041static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
33042 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
33043}
33044static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
33045 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
33046}
33047static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
33048 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33049}
33050static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
33051 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33052}
d55e5bfc
RD
33053static void *_p_wxSizerItemTo_p_wxObject(void *x) {
33054 return (void *)((wxObject *) ((wxSizerItem *) x));
33055}
0f83f5da
RD
33056static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
33057 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
33058}
d55e5bfc
RD
33059static void *_p_wxScrollEventTo_p_wxObject(void *x) {
33060 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
33061}
33062static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
33063 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
33064}
33065static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
33066 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
33067}
33068static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
33069 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
33070}
33071static void *_p_wxSizerTo_p_wxObject(void *x) {
33072 return (void *)((wxObject *) ((wxSizer *) x));
33073}
33074static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
33075 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
33076}
33077static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
33078 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
33079}
33080static void *_p_wxPyPanelTo_p_wxObject(void *x) {
33081 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
33082}
33083static void *_p_wxEventTo_p_wxObject(void *x) {
33084 return (void *)((wxObject *) ((wxEvent *) x));
33085}
33086static void *_p_wxFontDataTo_p_wxObject(void *x) {
33087 return (void *)((wxObject *) ((wxFontData *) x));
33088}
33089static void *_p_wxPrintDataTo_p_wxObject(void *x) {
33090 return (void *)((wxObject *) ((wxPrintData *) x));
33091}
33092static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
33093 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
33094}
33095static void *_p_wxGridSizerTo_p_wxObject(void *x) {
33096 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
33097}
33098static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
33099 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
33100}
33101static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
33102 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
33103}
5e483524
RD
33104static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
33105 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
33106}
33107static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
33108 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
33109}
2131d850
RD
33110static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
33111 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
33112}
d55e5bfc
RD
33113static void *_p_wxPaintEventTo_p_wxObject(void *x) {
33114 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
33115}
33116static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
33117 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
33118}
33119static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
33120 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
33121}
33122static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
33123 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
33124}
33125static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
33126 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
33127}
33128static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
33129 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
33130}
33131static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
33132 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33133}
33134static void *_p_wxControlTo_p_wxObject(void *x) {
33135 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
33136}
33137static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
33138 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
33139}
33140static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
33141 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
33142}
33143static void *_p_wxFSFileTo_p_wxObject(void *x) {
33144 return (void *)((wxObject *) ((wxFSFile *) x));
33145}
33146static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
33147 return (void *)((wxObject *) ((wxFindReplaceData *) x));
33148}
33149static void *_p_wxPySizerTo_p_wxObject(void *x) {
33150 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
33151}
33152static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
33153 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33154}
33155static void *_p_wxColourDataTo_p_wxObject(void *x) {
33156 return (void *)((wxObject *) ((wxColourData *) x));
33157}
33158static void *_p_wxPyEventTo_p_wxObject(void *x) {
33159 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
33160}
33161static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
33162 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
33163}
33164static void *_p_wxPyWindowTo_p_wxObject(void *x) {
33165 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
33166}
33167static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
33168 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33169}
33170static void *_p_wxFileDialogTo_p_wxObject(void *x) {
33171 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33172}
33173static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
33174 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33175}
33176static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
33177 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33178}
33179static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
33180 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33181}
c1cb24a4
RD
33182static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
33183 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33184}
27e45892
RD
33185static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
33186 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
33187}
d55e5bfc
RD
33188static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
33189 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33190}
33191static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
33192 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33193}
33194static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
33195 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33196}
33197static void *_p_wxShowEventTo_p_wxObject(void *x) {
33198 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
33199}
33200static void *_p_wxPrinterTo_p_wxObject(void *x) {
33201 return (void *)((wxObject *) ((wxPrinter *) x));
33202}
33203static void *_p_wxMenuItemTo_p_wxObject(void *x) {
33204 return (void *)((wxObject *) ((wxMenuItem *) x));
33205}
53aa7709
RD
33206static void *_p_wxDateEventTo_p_wxObject(void *x) {
33207 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
33208}
d55e5bfc
RD
33209static void *_p_wxIdleEventTo_p_wxObject(void *x) {
33210 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
33211}
33212static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
33213 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
33214}
33215static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
33216 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
33217}
33218static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
33219 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
33220}
33221static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
33222 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
33223}
33224static void *_p_wxSizeEventTo_p_wxObject(void *x) {
33225 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
33226}
33227static void *_p_wxMoveEventTo_p_wxObject(void *x) {
33228 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
33229}
33230static void *_p_wxActivateEventTo_p_wxObject(void *x) {
33231 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
33232}
d55e5bfc
RD
33233static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
33234 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
33235}
33236static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
33237 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
33238}
33239static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
33240 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
33241}
33242static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
33243 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
33244}
33245static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
33246 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
33247}
33248static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
33249 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
33250}
33251static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
33252 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
33253}
33254static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
33255 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
33256}
33257static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
33258 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
33259}
9d7dfdff
RD
33260static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
33261 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
33262}
d55e5bfc
RD
33263static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
33264 return (void *)((wxObject *) ((wxImageHandler *) x));
33265}
9d7dfdff
RD
33266static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
33267 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
33268}
d55e5bfc
RD
33269static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
33270 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
33271}
580080c5
RD
33272static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
33273 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
33274}
d55e5bfc
RD
33275static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
33276 return (void *)((wxObject *) ((wxEvtHandler *) x));
33277}
0f83f5da
RD
33278static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
33279 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
33280}
d55e5bfc
RD
33281static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
33282 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
33283}
33284static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
33285 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33286}
33287static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
33288 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33289}
f9bf356b
RD
33290static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) {
33291 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33292}
d55e5bfc
RD
33293static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
33294 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
33295}
580080c5
RD
33296static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
33297 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
33298}
d55e5bfc
RD
33299static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
33300 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33301}
33302static void *_p_wxImageTo_p_wxObject(void *x) {
33303 return (void *)((wxObject *) ((wxImage *) x));
33304}
33305static void *_p_wxFrameTo_p_wxObject(void *x) {
33306 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
33307}
33308static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
33309 return (void *)((wxObject *) ((wxPyPrintout *) x));
33310}
33311static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
33312 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
33313}
33314static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
33315 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
33316}
33317static void *_p_wxStatusBarTo_p_wxObject(void *x) {
33318 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
33319}
33320static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
33321 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33322}
33323static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
33324 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33325}
33326static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
33327 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
33328}
33329static void *_p_wxKeyEventTo_p_wxObject(void *x) {
33330 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
33331}
33332static void *_p_wxWindowTo_p_wxObject(void *x) {
33333 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
33334}
33335static void *_p_wxMenuTo_p_wxObject(void *x) {
33336 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
33337}
33338static void *_p_wxMenuBarTo_p_wxObject(void *x) {
33339 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
33340}
33341static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
33342 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
33343}
33344static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
33345 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
33346}
33347static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
33348 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
33349}
33350static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
33351 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
33352}
33353static void *_p_wxSashWindowTo_p_wxObject(void *x) {
33354 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
33355}
33356static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
33357 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
33358}
33359static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
33360 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
33361}
33362static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
33363 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33364}
33365static void *_p_wxTipWindowTo_p_wxObject(void *x) {
33366 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33367}
33368static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
33369 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
33370}
33371static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
33372 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
33373}
33374static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
33375 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33376}
33377static void *_p_wxSashEventTo_p_wxObject(void *x) {
33378 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
33379}
33380static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
33381 return (void *)((wxObject *) ((wxPrintPreview *) x));
33382}
33383static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
33384 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
33385}
33386static void *_p_wxPanelTo_p_wxObject(void *x) {
33387 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
33388}
33389static void *_p_wxDialogTo_p_wxObject(void *x) {
33390 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
33391}
33392static void *_p_wxColourDialogTo_p_wxObject(void *x) {
33393 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33394}
33395static void *_p_wxDirDialogTo_p_wxObject(void *x) {
33396 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33397}
33398static void *_p_wxFontDialogTo_p_wxObject(void *x) {
33399 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33400}
33401static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
8ac8dba0 33402 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d55e5bfc
RD
33403}
33404static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
c1cb24a4 33405 return (void *)((wxObject *) ((wxPrintDialog *) x));
d55e5bfc
RD
33406}
33407static void *_p_wxFileSystemTo_p_wxObject(void *x) {
33408 return (void *)((wxObject *) ((wxFileSystem *) x));
33409}
33410static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
33411 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
33412}
33413static void *_p_wxMenuEventTo_p_wxObject(void *x) {
33414 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
33415}
33416static void *_p_wxPyAppTo_p_wxObject(void *x) {
33417 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
33418}
33419static void *_p_wxCloseEventTo_p_wxObject(void *x) {
33420 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
33421}
33422static void *_p_wxMouseEventTo_p_wxObject(void *x) {
33423 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
33424}
33425static void *_p_wxEraseEventTo_p_wxObject(void *x) {
33426 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
33427}
33428static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
33429 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
33430}
33431static void *_p_wxCommandEventTo_p_wxObject(void *x) {
33432 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
33433}
33434static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
33435 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
33436}
33437static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
33438 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33439}
33440static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
33441 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
33442}
33443static void *_p_wxFocusEventTo_p_wxObject(void *x) {
33444 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
33445}
33446static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
33447 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
33448}
33449static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
33450 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
33451}
33452static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
33453 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
33454}
33455static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
33456 return (void *)((wxObject *) ((wxPrintDialogData *) x));
33457}
33458static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
33459 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
33460}
33461static void *_p_wxValidatorTo_p_wxObject(void *x) {
33462 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
33463}
33464static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
33465 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33466}
33467static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
33468 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
33469}
f9bf356b
RD
33470static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
33471 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33472}
d55e5bfc
RD
33473static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
33474 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33475}
33476static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
33477 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33478}
33479static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
33480 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33481}
33482static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
33483 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
33484}
33485static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
33486 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
33487}
33488static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
33489 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
33490}
33491static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
33492 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
33493}
33494static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
33495 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
33496}
33497static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
33498 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
33499}
33500static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
33501 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
33502}
d55e5bfc
RD
33503static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
33504 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
33505}
33506static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
33507 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
33508}
33509static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
33510 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
33511}
d55e5bfc
RD
33512static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
33513 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
33514}
27e45892
RD
33515static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
33516 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
33517}
c1cb24a4
RD
33518static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
33519 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33520}
d55e5bfc
RD
33521static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
33522 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
33523}
33524static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
33525 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
33526}
33527static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
33528 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
33529}
33530static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
33531 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
33532}
27e45892
RD
33533static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
33534 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
33535}
c1cb24a4
RD
33536static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
33537 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
33538}
d55e5bfc
RD
33539static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
33540 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
33541}
33542static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
33543 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33544}
33545static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
33546 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33547}
33548static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
33549 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33550}
33551static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
33552 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
33553}
33554static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
33555 return (void *)((wxWindow *) ((wxMenuBar *) x));
33556}
33557static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
33558 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33559}
33560static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
33561 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33562}
33563static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
33564 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33565}
27e45892
RD
33566static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
33567 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
33568}
c1cb24a4
RD
33569static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
33570 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33571}
d55e5bfc
RD
33572static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
33573 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33574}
33575static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
33576 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33577}
33578static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
33579 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33580}
33581static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
33582 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33583}
33584static void *_p_wxPanelTo_p_wxWindow(void *x) {
33585 return (void *)((wxWindow *) ((wxPanel *) x));
33586}
33587static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
33588 return (void *)((wxWindow *) ((wxStatusBar *) x));
33589}
d55e5bfc
RD
33590static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
33591 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
33592}
33593static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
33594 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33595}
33596static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
33597 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33598}
33599static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
33600 return (void *)((wxWindow *) ((wxPopupWindow *) x));
33601}
33602static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
33603 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
33604}
33605static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
33606 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
33607}
33608static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
33609 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
33610}
33611static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
33612 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
33613}
33614static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
33615 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
33616}
33617static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
33618 return (void *)((wxWindow *) ((wxSashWindow *) x));
33619}
c1cb24a4
RD
33620static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
33621 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
33622}
d55e5bfc
RD
33623static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
33624 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33625}
33626static void *_p_wxControlTo_p_wxWindow(void *x) {
33627 return (void *)((wxWindow *) ((wxControl *) x));
33628}
33629static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
33630 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33631}
33632static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
33633 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33634}
33635static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
33636 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33637}
33638static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
33639 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
33640}
33641static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
33642 return (void *)((wxWindow *) ((wxPyWindow *) x));
33643}
33644static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
33645 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33646}
f9bf356b
RD
33647static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) {
33648 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33649}
d55e5bfc
RD
33650static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
33651 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33652}
33653static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
33654 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33655}
33656static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
33657 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
33658}
33659static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
33660 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33661}
33662static void *_p_wxFrameTo_p_wxWindow(void *x) {
33663 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
33664}
33665static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
33666 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33667}
33668static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
33669 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33670}
33671static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
33672 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33673}
33674static void *_p_wxDialogTo_p_wxWindow(void *x) {
33675 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
33676}
d55e5bfc
RD
33677static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
33678 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33679}
33680static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
33681 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33682}
33683static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
33684 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
33685}
33686static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
33687 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
33688}
33689static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
33690 return (void *)((wxDialog *) ((wxColourDialog *) x));
33691}
33692static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
33693 return (void *)((wxDialog *) ((wxDirDialog *) x));
33694}
33695static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
33696 return (void *)((wxDialog *) ((wxFontDialog *) x));
33697}
d55e5bfc
RD
33698static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
33699 return (void *)((wxDialog *) ((wxFileDialog *) x));
33700}
33701static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
33702 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
33703}
33704static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
33705 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
33706}
33707static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
33708 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
33709}
c1cb24a4
RD
33710static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
33711 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33712}
27e45892
RD
33713static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
33714 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
33715}
d55e5bfc
RD
33716static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
33717 return (void *)((wxDialog *) ((wxMessageDialog *) x));
33718}
33719static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
33720 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
33721}
33722static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
33723 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
33724}
33725static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
33726 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
33727}
33728static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
33729 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33730}
33731static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
33732 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33733}
33734static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
33735 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33736}
f9bf356b
RD
33737static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x) {
33738 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33739}
d55e5bfc
RD
33740static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
33741 return (void *)((wxPanel *) ((wxPyPanel *) x));
33742}
33743static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
33744 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
33745}
33746static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
33747 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
33748}
33749static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
33750 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33751}
33752static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
33753 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
33754}
33755static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
33756 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
33757}
33758static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
33759 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
33760}
53aa7709
RD
33761static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
33762 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
33763}
d55e5bfc
RD
33764static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
33765 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
33766}
2131d850
RD
33767static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
33768 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
33769}
d55e5bfc
RD
33770static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
33771 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
33772}
33773static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
33774 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33775}
33776static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
33777 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
33778}
33779static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
33780 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
33781}
33782static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
33783 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
33784}
33785static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
33786 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
33787}
33788static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
33789 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
33790}
33791static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
33792 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33793}
f9bf356b
RD
33794static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
33795 return (void *)((wxValidator *) ((wxPyValidator *) x));
33796}
f460c29d 33797static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
554f62e9
RD
33798static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
33799static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
33800static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
33801static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33802static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33803static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33804static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
f9bf356b 33805static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
554f62e9
RD
33806static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33807static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33808static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33809static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33810static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33811static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
2131d850
RD
33812static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33813static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
554f62e9 33814static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
2131d850
RD
33815static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33816static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33817static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
554f62e9
RD
33818static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33819static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33820static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
554f62e9
RD
33821static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33822static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33823static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33824static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33825static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33826static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33827static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33828static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33829static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33830static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33831static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33832static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
0f83f5da 33833static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
554f62e9
RD
33834static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33835static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33836static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33837static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33838static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33839static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33840static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33841static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33842static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33843static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33844static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33845static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33846static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33847static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33848static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33849static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33850static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33851static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33852static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
554f62e9
RD
33853static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33854static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
33855static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
33856static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33857static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33858static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33859static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33860static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33861static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33862static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33863static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33864static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33865static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
e9d6f3a4 33866static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
554f62e9
RD
33867static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33868static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
f9bf356b 33869static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
554f62e9
RD
33870static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33871static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33872static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33873static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33874static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33875static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33876static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33877static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33878static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33879static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
27e45892 33880static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
554f62e9
RD
33881static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33882static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
554f62e9 33883static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
0f83f5da 33884static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
554f62e9
RD
33885static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33886static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33887static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33888static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
33889static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33890static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33891static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33892static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
33893static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
33894static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
554f62e9
RD
33895static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33896static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33897static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33898static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33899static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33900static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33901static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33902static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33903static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
27e45892 33904static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
2131d850 33905static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
554f62e9
RD
33906static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33907static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
580080c5 33908static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
554f62e9
RD
33909static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33910static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
33911static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33912static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33913static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33914static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33915static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33916static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33917static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33918static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33919static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33920static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33921static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33922static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33923static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33924static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33925static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33926static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33927static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33928static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33929static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33930static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33931static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33932static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33933static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33934static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33935static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33936static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33937static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33938static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33939static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33940static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33941static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33942static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33943static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33944static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33945static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33946static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
f9bf356b 33947static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", "wxSimpleHtmlListBox *", 0, 0, (void*)0, 0};
554f62e9
RD
33948static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33949static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33950static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33951static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33952static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33953static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33954static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33955static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33956static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33957static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33958static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33959static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33960static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33961static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33962static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
f9bf356b 33963static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
554f62e9
RD
33964static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33965static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
7449af73
RD
33966
33967static swig_type_info *swig_type_initial[] = {
f460c29d 33968 &_swigt__p_bool,
7449af73
RD
33969 &_swigt__p_char,
33970 &_swigt__p_form_ops_t,
33971 &_swigt__p_int,
33972 &_swigt__p_unsigned_char,
33973 &_swigt__p_unsigned_int,
33974 &_swigt__p_unsigned_long,
33975 &_swigt__p_wxANIHandler,
33976 &_swigt__p_wxAcceleratorTable,
33977 &_swigt__p_wxActivateEvent,
33978 &_swigt__p_wxArrayInt,
f9bf356b 33979 &_swigt__p_wxArrayString,
7449af73
RD
33980 &_swigt__p_wxBMPHandler,
33981 &_swigt__p_wxBitmap,
33982 &_swigt__p_wxBoxSizer,
33983 &_swigt__p_wxCURHandler,
33984 &_swigt__p_wxCalculateLayoutEvent,
33985 &_swigt__p_wxChildFocusEvent,
2131d850 33986 &_swigt__p_wxClipboardTextEvent,
7449af73
RD
33987 &_swigt__p_wxCloseEvent,
33988 &_swigt__p_wxColour,
33989 &_swigt__p_wxColourData,
33990 &_swigt__p_wxColourDialog,
33991 &_swigt__p_wxCommandEvent,
33992 &_swigt__p_wxContextMenuEvent,
33993 &_swigt__p_wxControl,
33994 &_swigt__p_wxControlWithItems,
33995 &_swigt__p_wxDC,
33996 &_swigt__p_wxDateEvent,
33997 &_swigt__p_wxDialog,
33998 &_swigt__p_wxDirDialog,
33999 &_swigt__p_wxDisplayChangedEvent,
34000 &_swigt__p_wxDropFilesEvent,
34001 &_swigt__p_wxDuplexMode,
34002 &_swigt__p_wxEraseEvent,
34003 &_swigt__p_wxEvent,
34004 &_swigt__p_wxEvtHandler,
34005 &_swigt__p_wxFSFile,
34006 &_swigt__p_wxFileDialog,
34007 &_swigt__p_wxFileSystem,
34008 &_swigt__p_wxFindDialogEvent,
34009 &_swigt__p_wxFindReplaceData,
34010 &_swigt__p_wxFindReplaceDialog,
34011 &_swigt__p_wxFlexGridSizer,
34012 &_swigt__p_wxFocusEvent,
34013 &_swigt__p_wxFont,
34014 &_swigt__p_wxFontData,
34015 &_swigt__p_wxFontDialog,
34016 &_swigt__p_wxFrame,
34017 &_swigt__p_wxGBSizerItem,
34018 &_swigt__p_wxGIFHandler,
34019 &_swigt__p_wxGridBagSizer,
34020 &_swigt__p_wxGridSizer,
e9d6f3a4 34021 &_swigt__p_wxHtmlLinkInfo,
7449af73
RD
34022 &_swigt__p_wxICOHandler,
34023 &_swigt__p_wxIcon,
34024 &_swigt__p_wxIconBundle,
34025 &_swigt__p_wxIconizeEvent,
34026 &_swigt__p_wxIdleEvent,
34027 &_swigt__p_wxImage,
34028 &_swigt__p_wxImageHandler,
34029 &_swigt__p_wxIndividualLayoutConstraint,
34030 &_swigt__p_wxInitDialogEvent,
f9bf356b 34031 &_swigt__p_wxItemContainer,
7449af73
RD
34032 &_swigt__p_wxJPEGHandler,
34033 &_swigt__p_wxKeyEvent,
34034 &_swigt__p_wxLayoutAlgorithm,
34035 &_swigt__p_wxLayoutConstraints,
34036 &_swigt__p_wxMDIChildFrame,
34037 &_swigt__p_wxMDIClientWindow,
34038 &_swigt__p_wxMDIParentFrame,
34039 &_swigt__p_wxMaximizeEvent,
34040 &_swigt__p_wxMenu,
34041 &_swigt__p_wxMenuBar,
34042 &_swigt__p_wxMenuEvent,
34043 &_swigt__p_wxMenuItem,
34044 &_swigt__p_wxMessageDialog,
34045 &_swigt__p_wxMiniFrame,
34046 &_swigt__p_wxMouseCaptureChangedEvent,
0f83f5da 34047 &_swigt__p_wxMouseCaptureLostEvent,
7449af73
RD
34048 &_swigt__p_wxMouseEvent,
34049 &_swigt__p_wxMoveEvent,
34050 &_swigt__p_wxMultiChoiceDialog,
34051 &_swigt__p_wxNavigationKeyEvent,
34052 &_swigt__p_wxNcPaintEvent,
34053 &_swigt__p_wxNotifyEvent,
27e45892 34054 &_swigt__p_wxNumberEntryDialog,
7449af73
RD
34055 &_swigt__p_wxObject,
34056 &_swigt__p_wxPCXHandler,
34057 &_swigt__p_wxPNGHandler,
34058 &_swigt__p_wxPNMHandler,
34059 &_swigt__p_wxPageSetupDialog,
34060 &_swigt__p_wxPageSetupDialogData,
34061 &_swigt__p_wxPaintEvent,
34062 &_swigt__p_wxPaletteChangedEvent,
34063 &_swigt__p_wxPanel,
34064 &_swigt__p_wxPaperSize,
34065 &_swigt__p_wxPasswordEntryDialog,
34066 &_swigt__p_wxPoint,
34067 &_swigt__p_wxPopupWindow,
34068 &_swigt__p_wxPreviewCanvas,
34069 &_swigt__p_wxPreviewControlBar,
34070 &_swigt__p_wxPreviewFrame,
34071 &_swigt__p_wxPrintData,
34072 &_swigt__p_wxPrintDialog,
34073 &_swigt__p_wxPrintDialogData,
34074 &_swigt__p_wxPrintPreview,
34075 &_swigt__p_wxPrinter,
34076 &_swigt__p_wxProgressDialog,
34077 &_swigt__p_wxPyApp,
34078 &_swigt__p_wxPyCommandEvent,
34079 &_swigt__p_wxPyEvent,
34080 &_swigt__p_wxPyHtmlListBox,
34081 &_swigt__p_wxPyImageHandler,
34082 &_swigt__p_wxPyPanel,
34083 &_swigt__p_wxPyPopupTransientWindow,
34084 &_swigt__p_wxPyPreviewControlBar,
34085 &_swigt__p_wxPyPreviewFrame,
34086 &_swigt__p_wxPyPrintPreview,
34087 &_swigt__p_wxPyPrintout,
34088 &_swigt__p_wxPyScrolledWindow,
34089 &_swigt__p_wxPySizer,
34090 &_swigt__p_wxPyTaskBarIcon,
34091 &_swigt__p_wxPyVListBox,
34092 &_swigt__p_wxPyVScrolledWindow,
34093 &_swigt__p_wxPyValidator,
34094 &_swigt__p_wxPyWindow,
34095 &_swigt__p_wxQueryLayoutInfoEvent,
34096 &_swigt__p_wxQueryNewPaletteEvent,
34097 &_swigt__p_wxRect,
34098 &_swigt__p_wxRegion,
34099 &_swigt__p_wxSashEvent,
34100 &_swigt__p_wxSashLayoutWindow,
34101 &_swigt__p_wxSashWindow,
34102 &_swigt__p_wxScrollEvent,
34103 &_swigt__p_wxScrollWinEvent,
34104 &_swigt__p_wxScrolledWindow,
34105 &_swigt__p_wxSetCursorEvent,
34106 &_swigt__p_wxShowEvent,
f9bf356b 34107 &_swigt__p_wxSimpleHtmlListBox,
7449af73
RD
34108 &_swigt__p_wxSingleChoiceDialog,
34109 &_swigt__p_wxSize,
34110 &_swigt__p_wxSizeEvent,
34111 &_swigt__p_wxSizer,
34112 &_swigt__p_wxSizerItem,
34113 &_swigt__p_wxSplashScreen,
34114 &_swigt__p_wxSplashScreenWindow,
34115 &_swigt__p_wxSplitterEvent,
34116 &_swigt__p_wxSplitterWindow,
34117 &_swigt__p_wxStaticBoxSizer,
34118 &_swigt__p_wxStatusBar,
34119 &_swigt__p_wxStdDialogButtonSizer,
34120 &_swigt__p_wxString,
34121 &_swigt__p_wxSysColourChangedEvent,
580080c5 34122 &_swigt__p_wxTGAHandler,
7449af73
RD
34123 &_swigt__p_wxTIFFHandler,
34124 &_swigt__p_wxTaskBarIcon,
34125 &_swigt__p_wxTaskBarIconEvent,
34126 &_swigt__p_wxTextEntryDialog,
34127 &_swigt__p_wxTipWindow,
34128 &_swigt__p_wxToolBar,
34129 &_swigt__p_wxTopLevelWindow,
34130 &_swigt__p_wxUpdateUIEvent,
34131 &_swigt__p_wxValidator,
34132 &_swigt__p_wxVisualAttributes,
34133 &_swigt__p_wxWindow,
34134 &_swigt__p_wxWindowCreateEvent,
34135 &_swigt__p_wxWindowDestroyEvent,
34136 &_swigt__p_wxXPMHandler,
7449af73
RD
34137};
34138
f460c29d 34139static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
34140static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
34141static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
34142static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
34143static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
34144static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
34145static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
34146static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
f9bf356b 34147static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
34148static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
34149static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
34150static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
34151static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
34152static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
2131d850
RD
34153static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
34154static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
7449af73 34155static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850
RD
34156static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
34157static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
34158static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
34159static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
34160static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
34161static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 34162static 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 34163static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
27e45892 34164static 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
34165static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
34166static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
34167static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
34168static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
34169static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
34170static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
34171static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
34172static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
34173static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
0f83f5da 34174static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
34175static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
34176static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
34177static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
34178static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
34179static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
34180static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
34181static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
34182static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
34183static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
34184static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34185static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34186static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34187static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34188static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
34189static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
34190static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
34191static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
34192static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
0f83f5da 34193static 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
34194static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
34195static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
34196static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
34197static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
f9bf356b 34198static 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_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_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_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_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
34199static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
34200static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
34201static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
34202static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
34203static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
34204static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
34205static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
34206static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
34207static 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 34208static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
34209static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
34210static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
f9bf356b 34211static swig_cast_info _swigc__p_wxItemContainer[] = { {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxItemContainer, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
34212static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
34213static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
34214static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
34215static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
34216static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
34217static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
34218static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
34219static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
34220static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
34221static 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 34222static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
7449af73 34223static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
7449af73 34224static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
0f83f5da 34225static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
34226static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
34227static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
34228static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
34229static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
34230static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
34231static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
34232static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
34233static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
34234static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
34235static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
34236static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
34237static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
34238static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
34239static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
34240static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
34241static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
34242static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
34243static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
34244static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
27e45892 34245static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
2131d850 34246static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
34247static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
34248static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
580080c5 34249static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
34250static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
34251static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
f9bf356b 34252static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
7449af73
RD
34253static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
34254static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
f9bf356b 34255static 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_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_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}};
7449af73
RD
34256static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
34257static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
34258static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
34259static 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}};
34260static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
34261static 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}};
34262static 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}};
34263static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
34264static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
34265static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
34266static 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}};
34267static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
34268static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
f9bf356b 34269static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox, 0, 0},{0, 0, 0, 0}};
7449af73
RD
34270static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
34271static 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}};
34272static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
34273static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
34274static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
34275static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
34276static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
34277static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
f9bf356b
RD
34278static swig_cast_info _swigc__p_wxPyVListBox[] = { {&_swigt__p_wxPyVListBox, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVListBox, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPyVListBox, 0, 0},{0, 0, 0, 0}};
34279static 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}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0},{0, 0, 0, 0}};
7449af73
RD
34280static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
34281static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
34282static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
34283static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
34284static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
34285static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
34286static 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}};
34287static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
34288static 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}};
f9bf356b 34289static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = { {&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
34290static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
34291static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
34292static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
34293static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
34294static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
34295static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
34296static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
34297static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
34298static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
34299static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
34300static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
34301static 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}};
34302static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
34303static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
27e45892 34304static 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}};
f9bf356b 34305static swig_cast_info _swigc__p_wxValidator[] = { {&_swigt__p_wxValidator, 0, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}};
7449af73 34306static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
f9bf356b 34307static 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_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_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
34308
34309static swig_cast_info *swig_cast_initial[] = {
f460c29d 34310 _swigc__p_bool,
7449af73
RD
34311 _swigc__p_char,
34312 _swigc__p_form_ops_t,
34313 _swigc__p_int,
34314 _swigc__p_unsigned_char,
34315 _swigc__p_unsigned_int,
34316 _swigc__p_unsigned_long,
34317 _swigc__p_wxANIHandler,
34318 _swigc__p_wxAcceleratorTable,
34319 _swigc__p_wxActivateEvent,
34320 _swigc__p_wxArrayInt,
f9bf356b 34321 _swigc__p_wxArrayString,
7449af73
RD
34322 _swigc__p_wxBMPHandler,
34323 _swigc__p_wxBitmap,
34324 _swigc__p_wxBoxSizer,
34325 _swigc__p_wxCURHandler,
34326 _swigc__p_wxCalculateLayoutEvent,
34327 _swigc__p_wxChildFocusEvent,
2131d850 34328 _swigc__p_wxClipboardTextEvent,
7449af73
RD
34329 _swigc__p_wxCloseEvent,
34330 _swigc__p_wxColour,
34331 _swigc__p_wxColourData,
34332 _swigc__p_wxColourDialog,
34333 _swigc__p_wxCommandEvent,
34334 _swigc__p_wxContextMenuEvent,
34335 _swigc__p_wxControl,
34336 _swigc__p_wxControlWithItems,
34337 _swigc__p_wxDC,
34338 _swigc__p_wxDateEvent,
34339 _swigc__p_wxDialog,
34340 _swigc__p_wxDirDialog,
34341 _swigc__p_wxDisplayChangedEvent,
34342 _swigc__p_wxDropFilesEvent,
34343 _swigc__p_wxDuplexMode,
34344 _swigc__p_wxEraseEvent,
34345 _swigc__p_wxEvent,
34346 _swigc__p_wxEvtHandler,
34347 _swigc__p_wxFSFile,
34348 _swigc__p_wxFileDialog,
34349 _swigc__p_wxFileSystem,
34350 _swigc__p_wxFindDialogEvent,
34351 _swigc__p_wxFindReplaceData,
34352 _swigc__p_wxFindReplaceDialog,
34353 _swigc__p_wxFlexGridSizer,
34354 _swigc__p_wxFocusEvent,
34355 _swigc__p_wxFont,
34356 _swigc__p_wxFontData,
34357 _swigc__p_wxFontDialog,
34358 _swigc__p_wxFrame,
34359 _swigc__p_wxGBSizerItem,
34360 _swigc__p_wxGIFHandler,
34361 _swigc__p_wxGridBagSizer,
34362 _swigc__p_wxGridSizer,
e9d6f3a4 34363 _swigc__p_wxHtmlLinkInfo,
7449af73
RD
34364 _swigc__p_wxICOHandler,
34365 _swigc__p_wxIcon,
34366 _swigc__p_wxIconBundle,
34367 _swigc__p_wxIconizeEvent,
34368 _swigc__p_wxIdleEvent,
34369 _swigc__p_wxImage,
34370 _swigc__p_wxImageHandler,
34371 _swigc__p_wxIndividualLayoutConstraint,
34372 _swigc__p_wxInitDialogEvent,
f9bf356b 34373 _swigc__p_wxItemContainer,
7449af73
RD
34374 _swigc__p_wxJPEGHandler,
34375 _swigc__p_wxKeyEvent,
34376 _swigc__p_wxLayoutAlgorithm,
34377 _swigc__p_wxLayoutConstraints,
34378 _swigc__p_wxMDIChildFrame,
34379 _swigc__p_wxMDIClientWindow,
34380 _swigc__p_wxMDIParentFrame,
34381 _swigc__p_wxMaximizeEvent,
34382 _swigc__p_wxMenu,
34383 _swigc__p_wxMenuBar,
34384 _swigc__p_wxMenuEvent,
34385 _swigc__p_wxMenuItem,
34386 _swigc__p_wxMessageDialog,
34387 _swigc__p_wxMiniFrame,
34388 _swigc__p_wxMouseCaptureChangedEvent,
0f83f5da 34389 _swigc__p_wxMouseCaptureLostEvent,
7449af73
RD
34390 _swigc__p_wxMouseEvent,
34391 _swigc__p_wxMoveEvent,
34392 _swigc__p_wxMultiChoiceDialog,
34393 _swigc__p_wxNavigationKeyEvent,
34394 _swigc__p_wxNcPaintEvent,
34395 _swigc__p_wxNotifyEvent,
27e45892 34396 _swigc__p_wxNumberEntryDialog,
7449af73
RD
34397 _swigc__p_wxObject,
34398 _swigc__p_wxPCXHandler,
34399 _swigc__p_wxPNGHandler,
34400 _swigc__p_wxPNMHandler,
34401 _swigc__p_wxPageSetupDialog,
34402 _swigc__p_wxPageSetupDialogData,
34403 _swigc__p_wxPaintEvent,
34404 _swigc__p_wxPaletteChangedEvent,
34405 _swigc__p_wxPanel,
34406 _swigc__p_wxPaperSize,
34407 _swigc__p_wxPasswordEntryDialog,
34408 _swigc__p_wxPoint,
34409 _swigc__p_wxPopupWindow,
34410 _swigc__p_wxPreviewCanvas,
34411 _swigc__p_wxPreviewControlBar,
34412 _swigc__p_wxPreviewFrame,
34413 _swigc__p_wxPrintData,
34414 _swigc__p_wxPrintDialog,
34415 _swigc__p_wxPrintDialogData,
34416 _swigc__p_wxPrintPreview,
34417 _swigc__p_wxPrinter,
34418 _swigc__p_wxProgressDialog,
34419 _swigc__p_wxPyApp,
34420 _swigc__p_wxPyCommandEvent,
34421 _swigc__p_wxPyEvent,
34422 _swigc__p_wxPyHtmlListBox,
34423 _swigc__p_wxPyImageHandler,
34424 _swigc__p_wxPyPanel,
34425 _swigc__p_wxPyPopupTransientWindow,
34426 _swigc__p_wxPyPreviewControlBar,
34427 _swigc__p_wxPyPreviewFrame,
34428 _swigc__p_wxPyPrintPreview,
34429 _swigc__p_wxPyPrintout,
34430 _swigc__p_wxPyScrolledWindow,
34431 _swigc__p_wxPySizer,
34432 _swigc__p_wxPyTaskBarIcon,
34433 _swigc__p_wxPyVListBox,
34434 _swigc__p_wxPyVScrolledWindow,
34435 _swigc__p_wxPyValidator,
34436 _swigc__p_wxPyWindow,
34437 _swigc__p_wxQueryLayoutInfoEvent,
34438 _swigc__p_wxQueryNewPaletteEvent,
34439 _swigc__p_wxRect,
34440 _swigc__p_wxRegion,
34441 _swigc__p_wxSashEvent,
34442 _swigc__p_wxSashLayoutWindow,
34443 _swigc__p_wxSashWindow,
34444 _swigc__p_wxScrollEvent,
34445 _swigc__p_wxScrollWinEvent,
34446 _swigc__p_wxScrolledWindow,
34447 _swigc__p_wxSetCursorEvent,
34448 _swigc__p_wxShowEvent,
f9bf356b 34449 _swigc__p_wxSimpleHtmlListBox,
7449af73
RD
34450 _swigc__p_wxSingleChoiceDialog,
34451 _swigc__p_wxSize,
554f62e9
RD
34452 _swigc__p_wxSizeEvent,
34453 _swigc__p_wxSizer,
34454 _swigc__p_wxSizerItem,
34455 _swigc__p_wxSplashScreen,
34456 _swigc__p_wxSplashScreenWindow,
34457 _swigc__p_wxSplitterEvent,
34458 _swigc__p_wxSplitterWindow,
34459 _swigc__p_wxStaticBoxSizer,
34460 _swigc__p_wxStatusBar,
34461 _swigc__p_wxStdDialogButtonSizer,
34462 _swigc__p_wxString,
34463 _swigc__p_wxSysColourChangedEvent,
580080c5 34464 _swigc__p_wxTGAHandler,
554f62e9
RD
34465 _swigc__p_wxTIFFHandler,
34466 _swigc__p_wxTaskBarIcon,
34467 _swigc__p_wxTaskBarIconEvent,
34468 _swigc__p_wxTextEntryDialog,
34469 _swigc__p_wxTipWindow,
34470 _swigc__p_wxToolBar,
34471 _swigc__p_wxTopLevelWindow,
34472 _swigc__p_wxUpdateUIEvent,
34473 _swigc__p_wxValidator,
34474 _swigc__p_wxVisualAttributes,
34475 _swigc__p_wxWindow,
34476 _swigc__p_wxWindowCreateEvent,
34477 _swigc__p_wxWindowDestroyEvent,
34478 _swigc__p_wxXPMHandler,
34479};
34480
34481
34482/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34483
34484static swig_const_info swig_const_table[] = {
34485{0, 0, 0, 0.0, 0, 0}};
34486
093d3ff1
RD
34487#ifdef __cplusplus
34488}
34489#endif
554f62e9
RD
34490/* -----------------------------------------------------------------------------
34491 * Type initialization:
34492 * This problem is tough by the requirement that no dynamic
34493 * memory is used. Also, since swig_type_info structures store pointers to
34494 * swig_cast_info structures and swig_cast_info structures store pointers back
34495 * to swig_type_info structures, we need some lookup code at initialization.
34496 * The idea is that swig generates all the structures that are needed.
34497 * The runtime then collects these partially filled structures.
34498 * The SWIG_InitializeModule function takes these initial arrays out of
34499 * swig_module, and does all the lookup, filling in the swig_module.types
34500 * array with the correct data and linking the correct swig_cast_info
34501 * structures together.
34502 *
34503 * The generated swig_type_info structures are assigned staticly to an initial
34504 * array. We just loop though that array, and handle each type individually.
34505 * First we lookup if this type has been already loaded, and if so, use the
34506 * loaded structure instead of the generated one. Then we have to fill in the
34507 * cast linked list. The cast data is initially stored in something like a
34508 * two-dimensional array. Each row corresponds to a type (there are the same
34509 * number of rows as there are in the swig_type_initial array). Each entry in
34510 * a column is one of the swig_cast_info structures for that type.
34511 * The cast_initial array is actually an array of arrays, because each row has
34512 * a variable number of columns. So to actually build the cast linked list,
34513 * we find the array of casts associated with the type, and loop through it
34514 * adding the casts to the list. The one last trick we need to do is making
34515 * sure the type pointer in the swig_cast_info struct is correct.
34516 *
34517 * First off, we lookup the cast->type name to see if it is already loaded.
34518 * There are three cases to handle:
34519 * 1) If the cast->type has already been loaded AND the type we are adding
34520 * casting info to has not been loaded (it is in this module), THEN we
34521 * replace the cast->type pointer with the type pointer that has already
34522 * been loaded.
34523 * 2) If BOTH types (the one we are adding casting info to, and the
34524 * cast->type) are loaded, THEN the cast info has already been loaded by
34525 * the previous module so we just ignore it.
34526 * 3) Finally, if cast->type has not already been loaded, then we add that
34527 * swig_cast_info to the linked list (because the cast->type) pointer will
34528 * be correct.
34529 * ----------------------------------------------------------------------------- */
093d3ff1 34530
093d3ff1 34531#ifdef __cplusplus
554f62e9
RD
34532extern "C" {
34533#if 0
34534} /* c-mode */
34535#endif
34536#endif
34537
34538#if 0
34539#define SWIGRUNTIME_DEBUG
34540#endif
34541
34542SWIGRUNTIME void
34543SWIG_InitializeModule(void *clientdata) {
34544 size_t i;
34545 swig_module_info *module_head;
34546 static int init_run = 0;
34547
34548 clientdata = clientdata;
34549
34550 if (init_run) return;
34551 init_run = 1;
34552
34553 /* Initialize the swig_module */
34554 swig_module.type_initial = swig_type_initial;
34555 swig_module.cast_initial = swig_cast_initial;
34556
34557 /* Try and load any already created modules */
34558 module_head = SWIG_GetModule(clientdata);
34559 if (module_head) {
34560 swig_module.next = module_head->next;
34561 module_head->next = &swig_module;
34562 } else {
34563 /* This is the first module loaded */
34564 swig_module.next = &swig_module;
34565 SWIG_SetModule(clientdata, &swig_module);
34566 }
34567
34568 /* Now work on filling in swig_module.types */
34569#ifdef SWIGRUNTIME_DEBUG
34570 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
34571#endif
34572 for (i = 0; i < swig_module.size; ++i) {
34573 swig_type_info *type = 0;
34574 swig_type_info *ret;
34575 swig_cast_info *cast;
d55e5bfc 34576
554f62e9
RD
34577#ifdef SWIGRUNTIME_DEBUG
34578 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
34579#endif
d55e5bfc 34580
554f62e9
RD
34581 /* if there is another module already loaded */
34582 if (swig_module.next != &swig_module) {
34583 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
093d3ff1 34584 }
554f62e9
RD
34585 if (type) {
34586 /* Overwrite clientdata field */
34587#ifdef SWIGRUNTIME_DEBUG
34588 printf("SWIG_InitializeModule: found type %s\n", type->name);
34589#endif
34590 if (swig_module.type_initial[i]->clientdata) {
34591 type->clientdata = swig_module.type_initial[i]->clientdata;
34592#ifdef SWIGRUNTIME_DEBUG
34593 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
34594#endif
34595 }
34596 } else {
34597 type = swig_module.type_initial[i];
093d3ff1 34598 }
554f62e9
RD
34599
34600 /* Insert casting types */
34601 cast = swig_module.cast_initial[i];
34602 while (cast->type) {
34603 /* Don't need to add information already in the list */
34604 ret = 0;
34605#ifdef SWIGRUNTIME_DEBUG
34606 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
34607#endif
34608 if (swig_module.next != &swig_module) {
34609 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
34610#ifdef SWIGRUNTIME_DEBUG
34611 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
34612#endif
34613 }
34614 if (ret) {
34615 if (type == swig_module.type_initial[i]) {
34616#ifdef SWIGRUNTIME_DEBUG
34617 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
34618#endif
34619 cast->type = ret;
34620 ret = 0;
34621 } else {
34622 /* Check for casting already in the list */
34623 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
34624#ifdef SWIGRUNTIME_DEBUG
34625 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
34626#endif
34627 if (!ocast) ret = 0;
34628 }
34629 }
34630
34631 if (!ret) {
34632#ifdef SWIGRUNTIME_DEBUG
34633 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
34634#endif
34635 if (type->cast) {
34636 type->cast->prev = cast;
34637 cast->next = type->cast;
34638 }
34639 type->cast = cast;
34640 }
34641 cast++;
093d3ff1 34642 }
554f62e9
RD
34643 /* Set entry in modules->types array equal to the type */
34644 swig_module.types[i] = type;
34645 }
34646 swig_module.types[i] = 0;
34647
34648#ifdef SWIGRUNTIME_DEBUG
34649 printf("**** SWIG_InitializeModule: Cast List ******\n");
34650 for (i = 0; i < swig_module.size; ++i) {
34651 int j = 0;
34652 swig_cast_info *cast = swig_module.cast_initial[i];
34653 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
34654 while (cast->type) {
34655 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
34656 cast++;
34657 ++j;
34658 }
34659 printf("---- Total casts: %d\n",j);
34660 }
34661 printf("**** SWIG_InitializeModule: Cast List ******\n");
34662#endif
34663}
34664
34665/* This function will propagate the clientdata field of type to
34666* any new swig_type_info structures that have been added into the list
34667* of equivalent types. It is like calling
34668* SWIG_TypeClientData(type, clientdata) a second time.
34669*/
34670SWIGRUNTIME void
34671SWIG_PropagateClientData(void) {
34672 size_t i;
34673 swig_cast_info *equiv;
34674 static int init_run = 0;
34675
34676 if (init_run) return;
34677 init_run = 1;
34678
34679 for (i = 0; i < swig_module.size; i++) {
34680 if (swig_module.types[i]->clientdata) {
34681 equiv = swig_module.types[i]->cast;
34682 while (equiv) {
34683 if (!equiv->converter) {
34684 if (equiv->type && !equiv->type->clientdata)
34685 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
34686 }
34687 equiv = equiv->next;
34688 }
093d3ff1 34689 }
554f62e9
RD
34690 }
34691}
34692
34693#ifdef __cplusplus
34694#if 0
34695{
34696 /* c-mode */
34697#endif
34698}
34699#endif
34700
34701
34702
34703#ifdef __cplusplus
34704extern "C" {
34705#endif
34706
34707 /* Python-specific SWIG API */
34708#define SWIG_newvarlink() SWIG_Python_newvarlink()
34709#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34710#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34711
34712 /* -----------------------------------------------------------------------------
34713 * global variable support code.
34714 * ----------------------------------------------------------------------------- */
34715
34716 typedef struct swig_globalvar {
34717 char *name; /* Name of global variable */
34718 PyObject *(*get_attr)(void); /* Return the current value */
34719 int (*set_attr)(PyObject *); /* Set the value */
34720 struct swig_globalvar *next;
34721 } swig_globalvar;
34722
34723 typedef struct swig_varlinkobject {
34724 PyObject_HEAD
34725 swig_globalvar *vars;
34726 } swig_varlinkobject;
34727
34728 SWIGINTERN PyObject *
34729 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
34730 return PyString_FromString("<Swig global variables>");
34731 }
34732
34733 SWIGINTERN PyObject *
34734 swig_varlink_str(swig_varlinkobject *v) {
34735 PyObject *str = PyString_FromString("(");
34736 swig_globalvar *var;
34737 for (var = v->vars; var; var=var->next) {
34738 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
34739 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
34740 }
34741 PyString_ConcatAndDel(&str,PyString_FromString(")"));
34742 return str;
34743 }
34744
34745 SWIGINTERN int
34746 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
34747 PyObject *str = swig_varlink_str(v);
34748 fprintf(fp,"Swig global variables ");
34749 fprintf(fp,"%s\n", PyString_AsString(str));
34750 Py_DECREF(str);
34751 return 0;
34752 }
34753
34754 SWIGINTERN void
34755 swig_varlink_dealloc(swig_varlinkobject *v) {
34756 swig_globalvar *var = v->vars;
34757 while (var) {
34758 swig_globalvar *n = var->next;
34759 free(var->name);
34760 free(var);
34761 var = n;
093d3ff1 34762 }
554f62e9
RD
34763 }
34764
34765 SWIGINTERN PyObject *
34766 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
34767 PyObject *res = NULL;
34768 swig_globalvar *var = v->vars;
34769 while (var) {
34770 if (strcmp(var->name,n) == 0) {
34771 res = (*var->get_attr)();
34772 break;
34773 }
34774 var = var->next;
093d3ff1 34775 }
554f62e9
RD
34776 if (res == NULL && !PyErr_Occurred()) {
34777 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
093d3ff1 34778 }
554f62e9
RD
34779 return res;
34780 }
34781
34782 SWIGINTERN int
34783 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
34784 int res = 1;
34785 swig_globalvar *var = v->vars;
34786 while (var) {
34787 if (strcmp(var->name,n) == 0) {
34788 res = (*var->set_attr)(p);
34789 break;
34790 }
34791 var = var->next;
093d3ff1 34792 }
554f62e9
RD
34793 if (res == 1 && !PyErr_Occurred()) {
34794 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
093d3ff1 34795 }
554f62e9
RD
34796 return res;
34797 }
34798
34799 SWIGINTERN PyTypeObject*
34800 swig_varlink_type(void) {
34801 static char varlink__doc__[] = "Swig var link object";
34802 static PyTypeObject varlink_type;
34803 static int type_init = 0;
34804 if (!type_init) {
34805 const PyTypeObject tmp
34806 = {
34807 PyObject_HEAD_INIT(NULL)
34808 0, /* Number of items in variable part (ob_size) */
34809 (char *)"swigvarlink", /* Type name (tp_name) */
34810 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
34811 0, /* Itemsize (tp_itemsize) */
34812 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
34813 (printfunc) swig_varlink_print, /* Print (tp_print) */
34814 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
34815 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
34816 0, /* tp_compare */
34817 (reprfunc) swig_varlink_repr, /* tp_repr */
34818 0, /* tp_as_number */
34819 0, /* tp_as_sequence */
34820 0, /* tp_as_mapping */
34821 0, /* tp_hash */
34822 0, /* tp_call */
34823 (reprfunc)swig_varlink_str, /* tp_str */
34824 0, /* tp_getattro */
34825 0, /* tp_setattro */
34826 0, /* tp_as_buffer */
34827 0, /* tp_flags */
34828 varlink__doc__, /* tp_doc */
34829 0, /* tp_traverse */
34830 0, /* tp_clear */
34831 0, /* tp_richcompare */
34832 0, /* tp_weaklistoffset */
34833#if PY_VERSION_HEX >= 0x02020000
34834 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34835#endif
34836#if PY_VERSION_HEX >= 0x02030000
34837 0, /* tp_del */
34838#endif
34839#ifdef COUNT_ALLOCS
34840 0,0,0,0 /* tp_alloc -> tp_next */
34841#endif
34842 };
34843 varlink_type = tmp;
34844 varlink_type.ob_type = &PyType_Type;
34845 type_init = 1;
093d3ff1 34846 }
554f62e9
RD
34847 return &varlink_type;
34848 }
34849
34850 /* Create a variable linking object for use later */
34851 SWIGINTERN PyObject *
34852 SWIG_Python_newvarlink(void) {
34853 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
34854 if (result) {
34855 result->vars = 0;
34856 }
34857 return ((PyObject*) result);
34858 }
34859
34860 SWIGINTERN void
34861 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
34862 swig_varlinkobject *v = (swig_varlinkobject *) p;
34863 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
34864 if (gv) {
34865 size_t size = strlen(name)+1;
34866 gv->name = (char *)malloc(size);
34867 if (gv->name) {
34868 strncpy(gv->name,name,size);
34869 gv->get_attr = get_attr;
34870 gv->set_attr = set_attr;
34871 gv->next = v->vars;
34872 }
093d3ff1 34873 }
554f62e9
RD
34874 v->vars = gv;
34875 }
34876
34877 SWIGINTERN PyObject *
34878 SWIG_globals() {
34879 static PyObject *_SWIG_globals = 0;
34880 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
34881 return _SWIG_globals;
34882 }
34883
34884 /* -----------------------------------------------------------------------------
34885 * constants/methods manipulation
34886 * ----------------------------------------------------------------------------- */
34887
34888 /* Install Constants */
34889 SWIGINTERN void
34890 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
34891 PyObject *obj = 0;
34892 size_t i;
34893 for (i = 0; constants[i].type; ++i) {
34894 switch(constants[i].type) {
34895 case SWIG_PY_POINTER:
34896 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
34897 break;
34898 case SWIG_PY_BINARY:
34899 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
34900 break;
34901 default:
34902 obj = 0;
34903 break;
34904 }
34905 if (obj) {
34906 PyDict_SetItemString(d, constants[i].name, obj);
34907 Py_DECREF(obj);
34908 }
093d3ff1 34909 }
554f62e9
RD
34910 }
34911
34912 /* -----------------------------------------------------------------------------*/
34913 /* Fix SwigMethods to carry the callback ptrs when needed */
34914 /* -----------------------------------------------------------------------------*/
34915
34916 SWIGINTERN void
34917 SWIG_Python_FixMethods(PyMethodDef *methods,
34918 swig_const_info *const_table,
34919 swig_type_info **types,
34920 swig_type_info **types_initial) {
34921 size_t i;
34922 for (i = 0; methods[i].ml_name; ++i) {
453fb36b 34923 const char *c = methods[i].ml_doc;
554f62e9
RD
34924 if (c && (c = strstr(c, "swig_ptr: "))) {
34925 int j;
34926 swig_const_info *ci = 0;
453fb36b 34927 const char *name = c + 10;
554f62e9
RD
34928 for (j = 0; const_table[j].type; ++j) {
34929 if (strncmp(const_table[j].name, name,
34930 strlen(const_table[j].name)) == 0) {
34931 ci = &(const_table[j]);
34932 break;
34933 }
34934 }
34935 if (ci) {
34936 size_t shift = (ci->ptype) - types;
34937 swig_type_info *ty = types_initial[shift];
34938 size_t ldoc = (c - methods[i].ml_doc);
34939 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
34940 char *ndoc = (char*)malloc(ldoc + lptr + 10);
34941 if (ndoc) {
34942 char *buff = ndoc;
34943 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
34944 if (ptr) {
34945 strncpy(buff, methods[i].ml_doc, ldoc);
34946 buff += ldoc;
34947 strncpy(buff, "swig_ptr: ", 10);
34948 buff += 10;
34949 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
34950 methods[i].ml_doc = ndoc;
34951 }
34952 }
34953 }
34954 }
093d3ff1 34955 }
554f62e9
RD
34956 }
34957
34958#ifdef __cplusplus
34959}
34960#endif
34961
34962/* -----------------------------------------------------------------------------*
34963 * Partial Init method
34964 * -----------------------------------------------------------------------------*/
34965
34966#ifdef __cplusplus
34967extern "C"
34968#endif
34969SWIGEXPORT void SWIG_init(void) {
34970 PyObject *m, *d;
34971
34972 /* Fix SwigMethods to carry the callback ptrs when needed */
34973 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
34974
34975 m = Py_InitModule((char *) SWIG_name, SwigMethods);
34976 d = PyModule_GetDict(m);
34977
34978 SWIG_InitializeModule(0);
34979 SWIG_InstallConstants(d,swig_const_table);
34980
34981
34982 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
34983 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
34984 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
34985 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
34986 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
34987 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
34988 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
34989 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
34990 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
34991 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
34992 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
34993 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
34994 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
34995 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
34996 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
34997 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
34998 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
34999 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
35000 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
35001 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
35002 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
35003 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
35004 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
35005 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
35006 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
35007 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
35008 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
35009 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
35010 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
fc46b7f3 35011 SWIG_Python_SetConstant(d, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP)));
554f62e9
RD
35012 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
35013 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
35014 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
35015 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
fc46b7f3
RD
35016 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
35017 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
554f62e9
RD
35018 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
35019 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
35020 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
35021 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
35022 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
35023 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
35024 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
35025 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
35026 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
35027 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
5eb8189c 35028 SWIG_Python_SetConstant(d, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE)));
554f62e9
RD
35029 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
35030 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
35031 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
35032 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
35033 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
35034 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
35035 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
35036 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
35037 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
35038 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
35039 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
35040 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
35041 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
35042 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
35043 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
35044 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
35045 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
35046 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
35047 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
35048 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
35049 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
35050 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
35051 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
35052 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
35053 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
35054 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
35055 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
35056 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
35057 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
35058 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
35059 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
35060 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
35061 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
35062 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
35063 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
35064 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
35065 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
35066 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
35067 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
35068 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
35069 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
35070 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
35071 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
35072 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
35073 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
35074 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
35075 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
35076 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
35077 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
35078 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
35079 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
35080 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
35081 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
35082 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
35083 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
35084 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
35085 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
35086 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
35087 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
f9bf356b
RD
35088 SWIG_addvarlink(SWIG_globals(),(char*)"SimpleHtmlListBoxNameStr",SimpleHtmlListBoxNameStr_get, SimpleHtmlListBoxNameStr_set);
35089 SWIG_Python_SetConstant(d, "HLB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHLB_DEFAULT_STYLE)));
35090 SWIG_Python_SetConstant(d, "HLB_MULTIPLE",SWIG_From_int(static_cast< int >(wxHLB_MULTIPLE)));
554f62e9
RD
35091
35092 // Map renamed classes back to their common name for OOR
35093 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
35094 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
35095 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
35096
35097 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
35098 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
35099 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
35100 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
35101 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
35102 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
35103 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
35104 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
35105 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
35106 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
35107 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
35108 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
35109 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
704eda0c
RD
35110 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
35111 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
35112 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
35113 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
35114 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
35115 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
35116 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
35117 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
35118 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
b02396e8 35119 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
704eda0c
RD
35120 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
35121 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
35122 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
35123 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
35124 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
35125 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
1eeb270e 35126 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
704eda0c 35127 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
554f62e9
RD
35128 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
35129 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
35130 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
0d2c9713
RD
35131 SWIG_Python_SetConstant(d, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE)));
35132 SWIG_Python_SetConstant(d, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL)));
35133 SWIG_Python_SetConstant(d, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT)));
35134 SWIG_Python_SetConstant(d, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME)));
35135 SWIG_Python_SetConstant(d, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME)));
35136 SWIG_Python_SetConstant(d, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME)));
35137 SWIG_Python_SetConstant(d, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH)));
35138 SWIG_Python_SetConstant(d, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP)));
554f62e9
RD
35139 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
35140 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
35141 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
35142 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
35143 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
35144 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
35145 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
35146 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
35147 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
35148 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
35149 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
35150 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
35151 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
35152 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
35153 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
35154 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
35155 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
35156 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
35157 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
35158 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
35159 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
35160 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
35161 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
35162 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
35163 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
35164 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
35165 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
35166 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
35167 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
35168 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
35169 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
35170 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
35171 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
35172 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
35173 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
35174 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
35175 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
35176 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
35177 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
35178 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
35179 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
35180 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
35181 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
35182 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
35183 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
35184 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
35185 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
35186 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
35187 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
35188 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
35189 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
35190 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
35191 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
35192 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
35193 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
35194 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
35195 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
35196 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
35197 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
35198 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
35199 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
35200 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
35201
35202 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
35203
d55e5bfc
RD
35204}
35205